nixpkgs/pkgs/development/ocaml-modules/opam-state/default.nix
2020-06-26 12:14:03 +02:00

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