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
27 lines
606 B
Nix
27 lines
606 B
Nix
{ lib, buildOcaml, fetchFromGitHub, camlp4 }:
|
|
|
|
buildOcaml rec {
|
|
version = "112.35.00";
|
|
pname = "herelib";
|
|
|
|
minimumSupportedOcamlVersion = "4.00";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janestreet";
|
|
repo = "herelib";
|
|
rev = version;
|
|
sha256 = "sha256-EuMhHu2na3lcpsJ1wMVOgBr6VKndlonq8jgAW01eelI=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
buildInputs = [ camlp4 ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/janestreet/herelib";
|
|
description = "Syntax extension for inserting the current location";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
};
|
|
}
|