f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
18 lines
439 B
Nix
18 lines
439 B
Nix
{ unzip, opam, ocamlPackages }:
|
|
|
|
ocamlPackages.buildDunePackage {
|
|
pname = "opam-installer";
|
|
|
|
duneVersion = "3";
|
|
|
|
inherit (opam) version src;
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
configureFlags = [ "--disable-checks" "--prefix=$out" ];
|
|
buildInputs = with ocamlPackages; [ opam-format cmdliner ];
|
|
|
|
meta = opam.meta // {
|
|
description = "Handle (un)installation from opam install files";
|
|
mainProgram = "opam-installer";
|
|
};
|
|
}
|