37 lines
804 B
Nix
37 lines
804 B
Nix
{
|
|
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.bsd;
|
|
maintainers = with lib.maintainers; [ ];
|
|
};
|
|
}
|