1 { lib, stdenv, fetchFromGitHub, ocamlPackages }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-6htaiFIcRMUYWn0U7zTNfCyDaTgDEvPch2q57qzvND4=";
14 nativeBuildInputs = with ocamlPackages; [ ocaml findlib ocamlbuild ];
15 buildInputs = with ocamlPackages; [ opam-file-format ];
17 preInstall = "mkdir -p $out/bin";
19 installFlags = [ "PREFIX=$(out)" ];
22 description = "OPAm Light INstaller Engine";
23 mainProgram = "opaline";
24 license = lib.licenses.mit;
25 maintainers = [ lib.maintainers.vbgl ];
26 inherit (src.meta) homepage;
27 inherit (ocamlPackages.ocaml.meta) platforms;