ocamlPackages.hex: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-22 10:13:49 -06:00
parent 4ec3c9ed20
commit 8ff305985b
@@ -5,7 +5,7 @@
cstruct,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "hex";
version = "1.5.0";
@@ -13,7 +13,7 @@ buildDunePackage rec {
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/hex-${version}.tbz";
url = "https://github.com/mirage/ocaml-hex/releases/download/v${finalAttrs.version}/hex-${finalAttrs.version}.tbz";
hash = "sha256-LmfuyhsDBJMHowgxtc1pS8stPn8qa0+1l/vbZHNRtNw=";
};
@@ -26,4 +26,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl ];
};
}
})