Added missing sha1 and sha512 flags
This commit is contained in:
parent
397597f731
commit
5f8eca5461
@ -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 ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user