nixpkgs/pkgs/development/tools/ocaml/opam/installer.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
408 B
Nix
Raw Normal View History

2020-12-06 19:49:59 +00:00
{ lib, unzip, opam, ocamlPackages }:
ocamlPackages.buildDunePackage {
pname = "opam-installer";
2023-01-15 07:55:33 +00:00
duneVersion = "3";
2020-12-06 19:49:59 +00:00
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";
};
}