2022-03-05 16:20:37 +00:00
|
|
|
{ lib, buildOcaml, fetchFromGitHub, camlp4 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
version = "112.35.00";
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "herelib";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.00";
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "janestreet";
|
|
|
|
repo = "herelib";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-EuMhHu2na3lcpsJ1wMVOgBr6VKndlonq8jgAW01eelI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
buildInputs = [ camlp4 ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/janestreet/herelib";
|
|
|
|
description = "Syntax extension for inserting the current location";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = licenses.asl20;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|