2021-01-11 05:14:57 -08:00
|
|
|
{lib, buildOcaml, fetchurl, type_conv}:
|
2015-05-11 21:27:08 -07:00
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
name = "comparelib";
|
2018-03-20 20:30:38 -07:00
|
|
|
version = "113.00.00";
|
2015-05-11 21:27:08 -07:00
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.00";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/janestreet/comparelib/archive/${version}.tar.gz";
|
2018-03-20 20:30:38 -07:00
|
|
|
sha256 = "02l343drgi4200flfx73nzdk61zajwidsqjk9n80b2d37lvhazlf";
|
2015-05-11 21:27:08 -07:00
|
|
|
};
|
|
|
|
|
2015-09-06 12:15:10 -07:00
|
|
|
propagatedBuildInputs = [ type_conv ];
|
2015-05-11 21:27:08 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/janestreet/comparelib";
|
2015-05-11 21:27:08 -07:00
|
|
|
description = "Syntax extension for deriving \"compare\" functions automatically";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|