[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60120] [PATCH 13/28] gnu: Add ocaml5.0-ppx-expect.
From: |
pukkamustard |
Subject: |
[bug#60120] [PATCH 13/28] gnu: Add ocaml5.0-ppx-expect. |
Date: |
Fri, 16 Dec 2022 13:25:12 +0000 |
* gnu/packages/ocaml.scm (ocaml5.0-ppx-expect): New variable.
---
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 d3e0e0dbc3..057c062879 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6754,7 +6754,8 @@ (define-public ocaml-ppx-expect
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
@@ -6764,6 +6765,28 @@ (define-public ocaml-ppx-expect
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
--
2.38.1
- [bug#60120] [PATCH 00/28] gnu: Add ocaml-5.0., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 01/28] gnu: Add ocaml-5.0., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 02/28] gnu: ocaml-findlib: Update to 1.9.5., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 05/28] gnu: opam: Use OCaml 4.14 compiled version when building OCaml 5.0 packages., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 03/28] gnu: Add ocaml5.0-findlib, pukkamustard, 2022/12/16
- [bug#60120] [PATCH 04/28] guix: ocaml: Add package-with-ocaml5.0., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 06/28] gnu: Add ocaml-psq., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 13/28] gnu: Add ocaml5.0-ppx-expect.,
pukkamustard <=
- [bug#60120] [PATCH 08/28] gnu: Add ocaml-optint., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 07/28] gnu: Add ocaml-monolith., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 09/28] gnu: Add ocaml-hmap., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 10/28] gnu: Add ocaml5.0-base., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 11/28] gnu: Update ocaml-ppxlib to 0.25.1., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 18/28] gnu: Add ocaml-bechamel., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 12/28] gnu: Update ocaml-qcheck to 0.20., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 17/28] gnu: Add ocaml5.0-ctypes, pukkamustard, 2022/12/16
- [bug#60120] [PATCH 14/28] gnu: Update ocaml-odoc to 2.2.0., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 20/28] gnu: Add ocaml5.0-eio., pukkamustard, 2022/12/16