ocamlPackages.saturn: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:28:49 -05:00
parent 7fd84df3e7
commit eda8a964b9
@@ -6,14 +6,14 @@
multicore-magic,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "saturn_lockfree";
version = "0.5.0";
minimalOCamlVersion = "4.13";
src = fetchurl {
url = "https://github.com/ocaml-multicore/saturn/releases/download/${version}/saturn-${version}.tbz";
url = "https://github.com/ocaml-multicore/saturn/releases/download/${finalAttrs.version}/saturn-${finalAttrs.version}.tbz";
hash = "sha256-ZmmxwIe5PiPYTTdvOHbOjRbv2b/bb9y0IekByfREPjk=";
};
@@ -28,4 +28,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})