diff --git a/pkgs/development/ocaml-modules/duppy/default.nix b/pkgs/development/ocaml-modules/duppy/default.nix new file mode 100644 index 000000000000..48d360deb23f --- /dev/null +++ b/pkgs/development/ocaml-modules/duppy/default.nix @@ -0,0 +1,22 @@ +{ lib, buildDunePackage, fetchFromGitHub, ocaml_pcre }: + +buildDunePackage rec { + pname = "duppy"; + version = "0.9.2"; + + src = fetchFromGitHub { + owner = "savonet"; + repo = "ocaml-duppy"; + rev = "v${version}"; + sha256 = "132dawca1p5s965m40ldmnihlpgfm47y62kfbzgim7sgsdwxxw5y"; + }; + + propagatedBuildInputs = [ ocaml_pcre ]; + + meta = with lib; { + homepage = "https://github.com/savonet/ocaml-duppy"; + description = "Library providing monadic threads"; + license = licenses.lgpl21Only; + maintainers = with maintainers; [ dandellion ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index d29086f8aba1..2a942bebb0a6 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -349,6 +349,8 @@ let dune-site = callPackage ../development/ocaml-modules/dune-site { }; + duppy = callPackage ../development/ocaml-modules/duppy { }; + duration = callPackage ../development/ocaml-modules/duration { }; dyn = callPackage ../development/ocaml-modules/dyn { };