python310Packages.django_hijack: add changelog to meta

This commit is contained in:
Fabian Affolter 2022-12-30 23:06:42 +01:00 committed by GitHub
parent e15dec73ce
commit 43abebb728
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,25 +14,38 @@ buildPythonPackage rec {
# the wheel comes with pre-built assets, allowing us to avoid fighting
# with npm/webpack/gettext to build them ourselves.
format = "wheel";
src = fetchPypi {
inherit version format;
pname = "django_hijack";
dist = "py3";
python = "py3";
sha256 = "sha256-xFPZ03II1814+bZ5gx7GD/AxYMiLuH6awfSeXEraOHQ=";
hash = "sha256-xFPZ03II1814+bZ5gx7GD/AxYMiLuH6awfSeXEraOHQ=";
};
propagatedBuildInputs = [ django django_compat ];
propagatedBuildInputs = [
django
django_compat
];
checkInputs = [
pytestCheckHook
pytest-django
];
checkInputs = [ pytestCheckHook pytest-django ];
preCheck = ''
export DJANGO_SETTINGS_MODULE='hijack.tests.test_app.settings'
'';
pytestFlagsArray = [ "--pyargs" "hijack" ];
pytestFlagsArray = [
"--pyargs"
"hijack"
];
meta = with lib; {
description = "Allows superusers to hijack (=login as) and work on behalf of another user";
homepage = "https://github.com/arteria/django-hijack";
changelog = "https://github.com/django-hijack/django-hijack/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ ris ];
};