From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:53981) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDVbq-00082u-DM for guix-patches@gnu.org; Thu, 26 Sep 2019 11:23:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDVbp-0006Yr-3a for guix-patches@gnu.org; Thu, 26 Sep 2019 11:23:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35542) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDVbp-0006Yj-1U for guix-patches@gnu.org; Thu, 26 Sep 2019 11:23:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDVbo-0004Sp-ST for guix-patches@gnu.org; Thu, 26 Sep 2019 11:23:08 -0400 Subject: [bug#37444] [PATCH v3 15/23] added go package go-github-com-martinlindhe-base36 Resent-Message-ID: From: Martin Becze Date: Thu, 26 Sep 2019 11:21:10 -0400 Message-Id: <20190926152118.8073-15-mjbecze@riseup.net> In-Reply-To: <20190926152118.8073-1-mjbecze@riseup.net> References: <87blv7pfdi.fsf@gnu.org> <20190926152118.8073-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 | 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