2021-01-15 22:18:51 +00:00
|
|
|
{lib, buildOcaml, fetchurl, type_conv}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
name = "comparelib";
|
|
|
|
version = "113.00.00";
|
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.00";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/janestreet/comparelib/archive/${version}.tar.gz";
|
|
|
|
sha256 = "02l343drgi4200flfx73nzdk61zajwidsqjk9n80b2d37lvhazlf";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ type_conv ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/janestreet/comparelib";
|
|
|
|
description = "Syntax extension for deriving \"compare\" functions automatically";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|