2020-05-17 12:00:32 +02:00
|
|
|
{ lib, buildDunePackage, unzip
|
|
|
|
, opam, ocamlgraph, re, cppo }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "opam-core";
|
|
|
|
|
|
|
|
inherit (opam) src version;
|
|
|
|
|
2021-02-13 09:36:14 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-05-17 12:00:32 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|