1 { lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, pgocaml, camlp4 }:
3 stdenv.mkDerivation rec {
4 pname = "ocaml-macaque";
7 src = fetchFromGitHub {
11 sha256 = "sha256-W9ZFaINYYtIikKy/ZqdlKeFQSA7DQT9plc3+ZhlSIJI=";
14 nativeBuildInputs = [ ocaml findlib ocamlbuild camlp4 ];
15 propagatedBuildInputs = [ pgocaml camlp4 ];
19 createFindlibDestdir = true;
22 description = "Macros for Caml Queries";
23 homepage = "https://github.com/ocsigen/macaque";
24 license = licenses.lgpl2;
25 platforms = ocaml.meta.platforms or [ ];
26 maintainers = with maintainers; [ vbgl ];