2016-02-17 17:53:48 +00:00
|
|
|
{ stdenv, fetchFromGitHub, ocaml, findlib, qtest, ounit }:
|
|
|
|
|
|
|
|
let version = "0.3"; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocaml-gen-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "c-cube";
|
|
|
|
repo = "gen";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "0xrnkcfa5q86ammf49j5hynw5563x5sa2mk7vqf7g097j1szif72";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ocaml findlib qtest ounit ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/c-cube/gen;
|
|
|
|
description = "Simple, efficient iterators for OCaml";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2016-02-17 17:53:48 +00:00
|
|
|
};
|
|
|
|
}
|