aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/opam-core/default.nix
blob: 22c1ecdf7032893156d2e68805b6e00d41d02753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, buildDunePackage, unzip
, opam, ocamlgraph, re, cppo }:

buildDunePackage rec {
  pname = "opam-core";

  inherit (opam) src version;

  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 ];
  };
}