nixpkgs/pkgs/development/ocaml-modules/opam-state/default.nix
2024-07-29 11:27:52 +02:00

18 lines
543 B
Nix

{ lib, buildDunePackage, opam, opam-repository, spdx_licenses }:
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" ];
propagatedBuildInputs = [ opam-repository spdx_licenses ];
meta = opam.meta // {
description = "OPAM development library handling the ~/.opam hierarchy, repository and switch states";
maintainers = with lib.maintainers; [ sternenseemann ];
};
}