1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 05:19:17 +03:00
nixpkgs/pkgs/development/python-modules/django-context-decorator/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
709 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, django
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "django-context-decorator";
version = "1.6.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "rixx";
repo = "django-context-decorator";
rev = "v${version}";
hash = "sha256-/FDGWGC1Pdu+RLyazDNZv+CMf5vscXprLdN8ELjUFNo=";
};
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 ];
};
}