summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2020-12-09 13:39:15 +0100
committerEmery Hemingway <ehmry@posteo.net>2020-12-09 15:09:49 +0100
commite9158eca70ae59e73fae23be5d13d3fa0cfc78b4 (patch)
treee2477936998c4a9f641ea620aa1cb350d70a1a11 /pkgs
parent35d4f19991da017e993912d05be51fb07edc574f (diff)
fetchfirefoxaddon: support for SRI hashes
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/build-support/fetchfirefoxaddon/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchfirefoxaddon/default.nix b/pkgs/build-support/fetchfirefoxaddon/default.nix
index 3426743b2cf1..4b7c68484d2e 100644
--- a/pkgs/build-support/fetchfirefoxaddon/default.nix
+++ b/pkgs/build-support/fetchfirefoxaddon/default.nix
@@ -5,6 +5,7 @@
, sha1 ? ""
, sha256 ? ""
, sha512 ? ""
+, hash ? ""
}:
stdenv.mkDerivation rec {
@@ -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 ];
}