git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.stdio: init at 0.9.0

Stdio implements simple input/output functionalities for OCaml. Homepage: https://github.com/janestreet/stdio

commit6e0b7273a230b55433fe9ae2799fc53f2b33f8dc authorVincent Laporte <Vincent.Laporte@gmail.com> dateSat 25 Mar 2017, 07:06 (10 years ago) parenta7a3d91
2 files changed+24
pkgs/development/ocaml-modules/stdio/default.nix+22 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/ocaml-modules/stdio/default.nixnew file+22
@@ -0,0 +1,22 @@
1+{ stdenv, fetchurl, ocaml, jbuilder, findlib, base }:
2+
3+stdenv.mkDerivation {
4+ name = "ocaml${ocaml.version}-stdio-0.9.0";
5+
6+ src = fetchurl {
7+ url = http://ocaml.janestreet.com/ocaml-core/v0.9/files/stdio-v0.9.0.tar.gz;
8+ sha256 = "008b5y03223107gfv8qawdfyjvf5g97l472i5p5v8mp512wr7kj5";
9+ };
10+
11+ buildInputs = [ ocaml jbuilder findlib ];
12+ propagatedBuildInputs = [ base ];
13+
14+ inherit (jbuilder) installPhase;
15+
16+ meta = {
17+ license = stdenv.lib.licenses.asl20;
18+ description = "Standard IO library for OCaml";
19+ homepage = https://github.com/janestreet/stdio;
20+ inherit (ocaml.meta) platforms;
21+ };
22+}
pkgs/top-level/ocaml-packages.nix+2
@@ -516,6 +516,8 @@ let
516516
517517 sqlite3EZ = callPackage ../development/ocaml-modules/sqlite3EZ { };
518518
519+ stdio = callPackage ../development/ocaml-modules/stdio { };
520+
519521 stringext = callPackage ../development/ocaml-modules/stringext { };
520522
521523 topkg = callPackage ../development/ocaml-modules/topkg { };