[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/22: gnu: Add ocaml-uri.
From: |
guix-commits |
Subject: |
16/22: gnu: Add ocaml-uri. |
Date: |
Sun, 13 Jun 2021 11:16:21 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 40d6c7aada5e07e352a81adc9b4004fb22f39d8a
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Tue Jun 1 20:23:19 2021 +0000
gnu: Add ocaml-uri.
* gnu/packages/ocaml.scm (ocaml-uri): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 8b60def..13ebafd 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3415,6 +3415,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")
@@ -3447,6 +3476,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.")
- branch master updated (628a6c5 -> d9e1469), guix-commits, 2021/06/13
- 02/22: gnu: Add ocaml-ppx-custom-printf., guix-commits, 2021/06/13
- 10/22: gnu: Add ocaml-ppx-optional., guix-commits, 2021/06/13
- 03/22: gnu: Add ocaml-ppx-hash., guix-commits, 2021/06/13
- 06/22: gnu: Add ocaml-ppx-base., guix-commits, 2021/06/13
- 07/22: gnu: Add ocaml-fieldslib., guix-commits, 2021/06/13
- 04/22: gnu: Add ocaml-ppx-enumerate., guix-commits, 2021/06/13
- 01/22: gnu: Add ocaml-ppx-assert., guix-commits, 2021/06/13
- 16/22: gnu: Add ocaml-uri.,
guix-commits <=
- 08/22: gnu: Add ocaml-ppx-fields-conv., guix-commits, 2021/06/13
- 11/22: gnu: Add ocaml-jst-config., guix-commits, 2021/06/13
- 05/22: gnu: Add ocaml-ppx-js-style., guix-commits, 2021/06/13
- 09/22: gnu: Add ocaml-ppx-optcomp, guix-commits, 2021/06/13
- 14/22: gnu: Add ocaml-ppx-inline-test., guix-commits, 2021/06/13
- 12/22: gnu: Add ocaml-jane-street-headers., guix-commits, 2021/06/13
- 22/22: gnu: Add ocaml-js-of-ocaml., guix-commits, 2021/06/13
- 17/22: gnu: Add ocaml-graphics., guix-commits, 2021/06/13
- 15/22: gnu: Add ocaml-angstrom., guix-commits, 2021/06/13
- 20/22: gnu: Add ocaml-ppx-expect., guix-commits, 2021/06/13