aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-04-29 21:33:43 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-07-03 22:23:21 +0100
commit827dd75d2c8d723726280fff8a7f026b36bb2d75 (patch)
treed1bf1c11e0c0c74b5a77f68ca6c5fab7abcac9d7
parentf0462a38da67e911c3b86327b140d535ee70f459 (diff)
downloadguix-827dd75d2c8d723726280fff8a7f026b36bb2d75.tar
guix-827dd75d2c8d723726280fff8a7f026b36bb2d75.tar.gz
gnu: Add go-github-com-dsnet-golib.
* gnu/packages/golang-xyz.scm (go-github-com-dsnet-golib): New variable. Change-Id: If3f4bc017119c05ff837414bf5a839c39feff69b
-rw-r--r--gnu/packages/golang-xyz.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7b92ef052f..7e7fcc5105 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1356,6 +1356,46 @@ help message which may simplify crating CLI applications, it's Golang
implementation of http://docopt.org/.")
(license license:expat))))
+(define-public go-github-com-dsnet-golib
+ (package
+ (name "go-github-com-dsnet-golib")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dsnet/golib")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1f314wzr16w6ix3bs7ginjkizgyl3b1r3j2gvvqzr8dv53r4s5cq"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/dsnet/golib"))
+ (home-page "https://github.com/dsnet/golib")
+ (synopsis "Collection of helper libraries for Golang")
+ (description
+ "@code{golib} is a collection of unrelated libraries.
+This package provides a following list of Golang models:
+@table @code
+@item bufpipe
+Implements a buffered pipe.
+@item cron
+Parses and runs cron schedules.
+@item hashmerge
+Merges hash checksums.
+@item jsoncs
+Implements JSON Canonicalization Scheme (JCS) as specified in RFC 8785.
+@item jsonfmt
+Implements a JSON formatter.
+@item memfile
+Implements an in-memory emulation of @code{os.File}.
+@item unitconv
+Implements string conversion functionality for unit prefixes.
+@end table")
+ (license license:bsd-3)))
+
(define-public go-github-com-dustin-gojson
(package
(name "go-github-com-dustin-gojson")