summary refs log tree commit diff
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
parent35d4f19991da017e993912d05be51fb07edc574f (diff)
downloadnixpkgs-e9158eca70ae59e73fae23be5d13d3fa0cfc78b4.tar
nixpkgs-e9158eca70ae59e73fae23be5d13d3fa0cfc78b4.tar.gz
nixpkgs-e9158eca70ae59e73fae23be5d13d3fa0cfc78b4.tar.bz2
nixpkgs-e9158eca70ae59e73fae23be5d13d3fa0cfc78b4.tar.lz
nixpkgs-e9158eca70ae59e73fae23be5d13d3fa0cfc78b4.tar.xz
nixpkgs-e9158eca70ae59e73fae23be5d13d3fa0cfc78b4.tar.zst
nixpkgs-e9158eca70ae59e73fae23be5d13d3fa0cfc78b4.zip
fetchfirefoxaddon: support for SRI hashes
-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 3426743b2cf..4b7c68484d2 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  ];
 }