2021-10-30 21:52:18 +01:00
|
|
|
{ lib, buildOcaml, fetchFromGitHub, type_conv }:
|
2015-05-12 05:27:08 +01:00
|
|
|
|
|
|
|
buildOcaml rec {
|
2021-10-31 12:35:20 +00:00
|
|
|
pname = "comparelib";
|
2018-03-21 03:30:38 +00:00
|
|
|
version = "113.00.00";
|
2015-05-12 05:27:08 +01:00
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.00";
|
|
|
|
|
2021-10-30 21:52:18 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "janestreet";
|
|
|
|
repo = "comparelib";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-gtJvXAUxiIt/L9bCzS+8wHcCQ+QpBubwcjDcyN0K2MA=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|