ocamlPackages.hxd: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:36:34 -05:00
parent 45883af4e8
commit 118bd50e6e
@@ -8,14 +8,14 @@
withLwt ? true,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "hxd";
version = "0.4.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/dinosaure/hxd/releases/download/v${version}/hxd-${version}.tbz";
url = "https://github.com/dinosaure/hxd/releases/download/v${finalAttrs.version}/hxd-${finalAttrs.version}.tbz";
sha256 = "sha256-EAMLciahdQRHGAmtWvwMIAchJkxcbdPVldJIBApxgFg=";
};
@@ -39,4 +39,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.sternenseemann ];
mainProgram = "hxd.xxd";
};
}
})