2015-09-06 19:15:10 +00:00
|
|
|
{stdenv, buildOcaml, fetchurl, type_conv}:
|
2015-05-12 04:27:08 +00:00
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
name = "comparelib";
|
2018-03-21 03:30:38 +00:00
|
|
|
version = "113.00.00";
|
2015-05-12 04:27:08 +00:00
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.00";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/janestreet/comparelib/archive/${version}.tar.gz";
|
2018-03-21 03:30:38 +00:00
|
|
|
sha256 = "02l343drgi4200flfx73nzdk61zajwidsqjk9n80b2d37lvhazlf";
|
2015-05-12 04:27:08 +00:00
|
|
|
};
|
|
|
|
|
2015-09-06 19:15:10 +00:00
|
|
|
propagatedBuildInputs = [ type_conv ];
|
2015-05-12 04:27:08 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/janestreet/comparelib;
|
|
|
|
description = "Syntax extension for deriving \"compare\" functions automatically";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|