depot/third_party/nixpkgs/pkgs/development/ocaml-modules/macaque/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
663 B
Nix

{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, pgocaml, camlp4 }:
stdenv.mkDerivation {
name = "ocaml-macaque-0.7.2";
src = fetchzip {
url = "https://github.com/ocsigen/macaque/archive/0.7.2.tar.gz";
sha256 = "14i0a8cndzndjmlkyhf31r451q99cnkndgxcj0id4qjqhdl4bmjv";
};
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
propagatedBuildInputs = [ pgocaml ];
createFindlibDestdir = true;
meta = with stdenv.lib; {
description = "Macros for Caml Queries";
homepage = "https://github.com/ocsigen/macaque";
license = licenses.lgpl2;
platforms = ocaml.meta.platforms or [];
maintainers = with maintainers; [ vbgl ];
};
}