Added missing sha1 and sha512 flags

This commit is contained in:
Luis Hebendanz 2020-11-30 18:49:29 +01:00 committed by Jörg Thalheim
parent 397597f731
commit 5f8eca5461
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -2,15 +2,19 @@
let
in
{ name,
url,
sha256,
{
name
, url
, md5 ? ""
, sha1 ? ""
, sha256 ? ""
, sha512 ? ""
}:
stdenv.mkDerivation rec {
inherit name;
extid = "${sha256}@${name}";
extid = "${src.outputHash}@${name}";
passthru = {
exitd=extid;
};
@ -31,7 +35,7 @@ stdenv.mkDerivation rec {
'';
src = fetchurl {
url = url;
sha256 = sha256;
inherit md5 sha1 sha256 sha512;
};
nativeBuildInputs = [ coreutils unzip zip jq ];
}