guix-commits
[Top][All Lists]
Advanced

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

04/60: gnu: Add go-github-com-huandu-xstrings.


From: guix-commits
Subject: 04/60: gnu: Add go-github-com-huandu-xstrings.
Date: Sun, 9 Aug 2020 10:24:51 -0400 (EDT)

wigust pushed a commit to branch master
in repository guix.

commit 75a0cab4a1e49ea46c1cace63efa40c3ad94143a
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Sat Aug 8 22:45:55 2020 +0300

    gnu: Add go-github-com-huandu-xstrings.
    
    * gnu/packages/golang.scm (go-github-com-huandu-xstrings): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6589a1d..c64d5dc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4336,4 +4336,26 @@ semantic versions.  Specifically it provides the ability 
to:
 @item Optionally work with a @code{v} prefix
 @end itemize\n")
     (license license:expat)))
+
+(define-public go-github-com-huandu-xstrings
+  (package
+    (name "go-github-com-huandu-xstrings")
+    (version "1.3.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/huandu/xstrings";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/huandu/xstrings"))
+    (home-page "https://github.com/huandu/xstrings/";)
+    (synopsis "Collection of string functions")
+    (description "Go package xstrings is a collection of string functions,
+which are widely used in other languages but absent in Go package strings.")
+    (license license:expat)))
     (license license:expat)))



reply via email to

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