[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/28: gnu: Add ocaml5.0-ppx-expect.
From: |
guix-commits |
Subject: |
13/28: gnu: Add ocaml5.0-ppx-expect. |
Date: |
Wed, 21 Dec 2022 16:11:42 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit e3a2f0447bd9781f56926a30a63b30518a7548fc
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Fri Dec 16 13:25:12 2022 +0000
gnu: Add ocaml5.0-ppx-expect.
* gnu/packages/ocaml.scm (ocaml5.0-ppx-expect): 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 8bed5e9cc0..631f69d56d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6757,7 +6757,8 @@ useful errors on failure.")
ocaml-migrate-parsetree
ocaml-re))
(properties `((upstream-name . "ppx_expect")
- (ocaml4.07-variant . ,(delay ocaml4.07-ppx-expect))))
+ (ocaml4.07-variant . ,(delay ocaml4.07-ppx-expect))
+ (ocaml5.0-variant . ,(delay ocaml5.0-ppx-expect))))
(home-page "https://github.com/janestreet/ppx_expect")
(synopsis "Cram like framework for OCaml")
(description "Expect-test is a framework for writing tests in OCaml,
similar
@@ -6767,6 +6768,28 @@ output-generating code, interleaved with @code{%expect}
extension expressions
to denote the expected output.")
(license license:asl2.0)))
+(define-public ocaml5.0-ppx-expect
+ ;; Contains fixes for OCaml 5.0
+ ;; (https://github.com/janestreet/ppx_expect/pull/39/).
+ (let ((commit "83edfc1ee779e8dcdd975e26715c2e688326befa")
+ (revision "0"))
+ (package-with-ocaml5.0
+ (package
+ (inherit ocaml-ppx-expect)
+ (name "ocaml-ppx-expect")
+ (version (git-version "0.15.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/janestreet/ppx_expect")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "05r7wlmrhb5biwyw6bjcpmr77srglijcbf7nm7h2hiil0d0i7bkz"))))
+ (properties '())))))
+
(define-public ocaml4.07-ppx-expect
(package-with-ocaml4.07
(package
- branch master updated (30465558bd -> fe5836feaf), guix-commits, 2022/12/21
- 13/28: gnu: Add ocaml5.0-ppx-expect.,
guix-commits <=
- 03/28: gnu: Add ocaml5.0-findlib, guix-commits, 2022/12/21
- 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