ocamlPackages.cstruct: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-21 19:28:54 -06:00
parent 54585891d0
commit e6ef6abd77
@@ -7,7 +7,7 @@
crowbar,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "cstruct";
version = "6.2.0";
@@ -15,7 +15,7 @@ buildDunePackage rec {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/ocaml-cstruct/releases/download/v${version}/cstruct-${version}.tbz";
url = "https://github.com/mirage/ocaml-cstruct/releases/download/v${finalAttrs.version}/cstruct-${finalAttrs.version}.tbz";
hash = "sha256-mngHM5JYDoNJFI+jq0sbLpidydMNB0AbBMlrfGDwPmI=";
};
@@ -33,4 +33,4 @@ buildDunePackage rec {
homepage = "https://github.com/mirage/ocaml-cstruct";
maintainers = [ lib.maintainers.vbgl ];
};
}
})