guix-commits
[Top][All Lists]
Advanced

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

134/177: gnu: Add ghc-hslua-module-text.


From: Ricardo Wurmus
Subject: 134/177: gnu: Add ghc-hslua-module-text.
Date: Tue, 13 Feb 2018 07:38:24 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 8045d84d72b925bdd2ca099f4e7a6c25cb63e1e1
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Feb 13 09:33:32 2018 +0100

    gnu: Add ghc-hslua-module-text.
    
    * gnu/packages/haskell.scm (ghc-hslua-module-text): New variable.
---
 gnu/packages/haskell.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 59769bc..b3ba4af 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -5524,6 +5524,34 @@ TIFF and GIF formats.")
 described in @url{http://www.lua.org/}.";)
     (license license:expat)))
 
+(define-public ghc-hslua-module-text
+  (package
+    (name "ghc-hslua-module-text")
+    (version "0.1.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/";
+                           "hslua-module-text/hslua-module-text-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "0bcfpb1dhnxp0gr376ai4w7vczr9zrjl1r3r6w7kcxivfkwq9cxf"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-hslua" ,ghc-hslua)
+       ("ghc-text" ,ghc-text)))
+    (native-inputs
+     `(("ghc-tasty" ,ghc-tasty)
+       ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
+    (home-page "https://github.com/hslua/hslua-module-text";)
+    (synopsis "Lua module for text")
+    (description
+     "This package provides a UTF-8 aware subset of Lua's @code{string} module
+for Haskell.  The functions provided by this module are @code{upper},
address@hidden, @code{len}, @code{reverse}, and @code{sub}.")
+    (license license:expat)))
+
 (define-public ghc-byteable
   (package
     (name "ghc-byteable")



reply via email to

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