python310Packages.django-hierarkey: init at 1.1.0
Flexible and powerful hierarchical key-value store for your Django models
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# propagates
|
||||
, python-dateutil
|
||||
|
||||
# tests
|
||||
, django-extensions
|
||||
, pytest-django
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-hierarkey";
|
||||
version = "1.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "raphaelm";
|
||||
repo = "django-hierarkey";
|
||||
# https://github.com/raphaelm/django-hierarkey/commit/c81ace02ca404a8756e2931bb6faf55b6365e140
|
||||
rev = "c81ace02ca404a8756e2931bb6faf55b6365e140";
|
||||
hash = "sha256-sCARyTjuuAUptlOsFmApnsQpcksP+uYnq0lukXDMcuk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -2644,6 +2644,8 @@ self: super: with self; {
|
||||
|
||||
django-health-check = callPackage ../development/python-modules/django-health-check { };
|
||||
|
||||
django-hierarkey = callPackage ../development/python-modules/django-hierarkey { };
|
||||
|
||||
django_hijack_admin = callPackage ../development/python-modules/django-hijack-admin { };
|
||||
|
||||
django_hijack = callPackage ../development/python-modules/django-hijack { };
|
||||
|
||||
Reference in New Issue
Block a user