diff --git a/pkgs/development/ocaml-modules/iomux/default.nix b/pkgs/development/ocaml-modules/iomux/default.nix index 25b7c07ddad8..6f4535e3ec7f 100644 --- a/pkgs/development/ocaml-modules/iomux/default.nix +++ b/pkgs/development/ocaml-modules/iomux/default.nix @@ -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 ]; }; -} +})