ocamlPackages.optint: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-22 12:08:41 -06:00
parent 41c3df1d21
commit 0dd797fd46
@@ -4,12 +4,12 @@
fetchurl,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
minimalOCamlVersion = "4.07";
version = "0.3.0";
pname = "optint";
src = fetchurl {
url = "https://github.com/mirage/optint/releases/download/v${version}/optint-${version}.tbz";
url = "https://github.com/mirage/optint/releases/download/v${finalAttrs.version}/optint-${finalAttrs.version}.tbz";
sha256 = "sha256-KVz/LBNLA4WxO6gdUAXZ+EG6QNSlAq7RDJl/I57xFHs=";
};
@@ -19,4 +19,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}
})