about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/pipebang/default.nix
blob: 36eb3fe54bbeb9e0560d883c99c2cffe57a141c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{lib, buildOcaml, fetchurl}:

buildOcaml rec {
  name = "pipebang";
  version = "113.00.00";

  minimumSupportedOcamlVersion = "4.00";

  src = fetchurl {
    url = "https://github.com/janestreet/pipebang/archive/${version}.tar.gz";
    sha256 = "0acm2y8wxvnapa248lkgm0vcc44hlwhrjxqkx1awjxzcmarnxhfk";
  };

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