mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 21:13:40 +00:00
25 lines
687 B
Nix
25 lines
687 B
Nix
{ lib, stdenv, fetchzip, ocaml, findlib, ocamlbuild, pgocaml, camlp4 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocaml-macaque";
|
|
version = "0.7.2";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/ocsigen/macaque/archive/${version}.tar.gz";
|
|
sha256 = "14i0a8cndzndjmlkyhf31r451q99cnkndgxcj0id4qjqhdl4bmjv";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
|
propagatedBuildInputs = [ pgocaml ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = with lib; {
|
|
description = "Macros for Caml Queries";
|
|
homepage = "https://github.com/ocsigen/macaque";
|
|
license = licenses.lgpl2;
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = with maintainers; [ vbgl ];
|
|
};
|
|
}
|