python310Packages.django_hijack: add changelog to meta
This commit is contained in:
parent
e15dec73ce
commit
43abebb728
1 changed files with 17 additions and 4 deletions
|
@ -14,25 +14,38 @@ buildPythonPackage rec {
|
||||||
# the wheel comes with pre-built assets, allowing us to avoid fighting
|
# the wheel comes with pre-built assets, allowing us to avoid fighting
|
||||||
# with npm/webpack/gettext to build them ourselves.
|
# with npm/webpack/gettext to build them ourselves.
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit version format;
|
inherit version format;
|
||||||
pname = "django_hijack";
|
pname = "django_hijack";
|
||||||
dist = "py3";
|
dist = "py3";
|
||||||
python = "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 = ''
|
preCheck = ''
|
||||||
export DJANGO_SETTINGS_MODULE='hijack.tests.test_app.settings'
|
export DJANGO_SETTINGS_MODULE='hijack.tests.test_app.settings'
|
||||||
'';
|
'';
|
||||||
pytestFlagsArray = [ "--pyargs" "hijack" ];
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"--pyargs"
|
||||||
|
"hijack"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Allows superusers to hijack (=login as) and work on behalf of another user";
|
description = "Allows superusers to hijack (=login as) and work on behalf of another user";
|
||||||
homepage = "https://github.com/arteria/django-hijack";
|
homepage = "https://github.com/arteria/django-hijack";
|
||||||
|
changelog = "https://github.com/django-hijack/django-hijack/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ ris ];
|
maintainers = with maintainers; [ ris ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue