aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin J. Doering <collin@rekahsoft.ca>2021-12-26 22:03:56 -0500
committerLudovic Courtès <ludo@gnu.org>2022-01-01 15:10:12 +0100
commite556e97f90c41697e42ee0914496569646d2af5c (patch)
tree34bb58d7ad670b8a2b8f7583f513700668f27476
parent671e6a81804f264ddcdd6fe7579644404da079b8 (diff)
downloadguix-e556e97f90c41697e42ee0914496569646d2af5c.tar.gz
guix-e556e97f90c41697e42ee0914496569646d2af5c.zip
gnu: Add go-github-com-percent
* gnu/packages/golang.scm (go-github-com-percent): New Variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/golang.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1223887bf2..d64f14c453 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8846,3 +8846,26 @@ written to test improvements to / replace the routing logic in
@url{https://github.com/yggdrasil-network/yggdrasil-go,Yggdrasil}, but it may
be useful for other network applications.")
(license license:mpl2.0)))
+
+(define-public go-github-com-percent
+ (package
+ (name "go-github-com-percent")
+ (version "0.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mtibben/percent")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1iqivw8pigj259rj5yifibbvic70f9hb7k24a4sa967s4fj6agb6"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/mtibben/percent"
+ #:phases %standard-phases))
+ (synopsis "Package percent escapes strings using percent-encoding")
+ (description
+ "Package percent escapes strings using percent-encoding.")
+ (home-page "https://github.com/mtibben/percent")
+ (license license:expat)))