24 lines
623 B
Nix
24 lines
623 B
Nix
{ lib, buildOcaml, fetchFromGitHub, type_conv }:
|
|
|
|
buildOcaml rec {
|
|
pname = "comparelib";
|
|
version = "113.00.00";
|
|
|
|
minimumSupportedOcamlVersion = "4.00";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janestreet";
|
|
repo = "comparelib";
|
|
rev = version;
|
|
sha256 = "sha256-gtJvXAUxiIt/L9bCzS+8wHcCQ+QpBubwcjDcyN0K2MA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ type_conv ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/janestreet/comparelib";
|
|
description = "Syntax extension for deriving \"compare\" functions automatically";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
};
|
|
}
|