mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
23 lines
582 B
Nix
23 lines
582 B
Nix
{ lib, buildDunePackage, unzip
|
|
, opam, ocamlgraph, re, cppo }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "opam-core";
|
|
|
|
inherit (opam) src version;
|
|
|
|
useDune2 = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|