[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/28: gnu: Add ocaml5.0-base.
From: |
guix-commits |
Subject: |
10/28: gnu: Add ocaml5.0-base. |
Date: |
Wed, 21 Dec 2022 16:11:42 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 11c1621b536ee29daf8091f65f4f9d7c77a5f16d
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Fri Dec 16 13:25:09 2022 +0000
gnu: Add ocaml5.0-base.
* gnu/packages/ocaml.scm (ocaml5.0-base): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 4a45f5f73b..430e6a341b 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5487,7 +5487,8 @@ functionality for parsing and pretty-printing
s-expressions.")
(build-system dune-build-system)
(propagated-inputs
(list ocaml-sexplib0))
- (properties `((ocaml4.07-variant . ,(delay ocaml4.07-base))))
+ (properties `((ocaml4.07-variant . ,(delay ocaml4.07-base))
+ (ocaml5.0-variant . ,(delay ocaml5.0-base))))
(synopsis
"Full standard library replacement for OCaml")
(description
@@ -5502,6 +5503,28 @@ provided by companion libraries such as
@url{https://github.com/janestreet/stdio, ocaml-stdio}.")
(license license:expat)))
+(define-public ocaml5.0-base
+ ;; This version contains fixes for OCaml 5.0
+ ;; (see https://github.com/ocaml/opam-repository/pull/21851)
+ (let ((commit "423dbad212f55506767d758b1ceb2d6e0ee8e7f5")
+ (revision "0"))
+ (package-with-ocaml5.0
+ (package
+ (inherit ocaml-base)
+ (name "ocaml-base")
+ (version (git-version "0.15.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kit-ty-kate/base")
+ (commit commit)))
+ (file-name (git-file-name "ocaml5.0-base" version))
+ (sha256
+ (base32
+ "15vsiv3q53l1bzrvqgspf3lp2104s9dzw62z3nl75f53jvjvsyf6"))))
+ (properties '())))))
+
(define-public ocaml4.07-base
(package-with-ocaml4.07
(package
- 01/28: gnu: Add ocaml-5.0., (continued)
- 01/28: gnu: Add ocaml-5.0., guix-commits, 2022/12/21
- 04/28: guix: ocaml: Add package-with-ocaml5.0., guix-commits, 2022/12/21
- 15/28: gnu: Add ocaml5.0-crowbar., guix-commits, 2022/12/21
- 17/28: gnu: Add ocaml5.0-ctypes, guix-commits, 2022/12/21
- 27/28: gnu: Add ocaml5.0-dot-merlin-reader., guix-commits, 2022/12/21
- 25/28: gnu: Update ocaml-merlin-lib to 4.7-414., guix-commits, 2022/12/21
- 21/28: gnu: Add ocaml5.0-eio-luv., guix-commits, 2022/12/21
- 02/28: gnu: ocaml-findlib: Update to 1.9.5., guix-commits, 2022/12/21
- 07/28: gnu: Add ocaml-monolith., guix-commits, 2022/12/21
- 08/28: gnu: Add ocaml-optint., guix-commits, 2022/12/21
- 10/28: gnu: Add ocaml5.0-base.,
guix-commits <=
- 12/28: gnu: Update ocaml-qcheck to 0.20., guix-commits, 2022/12/21
- 14/28: gnu: Update ocaml-odoc to 2.2.0., guix-commits, 2022/12/21
- 20/28: gnu: Add ocaml5.0-eio., guix-commits, 2022/12/21
- 24/28: gnu: Add ocaml5.0-eio-main., guix-commits, 2022/12/21
- 06/28: gnu: Add ocaml-psq., guix-commits, 2022/12/21
- 05/28: gnu: opam: Use OCaml 4.14 compiled version when building OCaml 5.0 packages., guix-commits, 2022/12/21
- 09/28: gnu: Add ocaml-hmap., guix-commits, 2022/12/21
- 11/28: gnu: Update ocaml-ppxlib to 0.25.1., guix-commits, 2022/12/21
- 19/28: gnu: ocaml-mdx: Move inputs to propagated-inputs., guix-commits, 2022/12/21
- 26/28: gnu: Add ocaml5.0-merlin-lib., guix-commits, 2022/12/21