2020-05-17 11:00:32 +01:00
|
|
|
{ lib, buildDunePackage, unzip
|
|
|
|
, opam, ocamlgraph, re, cppo }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "opam-core";
|
|
|
|
|
|
|
|
inherit (opam) src version;
|
|
|
|
|
2021-02-13 08:36:14 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-05-17 11:00:32 +01:00
|
|
|
nativeBuildInputs = [ unzip cppo ];
|
|
|
|
propagatedBuildInputs = [ ocamlgraph re ];
|
|
|
|
|
|
|
|
# get rid of check for curl at configure time
|
|
|
|
# opam-core does not call curl at run time
|
|
|
|
configureFlags = [ "--disable-checks" ];
|
|
|
|
|
|
|
|
meta = opam.meta // {
|
|
|
|
description = "Small standard library extensions, and generic system interaction modules used by opam";
|
|
|
|
maintainers = with lib.maintainers; [ sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|