[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47768] [PATCH v2 37/43] gnu: Add ocaml-uri.
From: |
pukkamustard |
Subject: |
[bug#47768] [PATCH v2 37/43] gnu: Add ocaml-uri. |
Date: |
Mon, 10 May 2021 05:16:22 +0000 |
* gnu/packages/ocaml.scm (ocaml-uri): New variable.
---
gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 24bfb8cf37..c390a8bce9 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3403,6 +3403,35 @@ the need to write signal code, which is useful for quick
scripts that manipulate
JSON.")
(license license:isc)))
+(define-public ocaml-uri
+ (package
+ (name "ocaml-uri")
+ (version "4.1.0")
+ (home-page "https://github.com/mirage/ocaml-uri")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "10bf28my1yhj8a2d7bkgbna9j20wq0ghp92k926y29bmjj2qh0l7"))))
+ (build-system dune-build-system)
+ (arguments '(#:package "uri"
+ #:test-target "."))
+ (propagated-inputs
+ `(("ocaml-stringext" ,ocaml-stringext)
+ ("ocaml-angstrom" ,ocaml-angstrom)))
+ (native-inputs
+ `(("ocaml-ounit" ,ocaml-ounit)
+ ("ocaml-ppx-sexp-conv" ,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")
@@ -3435,6 +3464,7 @@ JSON.")
`(("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.")
--
2.31.1
- [bug#47768] [PATCH v2 36/43] gnu: Add ocaml-angstrom., (continued)
- [bug#47768] [PATCH v2 36/43] gnu: Add ocaml-angstrom., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 35/43] gnu: Add ocaml-ppx-inline-test., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 27/43] gnu: Add ocaml-ppx-base., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 38/43] gnu: Add ocaml-graphics., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 28/43] gnu: Add ocaml-fieldslib., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 29/43] gnu: Add ocaml-ppx-fields-conv., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 41/43] gnu: Add ocaml-ppx-expect., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 42/43] gnu: ocaml-num: Update to 1.4., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 18/43] gnu: Add ocaml-syntax-shims., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 31/43] gnu: Add ocaml-ppx-optional., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 37/43] gnu: Add ocaml-uri.,
pukkamustard <=
- [bug#47768] [PATCH v2 24/43] gnu: Add ocaml-ppx-hash., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 16/43] gnu: Add ocaml-bigstringaf., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 26/43] gnu: Add ocaml-ppx-js-style., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 40/43] gnu: Add ocaml-ppx-variants-conv., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 39/43] gnu: Add ocaml-variantslib., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 43/43] gnu: Add ocaml-js-of-ocaml., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 00/43] Assorted OCaml patches (V2), Xinglu Chen, 2021/05/25