blob: 7f78dd604047a0a6f095059342050a86430e03af (
plain) (
blame)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
{ lib
, buildPythonPackage
, fetchFromGitHub
# build-system
, setuptools
# propagates
, python-dateutil
# tests
, django-extensions
, pytest-django
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "django-hierarkey";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "raphaelm";
repo = "django-hierarkey";
rev = "refs/tags/${version}";
hash = "sha256-1LSH9GwoNF3NrDVNUIHDAVsktyKIprDgB5XlIHeM3fM=";
};
build-system = [
setuptools
];
dependencies = [
python-dateutil
];
pythonImportsCheck = [
"hierarkey"
];
nativeCheckInputs = [
django-extensions
pytest-django
pytestCheckHook
];
DJANGO_SETTINGS_MODULE = "tests.settings";
pytestFlagsArray = [
"tests"
];
meta = with lib; {
description = "Flexible and powerful hierarchical key-value store for your Django models";
homepage = "https://github.com/raphaelm/django-hierarkey";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}
|