[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33986] [PATCH 4/9] gnu: Add ocaml-base.
From: |
Gabriel Hondet |
Subject: |
[bug#33986] [PATCH 4/9] gnu: Add ocaml-base. |
Date: |
Thu, 3 Jan 2019 09:43:49 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
* gnu/packages/ocaml.scm (ocaml-base): New variable.
---
gnu/packages/ocaml.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0faab47ee..9e2e7e09b 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5205,3 +5205,45 @@ The Core suite of libraries is an industrial strength
alternative to
OCaml's standard library that was developed by Jane Street, the
largest industrial user of OCaml.")
(license license:expat)))
+
+(define-public ocaml-base
+ (package
+ (name "ocaml-base")
+ (version "0.11.1")
+ (home-page "https://github.com/janestreet/base")
+ (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
+ "0j6xb4265jr41vw4fjzak6yr8s30qrnzapnc6rl1dxy8bjai0nir"))))
+ (build-system dune-build-system)
+ (inputs
+ `(("ocaml-sexplib0" ,ocaml-sexplib0)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ ;; make warnings non fatal (jbuilder behaviour)
+ (lambda _
+ (invoke "dune" "build" "@install" "--profile=release"))))))
+ (synopsis
+ "Full standard library replacement for OCaml")
+ (description
+ "Full standard library replacement for OCaml
+
+Base is a complete and portable alternative to the OCaml standard
+library. It provides all standard functionalities one would expect
+from a language standard library. It uses consistent conventions
+across all of its module.
+
+Base aims to be usable in any context. As a result system dependent
+features such as I/O are not offered by Base. They are instead
+provided by companion libraries such as
address@hidden://github.com/janestreet/stdio, stdio}.")
+ (license license:expat)))
+
--
2.20.1
signature.asc
Description: PGP signature
- [bug#33986] [PATCH 1/9] gnu: Add ocaml-sexplib0., Gabriel Hondet, 2019/01/05
- [bug#33986] [PATCH 2/9] gnu: Add ocaml-parsexp., Gabriel Hondet, 2019/01/05
- [bug#33986] [PATCH 3/9] gnu: Add ocaml-sexplib., Gabriel Hondet, 2019/01/05
- [bug#33986] [PATCH 5/9] gnu: Add ocaml-compiler-libs., Gabriel Hondet, 2019/01/05
- [bug#33986] [PATCH 4/9] gnu: Add ocaml-base.,
Gabriel Hondet <=
- [bug#33986] [PATCH 6/9] gnu: Add ocaml-migrate-parsetree., Gabriel Hondet, 2019/01/05
- [bug#33986] [PATCH 7/9] gnu: Add ocaml-stdio., Gabriel Hondet, 2019/01/05
- [bug#33986] [PATCH 8/9] gnu: Add ocaml-ppx-derivers., Gabriel Hondet, 2019/01/05
- [bug#33986] [PATCH 9/9] gnu: Add ocaml-ppxlib., Gabriel Hondet, 2019/01/05
- [bug#33986] [PATCH 1/9] gnu: Add ocaml-sexplib0., Julien Lepiller, 2019/01/05
- bug#33986: [PATCH 1/9] gnu: Add ocaml-sexplib0., Julien Lepiller, 2019/01/16