guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 89/96] gnu: Add ocaml-uri


From: Julien Lepiller
Subject: [PATCH 89/96] gnu: Add ocaml-uri
Date: Tue, 3 Jan 2017 20:12:10 +0100

* gnu/packages/ocaml.scm (ocaml-uri): New variable.
---
 gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b4b506f8e..5d7e994f7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2733,3 +2733,25 @@ input and output functions that go to and from [string] 
values.  This avoids
 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 "1.9.2")
+    (home-page "https://github.com/mirage/ocaml-uri/";)
+    (source (origin
+              (method url-fetch)
+              (uri (string-append home-page "archive/v" version ".tar.gz"))
+              (sha256
+                (base32
+                  "02bzrag79prx261rxf9mlak749pwf4flpfl8p012x1xznv9m0clc"))))
+    (build-system ocaml-build-system)
+    (native-inputs `(("ounit" ,ocaml-ounit)))
+    (propagated-inputs `(("ppx-sexp-conv" ,ocaml-ppx-sexp-conv)
+                         ("re" ,ocaml-re)
+                         ("ppx-deriving" ,ocaml-ppx-deriving)
+                         ("sexplib" ,ocaml-sexplib)
+                         ("stringext" ,ocaml-stringext)))
+    (synopsis "RFC3986 URI/URL parsing library")
+    (description "RFC3986 URI/URL parsing library.")
+    (license license:isc)))
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]