summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-03-25 07:06:49 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-03-25 07:06:49 +0000
commit6e0b7273a230b55433fe9ae2799fc53f2b33f8dc (patch)
treeea6dc79e8b5d427cd70f302eb9356bc55e3ddfc3 /pkgs/development/ocaml-modules
parenta7a3d910392147fae005890ae3eb78a2cd202b7e (diff)
downloadnixlib-6e0b7273a230b55433fe9ae2799fc53f2b33f8dc.tar
nixlib-6e0b7273a230b55433fe9ae2799fc53f2b33f8dc.tar.gz
nixlib-6e0b7273a230b55433fe9ae2799fc53f2b33f8dc.tar.bz2
nixlib-6e0b7273a230b55433fe9ae2799fc53f2b33f8dc.tar.lz
nixlib-6e0b7273a230b55433fe9ae2799fc53f2b33f8dc.tar.xz
nixlib-6e0b7273a230b55433fe9ae2799fc53f2b33f8dc.tar.zst
nixlib-6e0b7273a230b55433fe9ae2799fc53f2b33f8dc.zip
ocamlPackages.stdio: init at 0.9.0
Stdio implements simple input/output functionalities for OCaml.

Homepage: https://github.com/janestreet/stdio
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/stdio/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/stdio/default.nix b/pkgs/development/ocaml-modules/stdio/default.nix
new file mode 100644
index 000000000000..873823300222
--- /dev/null
+++ b/pkgs/development/ocaml-modules/stdio/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchurl, ocaml, jbuilder, findlib, base }:
+
+stdenv.mkDerivation {
+  name = "ocaml${ocaml.version}-stdio-0.9.0";
+
+  src = fetchurl {
+    url = http://ocaml.janestreet.com/ocaml-core/v0.9/files/stdio-v0.9.0.tar.gz;
+    sha256 = "008b5y03223107gfv8qawdfyjvf5g97l472i5p5v8mp512wr7kj5";
+  };
+
+  buildInputs = [ ocaml jbuilder findlib ];
+  propagatedBuildInputs = [ base ];
+
+  inherit (jbuilder) installPhase;
+
+  meta = {
+    license = stdenv.lib.licenses.asl20;
+    description = "Standard IO library for OCaml";
+    homepage = https://github.com/janestreet/stdio;
+    inherit (ocaml.meta) platforms;
+  };
+}