diff --git a/pkgs/development/interpreters/python/fetchpypi.nix b/pkgs/development/interpreters/python/fetchpypi.nix index 91dd331e6f3e..e60c9df1f8bb 100644 --- a/pkgs/development/interpreters/python/fetchpypi.nix +++ b/pkgs/development/interpreters/python/fetchpypi.nix @@ -20,9 +20,9 @@ let in compute (builtins.removeAttrs attrs ["format"]); -in makeOverridable( {format ? "setuptools", sha256, ... } @attrs: +in makeOverridable( {format ? "setuptools", sha256 ? "", hash ? "", ... } @attrs: let - url = computeUrl (builtins.removeAttrs attrs ["sha256"]) ; + url = computeUrl (builtins.removeAttrs attrs ["sha256" "hash"]) ; in fetchurl { - inherit url sha256; + inherit url sha256 hash; })