forked from mirrors/nixpkgs
a13cdfe520
To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild. This makes some closures significantly smaller and makes cross compilation easier
29 lines
726 B
Nix
29 lines
726 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=";
|
|
};
|
|
|
|
nativeBuildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
|
propagatedBuildInputs = [ pgocaml camlp4 ];
|
|
|
|
strictDeps = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|