2021-01-11 13:14:57 +00:00
|
|
|
{lib, 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
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/janestreet/comparelib";
|
2015-05-12 05:27:08 +01:00
|
|
|
description = "Syntax extension for deriving \"compare\" functions automatically";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|