From 13ccb8c9c029775897a89484a6a29a88bfea0233 Mon Sep 17 00:00:00 2001 From: catvayor Date: Fri, 25 Oct 2024 15:32:21 +0200 Subject: [PATCH] feat(django-impersonate): init 0.9.3 --- pkgs/django-impersonate.nix | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/django-impersonate.nix diff --git a/pkgs/django-impersonate.nix b/pkgs/django-impersonate.nix new file mode 100644 index 0000000..097c454 --- /dev/null +++ b/pkgs/django-impersonate.nix @@ -0,0 +1,37 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + wheel, +}: + +buildPythonPackage rec { + pname = "django-impersonate"; + version = "0.9.3"; + pyproject = true; + + src = fetchFromGitHub { + owner = "BetterWorks"; + repo = "django-impersonate"; + rev = version; + hash = "sha256-IELpNA5G67FepRKxNEOGRqzb1QwfrzAJzTCrYtQsM34="; + }; + + build-system = [ + setuptools + wheel + ]; + + pythonImportsCheck = [ + "django_impersonate" + ]; + + meta = { + description = "Fork of https://bitbucket.org/petersanchez/django-impersonate"; + homepage = "https://github.com/BetterWorks/django-impersonate.git"; + changelog = "https://github.com/BetterWorks/django-impersonate/blob/${src.rev}/CHANGELOG"; + license = lib.licenses.unfree; # FIXME: nix-init did not find a license + maintainers = with lib.maintainers; [ ]; + }; +}