ocamlPackages.iomux: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:36:36 -05:00
parent 755e3b65d0
commit 5669c1de39
@@ -6,14 +6,14 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "iomux";
version = "0.4";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/haesbaert/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
url = "https://github.com/haesbaert/ocaml-iomux/releases/download/v${finalAttrs.version}/iomux-${finalAttrs.version}.tbz";
hash = "sha256-Hjk/rlWUdoSMXHBSUHaxEHDoBqVJ7rrghLBGqXcrqzU=";
};
@@ -26,9 +26,9 @@ buildDunePackage rec {
];
meta = {
homepage = "https://github.com/haesbaert/ocaml-${pname}";
homepage = "https://github.com/haesbaert/ocaml-iomux";
description = "IO Multiplexers for OCaml";
license = with lib.licenses; [ isc ];
maintainers = with lib.maintainers; [ toastal ];
};
}
})