summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/herelib/default.nix
blob: f9267ede60ae5519161066d8c133574ac9c32711 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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 ];
  };
}