Skip to content

Instantly share code, notes, and snippets.

@ericbmerritt
Last active August 29, 2015 14:21
Show Gist options
  • Save ericbmerritt/9bacb3041ac5449fb32a to your computer and use it in GitHub Desktop.
Save ericbmerritt/9bacb3041ac5449fb32a to your computer and use it in GitHub Desktop.
herelib.nix
{stdenv, buildOcaml, fetchurl}:
buildOcaml rec {
minimumSupportedOcamlVersion = "4.02";
version = "109.35.02";
name = "herelib";
src = fetchurl {
url = "https://github.com/janestreet/herelib/archive/${version}.tar.gz";
sha256 = "7f8394169cb63f6d41e91c9affa1b8ec240d5f6e9dfeda3fbb611df521d4b05a";
};
meta = with stdenv.lib; {
homepage = https://github.com/janestreet/herelib;
description = "Syntax extension for inserting the current location";
license = stdenv.lib.licenses.lgpl21;
maintainers = [ maintainers.ericbmerritt ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment