2021-10-30 17:14:14 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, pgocaml, camlp4 }:
|
2014-10-10 22:58:08 +00:00
|
|
|
|
2021-11-09 19:42:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ocaml-macaque";
|
|
|
|
version = "0.7.2";
|
|
|
|
|
2021-10-30 17:14:14 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocsigen";
|
|
|
|
repo = "macaque";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-W9ZFaINYYtIikKy/ZqdlKeFQSA7DQT9plc3+ZhlSIJI=";
|
2014-10-10 22:58:08 +00:00
|
|
|
};
|
|
|
|
|
2016-10-08 06:44:25 +00:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
2014-10-10 22:58:08 +00:00
|
|
|
propagatedBuildInputs = [ pgocaml ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-10-10 22:58:08 +00:00
|
|
|
description = "Macros for Caml Queries";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/ocsigen/macaque";
|
2014-10-10 22:58:08 +00:00
|
|
|
license = licenses.lgpl2;
|
2021-11-09 19:53:19 +00:00
|
|
|
platforms = ocaml.meta.platforms or [ ];
|
2014-10-10 22:58:08 +00:00
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|