ocamlPackages.macaddr: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:36:47 -05:00
parent 8cffc04b3e
commit 8c85489931
@@ -7,14 +7,14 @@
ounit2,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "macaddr";
version = "5.6.2";
minimalOCamlVersion = "4.04";
src = fetchurl {
url = "https://github.com/mirage/ocaml-ipaddr/releases/download/v${version}/ipaddr-${version}.tbz";
url = "https://github.com/mirage/ocaml-ipaddr/releases/download/v${finalAttrs.version}/ipaddr-${finalAttrs.version}.tbz";
hash = "sha256-CKP6bmQRSQtmYeWxAinqnsa4w3OOn2slWFmxPxRb4TY=";
};
@@ -30,4 +30,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ ];
};
}
})