[Top][All Lists]

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

03/08: gnu: Add ocaml-astring.

From: julien lepiller
Subject: 03/08: gnu: Add ocaml-astring.
Date: Mon, 16 Jan 2017 21:35:17 +0000 (UTC)

roptat pushed a commit to branch master
in repository guix.

commit f46bceb6708d76fc748e2d208c73ab8584b81504
Author: Julien Lepiller <address@hidden>
Date:   Fri Dec 30 11:46:33 2016 +0100

    gnu: Add ocaml-astring.
    * gnu/packages/ocaml.scm (ocaml-astring): 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 ace8424..096c3f1 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1255,3 +1255,33 @@ most of the POSIX and GNU conventions.")
     (description "Fmt exposes combinators to devise Format pretty-printing
     (license license:isc)))
+(define-public ocaml-astring
+  (package
+    (name "ocaml-astring")
+    (version "0.8.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append 
+                            version ".tbz"))
+        (sha256 (base32
+                  "0ixjwc3plrljvj24za3l9gy0w30lsbggp8yh02lwrzw61ls4cri0"))))
+    (build-system ocaml-build-system)
+    (native-inputs `(("opam" ,opam)
+                     ("topkg" ,ocaml-topkg)))
+    (arguments `(#:tests? #f
+                 #:build-flags (list "build")
+                 #:phases
+                 (modify-phases %standard-phases
+                   (delete 'configure))))
+    (home-page "";)
+    (synopsis "Alternative String module for OCaml")
+    (description "Astring exposes an alternative String module for OCaml.  This
+module balances minimality and expressiveness for basic, index-free, string
+processing and provides types and functions for substrings, string sets and
+string maps.  The String module exposed by Astring has exception safe 
+removes deprecated and rarely used functions, alters some signatures and names,
+adds a few missing functions and fully exploits OCaml's newfound string
+    (license license:isc)))

reply via email to

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