summary refs log tree commit diff
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2021-10-27 09:10:44 -0300
committerVincent Laporte <vbgl@users.noreply.github.com>2021-10-28 08:27:32 +0200
commit40bad15b21f81b607f1ce54ef90d244e00b5c237 (patch)
tree6d03e5a6ba0b75bbb17e6a37c01013e13fecb20d
parentc535db45ceb6d9aaecd5d260127ecf8335000378 (diff)
downloadnixpkgs-40bad15b21f81b607f1ce54ef90d244e00b5c237.tar
nixpkgs-40bad15b21f81b607f1ce54ef90d244e00b5c237.tar.gz
nixpkgs-40bad15b21f81b607f1ce54ef90d244e00b5c237.tar.bz2
nixpkgs-40bad15b21f81b607f1ce54ef90d244e00b5c237.tar.lz
nixpkgs-40bad15b21f81b607f1ce54ef90d244e00b5c237.tar.xz
nixpkgs-40bad15b21f81b607f1ce54ef90d244e00b5c237.tar.zst
nixpkgs-40bad15b21f81b607f1ce54ef90d244e00b5c237.zip
ocamlPackages.dune-site: init 2.9.1
-rw-r--r--pkgs/development/ocaml-modules/dune-site/default.nix19
-rw-r--r--pkgs/top-level/ocaml-packages.nix2
2 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/dune-site/default.nix b/pkgs/development/ocaml-modules/dune-site/default.nix
new file mode 100644
index 00000000000..27dcfe660ef
--- /dev/null
+++ b/pkgs/development/ocaml-modules/dune-site/default.nix
@@ -0,0 +1,19 @@
+{ lib, buildDunePackage, dune_2, dune-private-libs }:
+
+buildDunePackage rec {
+  pname = "dune-site";
+  inherit (dune_2) src version patches;
+
+  useDune2 = true;
+
+  dontAddPrefix = true;
+
+  propagatedBuildInputs = [ dune-private-libs ];
+
+  meta = with lib; {
+    description = "A library for embedding location information inside executable and libraries";
+    inherit (dune_2.meta) homepage;
+    maintainers = with lib.maintainers; [ superherointj ];
+    license = licenses.mit;
+  };
+}
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index c9da008e8f5..13ed6c5a37f 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -321,6 +321,8 @@ let
       inherit (pkgs) opam git mercurial coreutils gnutar bzip2;
     };
 
+    dune-site = callPackage ../development/ocaml-modules/dune-site { };
+
     duration =  callPackage ../development/ocaml-modules/duration { };
 
     earley = callPackage ../development/ocaml-modules/earley { };