Archived
1
0
Fork 0

gnu: ocaml4.07-expect: Switch to default OCaml compiler.

* gnu/packages/ocaml.scm (ocaml4.07-expect): Rename to ‘ocaml-expect’.
[arguments]: Use default OCaml compiler.
[native-inputs]: Use ‘ocaml-*’ packages instead of ‘ocaml4.07-*’.
[propagated-inputs]: Likewise.
[description]: Make it a full sentence.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Xinglu Chen 2021-06-19 17:50:35 +02:00 committed by Julien Lepiller
parent 376b16e9a1
commit 97d3a9f781
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -3148,9 +3148,9 @@ matching and substitution, similar to the functionality offered by the Perl
language.") language.")
(license license:lgpl2.1+))); with the OCaml link exception (license license:lgpl2.1+))); with the OCaml link exception
(define-public ocaml4.07-expect (define-public ocaml-expect
(package (package
(name "ocaml4.07-expect") (name "ocaml-expect")
(version "0.0.6") (version "0.0.6")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -3159,21 +3159,20 @@ language.")
(base32 (base32
"098qvg9d4yrqzr5ax291y3whrpax0m3sx4gi6is0mblc96r9yqk0")))) "098qvg9d4yrqzr5ax291y3whrpax0m3sx4gi6is0mblc96r9yqk0"))))
(arguments (arguments
`(#:tests? #f `(#:tests? #f))
#:ocaml ,ocaml-4.07
#:findlib ,ocaml4.07-findlib))
(build-system ocaml-build-system) (build-system ocaml-build-system)
(native-inputs (native-inputs
`(("ocamlbuild" ,(package-with-ocaml4.07 ocamlbuild)) `(("ocamlbuild" ,ocamlbuild)
("ocaml-num" ,(package-with-ocaml4.07 ocaml-num)) ("ocaml-num" ,ocaml-num)
("ocaml-pcre" ,ocaml4.07-pcre) ("ocaml-pcre" ,ocaml-pcre)
("ounit" ,(package-with-ocaml4.07 ocaml-ounit)))) ("ounit" ,ocaml-ounit)))
(propagated-inputs (propagated-inputs
`(("batteries" ,(package-with-ocaml4.07 ocaml-batteries)))) `(("batteries" ,ocaml-batteries)))
(home-page "https://forge.ocamlcore.org/projects/ocaml-expect/") (home-page "https://forge.ocamlcore.org/projects/ocaml-expect/")
(synopsis "Simple implementation of expect") (synopsis "Simple implementation of expect")
(description "Help building unitary testing of interactive program. You (description "This package provides utilities for building unitary testing
can match the question using a regular expression or a timeout.") of interactive program. You can match the question using a regular expression
or a timeout.")
(license license:lgpl2.1+))) ; with the OCaml static compilation exception (license license:lgpl2.1+))) ; with the OCaml static compilation exception
(define-public ocaml-stdlib-shims (define-public ocaml-stdlib-shims