From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42470) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFPra-0004TW-JJ for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFPrX-0001p9-6U for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54511) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFPrT-0001m8-Tz for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFPrT-0007IV-QR for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:11 -0400 Subject: [bug#37444] [PATCH v4 16/24] added go package go-github-com-martinlindhe-base36 Resent-Message-ID: From: Martin Becze Date: Tue, 1 Oct 2019 17:37:18 -0400 Message-Id: <20191001213726.21676-16-mjbecze@riseup.net> In-Reply-To: <20191001213726.21676-1-mjbecze@riseup.net> References: <20191001213726.21676-1-mjbecze@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37444@debbugs.gnu.org Cc: Martin Becze * gnu/packages/golang.scm (go-github-com-martinlindhe-base36): added package --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ccb11a83c0..487a963ff0 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4087,3 +4087,29 @@ quoting, commenting, and escaping.") (description "Light weight helper functions in golang to get config, data and cache files according to the XDG Base Directory Specification.") (license license:expat)))) + +(define-public go-github-com-martinlindhe-base36 + (let ((url "https://github.com/martinlindhe/base36")) + (package + (name "go-github-com-martinlindhe-base36") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url url) + (commit (string-append "v" version)))) + (sha256 + (base32 + "0hib6cnx543fxbcy7fm3kcfz8ajhd90kxzbld49qi7w930pcz26c")) + (file-name (git-file-name name version)))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/martinlindhe/base36")) + (native-inputs + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify))) + (home-page url) + (synopsis "Implements Base36 encoding and decoding") + (description "Implements Base36 encoding and decoding, which is useful to + represent large integers in a case-insensitive alphanumeric way.") + (license license:expat)))) -- 2.23.0