2015-09-06 21:15:10 +02:00
|
|
|
{stdenv, buildOcaml, fetchurl, type_conv}:
|
2015-05-12 06:27:08 +02:00
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
name = "comparelib";
|
2018-03-21 04:30:38 +01:00
|
|
|
version = "113.00.00";
|
2015-05-12 06:27:08 +02:00
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.00";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/janestreet/comparelib/archive/${version}.tar.gz";
|
2018-03-21 04:30:38 +01:00
|
|
|
sha256 = "02l343drgi4200flfx73nzdk61zajwidsqjk9n80b2d37lvhazlf";
|
2015-05-12 06:27:08 +02:00
|
|
|
};
|
|
|
|
|
2015-09-06 21:15:10 +02:00
|
|
|
propagatedBuildInputs = [ type_conv ];
|
2015-05-12 06:27:08 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|