summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/dune-configurator/default.nix
blob: 2ede486e1a14fbfb66c9a6df8dfc4f84aa04a5b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  lib,
  buildDunePackage,
  ocaml,
  dune,
  csexp,
  version ? if lib.versionAtLeast ocaml.version "4.13" then dune.version else "3.22.2",
}:

buildDunePackage {
  pname = "dune-configurator";
  inherit version;

  inherit (dune.override { inherit version; }) src;

  dontAddPrefix = true;

  propagatedBuildInputs = [ csexp ];

  meta = {
    description = "Helper library for gathering system configuration";
    maintainers = [ ];
    license = lib.licenses.mit;
  };
}