nixpkgs/pkgs/development/ocaml-modules/opam-state/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
574 B
Nix
Raw Normal View History

{ lib, buildDunePackage, unzip, opam, opam-repository }:
buildDunePackage rec {
pname = "opam-state";
inherit (opam) src version;
2020-12-06 17:49:34 +00:00
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 ];
};
}