mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
a13cdfe520
To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild. This makes some closures significantly smaller and makes cross compilation easier
25 lines
659 B
Nix
25 lines
659 B
Nix
{ lib, buildOcaml, fetchFromGitHub, type_conv, camlp4 }:
|
|
|
|
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=";
|
|
};
|
|
|
|
buildInputs = [ camlp4 ];
|
|
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 ];
|
|
};
|
|
}
|