buildPecl: pass hash attr to fetchurl

This commit is contained in:
Yureka 2023-09-25 14:52:33 +02:00
parent 938bfe28ac
commit 5d20a2b99a

View file

@ -8,10 +8,9 @@
, nativeBuildInputs ? [ ]
, postPhpize ? ""
, makeFlags ? [ ]
, src ? fetchurl {
, src ? fetchurl ({
url = "https://pecl.php.net/get/${pname}-${version}.tgz";
inherit (args) sha256;
}
} // lib.filterAttrs (attrName: _: lib.elem attrName [ "sha256" "hash" ]) args)
, passthru ? { }
, ...
}@args: