summary refs log blame commit diff
path: root/pkgs/development/ocaml-modules/opam-state/default.nix
blob: d841631dfd07c57104a7b30042f514fa6972f106 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                        

                  











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