2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchzip, ocaml, findlib, ocamlbuild, pgocaml, camlp4 }:
|
2014-10-10 23:58:08 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-07-23 18:29:35 +01:00
|
|
|
name = "ocaml-macaque-0.7.2";
|
|
|
|
src = fetchzip {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://github.com/ocsigen/macaque/archive/0.7.2.tar.gz";
|
2015-07-23 18:29:35 +01:00
|
|
|
sha256 = "14i0a8cndzndjmlkyhf31r451q99cnkndgxcj0id4qjqhdl4bmjv";
|
2014-10-10 23:58:08 +01:00
|
|
|
};
|
|
|
|
|
2016-10-08 07:44:25 +01:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
2014-10-10 23:58:08 +01:00
|
|
|
propagatedBuildInputs = [ pgocaml ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-10-10 23:58:08 +01:00
|
|
|
description = "Macros for Caml Queries";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ocsigen/macaque";
|
2014-10-10 23:58:08 +01:00
|
|
|
license = licenses.lgpl2;
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-10-10 23:58:08 +01:00
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|