2015-02-28 15:48:16 +00:00
|
|
|
{ stdenv, fetchzip, ocaml, findlib, oasis, ocaml_optcomp, camlp4 }:
|
|
|
|
|
|
|
|
let version = "0.7"; in
|
2014-05-17 11:52:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-02-28 15:48:16 +00:00
|
|
|
name = "ocsigen-deriving-${version}";
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/ocsigen/deriving/archive/${version}.tar.gz";
|
|
|
|
sha256 = "05z606gly1iyan292x3mflg3zasgg68n8i2mivz0zbshx2hz2jbw";
|
2014-05-17 11:52:37 +01:00
|
|
|
};
|
2014-11-06 00:44:33 +00:00
|
|
|
|
2015-02-28 15:48:16 +00:00
|
|
|
buildInputs = [ ocaml findlib oasis ocaml_optcomp camlp4 ];
|
2014-05-17 11:52:37 +01:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/ocsigen/deriving;
|
|
|
|
description = "Extension to OCaml for deriving functions from type declarations";
|
2014-11-06 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2015-02-28 15:48:16 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [
|
|
|
|
gal_bolle vbgl
|
2014-05-17 11:52:37 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|