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