Skip to content

Commit

Permalink
ocamlPackages.stdio: init at 0.9.0
Browse files Browse the repository at this point in the history
Stdio implements simple input/output functionalities for OCaml.

Homepage: https://github.com/janestreet/stdio
  • Loading branch information
vbgl committed Mar 25, 2017
1 parent a7a3d91 commit 6e0b727
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions 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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Expand Up @@ -516,6 +516,8 @@ let

sqlite3EZ = callPackage ../development/ocaml-modules/sqlite3EZ { };

stdio = callPackage ../development/ocaml-modules/stdio { };

stringext = callPackage ../development/ocaml-modules/stringext { };

topkg = callPackage ../development/ocaml-modules/topkg { };
Expand Down

0 comments on commit 6e0b727

Please sign in to comment.