1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, django 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "django-context-decorator"; 10 version = "1.6.0"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "rixx"; 15 repo = "django-context-decorator"; 16 rev = "v${version}"; 17 hash = "sha256-/FDGWGC1Pdu+RLyazDNZv+CMf5vscXprLdN8ELjUFNo="; 18 }; 19 20 pythonImportsCheck = [ 21 "django_context_decorator" 22 ]; 23 24 nativeCheckInputs = [ 25 django 26 pytestCheckHook 27 ]; 28 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 }; 35}