summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/pipebang
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/pipebang')
-rw-r--r--pkgs/development/ocaml-modules/pipebang/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/pipebang/default.nix b/pkgs/development/ocaml-modules/pipebang/default.nix
new file mode 100644
index 000000000000..fa9a9f8f86a6
--- /dev/null
+++ b/pkgs/development/ocaml-modules/pipebang/default.nix
@@ -0,0 +1,20 @@
+{stdenv, buildOcaml, fetchurl}:
+
+buildOcaml rec {
+  name = "pipebang";
+  version = "110.01.00";
+
+  minimumSupportedOcamlVersion = "4.00";
+
+  src = fetchurl {
+    url = "https://github.com/janestreet/pipebang/archive/${version}.tar.gz";
+    sha256 = "a8858d9607c15cdf0a775196be060c8d91de724fc80a347d7a76ef1d38329096";
+  };
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/janestreet/pipebang;
+    description = "Syntax extension to transform x |! f into f x";
+    license = licenses.asl20;
+    maintainers = [ maintainers.ericbmerritt ];
+  };
+}