nixpkgs/pkgs/development/ocaml-modules/comparelib/default.nix
2021-12-08 12:47:49 +01:00

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 ];
};
}