depot/third_party/nixpkgs/pkgs/development/ocaml-modules/pipebang/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

26 lines
603 B
Nix

{ lib, buildOcaml, fetchFromGitHub, camlp4 }:
buildOcaml rec {
pname = "pipebang";
version = "113.00.00";
minimumSupportedOcamlVersion = "4.00";
src = fetchFromGitHub {
owner = "janestreet";
repo = "pipebang";
rev = version;
sha256 = "sha256-9A3X/ciL5HtuKQ5awS+hDDBLL5ytOr12wHsmJLNRn+Q=";
};
strictDeps = true;
buildInputs = [ camlp4 ];
meta = with lib; {
homepage = "https://github.com/janestreet/pipebang";
description = "Syntax extension to transform x |! f into f x";
license = licenses.asl20;
maintainers = [ maintainers.ericbmerritt ];
};
}