gnu: Remove ocaml-markup0.8.0.

This is only used for ocaml4.07.

* gnu/packages/ocaml.scm (ocaml-markup0.8.0): Remove variable.
(ocaml-markup)[properties]: Remove variant.

Change-Id: Ib6444d67f5b8fba13e8ca7bca444ed9e29efa7de
This commit is contained in:
Julien Lepiller 2023-12-25 12:14:54 +01:00
parent 4a7b588923
commit b8aea26c4f
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -7608,8 +7608,6 @@ (define-public ocaml-markup
(list ocaml-bisect-ppx ocaml-uchar ocaml-uutf ocaml-lwt)) (list ocaml-bisect-ppx ocaml-uchar ocaml-uutf ocaml-lwt))
(native-inputs (native-inputs
(list ocaml-ounit2 pkg-config)) (list ocaml-ounit2 pkg-config))
(properties
`((ocaml4.07-variant . ,(delay (package-with-ocaml4.07 ocaml-markup0.8.0)))))
(synopsis "Error-recovering functional HTML5 and XML parsers and writers") (synopsis "Error-recovering functional HTML5 and XML parsers and writers")
(description "Markup.ml provides an HTML parser and an XML parser. The (description "Markup.ml provides an HTML parser and an XML parser. The
parsers are wrapped in a simple interface: they are functions that transform parsers are wrapped in a simple interface: they are functions that transform
@ -7631,28 +7629,6 @@ (define-public ocaml-markup
stream, and convert everything to UTF-8.") stream, and convert everything to UTF-8.")
(license license:bsd-3))) (license license:bsd-3)))
;; ocaml-markup 1.0.0 can not be built with old version of dune used in
;; package-with-ocaml4.07
(define-public ocaml-markup0.8.0
(package
(inherit ocaml-markup)
(name "ocaml-markup")
(version "0.8.0")
(home-page "https://github.com/aantron/markup.ml")
(source
(origin
(method git-fetch)
(uri (git-reference
(url (string-append home-page ".git"))
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0aif4abvfmi9xc1pvw5n5rbm6rzkkpsxyvdn0lanr33rjpvkwdlm"))))
(native-inputs
(list ocaml-ounit pkg-config))
(properties '())))
(define-public ocaml-tyxml (define-public ocaml-tyxml
(package (package
(name "ocaml-tyxml") (name "ocaml-tyxml")