Merge pull request #266158 from risicle/ris-django-hijack-3.4.2

python3Packages.django-hijack: 3.4.1 -> 3.4.2, fix npmDeps hash

authored by

Martin Weinelt and committed by
GitHub
5679b2b6 6bb47ba5

+7 -3
+7 -3
pkgs/development/python-modules/django-hijack/default.nix
··· 2 2 , fetchFromGitHub 3 3 , fetchNpmDeps 4 4 , buildPythonPackage 5 + , nix-update-script 5 6 6 7 # build-system 7 8 , gettext ··· 19 20 20 21 buildPythonPackage rec { 21 22 pname = "django-hijack"; 22 - version = "3.4.1"; 23 + version = "3.4.2"; 23 24 format = "setuptools"; 24 25 25 26 src = fetchFromGitHub { 26 27 owner = "django-hijack"; 27 28 repo = "django-hijack"; 28 29 rev = "refs/tags/${version}"; 29 - hash = "sha256-y8KT/Fbk2eQDbGzcJtLdwS6jPCNoTWXousvqY+GlFnQ="; 30 + hash = "sha256-E5gM/5MIB65gdyv/I+Kuw8rbjPvtUnbCPXpasaIDzyo="; 30 31 }; 31 32 32 33 postPatch = '' ··· 39 40 40 41 npmDeps = fetchNpmDeps { 41 42 inherit src; 42 - hash = "sha256-FLfMCn2jsLlTTsC+LRMX0dmVCCbNAr2pQUsSQRKgo6E="; 43 + hash = "sha256-4ZVb+V/oYfflIZdme6hbpoSBFVV7lk5wLfEzzBqZv/Y="; 43 44 }; 44 45 45 46 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 66 67 "--pyargs" "hijack" 67 68 "-W" "ignore::DeprecationWarning" 68 69 ]; 70 + 71 + # needed for npmDeps update 72 + passthru.updateScript = nix-update-script { }; 69 73 70 74 meta = with lib; { 71 75 description = "Allows superusers to hijack (=login as) and work on behalf of another user";