2022-03-05 16:20:37 +00:00
|
|
|
{ lib, buildOcaml, fetchFromGitHub, camlp4 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildOcaml rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "pipebang";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "113.00.00";
|
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.00";
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "janestreet";
|
|
|
|
repo = "pipebang";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-9A3X/ciL5HtuKQ5awS+hDDBLL5ytOr12wHsmJLNRn+Q=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
buildInputs = [ camlp4 ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/janestreet/pipebang";
|
|
|
|
description = "Syntax extension to transform x |! f into f x";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|