Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, fetchFromGitHub, buildPythonPackage, nix-update-script,
# build-system flit-gettext, flit-scm,
# dependencies django,
# tests pytest-cov-stub, pytest-django, pytestCheckHook,}:
buildPythonPackage rec { pname = "django-hijack"; version = "3.7.2"; pyproject = true;
src = fetchFromGitHub { owner = "django-hijack"; repo = "django-hijack"; tag = version; hash = "sha256-JGcVXM/kWsahGNh1llV4NB+/FLAh3hqFRbs3PyYqRnA="; };
build-system = [ flit-gettext flit-scm ];
dependencies = [ django ];
nativeCheckInputs = [ pytestCheckHook pytest-cov-stub pytest-django ];
preCheck = '' export DJANGO_SETTINGS_MODULE=tests.test_app.settings '';
# needed for npmDeps update passthru.updateScript = nix-update-script { };
meta = with lib; { description = "Allows superusers to hijack (=login as) and work on behalf of another user"; homepage = "https://github.com/django-hijack/django-hijack"; changelog = "https://github.com/django-hijack/django-hijack/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ ris ]; };}