From 40bad15b21f81b607f1ce54ef90d244e00b5c237 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Wed, 27 Oct 2021 09:10:44 -0300 Subject: [PATCH] ocamlPackages.dune-site: init 2.9.1 --- .../ocaml-modules/dune-site/default.nix | 19 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/ocaml-modules/dune-site/default.nix 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 000000000000..27dcfe660ef8 --- /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 c9da008e8f5a..13ed6c5a37fd 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 { };