about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/dune-configurator/default.nix
blob: 3eae198d8242799ac9d9e611a6347500afe397c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildDunePackage, dune_3, csexp }:

buildDunePackage rec {
  pname = "dune-configurator";

  inherit (dune_3) src version patches;

  # This fixes finding csexp
  postPatch = ''
    rm -rf vendor/pp vendor/csexp
  '';

  minimalOCamlVersion = "4.05";

  dontAddPrefix = true;

  propagatedBuildInputs = [ csexp ];

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