587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
18 lines
444 B
Nix
18 lines
444 B
Nix
{ lib, 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";
|
|
};
|
|
}
|