gnu: Add ocaml4.07-alcotest.

* gnu/packages/ocaml.scm (ocaml4.07-alcotest): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Julien Lepiller 2021-10-23 15:26:54 +02:00 committed by Efraim Flashner
parent 8000fc4fa0
commit b531ba4304
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2268,6 +2268,7 @@ (define-public ocaml-alcotest
("ocaml-stdlib-shims" ,ocaml-stdlib-shims)
("ocaml-uuidm" ,ocaml-uuidm)
("ocaml-uutf" ,ocaml-uutf)))
(properties `((ocaml4.07-variant . ,(delay ocaml4.07-alcotest))))
(home-page "https://github.com/mirage/alcotest")
(synopsis "Lightweight OCaml test framework")
(description "Alcotest exposes simple interface to perform unit tests. It
@ -2278,6 +2279,22 @@ (define-public ocaml-alcotest
simple (yet expressive) query language to select the tests to run.")
(license license:isc)))
(define-public ocaml4.07-alcotest
(package-with-ocaml4.07
(package
(inherit ocaml-alcotest)
(version "1.0.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mirage/alcotest")
(commit version)))
(file-name (git-file-name "ocaml-alcotest" version))
(sha256
(base32
"1frwi185z4aadmaf0vp8xk5227nyg7nmh28ijj5l7ncjr5slvhz8"))))
(properties '()))))
(define-public ocaml-ppx-tools
(package
(name "ocaml-ppx-tools")