blob: 6101b1d71339538ffc9e9ccecd450087f08662d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
django,
mock,
}:
buildPythonPackage {
pname = "mock-django";
version = "0.6.10";
pyproject = true;
src = fetchFromGitHub {
owner = "dcramer";
repo = "mock-django";
rev = "1168d3255e0d67fbf74a9c71feaccbdafef59d21";
hash = "sha256-sjrRxu2754sAaXZRlAfBhdLFHqiRlqPHVPQv4B6oArw=";
};
build-system = [
setuptools
wheel
];
dependencies = [
django
mock
];
# tests are based on nose, which is not supported anymore
doCheck = false;
meta = {
description = "Simple library for mocking certain Django behavior, such as the ORM";
homepage = "https://github.com/dcramer/mock-django";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ defelo ];
};
}
|