@@ -5300,3 +5300,31 @@ Supported versions are 4.02, 4.03, 4.04, 4.05 and 4.06. For each version,
there is a snapshot of the parsetree and conversion functions to the next
and/or previous version.")
(license license:lgpl2.1+)))
+
+(define-public ocaml-stdio
+ (package
+ (name "ocaml-stdio")
+ (version "0.11.0")
+ (home-page "https://github.com/janestreet/stdio")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append home-page ".git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1facajqhvq34g2wrg368y0ajxd6lrj5b3lyzyj0jhdmraxajjcwn"))))
+ (build-system dune-build-system)
+ (inputs `(("ocaml-base" ,ocaml-base)
+ ("ocaml-sexplib0" ,ocaml-sexplib0)))
+ (arguments
+ '(#:tests? #f)) ;no tests
+ (synopsis "Standard IO library for OCaml")
+ (description
+ "Stdio implements simple input/output functionalities for OCaml.
+
+It re-exports the input/output functions of the OCaml standard
+libraries using a more consistent API.")
+ (license license:expat)))