[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp.
From: |
Xinglu Chen |
Subject: |
[bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp. |
Date: |
Thu, 24 Jun 2021 11:57:38 +0200 |
* gnu/packages/ocaml.scm (ocaml-uri-sexp): New variable.
---
gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 1262c0e303..681d77dd81 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7071,6 +7071,34 @@ Graphics.open_graph is called. This library used to be
distributed with OCaml
up to OCaml 4.08.")
(license license:lgpl2.1+)))
+(define-public ocaml-uri-sexp
+ (package
+ (name "ocaml-uri-sexp")
+ (version "4.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
+ "1bgkc66cq00mgnkz3i535srwzwc4cpdsv0mly5dzvvq33451xwf0"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:package "uri-sexp"
+ #:test-target "."))
+ (propagated-inputs
+ `(("ocaml-uri" ,ocaml-uri)
+ ("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv)
+ ("ocaml-sexplib0" ,ocaml-sexplib0)))
+ (native-inputs `(("ocaml-ounit" ,ocaml-ounit)))
+ (home-page "https://github.com/mirage/ocaml-uri")
+ (synopsis "RFC3986 URI/URL parsing library")
+ (description "This package adds S-exp support to @code{ocaml-uri}.")
+ (license license:isc)))
+
(define-public js-of-ocaml
(package
(name "js-of-ocaml")
--
2.32.0
- [bug#49203] [PATCH 0/2] Add ocaml-cohttp and dependencies, Xinglu Chen, 2021/06/24
- [bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp.,
Xinglu Chen <=
- [bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp., Adu O'Hara, 2021/06/24
- [bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp., Xinglu Chen, 2021/06/24
- [bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp., Adu O'Hara, 2021/06/24
- [bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp., Xinglu Chen, 2021/06/25
- [bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp., Adu O'Hara, 2021/06/25
- [bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp., Xinglu Chen, 2021/06/25
- [bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp., Julien Lepiller, 2021/06/25
- [bug#49203] [PATCH 1/2] gnu: Add ocaml-uri-sexp., Xinglu Chen, 2021/06/25
[bug#49203] [PATCH 2/2] gnu: Add ocaml-cohttp., Xinglu Chen, 2021/06/24
[bug#49203] [PATCH v2 0/2] Add ocaml-cohttp and dependencies, Xinglu Chen, 2021/06/25