mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
27 lines
691 B
Nix
27 lines
691 B
Nix
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, pgocaml, camlp4 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocaml-macaque";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocsigen";
|
|
repo = "macaque";
|
|
rev = version;
|
|
sha256 = "sha256-W9ZFaINYYtIikKy/ZqdlKeFQSA7DQT9plc3+ZhlSIJI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|