2020-07-18 16:06:22 +00:00
|
|
|
{ lib, buildDunePackage, unzip, opam, opam-repository }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "opam-state";
|
|
|
|
|
|
|
|
inherit (opam) src version;
|
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|