2016-10-08 08:44:25 +02:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4 }:
|
2014-05-17 12:51:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-06-04 19:22:36 +02:00
|
|
|
name = "ocaml-optcomp-1.6";
|
2014-05-17 12:51:18 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/diml/optcomp/archive/1.6.tar.gz;
|
2017-01-24 17:01:04 +01:00
|
|
|
sha256 = "0hhhb2gisah1h22zlg5iszbgqxdd7x85cwd57bd4mfkx9l7dh8jh";
|
|
|
|
};
|
2014-05-17 12:51:18 +02:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2016-10-08 08:44:25 +02:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
2014-05-17 12:51:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/diml/optcomp;
|
|
|
|
description = "Optional compilation for OCaml with cpp-like directives";
|
2014-11-09 02:46:53 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2015-12-24 18:49:07 +01:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-05-17 12:51:18 +02:00
|
|
|
maintainers = [
|
|
|
|
stdenv.lib.maintainers.gal_bolle
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|