depot/third_party/nixpkgs/pkgs/development/ocaml-modules/opam-state/default.nix
Default email 1ffc76754d Project import generated by Copybara.
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
2020-07-18 18:06:22 +02:00

19 lines
554 B
Nix

{ lib, buildDunePackage, unzip, opam, opam-repository }:
buildDunePackage rec {
pname = "opam-state";
inherit (opam) src version;
# get rid of check for curl at configure time
# opam-state does not call curl at run time
configureFlags = [ "--disable-checks" ];
nativeBuildInputs = [ unzip ];
propagatedBuildInputs = [ opam-repository ];
meta = opam.meta // {
description = "OPAM development library handling the ~/.opam hierarchy, repository and switch states";
maintainers = with lib.maintainers; [ sternenseemann ];
};
}