summaryrefslogtreecommitdiff
path: root/gnu/packages/ocaml.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2023-12-24 14:12:50 +0100
committerJulien Lepiller <julien@lepiller.eu>2023-12-30 22:08:36 +0100
commitb4a71d1d4f27cef6694e5f8c695ca9256f0bb0e1 (patch)
treed07ec7a10699df37637547e49ee8caf2a5e3d906 /gnu/packages/ocaml.scm
parent2e8700052e26566b9c17563cf0a3d0979da6fbd1 (diff)
gnu: Remove ocaml4.07-uri.
* gnu/packages/ocaml.scm (ocaml4.07-uri): Remove variable. (ocaml-uri)[properties]: Remove variant. Change-Id: I078537f7c1c10bcf319f3482ec50c252d25cb463
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r--gnu/packages/ocaml.scm38
1 files changed, 0 insertions, 38 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 353185129f..8a4f15edb2 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4901,45 +4901,7 @@ JSON.")
(list ocaml-stringext ocaml-angstrom))
(native-inputs
(list ocaml-ounit ocaml-ppx-sexp-conv))
- (properties `((upstream-name . "uri")
- (ocaml4.07-variant ,(delay ocaml4.07-uri))))
- (synopsis "RFC3986 URI/URL parsing library")
- (description "OCaml-uri is a library for parsing URI/URL in the RFC3986 format.")
- (license license:isc)))
-
-(define-public ocaml4.07-uri
- (package
- (name "ocaml4.07-uri")
- (version "2.2.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/mirage/ocaml-uri")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1ppbav41mszpjcl0zi3fyg958cxyfs57i7kvha4ds9ydn89bjmrh"))))
- (build-system dune-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'update-deprecated
- (lambda _
- (substitute* "lib/uri.ml"
- (("Re.get") "Re.Group.get")))))
- #:ocaml ,ocaml-4.07
- #:findlib ,ocaml4.07-findlib
- #:dune ,ocaml4.07-dune))
- (native-inputs
- `(("ocaml-ounit" ,(package-with-ocaml4.07 ocaml-ounit))
- ("ocaml-ppx-sexp-conv" ,(package-with-ocaml4.07 ocaml-ppx-sexp-conv))))
- (propagated-inputs
- `(("ocaml-re" ,(package-with-ocaml4.07 ocaml-re))
- ("ocaml-sexplib0" ,(package-with-ocaml4.07 ocaml-sexplib0))
- ("ocaml-stringext" ,(package-with-ocaml4.07 ocaml-stringext))))
(properties `((upstream-name . "uri")))
- (home-page "https://github.com/mirage/ocaml-uri")
(synopsis "RFC3986 URI/URL parsing library")
(description "OCaml-uri is a library for parsing URI/URL in the RFC3986 format.")
(license license:isc)))