ocamlPackages.iomux: migrate to finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user