2015-09-06 20:15:10 +01:00
|
|
|
{stdenv, buildOcaml, fetchurl, type_conv}:
|
2015-05-12 05:27:08 +01:00
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
name = "comparelib";
|
2018-03-21 03:30:38 +00:00
|
|
|
version = "113.00.00";
|
2015-05-12 05:27:08 +01: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 05:27:08 +01:00
|
|
|
};
|
|
|
|
|
2015-09-06 20:15:10 +01:00
|
|
|
propagatedBuildInputs = [ type_conv ];
|
2015-05-12 05:27:08 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|