2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ocamlPackages }:
|
2018-06-01 20:29:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-11 07:29:40 +00:00
|
|
|
version = "0.3.2";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "opaline";
|
2018-06-01 20:29:53 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jaapb";
|
|
|
|
repo = "opaline";
|
|
|
|
rev = "v${version}";
|
2019-03-11 07:29:40 +00:00
|
|
|
sha256 = "1aj1fdqymq3pnr39h47hn3kxk5v9pnwx0jap1z2jzh78x970z21m";
|
2018-06-01 20:29:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with ocamlPackages; [ ocaml findlib ocamlbuild opam-file-format ];
|
|
|
|
|
|
|
|
preInstall = "mkdir -p $out/bin";
|
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "OPAm Light INstaller Engine";
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2018-06-01 20:29:53 +01:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
inherit (ocamlPackages.ocaml.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|