mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
22 lines
574 B
Nix
22 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 ];
|
|
};
|
|
}
|