depot/third_party/nixpkgs/pkgs/development/ocaml-modules/herelib/default.nix

27 lines
606 B
Nix
Raw Normal View History

{ 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 ];
};
}