ocamlPackages.stdio: init at 0.9.0
Stdio implements simple input/output functionalities for OCaml. Homepage: https://github.com/janestreet/stdio
This commit is contained in:
parent
a7a3d91039
commit
6e0b7273a2
22
pkgs/development/ocaml-modules/stdio/default.nix
Normal file
22
pkgs/development/ocaml-modules/stdio/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -516,6 +516,8 @@ let
|
|||||||
|
|
||||||
sqlite3EZ = callPackage ../development/ocaml-modules/sqlite3EZ { };
|
sqlite3EZ = callPackage ../development/ocaml-modules/sqlite3EZ { };
|
||||||
|
|
||||||
|
stdio = callPackage ../development/ocaml-modules/stdio { };
|
||||||
|
|
||||||
stringext = callPackage ../development/ocaml-modules/stringext { };
|
stringext = callPackage ../development/ocaml-modules/stringext { };
|
||||||
|
|
||||||
topkg = callPackage ../development/ocaml-modules/topkg { };
|
topkg = callPackage ../development/ocaml-modules/topkg { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user