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