depot/third_party/nixpkgs/pkgs/development/ocaml-modules/opam-state/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

21 lines
574 B
Nix

{ lib, buildDunePackage, unzip, opam, opam-repository }:
buildDunePackage rec {
pname = "opam-state";
inherit (opam) src version;
useDune2 = true;
# 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 ];
};
}