88abffb7d2
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
28 lines
721 B
Nix
28 lines
721 B
Nix
{ lib, stdenv, fetchFromGitHub, ocamlPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.3.2";
|
|
pname = "opaline";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jaapb";
|
|
repo = "opaline";
|
|
rev = "v${version}";
|
|
sha256 = "1aj1fdqymq3pnr39h47hn3kxk5v9pnwx0jap1z2jzh78x970z21m";
|
|
};
|
|
|
|
nativeBuildInputs = with ocamlPackages; [ ocaml findlib ocamlbuild ];
|
|
buildInputs = with ocamlPackages; [ opam-file-format ];
|
|
|
|
preInstall = "mkdir -p $out/bin";
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = {
|
|
description = "OPAm Light INstaller Engine";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
inherit (src.meta) homepage;
|
|
inherit (ocamlPackages.ocaml.meta) platforms;
|
|
};
|
|
}
|