mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
25 lines
491 B
Nix
25 lines
491 B
Nix
{ 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;
|
|
};
|
|
}
|