Merge pull request #231114 from mweinelt/django-context-decorator-1.5.0

python310Packages.django-context-decorator: init at 1.5.0
This commit is contained in:
Martin Weinelt 2023-05-10 21:09:15 +02:00 committed by GitHub
commit b25597c89c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -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 { };