Skip to content

Commit

Permalink
fetchfirefoxaddon: support for SRI hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmry committed Dec 9, 2020
1 parent 35d4f19 commit e9158ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/build-support/fetchfirefoxaddon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
, sha1 ? ""
, sha256 ? ""
, sha512 ? ""
, hash ? ""
}:
stdenv.mkDerivation rec {

Expand All @@ -30,7 +31,7 @@ stdenv.mkDerivation rec {
'';
src = fetchurl {
url = url;
inherit md5 sha1 sha256 sha512;
inherit md5 sha1 sha256 sha512 hash;
};
nativeBuildInputs = [ coreutils unzip zip jq ];
}
Expand Down

0 comments on commit e9158ec

Please sign in to comment.