From f3c53f430f18e5c0a3c5d38669db5b817aabf2a2 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Wed, 6 Oct 2021 01:44:27 +0200 Subject: [PATCH] ocamlPackages.dtools: init at 0.4.4 --- .../ocaml-modules/dtools/default.nix | 22 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/ocaml-modules/dtools/default.nix diff --git a/pkgs/development/ocaml-modules/dtools/default.nix b/pkgs/development/ocaml-modules/dtools/default.nix new file mode 100644 index 000000000000..0eaba9fa158d --- /dev/null +++ b/pkgs/development/ocaml-modules/dtools/default.nix @@ -0,0 +1,22 @@ +{ lib, buildDunePackage, fetchFromGitHub }: + +buildDunePackage rec { + pname = "dtools"; + version = "0.4.4"; + + minimalOCamlVersion = "4.05"; + + src = fetchFromGitHub { + owner = "savonet"; + repo = "ocaml-dtools"; + rev = "v${version}"; + sha256 = "1xbgnij63crikfr2jvar6sf6c7if47qarg5yycdfidip21vhmawf"; + }; + + meta = with lib; { + homepage = "https://github.com/savonet/ocaml-dtools"; + description = "Library providing various helper functions to make daemons"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ dandellion ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 1a03b0c2bcd3..d29086f8aba1 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -314,6 +314,8 @@ let dtoa = callPackage ../development/ocaml-modules/dtoa { }; + dtools = callPackage ../development/ocaml-modules/dtools { }; + duff = callPackage ../development/ocaml-modules/duff { }; dum = callPackage ../development/ocaml-modules/dum { };