ocamlPackages.dtoa: migrate to finalAttrs

This commit is contained in:
Guy Chronister 2026-01-21 19:29:15 -06:00
commit 930a69253e
No known key found for this signature in database
GPG key ID: CDFE1EF879A73297

View file

@ -7,12 +7,12 @@
ounit2,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "dtoa";
version = "0.3.3";
src = fetchurl {
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
url = "https://github.com/flowtype/ocaml-dtoa/releases/download/v${finalAttrs.version}/dtoa-${finalAttrs.version}.tbz";
hash = "sha256-2PRgjJ6Ssp4l6jHzv1/MqzlomQlJkKLVnRXG6KPJ7j4=";
};
@ -28,4 +28,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.eqyiel ];
};
}
})