diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-12-18 04:26:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-12-21 10:03:56 -0500 |
commit | 5eb4a2352ef8907913d62555c290e97c67726f08 (patch) | |
tree | a1a602fd1a8f5d2963b225d62db21fbc464b0482 | |
parent | 6b9504955ff64a355d2c83469ba4f8d5f1520470 (diff) | |
download | nixpkgs-5eb4a2352ef8907913d62555c290e97c67726f08.tar nixpkgs-5eb4a2352ef8907913d62555c290e97c67726f08.tar.gz nixpkgs-5eb4a2352ef8907913d62555c290e97c67726f08.tar.bz2 nixpkgs-5eb4a2352ef8907913d62555c290e97c67726f08.tar.lz nixpkgs-5eb4a2352ef8907913d62555c290e97c67726f08.tar.xz nixpkgs-5eb4a2352ef8907913d62555c290e97c67726f08.tar.zst nixpkgs-5eb4a2352ef8907913d62555c290e97c67726f08.zip |
ocamlPackages.dune-configurator: init at 2.1.0
-rw-r--r-- | pkgs/development/ocaml-modules/dune-configurator/default.nix | 17 | ||||
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/dune-configurator/default.nix b/pkgs/development/ocaml-modules/dune-configurator/default.nix new file mode 100644 index 00000000000..d84c21565db --- /dev/null +++ b/pkgs/development/ocaml-modules/dune-configurator/default.nix @@ -0,0 +1,17 @@ +{ lib, buildDunePackage, dune_2, dune-private-libs }: + +buildDunePackage rec { + pname = "dune-configurator"; + + inherit (dune_2) src version; + + dontAddPrefix = true; + + propagatedBuildInputs = [ dune-private-libs ]; + + meta = with lib; { + description = "Helper library for gathering system configuration"; + maintainers = [ maintainers.marsam ]; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index d21aec00195..786c34ab3ab 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -241,6 +241,8 @@ let dune_2 = callPackage ../development/tools/ocaml/dune/2.nix { }; + dune-configurator = callPackage ../development/ocaml-modules/dune-configurator { buildDunePackage = buildDune2Package; }; + dune-private-libs = callPackage ../development/ocaml-modules/dune-private-libs { buildDunePackage = buildDune2Package; }; earley = callPackage ../development/ocaml-modules/earley { }; |