Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / django-context-decorator / default.nix
bloba23f5c874a7690bb85588aca77009b3a1f376b51
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , django
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "django-context-decorator";
10   version = "1.6.0";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "rixx";
15     repo = "django-context-decorator";
16     rev = "v${version}";
17     hash = "sha256-/FDGWGC1Pdu+RLyazDNZv+CMf5vscXprLdN8ELjUFNo=";
18   };
20   pythonImportsCheck = [
21     "django_context_decorator"
22   ];
24   nativeCheckInputs = [
25     django
26     pytestCheckHook
27   ];
29   meta = with lib; {
30     description = "Django @context decorator";
31     homepage = "https://github.com/rixx/django-context-decorator";
32     license = licenses.asl20;
33     maintainers = with maintainers; [ hexa ];
34   };