nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildDunePackage, unzip, opam, opam-repository }:
2
3buildDunePackage rec {
4 pname = "opam-state";
5
6 inherit (opam) src version;
7
8 useDune2 = true;
9
10 # get rid of check for curl at configure time
11 # opam-state does not call curl at run time
12 configureFlags = [ "--disable-checks" ];
13
14 nativeBuildInputs = [ unzip ];
15 propagatedBuildInputs = [ opam-repository ];
16
17 meta = opam.meta // {
18 description = "OPAM development library handling the ~/.opam hierarchy, repository and switch states";
19 maintainers = with lib.maintainers; [ sternenseemann ];
20 };
21}