python310Packages.django-context-decorator: init at 1.5.0
This commit is contained in:
parent
f4aa6afa5f
commit
1f5ce20dee
2 changed files with 37 additions and 0 deletions
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, django
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-context-decorator";
|
||||
version = "1.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rixx";
|
||||
repo = "django-context-decorator";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-wgVZadI+4gK9snLfy/9FgFJJHqMyxndcxXwqIkMH29k=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"django_context_decorator"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
django
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Django @context decorator";
|
||||
homepage = "https://github.com/rixx/django-context-decorator";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -2628,6 +2628,8 @@ self: super: with self; {
|
|||
|
||||
django-configurations = callPackage ../development/python-modules/django-configurations { };
|
||||
|
||||
django-context-decorator = callPackage ../development/python-modules/django-context-decorator { };
|
||||
|
||||
django_contrib_comments = callPackage ../development/python-modules/django_contrib_comments { };
|
||||
|
||||
django-cors-headers = callPackage ../development/python-modules/django-cors-headers { };
|
||||
|
|
Loading…
Reference in a new issue