2014-11-09 01:46:53 +00:00
|
|
|
{stdenv, fetchurl, ocaml, findlib, camlp4}:
|
2014-05-17 11:51:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-06-04 18:22:36 +01:00
|
|
|
name = "ocaml-optcomp-1.6";
|
2014-05-17 11:51:18 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/diml/optcomp/archive/1.6.tar.gz;
|
|
|
|
md5 = "d3587244dba1b8b10f24d0b60a8c700d";
|
|
|
|
};
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2014-11-09 01:46:53 +00:00
|
|
|
buildInputs = [ocaml findlib camlp4];
|
2014-05-17 11:51:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/diml/optcomp;
|
|
|
|
description = "Optional compilation for OCaml with cpp-like directives";
|
2014-11-09 01:46:53 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2014-05-17 11:51:18 +01:00
|
|
|
platforms = ocaml.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
stdenv.lib.maintainers.gal_bolle
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|