From e556e97f90c41697e42ee0914496569646d2af5c Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Sun, 26 Dec 2021 22:03:56 -0500 Subject: [PATCH] gnu: Add go-github-com-percent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang.scm (go-github-com-percent): New Variable. Co-authored-by: Ludovic Courtès --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 @@ (define-public go-github-com-arceliar-ironwood @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)))