mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 15:10:16 -05:00
gnu: Add ocaml5.0-ppx-expect.
* gnu/packages/ocaml.scm (ocaml5.0-ppx-expect): New variable. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
fdf2b2e459
commit
e3a2f0447b
1 changed files with 24 additions and 1 deletions
|
@ -6757,7 +6757,8 @@ (define-public ocaml-ppx-expect
|
||||||
ocaml-migrate-parsetree
|
ocaml-migrate-parsetree
|
||||||
ocaml-re))
|
ocaml-re))
|
||||||
(properties `((upstream-name . "ppx_expect")
|
(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")
|
(home-page "https://github.com/janestreet/ppx_expect")
|
||||||
(synopsis "Cram like framework for OCaml")
|
(synopsis "Cram like framework for OCaml")
|
||||||
(description "Expect-test is a framework for writing tests in OCaml, similar
|
(description "Expect-test is a framework for writing tests in OCaml, similar
|
||||||
|
@ -6767,6 +6768,28 @@ (define-public ocaml-ppx-expect
|
||||||
to denote the expected output.")
|
to denote the expected output.")
|
||||||
(license license:asl2.0)))
|
(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
|
(define-public ocaml4.07-ppx-expect
|
||||||
(package-with-ocaml4.07
|
(package-with-ocaml4.07
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue