1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
3 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
4 ;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
5 ;;; Copyright © 2016, 2019 Ludovic Courtès <ludo@gnu.org>
6 ;;; Copyright © 2016, 2017 Petter <petter@mykolab.ch>
7 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
8 ;;; Copyright © 2017 Sergei Trofimovich <slyfox@inbox.ru>
9 ;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
10 ;;; Copyright © 2018, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
11 ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
12 ;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
13 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
14 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
15 ;;; Copyright © 2018, 2019, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
16 ;;; Copyright © 2019 Giovanni Biscuolo <g@xelera.eu>
17 ;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
18 ;;; Copyright © 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
20 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
21 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.com>
22 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
23 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
24 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
25 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
26 ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
27 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
28 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@mgail.com>
29 ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
30 ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
31 ;;; Copyright © 2021 jgart <jgart@dismail.de>
33 ;;; This file is part of GNU Guix.
35 ;;; GNU Guix is free software; you can redistribute it and/or modify it
36 ;;; under the terms of the GNU General Public License as published by
37 ;;; the Free Software Foundation; either version 3 of the License, or (at
38 ;;; your option) any later version.
40 ;;; GNU Guix is distributed in the hope that it will be useful, but
41 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
42 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43 ;;; GNU General Public License for more details.
45 ;;; You should have received a copy of the GNU General Public License
46 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
48 (define-module (gnu packages golang)
49 #:use-module ((guix licenses) #:prefix license:)
50 #:use-module (guix utils)
51 #:use-module ((guix build utils) #:select (alist-replace))
52 #:use-module (guix download)
53 #:use-module (guix git-download)
54 #:use-module (guix packages)
55 #:use-module (guix build-system gnu)
56 #:use-module (guix build-system trivial)
57 #:use-module (guix build-system go)
58 #:use-module (gnu packages)
59 #:use-module (gnu packages admin)
60 #:use-module (gnu packages base)
61 #:use-module ((gnu packages bootstrap) #:select (glibc-dynamic-linker))
62 #:use-module (gnu packages gcc)
63 #:use-module (gnu packages glib)
64 #:use-module (gnu packages lua)
65 #:use-module (gnu packages mp3)
66 #:use-module (gnu packages pcre)
67 #:use-module (gnu packages perl)
68 #:use-module (gnu packages pkg-config)
69 #:use-module (gnu packages pulseaudio)
70 #:use-module (gnu packages terminals)
71 #:use-module (gnu packages textutils)
72 #:use-module (gnu packages tls)
73 #:use-module (gnu packages web)
74 #:use-module (ice-9 match)
75 #:use-module (srfi srfi-1))
77 (define-public go-github-com-operatorfoundation-shapeshifter-ipc
79 (name "go-github-com-operatorfoundation-shapeshifter-ipc")
86 (url "https://github.com/OperatorFoundation/shapeshifter-ipc")
87 (commit (string-append "v" version))))
88 (file-name (git-file-name name version))
90 (base32 "1q1fcnllg462nfca16s5mr0n2jh92x3hj946qnaqc682phjz04lg"))))
91 (build-system go-build-system)
93 `(#:tests? #f ; ERROR: undefined: Args.
94 #:unpack-path "github.com/OperatorFoundation/shapeshifter-ipc"
96 (modify-phases %standard-phases
101 (apply (assoc-ref %standard-phases 'build)
102 `(,@arguments #:import-path ,directory)))
104 "github.com/OperatorFoundation/shapeshifter-ipc/v2"
105 "github.com/OperatorFoundation/shapeshifter-ipc/v3"))))
110 (apply (assoc-ref %standard-phases 'check)
111 `(,@arguments #:import-path ,directory)))
113 "github.com/OperatorFoundation/shapeshifter-ipc/v2"
114 "github.com/OperatorFoundation/shapeshifter-ipc/v3"))))
119 (apply (assoc-ref %standard-phases 'install)
120 `(,@arguments #:import-path ,directory)))
122 "github.com/OperatorFoundation/shapeshifter-ipc/v2"
123 "github.com/OperatorFoundation/shapeshifter-ipc/v3")))))))
124 (home-page "https://github.com/OperatorFoundation/shapeshifter-ipc")
125 (synopsis "Go implementation of the Pluggable Transports IPC protocol")
126 (description "Shapeshifter-IPC is a library for Go implementing the IPC
127 protocol from the Pluggable Transports 2.0 specification.")
128 (license license:expat)))
130 (define-public go-github-com-operatorfoundation-obfs4
132 (name "go-github-com-operatorfoundation-obfs4")
139 (url "https://github.com/OperatorFoundation/obfs4")
140 (commit (string-append "v" version))))
141 (file-name (git-file-name name version))
143 (base32 "0s730xagdxs66wfh65hb5v9a5h01q5ncic3pyij0a043scagizgr"))))
144 (build-system go-build-system)
146 `(#:unpack-path "github.com/OperatorFoundation/obfs4"
148 (modify-phases %standard-phases
149 (add-after 'unpack 'patch
151 (substitute* (find-files "." "\\.go$")
152 ;; To drop '.git' suffix in import path of goptlib.
153 (("goptlib\\.git") "goptlib"))))
158 (apply (assoc-ref %standard-phases 'build)
159 `(,@arguments #:import-path ,directory)))
161 "github.com/OperatorFoundation/obfs4/common/csrand"
162 "github.com/OperatorFoundation/obfs4/common/drbg"
163 "github.com/OperatorFoundation/obfs4/common/log"
164 "github.com/OperatorFoundation/obfs4/common/ntor"
165 "github.com/OperatorFoundation/obfs4/common/probdist"
166 "github.com/OperatorFoundation/obfs4/common/pt_extras"
167 "github.com/OperatorFoundation/obfs4/common/replayfilter"
168 "github.com/OperatorFoundation/obfs4/common/socks5"
169 "github.com/OperatorFoundation/obfs4/common/termmon"
170 "github.com/OperatorFoundation/obfs4/common/uniformdh"
171 "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
172 "github.com/OperatorFoundation/obfs4/modes/stun_udp"
173 "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
174 "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
175 "github.com/OperatorFoundation/obfs4/obfs4proxy"
176 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
177 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
178 "github.com/OperatorFoundation/obfs4/transports"))))
183 (apply (assoc-ref %standard-phases 'check)
184 `(,@arguments #:import-path ,directory)))
186 "github.com/OperatorFoundation/obfs4/common/csrand"
187 "github.com/OperatorFoundation/obfs4/common/drbg"
188 "github.com/OperatorFoundation/obfs4/common/log"
189 "github.com/OperatorFoundation/obfs4/common/ntor"
190 "github.com/OperatorFoundation/obfs4/common/probdist"
191 "github.com/OperatorFoundation/obfs4/common/pt_extras"
192 "github.com/OperatorFoundation/obfs4/common/replayfilter"
193 "github.com/OperatorFoundation/obfs4/common/socks5"
194 "github.com/OperatorFoundation/obfs4/common/termmon"
195 "github.com/OperatorFoundation/obfs4/common/uniformdh"
196 ;; ERROR: Println arg dialFn is a func value, not called.
197 ;;"github.com/OperatorFoundation/obfs4/modes/pt_socks5"
198 ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn.
199 ;;"github.com/OperatorFoundation/obfs4/modes/stun_udp"
200 "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
201 ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn
202 ;;"github.com/OperatorFoundation/obfs4/modes/transparent_udp"
203 ;; ERROR: Println call has possible formatting directive %s.
204 ;;"github.com/OperatorFoundation/obfs4/obfs4proxy"
205 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
206 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
207 "github.com/OperatorFoundation/obfs4/transports"))))
212 (apply (assoc-ref %standard-phases 'install)
213 `(,@arguments #:import-path ,directory)))
215 "github.com/OperatorFoundation/obfs4/common/csrand"
216 "github.com/OperatorFoundation/obfs4/common/drbg"
217 "github.com/OperatorFoundation/obfs4/common/log"
218 "github.com/OperatorFoundation/obfs4/common/ntor"
219 "github.com/OperatorFoundation/obfs4/common/probdist"
220 "github.com/OperatorFoundation/obfs4/common/pt_extras"
221 "github.com/OperatorFoundation/obfs4/common/replayfilter"
222 "github.com/OperatorFoundation/obfs4/common/socks5"
223 "github.com/OperatorFoundation/obfs4/common/termmon"
224 "github.com/OperatorFoundation/obfs4/common/uniformdh"
225 "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
226 "github.com/OperatorFoundation/obfs4/modes/stun_udp"
227 "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
228 "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
229 "github.com/OperatorFoundation/obfs4/obfs4proxy"
230 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
231 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
232 "github.com/OperatorFoundation/obfs4/transports")))))))
234 `(("go-github-com-dchest-siphash"
235 ,go-github-com-dchest-siphash)
236 ("go-github-com-operatorfoundation-ed25519"
237 ,go-github-com-operatorfoundation-ed25519)
238 ("go-github-com-willscott-goturn"
239 ,go-github-com-willscott-goturn)
240 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
241 ("go-golang-org-x-net" ,go-golang-org-x-net)
242 ("go-torproject-org-pluggable-transports-goptlib"
243 ,go-torproject-org-pluggable-transports-goptlib)))
244 (home-page "https://github.com/OperatorFoundation/obfs4")
245 (synopsis "Network obfourscator to scramble network traffic")
246 (description "Obfs4 is a look-like nothing obfuscation protocol that
247 incorporates ideas and concepts from Philipp Winter's ScrambleSuit protocol.
248 The notable differences between ScrambleSuit and obfs4 are:
250 @item The handshake always does a full key exchange (no such thing as a Session
252 @item The handshake uses the Tor Project's ntor handshake with public keys
253 obfuscated via the Elligator 2 mapping.
254 @item The link layer encryption uses NaCl secret boxes (Poly1305/XSalsa20).
256 (license license:bsd-2)))
258 (define-public go-github-com-willscott-goturn
259 (let ((commit "19f41278d0c9251d64e0ee29f37d51e87a24a97b")
262 (name "go-github-com-willscott-goturn")
263 (version (git-version "0.0.0" revision commit))
269 (url "https://github.com/willscott/goturn")
271 (file-name (git-file-name name version))
273 (base32 "0zwvhfznr84ayzknn9flh65nvqjsixisgy9fkhz2jlahl1ldqcq7"))))
274 (build-system go-build-system)
276 `(#:import-path "github.com/willscott/goturn"))
277 (home-page "https://github.com/willscott/goturn")
278 (synopsis "Go TURN dialer")
279 (description "GoTURN is a library providing a Go interface compatible with
280 the golang proxy package which connects through a TURN relay. It provides
281 parsing and encoding support for STUN and TURN protocols.")
282 (license license:bsd-3))))
284 (define-public go-torproject-org-pluggable-transports-goptlib
286 (name "go-torproject-org-pluggable-transports-goptlib")
293 (url "https://git.torproject.org/pluggable-transports/goptlib")
294 (commit (string-append "v" version))))
295 (file-name (git-file-name name version))
297 (base32 "1lh938194hvkf8pqgnxwf6hvjv9rv0j3kasi07r2ckrj8sxzk4jc"))))
298 (build-system go-build-system)
300 `(#:import-path "git.torproject.org/pluggable-transports/goptlib"))
301 (home-page "https://gitweb.torproject.org/pluggable-transports/goptlib.git/")
302 (synopsis "Go pluggable transports library")
303 (description "GoPtLib is a library for writing Tor pluggable transports in
305 (license license:cc0)))
307 (define-public go-github-com-sevlyar-go-daemon
309 (name "go-github-com-sevlyar-go-daemon")
316 (url "https://github.com/sevlyar/go-daemon")
317 (commit (string-append "v" version))))
318 (file-name (git-file-name name version))
320 (base32 "1y3gnxaifykcjcbzx91lz9bc93b95w3xj4rjxjbii26pm3j7gqyk"))))
321 (build-system go-build-system)
323 `(#:import-path "github.com/sevlyar/go-daemon"))
325 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
326 (home-page "https://github.com/sevlyar/go-daemon")
327 (synopsis "Library for writing system daemons")
328 (description "Go-Daemon is a library for writing system daemons in Go.")
329 (license license:expat)))
331 (define-public go-github-com-keybase-go-ps
332 (let ((commit "91aafc93ba19d1988cff338c1929d35b6c6f5b50")
335 (name "go-github-com-keybase-go-ps")
336 (version (git-version "0.0.0" revision commit))
342 (url "https://github.com/keybase/go-ps")
344 (file-name (git-file-name name version))
346 (base32 "1la7m9pd1rrij727g34k9d2iapqwrkwdkqwpkbsbcq8ig0fg634h"))))
347 (build-system go-build-system)
349 `(#:import-path "github.com/keybase/go-ps"
351 (modify-phases %standard-phases
352 (add-after 'unpack 'fix-tests
353 (lambda* (#:key native-inputs inputs #:allow-other-keys)
354 (substitute* (find-files "." "test\\.go")
355 (("/bin/sleep" command)
357 (assoc-ref (or native-inputs inputs) "coreutils")
360 `(("coreutils" ,coreutils)
361 ("go-github-com-stretchr-testify"
362 ,go-github-com-stretchr-testify)))
363 (home-page "https://github.com/keybase/go-ps")
364 (synopsis "Process list library for Go")
365 (description "Go-Ps is a library for Go that implements OS-specific APIs
366 to list and manipulate processes in a safe way.")
367 (license license:expat))))
369 (define-public go-github-com-apparentlymart-go-openvpn-mgmt
370 (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
373 (name "go-github-com-apparentlymart-go-openvpn-mgmt")
374 (version (git-version "0.0.0" revision commit))
380 (url "https://github.com/apparentlymart/go-openvpn-mgmt")
382 (file-name (git-file-name name version))
384 (base32 "1dn431jnswg5ns1ah10wswnw6wiv48zq21zr5xp1178l4waswj7k"))))
385 (build-system go-build-system)
387 `(#:unpack-path "github.com/apparentlymart/go-openvpn-mgmt"
389 (modify-phases %standard-phases
394 (apply (assoc-ref %standard-phases 'build)
395 `(,@arguments #:import-path ,directory)))
397 "github.com/apparentlymart/go-openvpn-mgmt/demux"
398 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))))
403 (apply (assoc-ref %standard-phases 'check)
404 `(,@arguments #:import-path ,directory)))
406 "github.com/apparentlymart/go-openvpn-mgmt/demux"
407 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))))
412 (apply (assoc-ref %standard-phases 'install)
413 `(,@arguments #:import-path ,directory)))
415 "github.com/apparentlymart/go-openvpn-mgmt/demux"
416 "github.com/apparentlymart/go-openvpn-mgmt/openvpn")))))))
417 (home-page "https://github.com/apparentlymart/go-openvpn-mgmt")
418 (synopsis "Go client library for OpenVPN's management protocol")
419 (description "Go-OpenVPN-Mgmt implements a client for the OpenVPN
420 management interface. It can be used to monitor and control an OpenVPN process
421 running with its management port enabled.")
422 (license license:expat))))
424 (define-public go-github-com-emersion-go-autostart
425 (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c")
428 (name "go-github-com-emersion-go-autostart")
429 (version (git-version "0.0.0" revision commit))
435 (url "https://github.com/emersion/go-autostart")
437 (file-name (git-file-name name version))
439 (base32 "0cqqvbzn32xv5lknfygrx01rx2sc6pi833k7008nlk9lsfgry06v"))))
440 (build-system go-build-system)
442 `(#:import-path "github.com/emersion/go-autostart"))
443 (home-page "https://github.com/emersion/go-autostart")
444 (synopsis "Autostart library in Go")
445 (description "Go-Autostart is a Go library to run a command after login.")
446 (license license:expat))))
448 (define-public go-github-com-dchest-siphash
450 (name "go-github-com-dchest-siphash")
457 (url "https://github.com/dchest/siphash")
458 (commit (string-append "v" version))))
459 (file-name (git-file-name name version))
461 (base32 "08s076y7vmjqnq7jz0762hkm896r6r31v8b31a3gy0n8rfa01k8k"))))
462 (build-system go-build-system)
464 `(#:import-path "github.com/dchest/siphash"))
465 (home-page "https://github.com/dchest/siphash")
466 (synopsis "Go library for pseudorandom functions")
467 (description "SipHash is a family of pseudorandom functions (PRFs) optimized
468 for speed on short messages.")
469 (license license:cc0)))
471 (define-public go-github-com-rakyll-statik
473 (name "go-github-com-rakyll-statik")
480 (url "https://github.com/rakyll/statik")
481 (commit (string-append "v" version))))
482 (file-name (git-file-name name version))
484 (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va"))))
485 (build-system go-build-system)
487 `(#:import-path "github.com/rakyll/statik"))
488 (home-page "https://github.com/rakyll/statik/")
489 (synopsis "Embed files into a Go executable")
490 (description "Statik allows you to embed a directory of static files into
491 your Go binary to be later served from an http.FileSystem.")
492 (license license:asl2.0)))
494 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
495 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
496 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
497 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
498 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
499 ;; gccgo-5. Mips is not officially supported, but it should work if it is
502 (define-public go-1.4
505 ;; The C-language bootstrap of Go:
506 ;; https://golang.org/doc/install/source#go14
507 (version "1.4-bootstrap-20171003")
510 (uri (string-append "https://storage.googleapis.com/golang/"
511 name version ".tar.gz"))
514 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
515 (build-system gnu-build-system)
520 `(#:modules ((ice-9 match)
521 (guix build gnu-build-system)
524 #:tests? #f ; Tests are run by the all.bash script.
525 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
526 (%current-target-system)))
527 '(#:system "armhf-linux")
530 (modify-phases %standard-phases
532 (add-after 'patch-generated-file-shebangs 'chdir
536 (add-before 'build 'prebuild
537 (lambda* (#:key inputs outputs #:allow-other-keys)
538 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
539 (ld (string-append (assoc-ref inputs "libc") "/lib"))
540 (loader (car (find-files ld "^ld-linux.+")))
541 (net-base (assoc-ref inputs "net-base"))
543 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
544 (output (assoc-ref outputs "out")))
546 ;; Removing net/ tests, which fail when attempting to access
547 ;; network resources not present in the build container.
548 (for-each delete-file
549 '("net/multicast_test.go" "net/parse_test.go"
552 ;; Add libgcc to the RUNPATH.
553 (substitute* "cmd/go/build.go"
554 (("cgoldflags := \\[\\]string\\{\\}")
555 (string-append "cgoldflags := []string{"
556 "\"-rpath=" gcclib "\"}"))
557 (("ldflags := buildLdflags")
559 "ldflags := buildLdflags\n"
560 "ldflags = append(ldflags, \"-r\")\n"
561 "ldflags = append(ldflags, \"" gcclib "\")\n")))
563 (substitute* "os/os_test.go"
564 (("/usr/bin") (getcwd))
565 (("/bin/pwd") (which "pwd")))
567 ;; Disable failing tests: these tests attempt to access
568 ;; commands or network resources which are neither available or
569 ;; necessary for the build to succeed.
574 ((regex all before test_name)
575 (string-append before "Disabled" test_name)))))
576 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
577 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
578 ("os/os_test.go" "(.+)(TestHostname.+)")
579 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
581 ;; XXX: This test fails with tzdata 2020b and newer. Later
582 ;; Go releases work fine, so just disable this for the
584 ("time/example_test.go" "(.+)(ExampleParseInLocation.+)")
586 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
587 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
588 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
589 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
590 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
591 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
592 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
593 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
594 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
596 (substitute* "net/lookup_unix.go"
597 (("/etc/protocols") (string-append net-base "/etc/protocols")))
598 (substitute* "time/zoneinfo_unix.go"
599 (("/usr/share/zoneinfo/") tzdata-path))
600 (substitute* (find-files "cmd" "asm.c")
601 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
605 (lambda* (#:key inputs outputs #:allow-other-keys)
606 ;; FIXME: Some of the .a files are not bit-reproducible.
607 (let* ((output (assoc-ref outputs "out")))
608 (setenv "CC" (which "gcc"))
609 (setenv "GOOS" "linux")
610 (setenv "GOROOT" (dirname (getcwd)))
611 (setenv "GOROOT_FINAL" output)
612 (setenv "GO14TESTS" "1")
613 (invoke "sh" "all.bash"))))
616 (lambda* (#:key outputs inputs #:allow-other-keys)
617 (let* ((output (assoc-ref outputs "out"))
618 (doc_out (assoc-ref outputs "doc"))
619 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
620 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
621 (tests (string-append
622 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
624 (copy-recursively "../test" (string-append tests "/test"))
625 (delete-file-recursively "../test")
627 (copy-recursively "../api" (string-append docs "/api"))
628 (delete-file-recursively "../api")
629 (copy-recursively "../doc" (string-append docs "/doc"))
630 (delete-file-recursively "../doc")
632 (for-each (lambda (file)
633 (let ((file (string-append "../" file)))
634 (install-file file docs)
636 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
637 "LICENSE" "VERSION" "robots.txt"))
638 (copy-recursively "../" output)
643 ("gcc:lib" ,(canonical-package gcc) "lib")))
645 `(("pkg-config" ,pkg-config)
647 ("net-base" ,net-base)
650 (home-page "https://golang.org/")
651 (synopsis "Compiler and libraries for Go, a statically-typed language")
652 (description "Go, also commonly referred to as golang, is an imperative
653 programming language designed primarily for systems programming. Go is a
654 compiled, statically typed language in the tradition of C and C++, but adds
655 garbage collection, various safety features, and concurrent programming features
656 in the style of communicating sequential processes (@dfn{CSP}).")
657 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
658 (license license:bsd-3)))
660 (define-public go-1.14
669 (url "https://github.com/golang/go")
670 (commit (string-append "go" version))))
671 (file-name (git-file-name name version))
674 "1crh90qkvhlx23hwsi4wxy3l3h8973lr18135y6h1nnzzwr3n3ps"))))
676 (substitute-keyword-arguments (package-arguments go-1.4)
678 (if (string-prefix? "aarch64-linux" (or (%current-system)
679 (%current-target-system)))
683 `(modify-phases ,phases
685 (lambda* (#:key inputs outputs #:allow-other-keys)
686 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
687 (ld (string-append (assoc-ref inputs "libc") "/lib"))
688 (loader (car (find-files ld "^ld-linux.+")))
689 (net-base (assoc-ref inputs "net-base"))
691 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
692 (output (assoc-ref outputs "out")))
694 ;; Having the patch in the 'patches' field of <origin> breaks
695 ;; the 'TestServeContent' test due to the fact that
696 ;; timestamps are reset. Thus, apply it from here.
697 (invoke "patch" "-p2" "--force" "-i"
698 (assoc-ref inputs "go-skip-gc-test.patch"))
700 ;; A side effect of these test scripts is testing
701 ;; cgo. Attempts at using cgo flags and directives with these
702 ;; scripts as specified here (https://golang.org/cmd/cgo/)
703 ;; have not worked. The tests continue to state that they can
704 ;; not find object files/headers despite being present.
707 '("cmd/go/testdata/script/mod_case_cgo.txt"
708 "cmd/go/testdata/script/list_find.txt"
709 "cmd/go/testdata/script/list_compiled_imports.txt"
710 "cmd/go/testdata/script/cgo_syso_issue29253.txt"
711 "cmd/go/testdata/script/cover_cgo.txt"
712 "cmd/go/testdata/script/cover_cgo_xtest.txt"
713 "cmd/go/testdata/script/cover_cgo_extra_test.txt"
714 "cmd/go/testdata/script/cover_cgo_extra_file.txt"
715 "cmd/go/testdata/script/cgo_path_space.txt"
716 "cmd/go/testdata/script/ldflag.txt"
717 "cmd/go/testdata/script/cgo_path.txt"))
719 (for-each make-file-writable (find-files "."))
721 (substitute* "os/os_test.go"
722 (("/usr/bin") (getcwd))
723 (("/bin/pwd") (which "pwd"))
724 (("/bin/sh") (which "sh")))
726 ;; Add libgcc to runpath
727 (substitute* "cmd/link/internal/ld/lib.go"
728 (("!rpath.set") "true"))
729 (substitute* "cmd/go/internal/work/gccgo.go"
730 (("cgoldflags := \\[\\]string\\{\\}")
731 (string-append "cgoldflags := []string{"
732 "\"-rpath=" gcclib "\""
736 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
737 (substitute* "cmd/go/internal/work/gc.go"
738 (("ldflags = setextld\\(ldflags, compiler\\)")
740 "ldflags = setextld(ldflags, compiler)\n"
741 "ldflags = append(ldflags, \"-r\")\n"
742 "ldflags = append(ldflags, \"" gcclib "\")\n")))
744 ;; Disable failing tests: these tests attempt to access
745 ;; commands or network resources which are neither available
746 ;; nor necessary for the build to succeed.
751 ((regex all before test_name)
752 (string-append before "Disabled" test_name)))))
753 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
754 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
755 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
756 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
757 ;; 127.0.0.1 doesn't exist
758 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
759 ;; 127.0.0.1 doesn't exist
760 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
761 ;; /etc/services doesn't exist
762 ("net/parse_test.go" "(.+)(TestReadLine.+)")
763 ("os/os_test.go" "(.+)(TestHostname.+)")
764 ;; The user's directory doesn't exist
765 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
766 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
767 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
768 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
769 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
770 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
771 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
772 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
773 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
774 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
775 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
776 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
777 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
778 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
779 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
780 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
781 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
782 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
783 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
784 ("syscall/exec_linux_test.go"
785 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
787 ;; These tests fail on aarch64-linux
788 (substitute* "cmd/dist/test.go"
789 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
791 ;; fix shebang for testar script
792 ;; note the target script is generated at build time.
793 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
794 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
796 (substitute* "net/lookup_unix.go"
797 (("/etc/protocols") (string-append net-base "/etc/protocols")))
798 (substitute* "net/port_unix.go"
799 (("/etc/services") (string-append net-base "/etc/services")))
800 (substitute* "time/zoneinfo_unix.go"
801 (("/usr/share/zoneinfo/") tzdata-path))
802 (substitute* (find-files "cmd" "\\.go")
803 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
805 (add-before 'build 'set-bootstrap-variables
806 (lambda* (#:key outputs inputs #:allow-other-keys)
807 ;; Tell the build system where to find the bootstrap Go.
808 (let ((go (assoc-ref inputs "go")))
809 (setenv "GOROOT_BOOTSTRAP" go)
810 (setenv "GOGC" "400")
813 (lambda* (#:key inputs outputs #:allow-other-keys)
814 ;; FIXME: Some of the .a files are not bit-reproducible.
815 (let* ((output (assoc-ref outputs "out")))
816 (setenv "CC" (which "gcc"))
817 (setenv "GOOS" "linux")
818 (setenv "GOROOT" (dirname (getcwd)))
819 (setenv "GOROOT_FINAL" output)
820 (setenv "CGO_ENABLED" "1")
821 (invoke "sh" "all.bash"))))
823 ;; TODO: Most of this could be factorized with Go 1.4.
824 (lambda* (#:key outputs #:allow-other-keys)
825 (let* ((output (assoc-ref outputs "out"))
826 (doc_out (assoc-ref outputs "doc"))
827 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
829 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
830 ;; Prevent installation of the build cache, which contains
831 ;; store references to most of the tools used to build Go and
832 ;; would unnecessarily increase the size of Go's closure if it
834 (delete-file-recursively "../pkg/obj")
837 (copy-recursively "../test" (string-append src "/test"))
838 (delete-file-recursively "../test")
840 (copy-recursively "../api" (string-append docs "/api"))
841 (delete-file-recursively "../api")
842 (copy-recursively "../doc" (string-append docs "/doc"))
843 (delete-file-recursively "../doc")
847 (let* ((filein (string-append "../" file))
848 (fileout (string-append docs "/" file)))
849 (copy-file filein fileout)
850 (delete-file filein)))
851 ;; Note the slightly different file names compared to 1.4.
852 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
853 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
855 (copy-recursively "../" output)
859 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
860 ,@(match (%current-system)
861 ((or "armhf-linux" "aarch64-linux")
862 `(("gold" ,binutils-gold)))
864 ,@(package-native-inputs go-1.4)))
865 (supported-systems %supported-systems)))
867 (define-public go-1.16
876 (url "https://github.com/golang/go")
877 (commit (string-append "go" version))))
878 (file-name (git-file-name name version))
881 "19a93p217h5xi2sgh34qzv24pkd4df0sw4fc5z6k47lspjp3vx2l"))))
883 (substitute-keyword-arguments (package-arguments go-1.14)
886 `(modify-phases ,phases
887 (add-after 'unpack 'remove-unused-sourcecode-generators
889 ;; Prevent perl from inclusion in closure through unused files
890 (for-each delete-file (find-files "src" "\\.pl$"))))
892 (lambda* (#:key inputs outputs #:allow-other-keys)
893 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
894 (net-base (assoc-ref inputs "net-base"))
896 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo")))
898 ;; Having the patch in the 'patches' field of <origin> breaks
899 ;; the 'TestServeContent' test due to the fact that
900 ;; timestamps are reset. Thus, apply it from here.
901 (invoke "patch" "-p2" "--force" "-i"
902 (assoc-ref inputs "go-skip-gc-test.patch"))
903 (invoke "patch" "-p2" "--force" "-i"
904 (assoc-ref inputs "go-fix-script-tests.patch"))
906 (for-each make-file-writable (find-files "."))
908 (substitute* "os/os_test.go"
909 (("/usr/bin") (getcwd))
910 (("/bin/sh") (which "sh")))
912 (substitute* "cmd/go/testdata/script/cgo_path_space.txt"
913 (("/bin/sh") (which "sh")))
915 ;; Add libgcc to runpath
916 (substitute* "cmd/link/internal/ld/lib.go"
917 (("!rpath.set") "true"))
918 (substitute* "cmd/go/internal/work/gccgo.go"
919 (("cgoldflags := \\[\\]string\\{\\}")
920 (string-append "cgoldflags := []string{"
921 "\"-Wl,-rpath=" gcclib "\""
925 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
926 (substitute* "cmd/go/internal/work/gc.go"
927 (("ldflags = setextld\\(ldflags, compiler\\)")
929 "ldflags = setextld(ldflags, compiler)\n"
930 "ldflags = append(ldflags, \"-r\")\n"
931 "ldflags = append(ldflags, \"" gcclib "\")\n")))
933 ;; Disable failing tests: these tests attempt to access
934 ;; commands or network resources which are neither available
935 ;; nor necessary for the build to succeed.
940 ((regex all before test_name)
941 (string-append before "Disabled" test_name)))))
942 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
943 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
944 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
945 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
946 ;; 127.0.0.1 doesn't exist
947 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
948 ;; 127.0.0.1 doesn't exist
949 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
950 ;; /etc/services doesn't exist
951 ("net/parse_test.go" "(.+)(TestReadLine.+)")
952 ("os/os_test.go" "(.+)(TestHostname.+)")
953 ;; The user's directory doesn't exist
954 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
955 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
956 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
957 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
958 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
959 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
960 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
961 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
962 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
963 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
964 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
965 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
966 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
967 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
968 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
969 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
970 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
971 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
972 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
973 ("syscall/exec_linux_test.go"
974 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
976 ;; These tests fail on aarch64-linux
977 (substitute* "cmd/dist/test.go"
978 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
980 ;; fix shebang for testar script
981 ;; note the target script is generated at build time.
982 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
983 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
985 (substitute* "net/lookup_unix.go"
986 (("/etc/protocols") (string-append net-base "/etc/protocols")))
987 (substitute* "net/port_unix.go"
988 (("/etc/services") (string-append net-base "/etc/services")))
989 (substitute* "time/zoneinfo_unix.go"
990 (("/usr/share/zoneinfo/") tzdata-path)))))
992 (lambda* (#:key inputs outputs #:allow-other-keys)
993 ;; FIXME: Some of the .a files are not bit-reproducible.
994 ;; (Is this still true?)
995 (let* ((output (assoc-ref outputs "out"))
996 (loader (string-append (assoc-ref inputs "libc")
997 ,(glibc-dynamic-linker))))
998 (setenv "CC" (which "gcc"))
999 (setenv "GO_LDSO" loader)
1000 (setenv "GOOS" "linux")
1001 (setenv "GOROOT" (dirname (getcwd)))
1002 (setenv "GOROOT_FINAL" output)
1003 (setenv "GOCACHE" "/tmp/go-cache")
1004 (invoke "sh" "make.bash" "--no-banner"))))
1006 (lambda* (#:key target (tests? (not target)) (parallel-tests? #t)
1008 (let* ((njobs (if parallel-tests? (parallel-job-count) 1)))
1010 (setenv "GOMAXPROCS" (number->string njobs))
1011 (invoke "sh" "run.bash" "--no-rebuild")))))
1012 (add-before 'install 'unpatch-perl-shebangs
1014 ;; Rewrite references to perl input in test scripts
1015 (substitute* "net/http/cgi/testdata/test.cgi"
1016 (("^#!.*") "#!/usr/bin/env perl\n"))))))))
1018 `(("go-fix-script-tests.patch" ,(search-patch "go-fix-script-tests.patch"))
1019 ,@(if (not (member (%current-system) (package-supported-systems go-1.4)))
1020 (alist-replace "go" (list gccgo-10) (package-native-inputs go-1.14))
1021 (package-native-inputs go-1.14))))))
1023 (define-public go go-1.14)
1025 (define-public go-github-com-alsm-ioprogress
1026 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
1029 (name "go-github-com-alsm-ioprogress")
1030 (version (git-version "0.0.0" revision commit))
1034 (url "https://github.com/alsm/ioprogress")
1036 (file-name (git-file-name name version))
1039 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
1040 (build-system go-build-system)
1042 '(#:import-path "github.com/alsm/ioprogress"))
1043 (synopsis "Textual progress bars in Go")
1044 (description "@code{ioprogress} is a Go library with implementations of
1045 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
1046 case for these are for command-line applications but alternate progress bar
1047 writers can be supplied for alternate environments.")
1048 (home-page "https://github.com/alsm/ioprogress")
1049 (license license:expat))))
1051 (define-public go-github-com-aki237-nscjar
1052 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
1055 (name "go-github-com-aki237-nscjar")
1056 (version (git-version "0.0.0" revision commit))
1060 (url "https://github.com/aki237/nscjar")
1062 (file-name (git-file-name name version))
1065 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
1066 (build-system go-build-system)
1068 '(#:import-path "github.com/aki237/nscjar"))
1069 (synopsis "Handle Netscape / Mozilla cookies")
1070 (description "@code{nscjar} is a Go library used to parse and output
1071 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
1072 jar struct to manage the cookies added to the cookie jar.")
1073 (home-page "https://github.com/aki237/nscjar")
1074 (license license:expat))))
1076 (define-public go-github-com-gizak-termui
1078 (name "go-github-com-gizak-termui")
1084 (url "https://github.com/gizak/termui")
1085 (commit (string-append "v" version))))
1086 (file-name (git-file-name name version))
1088 (base32 "1v3k8l5p95kb1v297ra5mw9sxdd59y82y6ibjzya5ma2pry6k5cn"))))
1089 (build-system go-build-system)
1091 '(#:unpack-path "github.com/gizak/termui"
1092 #:import-path "github.com/gizak/termui/v3"))
1094 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
1095 ("go-github-com-mitchellh-go-wordwrap"
1096 ,go-github-com-mitchellh-go-wordwrap)
1097 ("go-github.com-nsf-termbox-go" ,go-github.com-nsf-termbox-go)))
1098 (home-page "https://github.com/gizak/termui")
1099 (synopsis "Terminal dashboard widget Go library")
1101 "The termui Go library draws customizable dashboard widgets in a text
1102 terminal. It includes several common widgets: lists, trees, tables and tabs,
1103 but also more complex items such as (stacked) bar and pie charts, scatter plots,
1104 gauges, and even images and a canvas for drawing `high resolution' braille dots.
1106 You can also easily create new custom widgets. Widgets can be coloured and
1107 styled and positioned absolutely or relatively. They respond to keyboard,
1108 mouse, and terminal resizing events.")
1109 (license license:expat)))
1111 (define-public go-github-com-golangplus-fmt
1113 (name "go-github-com-golangplus-fmt")
1115 (home-page "https://github.com/golangplus/fmt")
1120 (commit (string-append "v" version))))
1121 (file-name (git-file-name name version))
1123 (base32 "07d5kxz0f8ss3v46y0c8jg02sagi0wlaaijhjzzp0r462jyzqii7"))))
1124 (build-system go-build-system)
1126 '(#:import-path "github.com/golangplus/fmt"))
1127 (synopsis "Additions to Go's standard @code{fmt} package")
1128 (description "This package provides additions to Go's stdlib @code{fmt}.")
1129 (license license:bsd-3)))
1131 (define-public go-github-com-mitchellh-go-wordwrap
1133 (name "go-github-com-mitchellh-go-wordwrap")
1139 (url "https://github.com/mitchellh/go-wordwrap")
1140 (commit (string-append "v" version))))
1141 (file-name (git-file-name name version))
1143 (base32 "12imq66hgj8q9ii2xqdy8apc0icphh6yimjb0div1pvl3s9gn83y"))))
1144 (build-system go-build-system)
1146 '(#:import-path "github.com/mitchellh/go-wordwrap"))
1148 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
1149 (home-page "https://github.com/mitchellh/go-wordwrap")
1150 (synopsis "Go library for word-wrapping strings")
1152 "This Go library automatically wraps words onto multiple lines. It's
1153 primary goal is to format command-line output, but of course word wrapping is a
1154 generally useful thing to do.")
1155 (license license:expat)))
1157 (define-public go-github-com-motemen-go-colorine
1158 (let ((commit "45d19169413a019e4e2be69629dde5c7d92f8706")
1161 (name "go-github-com-motemen-go-colorine")
1162 (version (git-version "0.0.0" revision commit))
1163 (home-page "https://github.com/motemen/go-colorine")
1169 (file-name (git-file-name name version))
1171 (base32 "1mdy6q0926s1frj027nlzlvm2qssmkpjis7ic3l2smajkzh07118"))))
1172 (build-system go-build-system)
1174 '(#:import-path "github.com/motemen/go-colorine"))
1176 `(("github.com/daviddengcn/go-colortext" ,go-github-com-daviddengcn-go-colortext)))
1177 (synopsis "Simple colorized console logger for golang")
1179 "This package provides simple colorized console logger for golang.")
1180 (license license:expat))))
1182 (define-public go-github-com-daviddengcn-go-colortext
1184 (name "go-github-com-daviddengcn-go-colortext")
1186 (home-page "https://github.com/daviddengcn/go-colortext")
1191 (commit (string-append "v" version))))
1192 (file-name (git-file-name name version))
1194 (base32 "0j5ldwg3a768d3nniiglghr9axj4p87k7f7asqxa1a688xvcms48"))))
1195 (build-system go-build-system)
1197 '(#:import-path "github.com/daviddengcn/go-colortext"))
1199 `(("go-github-com-golangplus-testing" ,go-github-com-golangplus-testing)))
1200 (synopsis "Change the color of console text and background")
1202 "This is a package to change the color of the text and background in the
1203 console, working both under Windows and other systems.
1205 Under Windows, the console APIs are used. Otherwise, ANSI texts are output.")
1207 (license (list license:bsd-3 license:expat))))
1209 (define-public go-github-com-golangplus-testing
1211 (name "go-github-com-golangplus-testing")
1213 (home-page "https://github.com/golangplus/testing")
1218 (commit (string-append "v" version))))
1219 (file-name (git-file-name name version))
1221 (base32 "1a29m4zplf9m14k74lrb55dids2l17vx28sv0g3y3qcv1xygksiv"))))
1222 (build-system go-build-system)
1224 '(#:import-path "github.com/golangplus/testing"))
1226 `(("go-github-com-golangplus-fmt" ,go-github-com-golangplus-fmt)))
1227 (synopsis "Additions to Go's standard testing package")
1228 (description "This package provides additions to Go's stdlib testing.")
1229 (license license:bsd-3)))
1231 (define-public go-github-com-leodido-go-urn
1233 (name "go-github-com-leodido-go-urn")
1235 (home-page "https://github.com/leodido/go-urn")
1241 (commit (string-append "v" version))))
1242 (file-name (git-file-name name version))
1244 (base32 "1d4g1vkhc1180l1n7q48vl84b27c7cziywml78cyijbcdz2f8vim"))))
1245 (build-system go-build-system)
1247 '(#:import-path "github.com/leodido/go-urn"))
1249 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1250 (synopsis "Parser for uniform resource names as seen on RFC 2141")
1252 "This package implements a parser for uniform resource names (URN) as
1253 specified by @uref{https://tools.ietf.org/html/rfc2141, IETF RFC 2141}.")
1254 (license license:expat)))
1256 (define-public go-github.com-jessevdk-go-flags
1258 (name "go-github.com-jessevdk-go-flags")
1263 (url "https://github.com/jessevdk/go-flags")
1264 (commit (string-append "v" version))))
1265 (file-name (git-file-name name version))
1268 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
1269 (build-system go-build-system)
1271 '(#:import-path "github.com/jessevdk/go-flags"))
1272 (synopsis "Go library for parsing command line arguments")
1274 "The @code{flags} package provides a command line option parser. The
1275 functionality is similar to the go builtin @code{flag} package, but
1276 @code{flags} provides more options and uses reflection to provide a succinct
1277 way of specifying command line options.")
1278 (home-page "https://github.com/jessevdk/go-flags")
1279 (license license:bsd-3)))
1281 (define-public go-gopkg-in-go-playground-assert-v1
1283 (name "go-gopkg-in-go-playground-assert-v1")
1285 (home-page "https://github.com/go-playground/assert")
1291 (commit (string-append "v" version))))
1292 (file-name (git-file-name name version))
1294 (base32 "1h4amgykpa0djwi619llr3g55p75ia0mi184h9s5zdl8l4rhn9pm"))))
1295 (build-system go-build-system)
1297 '(#:import-path "gopkg.in/go-playground/assert.v1"))
1298 (synopsis "Basic assertion library used alongside native Go testing")
1300 "This package provides basic assertions along with building blocks for
1301 custom assertions to be used alongside native Go testing.")
1302 (license license:expat)))
1304 (define-public go-github-com-go-playground-locales
1306 (name "go-github-com-go-playground-locales")
1308 (home-page "https://github.com/go-playground/locales")
1314 (commit (string-append "v" version))))
1315 (file-name (git-file-name name version))
1317 (base32 "0qydcpkvss3mf8mk3xzg6a34n8i69aydrigcl2apifrkx72jw7pf"))))
1318 (build-system go-build-system)
1320 '(#:import-path "github.com/go-playground/locales"))
1321 (synopsis "Set of locales generated from the CLDR Unicode Project")
1323 "This package provides a set of locales generated from the
1324 @uref{http://cldr.unicode.org/, Unicode CLDR Project} which can be used
1325 independently or within an internalization (i18n) package. Its currently
1326 implemented features include
1329 @item Rules generated from the CLDR data, v31.0.3
1330 @item Contains Cardinal, Ordinal and Range Plural Rules
1331 @item Contains Month, Weekday and Timezone translations built in
1332 @item Contains Date & Time formatting functions
1333 @item Contains Number, Currency, Accounting and Percent formatting functions
1334 @item Supports the \"Gregorian\" calendar only
1336 (license license:expat)))
1338 (define-public go-github-com-go-playground-universal-translator
1340 (name "go-github-com-go-playground-universal-translator")
1342 (home-page "https://github.com/go-playground/universal-translator")
1348 (commit (string-append "v" version))))
1349 (file-name (git-file-name name version))
1351 (base32 "1zdiaisb32iv4x93cpbqrgx8ll7sxh4hcd2iibpswy4bwvjbjlz6"))))
1352 (build-system go-build-system)
1354 '(#:import-path "github.com/go-playground/universal-translator"))
1356 `(("go-github-com-go-playground-locales" ,go-github-com-go-playground-locales)))
1357 (synopsis "Translator using Unicode CLDR data and pluralization rules")
1359 "This package offers an Internalization Translator for Go using
1360 @uref{http://cldr.unicode.org/, Unicode CLDR Project} data and pluralization
1361 rules. Its currently implemented features include
1364 @item Rules generated from the CLDR data, v30.0.3
1365 @item Contains Cardinal, Ordinal and Range Plural Rules
1366 @item Contains Month, Weekday and Timezone translations built in
1367 @item Contains Date & Time formatting functions
1368 @item Contains Number, Currency, Accounting and Percent formatting functions
1369 @item Supports the \"Gregorian\" calendar only
1370 @item Support loading translations from files
1371 @item Exporting translations to file(s), mainly for getting them
1372 professionally translated
1374 (license license:expat)))
1376 (define-public go-gopkg-in-go-playground-validator-v9
1378 (name "go-gopkg-in-go-playground-validator-v9")
1380 (home-page "https://gopkg.in/go-playground/validator.v9")
1385 (url "https://github.com/go-playground/validator")
1386 (commit (string-append "v" version))))
1387 (file-name (git-file-name name version))
1389 (base32 "1f8c77s8kx9rip2jarv27x5s4xkcmanh4ndyhbcwvrhncs5rq061"))))
1390 (build-system go-build-system)
1392 '(#:import-path "gopkg.in/go-playground/validator.v9"))
1394 `(("go-gopkg-in-go-playground-assert-v1"
1395 ,go-gopkg-in-go-playground-assert-v1)))
1397 `(("go-github-com-go-playground-universal-translator"
1398 ,go-github-com-go-playground-universal-translator)
1399 ("go-github-com-leodido-go-urn" ,go-github-com-leodido-go-urn)))
1400 (synopsis "Validator for structs and individual fields based on tags")
1402 "This package implements value validations for structs and individual
1403 fields based on tags. It has the following unique features:
1406 @item Cross Field and Cross Struct validations by using validation tags or
1408 @item Slice, Array and Map diving, which allows any or all levels of a
1409 multidimensional field to be validated
1410 @item Ability to dive into both map keys and values for validation
1411 @item Handles type interface by determining it's underlying type prior to validation
1412 @item Handles custom field types such as sql driver
1413 @uref{https://golang.org/src/database/sql/driver/types.go?s=1210:1293#L29,
1415 @item Alias validation tags, which allows for mapping of several validations
1416 to a single tag for easier defining of validations on structs
1417 @item Extraction of custom defined Field Name e.g. can specify to extract the
1418 JSON name while validating and have it available in the resulting FieldError
1419 @item Customizable i18n aware error messages.
1420 @item Default validator for the @uref{https://github.com/gin-gonic/gin, gin}
1423 (license license:expat)))
1425 (define-public go-github-com-aws-sdk
1427 (name "go-github-com-aws-sdk")
1433 (url "https://github.com/aws/aws-sdk-go")
1434 (commit (string-append "v" version))))
1435 (file-name (git-file-name name version))
1438 "1ky5lw2s2zpslnnqcs6hgsrwvwbxwgflb5jwf16dd4aga3vrg10c"))))
1439 (build-system go-build-system)
1441 '(#:import-path "github.com/aws/aws-sdk-go/aws"
1442 #:unpack-path "github.com/aws/aws-sdk-go"))
1444 `(("go-github-com-go-sql-driver-mysql" ,go-github-com-go-sql-driver-mysql)
1445 ("go-github-com-jmespath-go-jmespath" ,go-github-com-jmespath-go-jmespath)
1446 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
1447 ("go-golang-org-x-net" ,go-golang-org-x-net)))
1448 (home-page "https://github.com/aws/aws-sdk-go")
1449 (synopsis "Library to access Amazon Web Services (AWS)")
1451 "This is the official AWS SDK for the Go programming language.")
1452 (license license:asl2.0)))
1454 (define-public go-gopkg.in-tomb.v2
1455 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
1458 (name "go-gopkg.in-tomb.v2")
1459 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
1463 (url "https://github.com/go-tomb/tomb")
1465 (file-name (string-append name "-" version ".tar.gz"))
1468 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
1469 (build-system go-build-system)
1471 '(#:import-path "gopkg.in/tomb.v2"
1473 (modify-phases %standard-phases
1474 (add-after 'unpack 'patch-source
1476 ;; Add a missing % to fix the compilation of this test
1477 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
1478 (("t.Fatalf\\(`Killf\\(\"BO%s")
1479 "t.Fatalf(`Killf(\"BO%%s"))
1481 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
1483 "The @code{tomb} package handles clean goroutine tracking and
1485 (home-page "https://gopkg.in/tomb.v2")
1486 (license license:bsd-3))))
1488 (define-public go-gopkg-in-natefinch-lumberjack.v2
1490 (name "go-gopkg-in-natefinch-lumberjack.v2")
1496 (url "https://github.com/natefinch/lumberjack")
1497 (commit (string-append "v" version))))
1498 (file-name (git-file-name name version))
1501 "1l3vlv72b7rfkpy1164kwd3qzrqmmjnb67akzxqp2mlvc66k6p3d"))))
1502 (build-system go-build-system)
1504 '(#:import-path "gopkg.in/natefinch/lumberjack.v2"))
1506 `(("github.com/burntsush/toml" ,go-github-com-burntsushi-toml)
1507 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1508 (home-page "https://github.com/natefinch/lumberjack")
1509 (synopsis "Rolling logger for Go")
1511 "Lumberjack is a Go package for writing logs to rolling files.")
1512 (license license:expat)))
1514 (define-public go-github.com-jtolds-gls
1516 (name "go-github.com-jtolds-gls")
1521 (url "https://github.com/jtolds/gls")
1522 (commit (string-append "v" version))))
1523 (file-name (git-file-name name version))
1526 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
1527 (build-system go-build-system)
1529 '(#:import-path "github.com/jtolds/gls"))
1530 (synopsis "@code{gls} provides Goroutine local storage")
1532 "The @code{gls} package provides a way to store a retrieve values
1534 (home-page "https://github.com/jtolds/gls")
1535 (license license:expat)))
1537 (define-public go-github-com-saracen-walker
1539 (name "go-github-com-saracen-walker")
1545 (url "https://github.com/saracen/walker")
1546 (commit (string-append "v" version))))
1547 (file-name (git-file-name name version))
1549 (base32 "1rq1lrp99lx7k1ysbfznn4c1iagnxdhb4lnnklsadnnzi3gvygqz"))))
1550 (build-system go-build-system)
1552 `(#:import-path "github.com/saracen/walker"))
1554 `(("go-golang-org-x-sync" ,go-golang-org-x-sync)))
1555 (home-page "https://github.com/saracen/walker")
1556 (synopsis "Faster, parallel version of Go's filepath.Walk")
1557 (license license:expat)
1558 (description "The @code{walker} function is a faster, parallel version, of
1559 @code{filepath.Walk}")))
1561 (define-public go-github-com-tj-docopt
1563 (name "go-github-com-tj-docopt")
1568 (url "https://github.com/tj/docopt")
1569 (commit (string-append "v" version))))
1570 (file-name (git-file-name name version))
1573 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
1574 (build-system go-build-system)
1576 '(#:import-path "github.com/tj/docopt"))
1577 (synopsis "Go implementation of docopt")
1579 "This library allows the user to define a command-line interface from a
1580 program's help message rather than specifying it programmatically with
1581 command-line parsers.")
1582 (home-page "https://github.com/tj/docopt")
1583 (license license:expat)))
1585 (define-public go-github-com-hashicorp-hcl
1586 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
1589 (name "go-github-com-hashicorp-hcl")
1590 (version (git-version "0.0.0" revision commit))
1594 (url "https://github.com/hashicorp/hcl")
1596 (file-name (git-file-name name version))
1599 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
1600 (build-system go-build-system)
1603 #:import-path "github.com/hashicorp/hcl"))
1604 (synopsis "Go implementation of HashiCorp Configuration Language")
1606 "This package contains the main implementation of the @acronym{HCL,
1607 HashiCorp Configuration Language}. HCL is designed to be a language for
1608 expressing configuration which is easy for both humans and machines to read.")
1609 (home-page "https://github.com/hashicorp/hcl")
1610 (license license:mpl2.0))))
1612 (define-public go-golang-org-x-tools
1613 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
1616 (name "go-golang-org-x-tools")
1617 (version (git-version "0.1.3" revision commit))
1621 (url "https://go.googlesource.com/tools")
1623 (file-name (string-append "go.googlesource.com-tools-"
1624 version "-checkout"))
1627 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
1628 (build-system go-build-system)
1630 `(#:import-path "golang.org/x/tools"
1631 ;; Source-only package
1634 (modify-phases %standard-phases
1635 ;; Source-only package
1637 (synopsis "Tools that support the Go programming language")
1638 (description "This package provides miscellaneous tools that support the
1639 Go programming language.")
1640 (home-page "https://go.googlesource.com/tools/")
1641 (license license:bsd-3))))
1643 (define-public go-golang-org-x-crypto
1644 (let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
1647 (name "go-golang-org-x-crypto")
1648 (version (git-version "0.0.0" revision commit))
1652 (url "https://go.googlesource.com/crypto")
1654 (file-name (string-append "go.googlesource.com-crypto-"
1655 version "-checkout"))
1658 "1yvis6fqbsd7f356aqyi18f76vnwj3bry6mxqnkvshq4cwrf92il"))))
1659 (build-system go-build-system)
1661 '(#:import-path "golang.org/x/crypto"
1662 ;; Source-only package
1665 (modify-phases %standard-phases
1666 ;; Source-only package
1668 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1669 (lambda* (#:key outputs #:allow-other-keys)
1671 (make-file-writable file))
1673 (string-append (assoc-ref outputs "out")
1674 "/src/golang.org/x/crypto/ed25519/testdata")
1678 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1679 (synopsis "Supplementary cryptographic libraries in Go")
1680 (description "This package provides supplementary cryptographic libraries
1681 for the Go language.")
1682 (home-page "https://go.googlesource.com/crypto/")
1683 (license license:bsd-3))))
1685 (define-public go-golang-org-x-net
1686 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
1689 (name "go-golang-org-x-net")
1690 (version (git-version "0.0.0" revision commit))
1694 (url "https://go.googlesource.com/net")
1696 (file-name (git-file-name name version))
1699 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
1700 (build-system go-build-system)
1702 `(#:import-path "golang.org/x/net"
1703 ; Source-only package
1706 (modify-phases %standard-phases
1708 (synopsis "Go supplemental networking libraries")
1709 (description "This package provides supplemental Go networking libraries.")
1710 (home-page "https://go.googlesource.com/net")
1711 (license license:bsd-3))))
1713 (define-public go-golang-org-x-net-html
1715 (inherit go-golang-org-x-net)
1716 (name "go-golang.org-x-net-html")
1718 '(#:import-path "golang.org/x/net/html"
1719 #:unpack-path "golang.org/x/net"))
1720 (synopsis "HTML5-compliant tokenizer and parser")
1722 "This package provides an HTML5-compliant tokenizer and parser.")
1723 (home-page "https://godoc.org/golang.org/x/net/html")))
1725 (define-public go-golang-org-x-image
1726 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
1729 (name "go-golang-org-x-image")
1730 (version (git-version "0.0.0" revision commit))
1734 (url "https://go.googlesource.com/image")
1736 (file-name (string-append "go.googlesource.com-image-"
1737 version "-checkout"))
1740 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
1741 (build-system go-build-system)
1743 `(#:import-path "golang.org/x/image"
1744 ; Source-only package
1747 (modify-phases %standard-phases
1749 (home-page "https://go.googlesource.com/image")
1750 (synopsis "Supplemental Go image libraries")
1751 (description "This package provides supplemental Go libraries for image
1753 (license license:bsd-3))))
1755 (define-public go-golang-org-x-sync
1756 (let ((commit "6e8e738ad208923de99951fe0b48239bfd864f28")
1759 (name "go-golang-org-x-sync")
1760 (version (git-version "0.0.0" revision commit))
1764 (url "https://go.googlesource.com/sync")
1766 (file-name (git-file-name name version))
1769 "1avk27pszd5l5df6ff7j78wgla46ir1hhy2jwfl9a3c0ys602yx9"))))
1770 (build-system go-build-system)
1772 `(#:import-path "golang.org/x/sync"
1774 ;; Source-only package
1776 (modify-phases %standard-phases
1778 (synopsis "Additional Go concurrency primitives")
1779 (description "This package provides Go concurrency primitives in addition
1780 to the ones provided by the language and “sync” and “sync/atomic”
1782 (home-page "https://go.googlesource.com/sync/")
1783 (license license:bsd-3))))
1785 (define-public go-golang-org-x-sys
1786 (let ((commit "05986578812163b26672dabd9b425240ae2bb0ad")
1789 (name "go-golang-org-x-sys")
1790 (version (git-version "0.0.0" revision commit))
1794 (url "https://go.googlesource.com/sys")
1796 (file-name (git-file-name name version))
1799 "1q2rxb6z5l6pmlckjsz2l0b8lw7bqgk6frhzbmi1dv0y5irb2ka7"))))
1800 (build-system go-build-system)
1802 `(#:import-path "golang.org/x/sys"
1803 ;; Source-only package
1806 (modify-phases %standard-phases
1808 (synopsis "Go support for low-level system interaction")
1809 (description "This package provides supplemental libraries offering Go
1810 support for low-level interaction with the operating system.")
1811 (home-page "https://go.googlesource.com/sys")
1812 (license license:bsd-3))))
1814 (define-public go-golang-org-x-text
1816 (name "go-golang-org-x-text")
1821 (url "https://go.googlesource.com/text")
1822 (commit (string-append "v" version))))
1823 (file-name (string-append "go.googlesource.com-text-"
1824 version "-checkout"))
1827 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
1828 (build-system go-build-system)
1830 `(#:import-path "golang.org/x/text"
1831 ; Source-only package
1834 (modify-phases %standard-phases
1836 (synopsis "Supplemental Go text processing libraries")
1837 (description "This package provides supplemental Go libraries for text
1839 (home-page "https://go.googlesource.com/text")
1840 (license license:bsd-3)))
1842 (define-public go-golang-org-x-time
1843 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
1846 (name "go-golang-org-x-time")
1847 (version (git-version "0.0.0" revision commit))
1851 (url "https://go.googlesource.com/time")
1853 (file-name (git-file-name name version))
1856 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
1857 (build-system go-build-system)
1859 `(#:import-path "golang.org/x/time"
1860 ; Source-only package
1863 (modify-phases %standard-phases
1865 ; (propagated-inputs
1866 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
1867 (synopsis "Supplemental Go time libraries")
1868 (description "This package provides supplemental Go libraries related to
1870 (home-page "https://godoc.org/golang.org/x/time/rate")
1871 (license license:bsd-3))))
1873 (define-public go-golang-org-x-oauth2
1874 (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
1877 (name "go-golang-org-x-oauth2")
1878 (version (git-version "0.0.0" revision commit))
1882 (url "https://go.googlesource.com/oauth2")
1884 (file-name (string-append "go.googlesource.com-oauth2-"
1885 version "-checkout"))
1888 "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
1889 (build-system go-build-system)
1891 `(#:import-path "golang.org/x/oauth2"))
1893 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
1894 (home-page "https://go.googlesource.com/oauth2")
1895 (synopsis "Client implementation of the OAuth 2.0 spec")
1896 (description "This package contains a client implementation for OAuth 2.0
1898 (license license:bsd-3))))
1900 (define-public go-golang-org-x-xerrors
1901 (let ((commit "5ec99f83aff198f5fbd629d6c8d8eb38a04218ca")
1904 (name "go-golang-org-x-xerrors")
1905 (version (git-version "0.0.0" revision commit))
1909 (url "https://go.googlesource.com/xerrors")
1911 (file-name (git-file-name name version))
1914 "1dbzc3gmf2haazpv7cgmv97rq40g2xzwbglc17vas8dwhgwgwrzb"))))
1915 (build-system go-build-system)
1917 '(#:import-path "golang.org/x/xerrors"))
1918 (synopsis "Go 1.13 error values")
1920 "This package holds the transition packages for the new Go 1.13 error values.")
1921 (home-page "https://godoc.org/golang.org/x/xerrors")
1922 (license license:bsd-3))))
1924 (define-public go-github-com-burntsushi-toml
1926 (name "go-github-com-burntsushi-toml")
1932 (url "https://github.com/BurntSushi/toml")
1933 (commit (string-append "v" version))))
1934 (file-name (git-file-name name version))
1937 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
1938 (build-system go-build-system)
1940 '(#:import-path "github.com/BurntSushi/toml"))
1941 (home-page "https://github.com/BurntSushi/toml")
1942 (synopsis "Toml parser and encoder for Go")
1943 (description "This package is toml parser and encoder for Go. The interface
1944 is similar to Go's standard library @code{json} and @code{xml} package.")
1945 (license license:expat)))
1947 (define-public go-github-com-getsentry-raven-go
1948 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
1951 (name "go-github-com-getsentry-raven-go")
1952 (version (git-version "0.2.0" revision commit))
1957 (url "https://github.com/getsentry/raven-go")
1959 (file-name (git-file-name name version))
1962 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
1963 (build-system go-build-system)
1965 '(#:import-path "github.com/getsentry/raven-go"))
1967 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
1968 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
1969 (home-page "https://github.com/getsentry/raven-go")
1970 (synopsis "Sentry client in Go")
1971 (description "This package is a Go client API for the Sentry event/error
1973 (license license:bsd-3))))
1975 (define-public go-github-com-hashicorp-go-version
1977 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
1980 (name "go-github-com-hashicorp-go-version")
1981 (version (git-version "0.0.0" revision commit))
1986 (url "https://github.com/hashicorp/go-version")
1988 (file-name (git-file-name name version))
1991 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
1992 (build-system go-build-system)
1994 '(#:import-path "github.com/hashicorp/go-version"))
1996 "https://github.com/hashicorp/go-version")
1997 (synopsis "Go library for parsing and verifying versions and version
1999 (description "This package is a library for parsing versions and version
2000 constraints, and verifying versions against a set of constraints. It can sort
2001 a collection of versions properly, handles prerelease/beta versions, can
2002 increment versions.")
2003 (license license:mpl2.0))))
2005 (define-public go-github-com-jpillora-backoff
2007 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
2010 (name "go-github-com-jpillora-backoff")
2011 (version (git-version "0.0.0" revision commit))
2016 (url "https://github.com/jpillora/backoff")
2018 (file-name (git-file-name name version))
2021 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
2022 (build-system go-build-system)
2024 '(#:import-path "github.com/jpillora/backoff"))
2025 (home-page "https://github.com/jpillora/backoff")
2026 (synopsis "Simple exponential backoff counter in Go")
2027 (description "This package is a simple exponential backoff counter in
2029 (license license:expat))))
2031 (define-public go-github-com-stretchr-objx
2033 (name "go-github-com-stretchr-objx")
2039 (url "https://github.com/stretchr/objx")
2040 (commit (string-append "v" version))))
2041 (file-name (git-file-name name version))
2044 "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
2045 (build-system go-build-system)
2047 '(#:import-path "github.com/stretchr/objx"))
2048 (home-page "https://github.com/stretchr/objx")
2049 (synopsis "Go package for dealing with maps, slices, JSON and other data")
2050 (description "This package provides a Go library for dealing with maps,
2051 slices, JSON and other data.")
2052 (license license:expat)))
2054 (define-public go-github-com-stretchr-testify
2056 (name "go-github-com-stretchr-testify")
2062 (url "https://github.com/stretchr/testify")
2063 (commit (string-append "v" version))))
2064 (file-name (git-file-name name version))
2067 "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
2068 (build-system go-build-system)
2070 '(#:import-path "github.com/stretchr/testify"))
2072 `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
2073 ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
2074 ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
2075 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
2076 (home-page "https://github.com/stretchr/testify")
2077 (synopsis "Go helper library for tests and invariant checking")
2078 (description "This package provide many tools for testifying that your
2079 code will behave as you intend.
2083 @item Easy assertions
2085 @item HTTP response trapping
2086 @item Testing suite interfaces and functions.
2088 (license license:expat)))
2090 (define-public go-github-com-tevino-abool
2092 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
2095 (name "go-github-com-tevino-abool")
2096 (version (git-version "0.0.0" revision commit))
2101 (url "https://github.com/tevino/abool")
2103 (file-name (git-file-name name version))
2106 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
2107 (build-system go-build-system)
2109 '(#:import-path "github.com/tevino/abool"))
2110 (home-page "https://github.com/tevino/abool")
2111 (synopsis "Atomic boolean library for Go code")
2112 (description "This package is atomic boolean library for Go code,
2113 optimized for performance yet simple to use.")
2114 (license license:expat))))
2116 (define-public go-github-com-tomnomnom-gron
2120 (home-page "https://github.com/tomnomnom/gron")
2126 (commit (string-append "v" version))))
2127 (file-name (git-file-name name version))
2129 (base32 "0qmzawkhg0qn9kxxrssbdjni2khvamhrcklv3yxc0ljmh77mh61m"))))
2130 (build-system go-build-system)
2132 (let ((import-path "github.com/tomnomnom/gron"))
2133 `(#:import-path ,import-path
2135 (modify-phases %standard-phases
2136 (add-after 'check 'remove-non-source
2138 (for-each (lambda (dir)
2139 (delete-file-recursively
2140 (string-append "src/" ,import-path dir)))
2141 '("/docs" "/script" "/testdata"))
2144 `(("github.com/fatih/color" ,go-github-com-fatih-color)
2145 ("github.com/mattn/go-colorable" ,go-github-com-mattn-go-colorable)
2146 ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
2147 ("github.com/nwidger/jsoncolor" ,go-github-com-nwidger-jsoncolor)
2148 ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
2149 (synopsis "Transform JSON to make it easier to grep")
2151 "This package transforms JSON into discrete assignments to make it easier
2152 to use line-based tools such as grep to search for what you want and see the
2153 absolute \"path\" to it.")
2154 (license license:expat)))
2156 (define-public go-github-com-tv42-httpunix
2157 (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
2160 (name "go-github-com-tv42-httpunix")
2161 (version (git-version "0.0.0" revision commit))
2166 (url "https://github.com/tv42/httpunix")
2168 (file-name (git-file-name name version))
2170 (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
2171 (build-system go-build-system)
2173 '(#:import-path "github.com/tv42/httpunix"))
2174 (home-page "https://github.com/tv42/httpunix")
2175 (synopsis "Go library to talk HTTP over Unix domain sockets")
2176 (description "This package is a Go library to talk HTTP over Unix domain
2178 (license license:expat))))
2180 (define-public go-github-com-blang-semver
2181 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
2184 (name "go-github-com-blang-semver")
2185 (version (git-version "0.0.0" revision commit))
2190 (url "https://github.com/blang/semver")
2192 (file-name (git-file-name name version))
2195 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
2196 (build-system go-build-system)
2198 '(#:import-path "github.com/blang/semver"))
2199 (home-page "https://github.com/blang/semver")
2200 (synopsis "Semantic versioning library written in Go")
2201 (description "Semver is a library for Semantic versioning written in Go.")
2202 (license license:expat))))
2204 (define-public go-github-com-emicklei-go-restful
2206 (name "go-github-com-emicklei-go-restful")
2212 (url "https://github.com/emicklei/go-restful")
2213 (commit (string-append "v" version))))
2214 (file-name (git-file-name name version))
2217 "0m1y5a6xr6hmdj77afrvyh2llkbhn1166lcrgis654shl8zs9qhz"))))
2218 (build-system go-build-system)
2220 '(#:import-path "github.com/emicklei/go-restful"))
2221 (home-page "https://github.com/emicklei/go-restful")
2222 (synopsis "Build REST-style web services using Go")
2223 (description "This package provides @code{go-restful}, which helps
2224 developers to use @code{http} methods explicitly and in a way that's consistent
2225 with the HTTP protocol definition.")
2226 (license license:expat)))
2228 (define-public go-github-com-google-cadvisor
2229 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
2232 (name "go-github-com-google-cadvisor")
2233 (version (git-version "0.0.0" revision commit))
2238 (url "https://github.com/google/cadvisor")
2240 (file-name (git-file-name name version))
2243 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
2244 (build-system go-build-system)
2246 '(#:import-path "github.com/google/cadvisor"))
2247 (home-page "https://github.com/google/cadvisor")
2248 (synopsis "Analyze resource usage of running containers")
2249 (description "The package provides @code{cadvisor}, which provides
2250 information about the resource usage and performance characteristics of running
2252 (license license:asl2.0))))
2254 (define-public go-github-com-google-gofuzz
2255 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
2258 (name "go-github-com-google-gofuzz")
2259 (version (git-version "0.0.0" revision commit))
2264 (url "https://github.com/google/gofuzz")
2266 (file-name (git-file-name name version))
2269 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
2270 (build-system go-build-system)
2272 '(#:import-path "github.com/google/gofuzz"))
2273 (home-page "https://github.com/google/gofuzz")
2274 (synopsis "Fuzz testing library for Go")
2275 (description "Gofuzz is a library for populationg Go objects with random
2276 values for the purpose of fuzz testing.")
2277 (license license:asl2.0))))
2279 (define-public go-github-com-gorilla-css
2281 (name "go-github-com-gorilla-css")
2286 (url "https://github.com/gorilla/css")
2287 (commit (string-append "v" version))))
2288 (file-name (git-file-name name version))
2291 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
2292 (build-system go-build-system)
2294 `(#:import-path "github.com/gorilla/css/scanner"
2295 #:unpack-path "github.com/gorilla/css"))
2296 (home-page "https://github.com/gorilla/css/")
2297 (synopsis "CSS3 tokenizer")
2298 (description "This package provides a CSS3 tokenizer.")
2299 (license license:bsd-3)))
2301 (define-public go-github-com-gorilla-context
2302 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
2305 (name "go-github-com-gorilla-context")
2306 (version (git-version "0.0.0" revision commit))
2311 (url "https://github.com/gorilla/context")
2313 (file-name (git-file-name name version))
2316 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
2317 (build-system go-build-system)
2319 '(#:import-path "github.com/gorilla/context"))
2320 (home-page "https://github.com/gorilla/context")
2321 (synopsis "Go registry for request variables")
2322 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
2323 (license license:bsd-3))))
2325 (define-public go-github-com-gorilla-mux
2327 (name "go-github-com-gorilla-mux")
2333 (url "https://github.com/gorilla/mux")
2334 (commit (string-append "v" version))))
2335 (file-name (git-file-name name version))
2338 "18f0q9qxgq1yh4ji07mqhiydfcwvi56z9d775v7dc7yckj33kpdk"))))
2339 (build-system go-build-system)
2341 '(#:import-path "github.com/gorilla/mux"))
2342 (home-page "https://github.com/gorilla/mux")
2343 (synopsis "URL router and dispatcher for Go")
2345 "Gorilla/Mux implements a request router and dispatcher for matching
2346 incoming requests with their respective handler.")
2347 (license license:bsd-3)))
2349 (define-public go-github-com-gorilla-handlers
2351 (name "go-github-com-gorilla-handlers")
2357 (url "https://github.com/gorilla/handlers")
2358 (commit (string-append "v" version))))
2359 (file-name (git-file-name name version))
2362 "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
2363 (build-system go-build-system)
2365 `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
2367 '(#:tests? #f ; Tries to download from the internet
2368 #:import-path "github.com/gorilla/handlers"))
2369 (home-page "https://github.com/gorilla/handlers")
2370 (synopsis "Middleware for Go HTTP services and web applications")
2371 (description "A collection of useful middleware for Go HTTP services
2372 and web applications.")
2373 (license license:bsd-3)))
2375 (define-public go-github-com-gorilla-securecookie
2377 (name "go-github-com-gorilla-securecookie")
2383 (url "https://github.com/gorilla/securecookie")
2384 (commit (string-append "v" version))))
2385 (file-name (git-file-name name version))
2388 "16bqimpxs9vj5n59vm04y04v665l7jh0sddxn787pfafyxcmh410"))))
2389 (build-system go-build-system)
2391 '(#:import-path "github.com/gorilla/securecookie"))
2392 (home-page "https://github.com/gorilla/securecookie")
2393 (synopsis "Encodes and decodes authenticated and optionally encrypted
2396 "Gorilla/securecookie encodes and decodes authenticated and optionally
2397 encrypted cookie values for Go web applications.")
2398 (license license:bsd-3)))
2400 (define-public go-github-com-gorilla-csrf
2402 (name "go-github-com-gorilla-csrf")
2408 (url "https://github.com/gorilla/csrf")
2409 (commit (string-append "v" version))))
2410 (file-name (git-file-name name version))
2413 "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav"))))
2414 (build-system go-build-system)
2416 `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie)
2417 ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
2419 '(#:import-path "github.com/gorilla/csrf"))
2420 (home-page "https://github.com/gorilla/csrf")
2421 (synopsis "Cross Site Request Forgery (CSRF) prevention middleware")
2423 "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention
2424 middleware for Go web applications and services.")
2425 (license license:bsd-3)))
2427 (define-public go-github-com-jonboulle-clockwork
2428 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
2431 (name "go-github-com-jonboulle-clockwork")
2432 (version (git-version "0.0.0" revision commit))
2437 (url "https://github.com/jonboulle/clockwork")
2439 (file-name (git-file-name name version))
2442 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
2443 (build-system go-build-system)
2445 '(#:import-path "github.com/jonboulle/clockwork"))
2446 (home-page "https://github.com/jonboulle/clockwork")
2447 (synopsis "Fake clock library for Go")
2449 "Replace uses of the @code{time} package with the
2450 @code{clockwork.Clock} interface instead.")
2451 (license license:asl2.0))))
2453 (define-public go-github-com-spf13-afero
2455 (name "go-github-com-spf13-afero")
2461 (url "https://github.com/spf13/afero")
2462 (commit (string-append "v" version))))
2463 (file-name (git-file-name name version))
2466 "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"))))
2467 (build-system go-build-system)
2469 `(#:import-path "github.com/spf13/afero"))
2471 `(("golang.org/x/text" ,go-golang-org-x-text)))
2472 (home-page "https://github.com/spf13/afero")
2473 (synopsis "File system abstraction for Go")
2475 "This package provides a file system abstraction for Go.")
2476 (license license:asl2.0)))
2478 (define-public go-github-com-spf13-cast
2480 (name "go-github-com-spf13-cast")
2486 (url "https://github.com/spf13/cast")
2487 (commit (string-append "v" version))))
2488 (file-name (git-file-name name version))
2491 "0lb84788glr0qzrq2ifi36rgvp96qrgywvxrr3ggq5hrbr38hgn1"))))
2492 (build-system go-build-system)
2494 `(#:import-path "github.com/spf13/cast"))
2496 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2497 (home-page "https://github.com/spf13/cast")
2498 (synopsis "Safe and easy casting from one type to another in Go")
2499 (description "Safe and easy casting from one type to another in Go")
2500 (license license:expat)))
2502 (define-public go-github-com-spf13-cobra
2504 (name "go-github-com-spf13-cobra")
2510 (url "https://github.com/spf13/cobra")
2511 (commit (string-append "v" version))))
2512 (file-name (git-file-name name version))
2515 "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h"))))
2516 (build-system go-build-system)
2518 `(#:import-path "github.com/spf13/cobra"))
2520 `(("github.com/spf13/pflag" ,go-github-com-spf13-pflag)))
2521 (home-page "https://github.com/spf13/cobra")
2522 (synopsis "Go library for creating CLI applications")
2523 (description "Cobra is both a library for creating powerful modern CLI
2524 applications as well as a program to generate applications and command files.")
2525 (license license:asl2.0)))
2527 (define-public go-github-com-spf13-jwalterweatherman
2529 (name "go-github-com-spf13-jwalterweatherman")
2535 (url "https://github.com/spf13/jwalterweatherman")
2536 (commit (string-append "v" version))))
2537 (file-name (git-file-name name version))
2540 "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"))))
2541 (build-system go-build-system)
2543 `(#:import-path "github.com/spf13/jwalterweatherman"))
2545 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2546 (home-page "https://github.com/spf13/jwalterweatherman")
2547 (synopsis "Go logging library")
2548 (description "Go logging library")
2549 (license license:expat)))
2551 (define-public go-github-com-spf13-pflag
2553 (name "go-github-com-spf13-pflag")
2559 (url "https://github.com/spf13/pflag")
2560 (commit (string-append "v" version))))
2561 (file-name (git-file-name name version))
2564 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
2565 (build-system go-build-system)
2567 '(#:import-path "github.com/spf13/pflag"))
2568 (home-page "https://github.com/spf13/pflag")
2569 (synopsis "Replacement for Go's @code{flag} package")
2571 "Pflag is library to replace Go's @code{flag} package. It implements
2572 POSIX/GNU-style command-line options with double hyphens. It is is compatible
2574 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
2575 GNU extensions} to the POSIX recommendations for command-line options.")
2576 (license license:bsd-3)))
2578 (define-public go-github-com-spf13-viper
2580 (name "go-github-com-spf13-viper")
2586 (url "https://github.com/spf13/viper")
2587 (commit (string-append "v" version))))
2588 (file-name (git-file-name name version))
2591 "099n2g7fg6r8hqyszqw2axr775qyhyvwhsykvgw0f0s16ql48h5c"))))
2592 (build-system go-build-system)
2594 '(#:import-path "github.com/spf13/viper"))
2596 `(("github.com/spf13/afero" ,go-github-com-spf13-afero)
2597 ("github.com/spf13/cast" ,go-github-com-spf13-cast)
2598 ("github.com/spf13/pflag" ,go-github-com-spf13-pflag)
2599 ("github.com/spf13/jwalterweatherman" ,go-github-com-spf13-jwalterweatherman)
2600 ("github.com/fsnotify/fsnotify" ,go-github-com-fsnotify-fsnotify)
2601 ("github.com/hashicorp/hcl" ,go-github-com-hashicorp-hcl)
2602 ("github.com/magiconair/properties" ,go-github-com-magiconair-properties)
2603 ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)
2604 ("github.com/pelletier/go-toml" ,go-github-com-pelletier-go-toml)
2605 ("github.com/subosito/gotenv" ,go-github-com-subosito-gotenv)
2607 ("gopkg.in/ini.v1" ,go-gopkg-in-ini-v1)
2608 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
2610 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2611 (home-page "https://github.com/spf13/viper")
2612 (synopsis "Go configuration with fangs")
2614 "Viper is a complete configuration solution for Go applications including
2615 12-Factor apps. It is designed to work within an application, and can handle
2616 all types of configuration needs and formats.")
2617 (license license:expat)))
2619 (define-public go-github-com-felixge-httpsnoop
2621 (name "go-github-com-felixge-httpsnoop")
2627 (url "https://github.com/felixge/httpsnoop")
2628 (commit (string-append "v" version))))
2629 (file-name (git-file-name name version))
2632 "0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac"))))
2633 (build-system go-build-system)
2635 '(#:import-path "github.com/felixge/httpsnoop"))
2636 (home-page "https://github.com/felixge/httpsnoop/")
2637 (synopsis "Capture http related metrics")
2639 "Httpsnoop provides an easy way to capture http related
2640 metrics (i.e. response time, bytes written, and http status code) from your
2641 application's http.Handlers.")
2642 (license license:expat)))
2644 (define-public go-github-com-fsnotify-fsnotify
2646 (name "go-github-com-fsnotify-fsnotify")
2652 (url "https://github.com/fsnotify/fsnotify")
2653 (commit (string-append "v" version))))
2654 (file-name (git-file-name name version))
2657 "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x"))))
2658 (build-system go-build-system)
2660 `(#:import-path "github.com/fsnotify/fsnotify"))
2662 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
2663 (home-page "https://github.com/fsnotify/fsnotify")
2664 (synopsis "File system notifications for Go")
2665 (description "File system notifications for Go")
2666 (license license:bsd-3)))
2668 (define-public go-github-com-magiconair-properties
2670 (name "go-github-com-magiconair-properties")
2676 (url "https://github.com/magiconair/properties")
2677 (commit (string-append "v" version))))
2678 (file-name (git-file-name name version))
2681 "0q7d55z0v8y55dyy8nhgdnswf5zkgj3i87irbk294nvzhx01bnxd"))))
2682 (build-system go-build-system)
2684 `(#:import-path "github.com/magiconair/properties"))
2685 (home-page "https://github.com/magiconair/properties")
2686 (synopsis "Java properties scanner for Go")
2687 (description "Java properties scanner for Go")
2688 (license license:bsd-2)))
2690 (define-public go-github-com-pelletier-go-toml
2692 (name "go-github-com-pelletier-go-toml")
2698 (url "https://github.com/pelletier/go-toml")
2699 (commit (string-append "v" version))))
2700 (file-name (git-file-name name version))
2703 "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y"))))
2704 (build-system go-build-system)
2706 `(#:import-path "github.com/pelletier/go-toml"))
2708 `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml)
2709 ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
2710 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
2711 (home-page "https://github.com/pelletier/go-toml")
2712 (synopsis "Go library for the TOML configuration language")
2713 (description "Go library for the TOML configuration language")
2714 (license license:expat)))
2716 (define-public go-github-com-subosito-gotenv
2718 (name "go-github-com-subosito-gotenv")
2724 (url "https://github.com/subosito/gotenv")
2725 (commit (string-append "v" version))))
2726 (file-name (git-file-name name version))
2729 "0mav91j7r4arjkpq5zcf9j74f6pww8ic53x43wy7kg3ibw31yjs5"))))
2730 (build-system go-build-system)
2732 `(#:import-path "github.com/subosito/gotenv"))
2734 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2735 (home-page "https://github.com/subosito/gotenv")
2736 (synopsis "Go library for loading environment variables from files")
2737 (description "Go library for loading environment variables from files")
2738 (license license:expat)))
2740 (define-public go-github-com-sirupsen-logrus
2742 (name "go-github-com-sirupsen-logrus")
2748 (url "https://github.com/sirupsen/logrus")
2749 (commit (string-append "v" version))))
2750 (file-name (git-file-name name version))
2753 "0rvqzic2zz7fpxyizmqxwmhv1m52ii9bgxnqa6km8wsa0l08wh42"))))
2754 (build-system go-build-system)
2756 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)
2757 ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)
2758 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
2759 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2760 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
2762 '(#:import-path "github.com/sirupsen/logrus"))
2763 (home-page "https://github.com/sirupsen/logrus")
2764 (synopsis "Structured, pluggable logging for Go")
2765 (description "Logrus is a structured logger for Go, completely API
2766 compatible with the standard library logger.")
2767 (license license:expat)))
2769 (define-public go-github-com-rifflock-lfshook
2771 (name "go-github-com-rifflock-lfshook")
2776 (url "https://github.com/rifflock/lfshook")
2777 (commit (string-append "v" version))))
2778 (file-name (git-file-name name version))
2781 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
2782 (build-system go-build-system)
2784 `(#:import-path "github.com/rifflock/lfshook"))
2786 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
2787 (home-page "https://github.com/rifflock/lfshook")
2788 (synopsis "Local File System hook for Logrus logger")
2789 (description "This package provides a hook for Logrus to write directly to
2790 a file on the file system. The log levels are dynamic at instantiation of the
2791 hook, so it is capable of logging at some or all levels.")
2792 (license license:expat)))
2794 (define-public go-github-com-kardianos-osext
2795 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
2798 (name "go-github-com-kardianos-osext")
2799 (version (git-version "0.0.0" revision commit))
2803 (url "https://github.com/kardianos/osext")
2805 (file-name (git-file-name name version))
2808 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
2809 (build-system go-build-system)
2811 `(#:import-path "github.com/kardianos/osext"
2812 ;; The tests are flaky:
2813 ;; <https://github.com/kardianos/osext/issues/21>
2815 (synopsis "Find the running executable")
2816 (description "Osext provides a method for finding the current executable
2817 file that is running. This can be used for upgrading the current executable or
2818 finding resources located relative to the executable file.")
2819 (home-page "https://github.com/kardianos/osext")
2820 (license license:bsd-3))))
2822 (define-public go-github-com-ayufan-golang-kardianos-service
2823 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
2826 (name "go-github-com-ayufan-golang-kardianos-service")
2827 (version (git-version "0.0.0" revision commit))
2833 "https://github.com/ayufan/golang-kardianos-service")
2835 (file-name (git-file-name name version))
2838 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
2839 (build-system go-build-system)
2841 `(("go-github-com-kardianos-osext"
2842 ,go-github-com-kardianos-osext)))
2844 '(#:tests? #f ;FIXME tests fail: Service is not running.
2845 #:import-path "github.com/ayufan/golang-kardianos-service"))
2846 (home-page "https://github.com/ayufan/golang-kardianos-service")
2847 (synopsis "Go interface to a variety of service supervisors")
2848 (description "This package provides @code{service}, a Go module that can
2849 run programs as a service using a variety of supervisors, including systemd,
2850 SysVinit, and more.")
2851 (license license:zlib))))
2853 (define-public go-github-com-docker-distribution
2854 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
2857 (name "go-github-com-docker-distribution")
2858 (version (git-version "0.0.0" revision commit))
2860 ;; FIXME: This bundles many things, see
2861 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
2865 (url "https://github.com/docker/distribution")
2867 (file-name (git-file-name name version))
2870 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
2871 (build-system go-build-system)
2873 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
2874 ("go-github-com-sirupsen-logrus"
2875 ,go-github-com-sirupsen-logrus)
2876 ("go-golang-org-x-crypto"
2877 ,go-golang-org-x-crypto)))
2879 '(#:import-path "github.com/docker/distribution"
2881 (modify-phases %standard-phases
2882 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
2883 (lambda* (#:key outputs #:allow-other-keys)
2885 (make-file-writable file))
2887 (assoc-ref outputs "out")
2891 "https://github.com/docker/distribution")
2892 (synopsis "This package is a Docker toolset to pack, ship, store, and
2894 (description "Docker Distribution is a Docker toolset to pack, ship,
2895 store, and deliver content. It contains Docker Registry 2.0 and libraries
2896 to interact with distribution components.")
2897 (license license:asl2.0))))
2899 (define-public go-github-com-docker-go-connections
2900 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
2903 (name "go-github-com-docker-go-connections")
2904 (version (git-version "0.0.0" revision commit))
2909 (url "https://github.com/docker/go-connections")
2911 (file-name (git-file-name name version))
2914 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
2915 (build-system go-build-system)
2917 '(#:import-path "github.com/docker/go-connections"))
2918 (home-page "https://github.com/docker/go-connections")
2919 (synopsis "Networking library for Go")
2921 "This package provides a library to work with network connections in
2922 the Go language. In particular it provides tools to deal with network address
2923 translation (NAT), proxies, sockets, and transport layer security (TLS).")
2924 (license license:asl2.0))))
2926 (define-public go-github-com-docker-machine
2927 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
2930 (name "go-github-com-docker-machine")
2931 (version (git-version "0.0.0" revision commit))
2936 (url "https://github.com/docker/machine")
2938 (file-name (git-file-name name version))
2941 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
2942 (build-system go-build-system)
2944 '(#:import-path "github.com/docker/machine"))
2945 (home-page "https://github.com/docker/machine")
2946 (synopsis "Machine management for a container-centric world")
2948 "@dfn{Machine} lets you create Docker hosts on your computer, on
2949 hosting providers, and inside your data center. It creates servers, installs
2950 Docker on them, then configures the Docker client to talk to them.")
2951 (license license:asl2.0))))
2953 (define-public go-github-com-gorhill-cronexpr
2954 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
2957 (name "go-github-com-gorhill-cronexpr")
2958 (version (git-version "0.0.0" revision commit))
2963 (url "https://github.com/gorhill/cronexpr")
2965 (file-name (git-file-name name version))
2968 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
2969 (build-system go-build-system)
2971 '(#:import-path "github.com/gorhill/cronexpr"))
2972 (home-page "https://github.com/gorhill/cronexpr")
2973 (synopsis "Cron expression parser in the Go language")
2975 "This package provides a cron expression parser in the Go language.
2976 Given a cron expression and a time stamp, you can get the next time stamp
2977 which satisfies the cron expression.")
2978 (license (list license:gpl3+
2981 (define-public go-gopkg-in-check-v1
2982 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
2985 (name "go-gopkg-in-check-v1")
2986 (version (git-version "1.0.0" revision commit))
2991 (url "https://github.com/go-check/check")
2993 (file-name (git-file-name name version))
2996 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
2997 (build-system go-build-system)
2999 '(#:import-path "gopkg.in/check.v1"))
3001 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
3002 (home-page "https://gopkg.in/check.v1")
3003 (synopsis "Test framework for the Go language")
3004 (description "This package provides a test library for the Go language.")
3005 (license license:asl2.0))))
3007 (define-public go-gopkg-in-ini-v1
3009 (name "go-gopkg-in-ini-v1")
3015 (url "https://github.com/go-ini/ini")
3016 (commit (string-append "v" version))))
3017 (file-name (git-file-name name version))
3020 "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5"))))
3021 (build-system go-build-system)
3023 '(#:import-path "gopkg.in/ini.v1"
3024 ;; Requires large unpackaged test framework
3026 (home-page "https://gopkg.in/ini.v1")
3027 (synopsis "Go library for ini files")
3028 (description "Go library for ini files")
3029 (license license:asl2.0)))
3031 (define-public go-gopkg-in-yaml-v2
3033 (name "go-gopkg-in-yaml-v2")
3039 (url "https://gopkg.in/yaml.v2.git")
3040 (commit (string-append "v" version))))
3041 (file-name (git-file-name name version))
3044 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
3045 (build-system go-build-system)
3047 '(#:import-path "gopkg.in/yaml.v2"))
3049 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
3050 (home-page "https://gopkg.in/yaml.v2")
3051 (synopsis "YAML reader and writer for the Go language")
3053 "This package provides a Go library for encode and decode YAML
3055 (license license:asl2.0)))
3057 (define-public go-gopkg-in-yaml-v3
3059 (name "go-gopkg-in-yaml-v3")
3065 (url "https://gopkg.in/yaml.v3")
3066 (commit (string-append "v" version))))
3067 (file-name (git-file-name name version))
3069 (base32 "06f4lnrp494wqaygv09dggr2dwf3z2bawqhnlnnwiamg5y787k4g"))))
3070 (build-system go-build-system)
3072 '(#:import-path "gopkg.in/yaml.v3"))
3074 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
3075 (home-page "https://gopkg.in/yaml.v3")
3076 (synopsis "YAML reader and writer for the Go language")
3078 "This package provides a Go library for encode and decode YAML values.
3079 The yaml package supports most of YAML 1.2, but preserves some behavior from
3080 1.1 for backwards compatibility.")
3081 (license license:asl2.0)))
3083 (define-public go-github-com-mattn-go-isatty
3085 (name "go-github-com-mattn-go-isatty")
3091 (url "https://github.com/mattn/go-isatty")
3092 (commit (string-append "v" version))))
3093 (file-name (git-file-name name version))
3096 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
3097 (build-system go-build-system)
3099 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
3101 '(#:import-path "github.com/mattn/go-isatty"))
3102 (home-page "https://github.com/mattn/go-isatty")
3103 (synopsis "Provide @code{isatty} for Golang")
3104 (description "This package provides @code{isatty}, a Go module that can
3105 tell you whether a file descriptor points to a terminal and the type of the
3107 (license license:expat)))
3109 (define-public go-github-com-mattn-go-colorable
3111 (name "go-github-com-mattn-go-colorable")
3113 (home-page "https://github.com/mattn/go-colorable")
3119 (commit (string-append "v" version))))
3120 (file-name (git-file-name name version))
3123 "0q34zqwbnls72md8q8mhj368s7p3i4xspvs3rk8fs76s0pn7dr2l"))))
3124 (build-system go-build-system)
3126 `(("go-github-com-mattn-go-isatty"
3127 ,go-github-com-mattn-go-isatty)))
3129 '(#:import-path "github.com/mattn/go-colorable"))
3130 (synopsis "Handle ANSI color escapes on Windows")
3131 (description "This package provides @code{colorable}, a module that
3132 makes it possible to handle ANSI color escapes on Windows.")
3133 (license license:expat)))
3135 (define-public go-github-com-mattn-go-pointer
3136 (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
3139 (name "go-github-com-mattn-go-pointer")
3140 (version (git-version "0.0.0" revision commit))
3145 (url "https://github.com/mattn/go-pointer")
3149 "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
3150 (file-name (git-file-name name version))))
3151 (build-system go-build-system)
3153 '(#:import-path "github.com/mattn/go-pointer"))
3154 (home-page "https://github.com/mattn/go-pointer")
3155 (synopsis "Utility for cgo")
3157 "This package allows for a cgo argument to be passed a Go pointer.")
3158 (license license:expat))))
3160 (define-public go-github-com-mgutz-ansi
3161 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
3164 (name "go-github-com-mgutz-ansi")
3165 (version (git-version "0.0.0" revision commit))
3171 "https://github.com/mgutz/ansi")
3173 (file-name (git-file-name name version))
3176 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
3177 (build-system go-build-system)
3179 `(("go-github-com-mattn-go-isatty"
3180 ,go-github-com-mattn-go-isatty)
3181 ("go-github-com-mattn-go-colorable"
3182 ,go-github-com-mattn-go-colorable)))
3184 '(#:import-path "github.com/mgutz/ansi"))
3185 (home-page "https://github.com/mgutz/ansi")
3186 (synopsis "Small, fast library to create ANSI colored strings and codes")
3187 (description "This package provides @code{ansi}, a Go module that can
3188 generate ANSI colored strings.")
3189 (license license:expat))))
3191 (define-public go-github-com-aarzilli-golua
3192 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
3195 (name "go-github-com-aarzilli-golua")
3196 (version (git-version "0.0.0" revision commit))
3202 "https://github.com/aarzilli/golua")
3204 (file-name (git-file-name name version))
3207 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
3208 (build-system go-build-system)
3209 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
3210 ;; when this package required as input for another one, it will have to
3211 ;; be built again. Thus its CGO requirements must be made available in
3212 ;; the environment, that is, they must be propagated.
3216 `(#:unpack-path "github.com/aarzilli/golua"
3217 #:import-path "github.com/aarzilli/golua/lua"
3219 (modify-phases %standard-phases
3220 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
3221 ;; command line argument, go-1.10+ does not re-use the produced pkg
3222 ;; for dependencies, which means we would need to propagate the
3223 ;; same "-tags" argument to all golua referrers. A substitution is
3224 ;; more convenient here. We also need to propagate the lua
3225 ;; dependency to make it available to referrers.
3226 (add-after 'unpack 'fix-lua-ldflags
3228 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
3229 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
3230 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
3231 (home-page "https://github.com/aarzilli/golua")
3232 (synopsis "Go Bindings for the Lua C API")
3233 (description "This package provides @code{lua}, a Go module that can
3234 run a Lua virtual machine.")
3235 (license license:expat))))
3237 (define-public go-gitlab-com-ambrevar-golua-unicode
3238 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
3241 (name "go-gitlab-com-ambrevar-golua-unicode")
3242 (version (git-version "0.0.0" revision commit))
3248 "https://gitlab.com/ambrevar/golua")
3250 (file-name (git-file-name name version))
3253 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
3254 (build-system go-build-system)
3257 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
3259 `(#:unpack-path "gitlab.com/ambrevar/golua"
3260 #:import-path "gitlab.com/ambrevar/golua/unicode"
3262 (modify-phases %standard-phases
3264 (lambda* (#:key import-path #:allow-other-keys)
3265 (setenv "USER" "homeless-dude")
3266 (invoke "go" "test" import-path))))))
3267 (home-page "https://gitlab.com/ambrevar/golua")
3268 (synopsis "Add Unicode support to Golua")
3269 (description "This extension to Arzilli's Golua adds Unicode support to
3270 all functions from the Lua string library. Lua patterns are replaced by Go
3271 regexps. This breaks compatibility with Lua, but Unicode support breaks it
3272 anyways and Go regexps are more powerful.")
3273 (license license:expat))))
3275 (define-public go-github-com-yookoala-realpath
3276 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
3279 (name "go-github-com-yookoala-realpath")
3280 (version (git-version "0.0.0" revision commit))
3286 "https://github.com/yookoala/realpath")
3288 (file-name (git-file-name name version))
3291 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
3292 (build-system go-build-system)
3294 `(#:import-path "github.com/yookoala/realpath"))
3295 (home-page "https://github.com/yookoala/realpath")
3296 (synopsis "@code{realpath} for Golang")
3297 (description "This package provides @code{realpath}, a Go module that
3298 when provided with a valid relative path / alias path, it will return you with
3299 a string of its real absolute path in the system.")
3300 (license license:expat))))
3302 (define-public go-gitlab-com-ambrevar-damerau
3303 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
3306 (name "go-gitlab-com-ambrevar-damerau")
3307 (version (git-version "0.0.0" revision commit))
3313 "https://gitlab.com/ambrevar/damerau")
3315 (file-name (git-file-name name version))
3318 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
3319 (build-system go-build-system)
3321 `(#:import-path "gitlab.com/ambrevar/damerau"))
3322 (home-page "https://gitlab.com/ambrevar/damerau")
3323 (synopsis "Damerau-Levenshtein distance for Golang")
3324 (description "This is a spelling corrector implementing the
3325 Damerau-Levenshtein distance. Takes a string value input from the user.
3326 Looks for an identical word on a list of words, if none is found, look for a
3328 (license license:expat))))
3330 (define-public go-github-com-stevedonovan-luar
3331 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
3334 (name "go-github-com-stevedonovan-luar")
3335 (version (git-version "0.0.0" revision commit))
3341 "https://github.com/stevedonovan/luar")
3343 (file-name (git-file-name name version))
3346 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
3347 (build-system go-build-system)
3349 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
3351 `(#:tests? #f ; Upstream tests are broken.
3352 #:import-path "github.com/stevedonovan/luar"))
3353 (home-page "https://github.com/stevedonovan/luar")
3354 (synopsis "Lua reflection bindings for Go")
3355 (description "Luar is designed to make using Lua from Go more
3356 convenient. Go structs, slices and maps can be automatically converted to Lua
3357 tables and vice-versa. The resulting conversion can either be a copy or a
3358 proxy. In the latter case, any change made to the result will reflect on the
3361 Any Go function can be made available to Lua scripts, without having to write
3364 Luar support cyclic structures (lists, etc.).
3366 User-defined types can be made available to Lua as well: their exported
3367 methods can be called and usual operations such as indexing or arithmetic can
3369 (license license:expat))))
3371 (define-public go-github-com-michiwend-golang-pretty
3372 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
3375 (name "go-github-com-michiwend-golang-pretty")
3376 (version (git-version "0.0.0" revision commit))
3382 "https://github.com/michiwend/golang-pretty")
3384 (file-name (git-file-name name version))
3387 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
3388 (build-system go-build-system)
3390 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
3392 `(#:tests? #f ; Upstream tests seem to be broken.
3393 #:import-path "github.com/michiwend/golang-pretty"))
3394 (home-page "https://github.com/michiwend/golang-pretty")
3395 (synopsis "Pretty printing for Go values")
3396 (description "Package @code{pretty} provides pretty-printing for Go
3397 values. This is useful during debugging, to avoid wrapping long output lines
3400 It provides a function, @code{Formatter}, that can be used with any function
3401 that accepts a format string. It also provides convenience wrappers for
3402 functions in packages @code{fmt} and @code{log}.")
3403 (license license:expat))))
3405 (define-public go-github-com-michiwend-gomusicbrainz
3406 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
3409 (name "go-github-com-michiwend-gomusicbrainz")
3410 (version (git-version "0.0.0" revision commit))
3416 "https://github.com/michiwend/gomusicbrainz")
3418 (file-name (git-file-name name version))
3421 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
3422 (build-system go-build-system)
3424 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
3425 ("go-github-com-kr-text" ,go-github-com-kr-text)))
3427 `(#:import-path "github.com/michiwend/gomusicbrainz"))
3428 (home-page "https://github.com/michiwend/gomusicbrainz")
3429 (synopsis "MusicBrainz WS2 client library for Golang")
3430 (description "Currently GoMusicBrainz provides methods to perform search
3431 and lookup requests. Browse requests are not supported yet.")
3432 (license license:expat))))
3434 (define-public go-github-com-wtolson-go-taglib
3435 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
3438 (name "go-github-com-wtolson-go-taglib")
3439 (version (git-version "0.0.0" revision commit))
3445 "https://github.com/wtolson/go-taglib")
3447 (file-name (git-file-name name version))
3450 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
3451 (build-system go-build-system)
3452 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
3453 ;; when this package required as input for another one, it will have to
3454 ;; be built again. Thus its CGO requirements must be made available in
3455 ;; the environment, that is, they must be propagated.
3457 `(("pkg-config" ,pkg-config)
3458 ("taglib" ,taglib)))
3460 `(#:import-path "github.com/wtolson/go-taglib"
3461 ;; Tests don't pass "vet" on Go since 1.11. See
3462 ;; https://github.com/wtolson/go-taglib/issues/12.
3464 (modify-phases %standard-phases
3466 (lambda* (#:key import-path #:allow-other-keys)
3470 (home-page "https://github.com/wtolson/go-taglib")
3471 (synopsis "Go wrapper for taglib")
3472 (description "Go wrapper for taglib")
3473 (license license:unlicense))))
3475 (define-public go-github-com-gogo-protobuf
3477 (name "go-github-com-gogo-protobuf")
3482 (url "https://github.com/gogo/protobuf")
3483 (commit (string-append "v" version))))
3484 (file-name (git-file-name name version))
3487 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
3488 (build-system go-build-system)
3490 `(#:import-path "github.com/gogo/protobuf"
3491 ; Source-only package
3494 (modify-phases %standard-phases
3496 (synopsis "Protocol Buffers for Go with Gadgets")
3497 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
3498 generation features. This code generation is used to achieve:
3500 @item fast marshalling and unmarshalling
3501 @item more canonical Go structures
3502 @item goprotobuf compatibility
3503 @item less typing by optionally generating extra helper code
3504 @item peace of mind by optionally generating test and benchmark code
3505 @item other serialization formats
3507 (home-page "https://github.com/gogo/protobuf")
3508 (license license:bsd-3)))
3510 (define-public go-github-com-libp2p-go-flow-metrics
3511 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
3514 (name "go-github-com-libp2p-go-flow-metrics")
3515 (version (git-version "0.2.0" revision commit))
3520 (url "https://github.com/libp2p/go-flow-metrics")
3522 (file-name (git-file-name name version))
3525 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
3526 (build-system go-build-system)
3528 `(#:import-path "github.com/libp2p/go-flow-metrics"
3529 ;; TODO: Tests hang.
3532 "https://github.com/libp2p/go-flow-metrics")
3533 (synopsis "Simple library for tracking flow metrics")
3534 (description "A simple alternative to rcrowley's @command{go-metrics}
3535 that's a lot faster (and only does simple bandwidth metrics).")
3536 (license license:expat))))
3538 (define-public go-github-com-davecgh-go-spew
3540 (name "go-github-com-davecgh-go-spew")
3546 (url "https://github.com/davecgh/go-spew")
3547 (commit (string-append "v" version))))
3548 (file-name (git-file-name name version))
3551 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
3552 (build-system go-build-system)
3554 '(#:unpack-path "github.com/davecgh/go-spew"
3555 #:import-path "github.com/davecgh/go-spew/spew"))
3556 (home-page "https://github.com/davecgh/go-spew")
3557 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
3558 (description "Package @command{spew} implements a deep pretty printer
3559 for Go data structures to aid in debugging.
3561 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
3564 @item Pointers are dereferenced and followed.
3565 @item Circular data structures are detected and handled properly.
3566 @item Custom Stringer/error interfaces are optionally invoked, including on
3568 @item Custom types which only implement the Stringer/error interfaces via a
3569 pointer receiver are optionally invoked when passing non-pointer variables.
3570 @item Byte arrays and slices are dumped like the hexdump -C command which
3571 includes offsets, byte values in hex, and ASCII output (only when using Dump
3574 (license license:isc)))
3576 (define-public go-github-com-btcsuite-btclog
3577 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
3580 (name "go-github-com-btcsuite-btclog")
3581 (version (git-version "0.0.3" revision commit))
3586 (url "https://github.com/btcsuite/btclog")
3588 (file-name (git-file-name name version))
3591 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
3592 (build-system go-build-system)
3594 '(#:import-path "github.com/btcsuite/btclog"))
3595 (home-page "https://github.com/btcsuite/btclog")
3596 (synopsis "Subsystem aware logger for Go")
3597 (description "Package @command{btclog} defines a logger interface and
3598 provides a default implementation of a subsystem-aware leveled logger
3599 implementing the same interface.")
3600 (license license:isc))))
3602 (define-public go-github-com-btcsuite-btcd-btcec
3603 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
3606 (name "go-github-com-btcsuite-btcd-btcec")
3607 (version (git-version "0.12.0-beta" revision commit))
3612 (url "https://github.com/btcsuite/btcd")
3614 (file-name (git-file-name name version))
3617 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
3618 (build-system go-build-system)
3620 '(#:unpack-path "github.com/btcsuite/btcd"
3621 #:import-path "github.com/btcsuite/btcd/btcec"))
3623 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
3624 (home-page "https://github.com/btcsuite/btcd")
3625 (synopsis "Elliptic curve cryptography to work with Bitcoin")
3626 (description "Package @command{btcec} implements elliptic curve
3627 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
3628 designed so that it may be used with the standard crypto/ecdsa packages
3629 provided with Go. A comprehensive suite of test is provided to ensure proper
3630 functionality. Package @command{btcec} was originally based on work from
3631 ThePiachu which is licensed under the same terms as Go, but it has
3632 significantly diverged since then. The @command{btcsuite} developers original
3633 is licensed under the liberal ISC license.
3635 Although this package was primarily written for btcd, it has intentionally
3636 been designed so it can be used as a standalone package for any projects
3637 needing to use secp256k1 elliptic curve cryptography.")
3638 (license license:isc))))
3640 (define-public go-github-com-minio-sha256-simd
3642 (name "go-github-com-minio-sha256-simd")
3648 (url "https://github.com/minio/sha256-simd")
3649 (commit (string-append "v" version))))
3650 (file-name (git-file-name name version))
3653 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
3654 (build-system go-build-system)
3656 '(#:import-path "github.com/minio/sha256-simd"))
3657 (home-page "https://github.com/minio/sha256-simd")
3658 (synopsis "Accelerate SHA256 computations in pure Go")
3659 (description "Accelerate SHA256 computations in pure Go using AVX512 and
3660 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
3661 improvement (over 3 GB/s per core) in comparison to AVX2.
3663 This package is designed as a replacement for @command{crypto/sha256}. For
3664 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
3665 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
3666 of the SHA2 instructions resulting in a massive performance improvement.
3668 This package uses Golang assembly. The AVX512 version is based on the Intel's
3669 \"multi-buffer crypto library for IPSec\" whereas the other Intel
3670 implementations are described in \"Fast SHA-256 Implementations on Intel
3671 Architecture Processors\" by J. Guilford et al.")
3672 (license license:asl2.0)))
3674 (define-public go-github-com-libp2p-go-libp2p-crypto
3675 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
3678 (name "go-github-com-libp2p-go-libp2p-crypto")
3679 (version (git-version "2.0.1" revision commit))
3684 (url "https://github.com/libp2p/go-libp2p-crypto")
3686 (file-name (git-file-name name version))
3689 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
3690 (build-system go-build-system)
3692 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
3694 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3695 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
3696 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
3697 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
3699 "https://github.com/libp2p/go-libp2p-crypto")
3700 (synopsis "Various cryptographic utilities used by IPFS")
3701 (description "Various cryptographic utilities used by IPFS")
3702 (license license:expat))))
3704 (define-public go-github-com-mr-tron-base58
3705 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
3708 (name "go-github-com-mr-tron-base58")
3709 (version (git-version "1.1.0" revision commit))
3714 (url "https://github.com/mr-tron/base58")
3716 (file-name (git-file-name name version))
3719 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
3720 (build-system go-build-system)
3722 `(#:unpack-path "github.com/mr-tron/base58"
3723 #:import-path "github.com/mr-tron/base58/base58"))
3724 (home-page "https://github.com/mr-tron/base58")
3725 (synopsis "Fast implementation of base58 encoding on Golang")
3726 (description "Fast implementation of base58 encoding on Golang. A
3727 trivial @command{big.Int} encoding benchmark results in 6 times faster
3728 encoding and 8 times faster decoding.")
3729 (license license:expat))))
3731 (define-public go-github-com-gxed-hashland-keccakpg
3732 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
3735 (name "go-github-com-gxed-hashland-keccakpg")
3736 (version (git-version "0.0.0" revision commit))
3741 (url "https://github.com/gxed/hashland")
3743 (file-name (git-file-name name version))
3746 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
3747 (build-system go-build-system)
3749 '(#:unpack-path "github.com/gxed/hashland"
3750 #:import-path "github.com/gxed/hashland/keccakpg"))
3751 (home-page "https://github.com/gxed/hashland")
3752 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
3753 (description "Package @command{keccak} implements the Keccak (SHA-3)
3754 hash algorithm. See http://keccak.noekeon.org.")
3755 (license license:expat))))
3757 (define-public go-github-com-minio-blake2b-simd
3758 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
3761 (name "go-github-com-minio-blake2b-simd")
3762 (version (git-version "0.0.0" revision commit))
3767 (url "https://github.com/minio/blake2b-simd")
3769 (file-name (git-file-name name version))
3772 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
3773 (build-system go-build-system)
3775 '(#:import-path "github.com/minio/blake2b-simd"))
3776 (home-page "https://github.com/minio/blake2b-simd")
3777 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
3778 (description "This package was initially based on the pure go BLAKE2b
3779 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
3780 optimized BLAKE2 implementation (which in turn is based on the official
3781 implementation. It does so by using Go's Assembler for amd64 architectures
3782 with a golang only fallback for other architectures.
3784 In addition to AVX there is also support for AVX2 as well as SSE. Best
3785 performance is obtained with AVX2 which gives roughly a 4X performance
3786 increase approaching hashing speeds of 1GB/sec on a single core.")
3787 (license license:asl2.0))))
3789 (define-public go-github-com-spaolacci-murmur3
3791 (name "go-github-com-spaolacci-murmur3")
3797 (url "https://github.com/spaolacci/murmur3")
3798 (commit (string-append "v" version))))
3799 (file-name (git-file-name name version))
3802 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
3803 (build-system go-build-system)
3805 '(#:import-path "github.com/spaolacci/murmur3"))
3806 (home-page "https://github.com/spaolacci/murmur3")
3807 (synopsis "Native MurmurHash3 Go implementation")
3808 (description "Native Go implementation of Austin Appleby's third MurmurHash
3809 revision (aka MurmurHash3).
3811 Reference algorithm has been slightly hacked as to support the streaming mode
3812 required by Go's standard Hash interface.")
3813 (license license:bsd-3)))
3815 (define-public go-github-com-twmb-murmur3
3817 (name "go-github-com-twmb-murmur3")
3823 (url "https://github.com/twmb/murmur3")
3824 (commit (string-append "v" version))))
3825 (file-name (git-file-name name version))
3828 "00riapwkyf23l5wyis47mbr8rwr4yrjw491jfc30wpzs111c1gyy"))))
3829 (build-system go-build-system)
3831 '(#:import-path "github.com/twmb/murmur3"))
3832 (home-page "https://github.com/twmb/murmur3")
3833 (synopsis "Native MurmurHash3 Go implementation")
3834 (description "Native Go implementation of Austin Appleby's third
3835 MurmurHash revision (aka MurmurHash3).
3837 Reference algorithm has been slightly hacked as to support the streaming mode
3838 required by Go's standard Hash interface.")
3839 (license license:bsd-3)))
3841 (define-public go-github-com-multiformats-go-multihash
3842 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
3845 (name "go-github-com-multiformats-go-multihash")
3846 (version (git-version "1.0.8" revision commit))
3851 (url "https://github.com/multiformats/go-multihash")
3853 (file-name (git-file-name name version))
3856 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
3857 (build-system go-build-system)
3859 '(#:import-path "github.com/multiformats/go-multihash"))
3861 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3862 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3863 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3864 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3865 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3866 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3867 (home-page "https://github.com/multiformats/go-multihash")
3868 (synopsis "Multihash implementation in Go")
3869 (description "Multihash implementation in Go.")
3870 (license license:expat))))
3872 (define-public go-github-com-libp2p-go-libp2p-peer
3873 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
3876 (name "go-github-com-libp2p-go-libp2p-peer")
3877 (version (git-version "2.3.8" revision commit))
3882 (url "https://github.com/libp2p/go-libp2p-peer")
3884 (file-name (git-file-name name version))
3887 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
3888 (build-system go-build-system)
3890 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
3892 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
3893 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
3894 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3895 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3896 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
3897 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3898 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
3899 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3900 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3901 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3902 (home-page "https://github.com/libp2p/go-libp2p-peer")
3903 (synopsis "PKI based identities for use in go-libp2p")
3904 (description "PKI based identities for use in @command{go-libp2p}.")
3905 (license license:expat))))
3907 (define-public go-github-com-libp2p-go-libp2p-protocol
3908 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
3911 (name "go-github-com-libp2p-go-libp2p-protocol")
3912 (version (git-version "1.0.0" revision commit))
3917 (url "https://github.com/libp2p/go-libp2p-protocol")
3919 (file-name (git-file-name name version))
3922 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
3923 (build-system go-build-system)
3926 "github.com/libp2p/go-libp2p-protocol"))
3927 (home-page "https://github.com/libp2p/go-libp2p-protocol")
3928 (synopsis "Type for protocol strings in Golang")
3929 (description "Just a type for protocol strings. Nothing more.")
3930 (license license:expat))))
3932 (define-public go-github-com-libp2p-go-libp2p-metrics
3933 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
3936 (name "go-github-com-libp2p-go-libp2p-metrics")
3937 (version (git-version "2.1.6" revision commit))
3942 (url "https://github.com/libp2p/go-libp2p-metrics")
3944 (file-name (git-file-name name version))
3947 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
3948 (build-system go-build-system)
3950 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
3952 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
3953 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
3954 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
3955 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
3956 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3957 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
3958 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
3959 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
3960 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3961 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3962 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3963 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3964 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3965 (home-page "https://github.com/libp2p/go-libp2p-metrics")
3966 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
3967 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
3968 statistics for wrapped connections.")
3969 (license license:expat))))
3971 (define-public go-github-com-mitchellh-go-homedir
3972 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
3975 (name "go-github-com-mitchellh-go-homedir")
3976 (version (git-version "1.0.0" revision commit))
3981 (url "https://github.com/mitchellh/go-homedir")
3983 (file-name (git-file-name name version))
3986 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
3987 (build-system go-build-system)
3989 (quote (#:import-path "github.com/mitchellh/go-homedir"
3990 ;; TODO: Tests fail because it tries to access home.
3992 (home-page "https://github.com/mitchellh/go-homedir")
3993 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
3994 (description "This is a Go library for detecting the user's home
3995 directory without the use of @command{cgo}, so the library can be used in
3996 cross-compilation environments.
3998 Usage is simple, just call homedir.Dir() to get the home directory for a user,
3999 and homedir.Expand() to expand the @command{~} in a path to the home
4002 Why not just use @command{os/user}? The built-in @command{os/user} package
4003 requires cgo on Darwin systems. This means that any Go code that uses that
4004 package cannot cross compile. But 99% of the time the use for
4005 @command{os/user} is just to retrieve the home directory, which we can do for
4006 the current user without cgo. This library does that, enabling
4007 cross-compilation.")
4008 (license license:expat))))
4010 (define-public go-github-com-mitchellh-mapstructure
4012 (name "go-github-com-mitchellh-mapstructure")
4013 (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0
4018 (url "https://github.com/mitchellh/mapstructure")
4019 (commit (string-append "v" version))))
4020 (file-name (git-file-name name version))
4023 "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"))))
4024 (build-system go-build-system)
4026 `(#:import-path "github.com/mitchellh/mapstructure"))
4027 (home-page "https://github.com/mitchellh/mapstructure")
4028 (synopsis "Go library for decoding generic map values")
4029 (description "Go library for decoding generic map values")
4030 (license license:expat)))
4032 (define-public go-github-com-mitchellh-reflectwalk
4034 (name "go-github-com-mitchellh-reflectwalk")
4039 (url "https://github.com/mitchellh/reflectwalk")
4040 (commit (string-append "v" version))))
4041 (file-name (git-file-name name version))
4044 "0pa6a3nhzwv5s5yqcmsmsfhdp5ggxsg2wa86f3akawxrhrkjarnx"))))
4045 (build-system go-build-system)
4047 `(#:import-path "github.com/mitchellh/reflectwalk"))
4048 (home-page "https://github.com/mitchellh/reflectwalk/")
4049 (synopsis "Walk a value in Go using reflection")
4050 (description "reflectwalk is a Go library for \"walking\" a value in Go
4051 using reflection, in the same way a directory tree can be \"walked\" on the
4052 file system. Walking a complex structure can allow you to do manipulations on
4053 unknown structures such as those decoded from JSON.")
4054 (license license:expat)))
4056 (define-public go-github-com-mitchellh-copystructure
4058 (name "go-github-com-mitchellh-copystructure")
4064 (url "https://github.com/mitchellh/copystructure")
4065 (commit (string-append "v" version))))
4066 (file-name (git-file-name name version))
4069 "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
4070 (build-system go-build-system)
4072 `(#:import-path "github.com/mitchellh/copystructure"))
4074 `(("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)))
4075 (home-page "https://github.com/mitchellh/copystructure")
4076 (synopsis "Go library for decoding deep copying values")
4077 (description "@code{copystructure} is a Go library for deep copying values
4080 This allows you to copy Go values that may contain reference values such as
4081 maps, slices, or pointers, and copy their data as well instead of just their
4083 (license license:expat)))
4085 (define-public go-github-com-multiformats-go-multiaddr
4086 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
4089 (name "go-github-com-multiformats-go-multiaddr")
4090 (version (git-version "1.3.0" revision commit))
4095 (url "https://github.com/multiformats/go-multiaddr")
4097 (file-name (git-file-name name version))
4100 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
4101 (build-system go-build-system)
4104 "github.com/multiformats/go-multiaddr"))
4106 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
4107 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
4108 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
4109 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
4110 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
4111 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
4112 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4113 (home-page "https://github.com/multiformats/go-multiaddr")
4114 (synopsis "Composable and future-proof network addresses")
4115 (description "Multiaddr is a standard way to represent addresses that
4119 @item Support any standard network protocols.
4120 @item Self-describe (include protocols).
4121 @item Have a binary packed format.
4122 @item Have a nice string representation.
4123 @item Encapsulate well.
4125 (license license:expat))))
4127 (define-public go-github-com-multiformats-go-multiaddr-net
4128 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
4131 (name "go-github-com-multiformats-go-multiaddr-net")
4132 (version (git-version "1.6.3" revision commit))
4137 (url "https://github.com/multiformats/go-multiaddr-net")
4139 (file-name (git-file-name name version))
4142 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
4143 (build-system go-build-system)
4145 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
4146 ;; TODO: Tests fail because they try to access the network.
4149 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
4150 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
4151 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
4152 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
4153 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
4154 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
4155 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
4156 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4157 (home-page "https://github.com/multiformats/go-multiaddr-net")
4158 (synopsis "Multiaddress net tools")
4159 (description "This package provides Multiaddr specific versions of
4160 common functions in stdlib's @command{net} package. This means wrappers of
4161 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
4162 as conversion to and from @command{net.Addr}.")
4163 (license license:expat))))
4165 (define-public go-github-com-whyrusleeping-tar-utils
4166 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
4169 (name "go-github-com-whyrusleeping-tar-utils")
4170 (version (git-version "0.0.0" revision commit))
4175 (url "https://github.com/whyrusleeping/tar-utils")
4177 (file-name (git-file-name name version))
4180 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
4181 (build-system go-build-system)
4184 "github.com/whyrusleeping/tar-utils"))
4185 (home-page "https://github.com/whyrusleeping/tar-utils")
4186 (synopsis "Tar utilities extracted from go-ipfs codebase")
4187 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
4188 (license license:expat))))
4190 (define-public go-github-com-cheekybits-is
4191 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
4194 (name "go-github-com-cheekybits-is")
4195 (version (git-version "0.0.0" revision commit))
4200 (url "https://github.com/cheekybits/is")
4202 (file-name (git-file-name name version))
4205 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
4206 (build-system go-build-system)
4208 '(#:import-path "github.com/cheekybits/is"))
4209 (home-page "https://github.com/cheekybits/is")
4210 (synopsis "Mini testing helper for Go")
4211 (description "A mini testing helper for Go.
4214 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
4215 @item It plugs into existing Go toolchain (uses @command{testing.T}).
4216 @item It's obvious for newcomers.
4217 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
4218 - because testing panics is ugly.
4220 (license license:expat))))
4222 (define-public go-github-com-sabhiram-go-gitignore
4223 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
4226 (name "go-github-com-sabhiram-go-gitignore")
4227 (version (git-version "1.0.2" revision commit))
4232 (url "https://github.com/sabhiram/go-gitignore")
4234 (file-name (git-file-name name version))
4237 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
4238 (build-system go-build-system)
4241 "github.com/sabhiram/go-gitignore"))
4243 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4244 (home-page "https://github.com/sabhiram/go-gitignore")
4245 (synopsis "Gitignore parser for Go")
4246 (description "A @command{.gitignore} parser for Go.")
4247 (license license:expat))))
4249 (define-public go-github-com-urfave-cli
4251 (name "go-github-com-urfave-cli")
4257 (url "https://github.com/urfave/cli")
4258 (commit (string-append "v" version))))
4259 (file-name (git-file-name name version))
4262 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
4263 (build-system go-build-system)
4265 '(#:import-path "github.com/urfave/cli"))
4267 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
4268 (home-page "https://github.com/urfave/cli")
4269 (synopsis "Simple, fast, and fun package for building command line apps in Go")
4270 (description "@command{cli} is a simple, fast, and fun package for
4271 building command line apps in Go. The goal is to enable developers to write
4272 fast and distributable command line applications in an expressive way.")
4273 (license license:expat)))
4275 (define-public go-github-com-urfave-cli-v2
4277 (inherit go-github-com-urfave-cli)
4278 (name "go-github-com-urfave-cli-v2")
4284 (url "https://github.com/urfave/cli")
4285 (commit (string-append "v" version))))
4286 (file-name (git-file-name name version))
4288 (base32 "08pvn7gyfznni72xrxfh2x6xxa8ykr7l1ka278js8g8qkh71bj8l"))))
4290 '(#:import-path "github.com/urfave/cli/v2"))))
4292 (define-public go-github-com-go-md2man
4294 (name "go-github-com-go-md2man")
4300 (url "https://github.com/cpuguy83/go-md2man")
4301 (commit (string-append "v" version))))
4302 (file-name (git-file-name name version))
4305 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
4306 (modules '((guix build utils)))
4308 (delete-file-recursively "vendor")
4310 (build-system go-build-system)
4312 '(#:import-path "github.com/cpuguy83/go-md2man"))
4314 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
4315 (home-page "https://github.com/cpuguy83/go-md2man")
4316 (synopsis "Convert markdown into roff")
4317 (description "Go-md2man is a Go program that converts markdown to roff for
4318 the purpose of building man pages.")
4319 (license license:expat)))
4321 (define-public go-github-com-russross-blackfriday
4323 (name "go-github-com-russross-blackfriday")
4329 (url "https://github.com/russross/blackfriday")
4330 (commit (string-append "v" version))))
4331 (file-name (git-file-name name version))
4334 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
4335 (build-system go-build-system)
4337 '(#:import-path "github.com/russross/blackfriday"))
4339 `(("go-github-com-shurcool-sanitized-anchor-name"
4340 ,go-github-com-shurcool-sanitized-anchor-name)))
4342 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
4343 (home-page "https://github.com/russross/blackfriday")
4344 (synopsis "Markdown processor in Go")
4345 (description "Blackfriday is a Markdown processor in Go.")
4346 (license license:bsd-2)))
4348 (define-public go-github-com-shurcool-sanitized-anchor-name
4350 (name "go-github-com-shurcool-sanitized-anchor-name")
4356 (url "https://github.com/shurcooL/sanitized_anchor_name")
4357 (commit (string-append "v" version))))
4358 (file-name (git-file-name name version))
4361 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
4362 (build-system go-build-system)
4364 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
4365 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
4366 (synopsis "Create sanitized anchor names")
4367 (description "This package provides a Go program for creating sanitized
4369 (license license:expat)))
4371 (define-public go-github-com-pmezard-go-difflib
4373 (name "go-github-com-pmezard-go-difflib")
4378 (url "https://github.com/pmezard/go-difflib")
4379 (commit (string-append "v" version))))
4380 (file-name (git-file-name name version))
4383 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
4384 (build-system go-build-system)
4386 '(#:import-path "github.com/pmezard/go-difflib/difflib"
4387 #:unpack-path "github.com/pmezard/go-difflib/"))
4388 (home-page "https://github.com/pmezard/go-difflib")
4389 (synopsis "Go diff implementation")
4390 (description "This package provides unified and context-aware diffs in Go.")
4391 (license license:bsd-3)))
4393 (define-public go-github-com-whyrusleeping-json-filter
4394 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
4397 (name "go-github-com-whyrusleeping-json-filter")
4398 (version (git-version "0.0.0" revision commit))
4403 (url "https://github.com/whyrusleeping/json-filter")
4405 (file-name (git-file-name name version))
4408 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
4409 (build-system go-build-system)
4412 "github.com/whyrusleeping/json-filter"))
4413 (home-page "https://github.com/whyrusleeping/json-filter")
4414 (synopsis "Library to query JSON objects marshalled into map[string]interface")
4415 (description "A library to query JSON objects marshalled into
4416 @command{map[string]interface{}}.")
4417 (license license:expat))))
4419 (define-public go-github-com-whyrusleeping-progmeter
4420 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
4423 (name "go-github-com-whyrusleeping-progmeter")
4424 (version (git-version "0.0.0" revision commit))
4429 (url "https://github.com/whyrusleeping/progmeter")
4431 (file-name (git-file-name name version))
4434 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
4435 (build-system go-build-system)
4438 "github.com/whyrusleeping/progmeter"))
4439 (home-page "https://github.com/whyrusleeping/progmeter")
4440 (synopsis "Progress meter for Go")
4441 (description "Progress meter for Go.")
4442 (license license:expat))))
4444 (define-public go-github-com-whyrusleeping-stump
4445 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
4448 (name "go-github-com-whyrusleeping-stump")
4449 (version (git-version "0.0.0" revision commit))
4454 (url "https://github.com/whyrusleeping/stump")
4456 (file-name (git-file-name name version))
4459 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
4460 (build-system go-build-system)
4462 '(#:import-path "github.com/whyrusleeping/stump"))
4463 (home-page "https://github.com/whyrusleeping/stump")
4464 (synopsis "Very basic logging package for Go")
4465 (description "A simple log library, for when you don't really care to
4466 have super fancy logs.")
4467 (license license:expat))))
4469 (define-public go-github-com-kr-fs
4470 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
4473 (name "go-github-com-kr-fs")
4474 (version (git-version "0.1.0" revision commit))
4479 (url "https://github.com/kr/fs")
4481 (file-name (git-file-name name version))
4484 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
4485 (build-system go-build-system)
4487 '(#:import-path "github.com/kr/fs"))
4488 (home-page "https://github.com/kr/fs")
4489 (synopsis "File-system-related functions for Go")
4491 "The fs package provides file-system-related Go functions.")
4492 (license license:bsd-3))))
4494 (define-public go-github-com-direnv-go-dotenv
4495 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
4498 (name "go-github-com-direnv-go-dotenv")
4499 (version (git-version "0.0.0" revision commit))
4504 (url "https://github.com/direnv/go-dotenv")
4506 (file-name (git-file-name name version))
4509 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
4510 (build-system go-build-system)
4512 '(#:import-path "github.com/direnv/go-dotenv"))
4513 (home-page "https://github.com/direnv/go-dotenv")
4514 (synopsis "Go dotenv parsing library")
4515 (description "This package provides a library for parsing the dotenv
4517 (license license:expat))))
4519 (define-public go-github-com-kr-pretty
4521 (name "go-github-com-kr-pretty")
4526 (url "https://github.com/kr/pretty")
4527 (commit (string-append "v" version))))
4528 (file-name (git-file-name name version))
4531 "0vzfz06y9q8gs2nxx0kys0591vzp78k0fvpb8digi5n15h3b25hy"))))
4532 (build-system go-build-system)
4534 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
4536 '(#:import-path "github.com/kr/pretty"))
4537 (synopsis "Pretty printer for Go values")
4538 (description "This package provides a pretty printer for Go values.")
4539 (home-page "https://github.com/kr/pretty")
4540 (license license:expat)))
4542 (define-public go-github-com-kylelemons-godebug
4544 (name "go-github-com-kylelemons-godebug")
4550 (url "https://github.com/kylelemons/godebug")
4551 (commit (string-append "v" version))))
4552 (file-name (git-file-name name version))
4555 "0dkk3friykg8p6wgqryx6745ahhb9z1j740k7px9dac6v5xjp78c"))))
4556 (build-system go-build-system)
4558 '(#:import-path "github.com/kylelemons/godebug/diff"
4559 #:unpack-path "github.com/kylelemons/godebug"))
4560 (home-page "https://github.com/kylelemons/godebug")
4561 (synopsis "Pretty printer for Go values.")
4563 "This package will pretty print a compact representation of a Go data
4564 structure. It can also produce a much more verbose, one-item-per-line
4565 representation suitable for computing diffs.")
4566 (license license:asl2.0)))
4568 (define-public go-github-com-kr-text
4570 (name "go-github-com-kr-text")
4575 (url "https://github.com/kr/text")
4576 (commit (string-append "v" version))))
4577 (file-name (git-file-name name version))
4580 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
4581 (build-system go-build-system)
4583 '(#:import-path "github.com/kr/text"))
4584 (synopsis "Text formatting in Go")
4585 (description "This package provides a text formatting functions in Go.")
4586 (home-page "https://github.com/kr/text")
4587 (license license:expat)))
4589 (define-public go-golang-org-sql-mock
4590 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
4594 (name "go-golang-org-sql-mock")
4595 (version (git-version version revision commit))
4599 (url "https://github.com/DATA-DOG/go-sqlmock")
4601 (file-name (git-file-name name version))
4604 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
4605 (build-system go-build-system)
4607 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
4608 (synopsis "Mock library implementing @code{sql/driver}")
4609 (description "This library simulates SQL-driver behavior in tests
4610 without requiring a real database connection.")
4611 (home-page "https://github.com/DATA-DOG/go-sqlmock")
4612 (license license:expat))))
4614 (define-public go-github-com-go-sql-driver-mysql
4616 (name "go-github-com-go-sql-driver-mysql")
4622 (url "https://github.com/go-sql-driver/mysql")
4623 (commit (string-append "v" version))))
4624 (file-name (git-file-name name version))
4627 "11x0m9yf3kdnf6981182r824psgxwfaqhn3x3in4yiidp0w0hk3v"))))
4628 (build-system go-build-system)
4630 '(#:tests? #f ;; tests require a network connection
4631 #:import-path "github.com/go-sql-driver/mysql"))
4632 (home-page "https://github.com/go-sql-driver/mysql")
4633 (synopsis "MySQL driver for golang")
4635 "This is a pure Go implementation of the MySQL API, compatible with
4636 golang's database/sql package.")
4637 (license license:mpl2.0)))
4639 (define-public go-golang-org-colorful
4641 (name "go-golang-org-colorful")
4646 (url "https://github.com/lucasb-eyer/go-colorful")
4647 (commit (string-append "v" version))))
4648 (file-name (git-file-name name version))
4651 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
4652 (build-system go-build-system)
4654 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
4656 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
4657 (synopsis "Convert between colorspaces and generate colors")
4658 (description "This package implements Go's @code{color.Color} interface
4659 and provides a means of converting colors stored as RGB to various
4661 (home-page "https://github.com/lucasb-eyer/go-colorful")
4662 (license license:expat)))
4664 (define-public go-github-com-gdamore-encoding
4666 (name "go-github-com-gdamore-encoding")
4672 (url "https://github.com/gdamore/encoding")
4673 (commit (string-append "v" version))))
4674 (file-name (git-file-name name version))
4677 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
4678 (build-system go-build-system)
4680 '(#:import-path "github.com/gdamore/encoding"))
4682 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
4683 (home-page "https://github.com/gdamore/encoding")
4684 (synopsis "Provide encodings missing from Go")
4685 (description "This package provides useful encodings not included in the
4686 standard @code{Text} package, including some for dealing with I/O streams from
4687 non-UTF-friendly sources.")
4688 (license license:expat)))
4690 (define-public go-github-com-gdamore-tcell
4691 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
4695 (name "go-github-com-gdamore-tcell")
4696 (version (git-version version revision commit))
4701 (url "https://github.com/gdamore/tcell")
4703 (file-name (git-file-name name version))
4706 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
4707 (build-system go-build-system)
4709 `(#:import-path "github.com/gdamore/tcell"
4711 (modify-phases %standard-phases
4712 (add-before 'reset-gzip-timestamps 'make-files-writable
4713 (lambda* (#:key outputs #:allow-other-keys)
4714 ;; Make sure .gz files are writable so that the
4715 ;; 'reset-gzip-timestamps' phase can do its work.
4716 (let ((out (assoc-ref outputs "out")))
4717 (for-each make-file-writable
4718 (find-files out "\\.gz$"))
4721 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
4722 ("go-golang-org-colorful" ,go-golang-org-colorful)
4723 ("go-golang-org-x-text" ,go-golang-org-x-text)
4724 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
4725 (home-page "https://github.com/gdamore/tcell")
4726 (synopsis "Provide a cell-based view for text terminals")
4727 (description "This package includes a full parser and expander for
4728 terminfo capability strings to avoid hard-coding escape strings for
4729 formatting. It also favors portability, and includes support for all POSIX
4731 (license license:expat))))
4733 (define-public go-github-com-mattn-go-shellwords
4734 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
4738 (name "go-github-com-mattn-go-shellwords")
4739 (version (git-version version revision commit))
4744 (url "https://github.com/mattn/go-shellwords")
4746 (file-name (git-file-name name version))
4749 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
4750 (build-system go-build-system)
4752 `(#:import-path "github.com/mattn/go-shellwords"
4753 ;; TODO: can't make homeless-shelter:
4754 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
4755 ;; initialization failure: mkdir /homeless-shelter: permission denied
4757 ;; This doesn't seem to work:
4760 ;; (modify-phases %standard-phases
4762 ;; (lambda* (#:key import-path #:allow-other-keys)
4763 ;; (setenv "HOME" "/tmp")
4764 ;; (invoke "go" "test" import-path))))
4766 ;; TODO: There are also a couple of tests that have stymied Debian in
4767 ;; the past. They seem to work when run locally.
4771 (home-page "https://github.com/mattn/go-shellwords")
4772 (synopsis "Parse lines into shell words")
4773 (description "This package parses text into shell arguments. Based on
4774 the @code{cpan} module @code{Parse::CommandLine}.")
4775 (license license:expat))))
4777 (define-public go-github-com-burntsushi-locker
4778 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
4781 (name "go-github-com-burntsushi-locker")
4782 (version (git-version "0.0.0" revision commit))
4787 (url "https://github.com/BurntSushi/locker")
4789 (file-name (git-file-name name version))
4792 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
4793 (build-system go-build-system)
4795 '(#:import-path "github.com/BurntSushi/locker"))
4796 (home-page "https://github.com/BurntSushi/locker")
4797 (synopsis "Manage named ReadWrite mutexes in Go")
4798 (description "Golang package for conveniently using named read/write
4799 locks. These appear to be especially useful for synchronizing access to
4800 session based information in web applications.
4802 The common use case is to use the package level functions, which use a package
4803 level set of locks (safe to use from multiple goroutines
4804 simultaneously). However, you may also create a new separate set of locks
4807 All locks are implemented with read-write mutexes. To use them like a regular
4808 mutex, simply ignore the RLock/RUnlock functions.")
4809 (license license:unlicense))))
4811 (define-public go-github-com-marten-seemann-qtls
4813 (name "go-github-com-marten-seemann-qtls")
4818 (url "https://github.com/marten-seemann/qtls")
4819 (commit (string-append "v" version))))
4820 (file-name (git-file-name name version))
4823 "0dz60y98nm7l70hamq0v2vrs2dspyr5yqhnrds2dfh7hchxvq76j"))))
4824 (build-system go-build-system)
4826 '(#:import-path "github.com/marten-seemann/qtls"
4827 ;; The test suite requires networking.
4830 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4831 (synopsis "TLS 1.3 with QUIC in Go")
4832 (description "This package provides @code{qtls}, a QUIC-capable variant of
4833 the Go standard library's TLS 1.3 implementation.")
4834 (home-page "https://github.com/marten-seemann/qtls")
4835 (license license:bsd-3)))
4837 (define-public go-github-com-marten-seemann-chacha20
4839 (name "go-github-com-marten-seemann-chacha20")
4844 (url "https://github.com/marten-seemann/chacha20")
4845 (commit (string-append "v" version))))
4846 (file-name (git-file-name name version))
4849 "0x1j4cvbap45zk962qkjalc1h3axhzzdy9cdzhcjmprmm1ql4gjm"))))
4850 (build-system go-build-system)
4852 '(#:import-path "github.com/marten-seemann/chacha20"))
4853 (synopsis "ChaCha20 in Go")
4854 (description "This package is an external copy of the Go standard library's
4855 internal ChaCha20 package.")
4856 (home-page "https://github.com/marten-seemann/chacha20")
4857 (license license:bsd-3)))
4859 (define-public go-github-com-cheekybits-genny
4861 (name "go-github-com-cheekybits-genny")
4866 (url "https://github.com/cheekybits/genny")
4867 (commit (string-append "v" version))))
4868 (file-name (git-file-name name version))
4871 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
4872 (build-system go-build-system)
4874 '(#:import-path "github.com/cheekybits/genny"))
4876 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
4877 (synopsis "Generics for Go")
4878 (description "This package provides @code{genny}, a Go language
4879 implementation of generics.")
4880 (home-page "https://github.com/cheekybits/genny/")
4881 (license license:expat)))
4883 (define-public go-github-com-lucas-clemente-quic-go
4885 (name "go-github-com-lucas-clemente-quic-go")
4890 (url "https://github.com/lucas-clemente/quic-go")
4891 (commit (string-append "v" version))))
4892 (file-name (git-file-name name version))
4895 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
4896 (build-system go-build-system)
4898 '(#:import-path "github.com/lucas-clemente/quic-go"
4899 ;; XXX More packages required...
4902 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4903 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
4904 ("go-github-com-marten-seemann-chacha20" ,go-github-com-marten-seemann-chacha20)
4905 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
4906 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
4907 (synopsis "QUIC in Go")
4908 (description "This package provides a Go language implementation of the QUIC
4910 (home-page "https://github.com/lucas-clemente/quic-go")
4911 (license license:expat)))
4913 (define-public go-github-com-francoispqt-gojay
4915 (name "go-github-com-francoispqt-gojay")
4920 (url "https://github.com/francoispqt/gojay")
4921 (commit (string-append "v" version))))
4922 (file-name (git-file-name name version))
4925 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
4926 (build-system go-build-system)
4928 '(#:import-path "github.com/francoispqt/gojay"))
4930 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4931 (synopsis "JSON encoder/decoder with powerful stream API for Golang")
4932 (description "GoJay is a performant JSON encoder/decoder for Golang. It has
4933 a simple API and doesn't use reflection. It relies on small interfaces to
4934 decode/encode structures and slices.")
4935 (home-page "https://github.com/francoispqt/gojay")
4936 (license license:expat)))
4938 (define-public go-github-com-pkg-errors
4940 (name "go-github-com-pkg-errors")
4945 (url "https://github.com/pkg/errors")
4946 (commit (string-append "v" version))))
4947 (file-name (git-file-name name version))
4950 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
4951 (build-system go-build-system)
4953 `(#:import-path "github.com/pkg/errors"))
4954 (synopsis "Go error handling primitives")
4955 (description "This package provides @code{error}, which offers simple
4956 error handling primitives in Go.")
4957 (home-page "https://github.com/pkg/errors")
4958 (license license:bsd-2)))
4960 (define-public go-github-com-maruel-panicparse
4962 (name "go-github-com-maruel-panicparse")
4967 (url "https://github.com/maruel/panicparse")
4968 (commit (string-append "v" version))))
4969 (file-name (git-file-name name version))
4972 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
4973 (build-system go-build-system)
4975 '(#:import-path "github.com/maruel/panicparse"))
4976 (synopsis "Toolkit for parsing Go stack traces")
4977 (description "This package provides a toolkit for parsing Go language panic
4978 stack traces. It simplifies the traces to make salient information more visible
4979 and aid debugging.")
4980 (home-page "https://github.com/maruel/panicparse")
4981 (license license:asl2.0)))
4983 (define-public go-github-com-robfig-cron
4985 (name "go-github-com-robfig-cron")
4991 (url "https://github.com/robfig/cron")
4992 (commit (string-append "v" version))))
4993 (file-name (git-file-name name version))
4996 "1agzbw2dfk2d1mpmddr85s5vh6ygm8kqrvfg87i9d2wqnlsnliqm"))))
4997 (build-system go-build-system)
4999 `(#:import-path "github.com/robfig/cron"))
5000 (home-page "https://godoc.org/github.com/robfig/cron")
5001 (synopsis "Cron library for Go")
5002 (description "This package provides a cron library for Go. It implements
5003 a cron spec parser and job runner.")
5004 (license license:expat)))
5006 (define-public go-github-com-shirou-gopsutil
5007 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
5010 (name "go-github-com-shirou-gopsutil")
5011 (version (git-version "v2.19.7" revision commit))
5015 (url "https://github.com/shirou/gopsutil")
5016 (commit commit))) ; XXX
5017 (file-name (git-file-name name version))
5020 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
5021 (build-system go-build-system)
5023 '(#:import-path "github.com/shirou/gopsutil"))
5024 (synopsis "Process and system monitoring in Go")
5025 (description "This package provides a library for retrieving information
5026 on running processes and system utilization (CPU, memory, disks, network,
5028 (home-page "https://github.com/shirou/gopsutil")
5029 (license license:bsd-3))))
5031 (define-public go-github-com-danwakefield-fnmatch
5032 (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
5035 (name "go-github-com-danwakefield-fnmatch")
5036 (version (git-version "0.0.0" revision commit))
5041 (url "https://github.com/danwakefield/fnmatch")
5045 "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
5046 (file-name (git-file-name name version))))
5047 (build-system go-build-system)
5049 '(#:import-path "github.com/danwakefield/fnmatch"))
5050 (home-page "https://github.com/danwakefield/fnmatch")
5051 (synopsis "Updated clone of kballards golang fnmatch gist")
5052 (description "This package provides an updated clone of kballards golang
5053 fnmatch gist (https://gist.github.com/kballard/272720).")
5054 (license license:bsd-2))))
5056 (define-public go-github-com-ddevault-go-libvterm
5057 (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
5060 (name "go-github-com-ddevault-go-libvterm")
5061 (version (git-version "0.0.0" revision commit))
5066 (url "https://github.com/ddevault/go-libvterm")
5070 "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
5071 (file-name (git-file-name name version))))
5072 (build-system go-build-system)
5074 '(#:import-path "github.com/ddevault/go-libvterm"))
5076 `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
5077 (home-page "https://github.com/ddevault/go-libvterm")
5078 (synopsis "Go binding to libvterm")
5080 "This is a fork of another go-libvterm library for use with aerc.")
5081 (license license:expat))))
5083 (define-public go-github-com-emersion-go-imap
5085 (name "go-github-com-emersion-go-imap")
5091 (url "https://github.com/emersion/go-imap")
5092 (commit (string-append "v" version))))
5095 "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
5096 (file-name (git-file-name name version))))
5097 (build-system go-build-system)
5099 '(#:import-path "github.com/emersion/go-imap"))
5101 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
5102 (home-page "https://github.com/emersion/go-imap")
5103 (synopsis "IMAP4rev1 library written in Go")
5104 (description "This package provides an IMAP4rev1 library written in Go. It
5105 can be used to build a client and/or a server.")
5106 (license license:expat)))
5108 (define-public go-github-com-emersion-go-sasl
5109 (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
5112 (name "go-github-com-emersion-go-sasl")
5113 (version (git-version "0.0.0" revision commit))
5118 (url "https://github.com/emersion/go-sasl")
5122 "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
5123 (file-name (git-file-name name version))))
5124 (build-system go-build-system)
5126 '(#:import-path "github.com/emersion/go-sasl"))
5127 (home-page "https://github.com/emersion/go-sasl")
5128 (synopsis "SASL library written in Go")
5129 (description "This package provides a SASL library written in Go.")
5130 (license license:expat))))
5132 (define-public go-github-com-emersion-go-imap-idle
5133 (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
5136 (name "go-github-com-emersion-go-imap-idle")
5137 (version (git-version "0.0.0" revision commit))
5142 (url "https://github.com/emersion/go-imap-idle")
5146 "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
5147 (file-name (git-file-name name version))))
5148 (build-system go-build-system)
5150 '(#:import-path "github.com/emersion/go-imap-idle"))
5152 `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
5153 ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
5154 ("go-golang-org-x-text" ,go-golang-org-x-text)))
5155 (home-page "https://github.com/emersion/go-imap-idle")
5156 (synopsis "IDLE extension for go-imap")
5157 (description "This package provides an IDLE extension for go-imap.")
5158 (license license:expat))))
5160 (define-public go-github-com-fatih-color
5162 (name "go-github-com-fatih-color")
5167 (url "https://github.com/fatih/color")
5168 (commit (string-append "v" version))))
5169 (file-name (git-file-name name version))
5172 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
5173 (build-system go-build-system)
5175 '(#:import-path "github.com/fatih/color"))
5176 (synopsis "Print colored text in Go")
5177 (description "This package provides an ANSI color package to output
5178 colorized or SGR defined output to the standard output.")
5179 (home-page "https://godoc.org/github.com/fatih/color")
5180 (license license:expat)))
5182 (define-public go-github-com-google-go-cmp-cmp
5184 (name "go-github-com-google-go-cmp-cmp")
5189 (url "https://github.com/google/go-cmp")
5190 (commit (string-append "v" version))))
5191 (file-name (git-file-name name version))
5194 "0qchy411jm9q2l9mf7x3ry2ycaqp9xdhf2nx14qrpzcxfigv2705"))))
5195 (build-system go-build-system)
5197 '(#:import-path "github.com/google/go-cmp/cmp"
5198 #:unpack-path "github.com/google/go-cmp"))
5200 `(("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)))
5201 (synopsis "Determine equality of values in Go")
5202 (description "This package provides a more powerful and safer
5203 alternative to @code{reflect.DeepEqual} for comparing whether two values
5204 are semantically equal in Go (for writing tests).")
5205 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
5206 (license license:asl2.0)))
5208 (define-public go-github-com-google-uuid
5210 (name "go-github-com-google-uuid")
5215 (url "https://github.com/google/uuid")
5216 (commit (string-append "v" version))))
5217 (file-name (git-file-name name version))
5220 "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb"))))
5221 (build-system go-build-system)
5223 '(#:import-path "github.com/google/uuid"))
5224 (home-page "https://github.com/google/uuid/")
5225 (synopsis "Generate and inspect UUIDs based on RFC 4122 and DCE 1.1")
5226 (description "The uuid package generates and inspects UUIDs based on RFC
5227 4122 and DCE 1.1: Authentication and Security Services.")
5228 (license license:bsd-3)))
5230 (define-public go-github-com-google-goterm
5231 (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
5234 (name "go-github-com-google-goterm")
5235 (version (git-version "0.0.1" revision commit))
5239 (url "https://github.com/google/goterm")
5241 (file-name (git-file-name name version))
5244 "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb"))))
5245 (build-system go-build-system)
5247 `(#:import-path "github.com/google/goterm/term"
5248 #:unpack-path "github.com/google/goterm"))
5249 (home-page "https://github.com/google/goterm/")
5250 (synopsis "PTY creation and termios get/set attributes")
5251 (description "The term package implements PTY creation and termios get/set
5252 attributes. It also contains some convenience functions for colors, SSH to
5253 and from termios translations, readCh, reading passwords, etc.")
5254 (license license:bsd-3))))
5256 (define-public go-github-com-google-go-querystring
5257 (let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests
5260 (name "go-github-com-google-go-querystring")
5265 (url "https://github.com/google/go-querystring")
5267 (file-name (git-file-name name version))
5270 "0mbx4jvf7nz4sk2fgqfq1llz4xb3vc4625b4x398mspr3a5077rs"))))
5271 (build-system go-build-system)
5273 `(#:import-path "github.com/google/go-querystring/query"
5274 #:unpack-path "github.com/google/go-querystring"))
5275 (home-page "https://github.com/google/go-querystring/")
5276 (synopsis "Library for encoding structs into URL query parameters")
5277 (description "@code{go-querystring} is Go library for encoding structs
5278 into URL query parameters.")
5279 (license license:bsd-3))))
5281 (define-public go-github-com-google-go-github
5283 (name "go-github-com-google-go-github")
5288 (url "https://github.com/google/go-github")
5289 (commit (string-append "v" version))))
5290 (file-name (git-file-name name version))
5293 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
5294 (build-system go-build-system)
5296 `(#:tests? #f ;application/octet-stream instead of text/plain
5297 #:import-path "github.com/google/go-github/v26/github"
5298 #:unpack-path "github.com/google/go-github/v26"))
5300 `(("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring)
5301 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
5302 (home-page "https://github.com/google/go-github/")
5303 (synopsis "Client library for accessing the GitHub API v3")
5304 (description "@code{go-github} is a Go client library for accessing the
5306 (license license:bsd-3)))
5308 (define-public go-github-com-google-renameio
5310 (name "go-github-com-google-renameio")
5315 (url "https://github.com/google/renameio")
5316 (commit (string-append "v" version))))
5317 (file-name (git-file-name name version))
5320 "1ki2x5a9nrj17sn092d6n4zr29lfg5ydv4xz5cp58z6cw8ip43jx"))))
5321 (build-system go-build-system)
5323 `(#:import-path "github.com/google/renameio"))
5324 (home-page "https://github.com/google/renameio/")
5325 (synopsis "Atomically create or replace a file or symbolic link")
5326 (description "@code{renameio} Go package provides a way to atomically
5327 create or replace a file or symbolic link.")
5328 (license license:asl2.0)))
5330 (define-public go-golang.org-x-sync-errgroup
5331 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
5334 (name "go-golang.org-x-sync-errgroup")
5335 (version (git-version "0.0.0" revision commit))
5339 (url "https://go.googlesource.com/sync")
5341 (file-name (git-file-name name version))
5344 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
5345 (build-system go-build-system)
5347 '(#:import-path "golang.org/x/sync/errgroup"
5348 #:unpack-path "golang.org/x/sync"))
5349 (synopsis "Synchronization, error propagation, and Context cancellation
5350 for groups of goroutines working on subtasks of a common task.")
5351 (description "This package provides synchronization, error propagation,
5352 and Context cancellation for groups of goroutines working on subtasks of a
5354 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
5355 (license license:bsd-3))))
5357 (define (go-gotest-tools-source version sha256-base32-hash)
5361 (url "https://github.com/gotestyourself/gotest.tools")
5362 (commit (string-append "v" version))))
5363 (file-name (git-file-name "go-gotest-tools" version))
5365 (base32 sha256-base32-hash))))
5367 ;; Note that version 3.0.0 is incompatible to 2.3.0.
5368 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
5369 (define (go-gotest-tools-package suffix)
5371 (name (string-append "go-gotest-tools-"
5372 (string-replace-substring suffix "/" "-")))
5375 (go-gotest-tools-source version
5376 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
5377 (build-system go-build-system)
5379 `(#:import-path ,(string-append "gotest.tools/" suffix)
5380 #:unpack-path "gotest.tools"))
5381 (synopsis "@code{gotest-tools} part")
5382 (description "This package provides a part of @code{gotest-tools}.")
5383 (home-page "https://github.com/gotestyourself/gotest.tools")
5384 (license license:asl2.0)))
5386 (define-public go-gotest-tools-internal-format
5387 (package (inherit (go-gotest-tools-package "internal/format"))
5389 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5390 ("go-github-com-google-go-cmp-cmp"
5391 ,go-github-com-google-go-cmp-cmp)))
5392 (synopsis "Formats messages for use with gotest-tools")
5393 (description "This package provides a way to format messages for use
5394 with gotest-tools.")))
5396 (define-public go-gotest-tools-internal-difflib
5397 (package (inherit (go-gotest-tools-package "internal/difflib"))
5398 (synopsis "Differences for use with gotest-tools")
5399 (description "This package computes differences for use
5400 with gotest-tools.")))
5402 (define-public go-gotest-tools-internal-source
5403 (package (inherit (go-gotest-tools-package "internal/source"))
5405 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5406 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
5407 (synopsis "Source code AST formatters for gotest-tools")
5408 (description "This package provides source code AST formatters for
5411 (define-public go-gotest-tools-assert
5412 (package (inherit (go-gotest-tools-package "assert"))
5413 (name "go-gotest-tools-assert")
5415 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
5416 #:import-path "gotest.tools/assert"
5417 #:unpack-path "gotest.tools"))
5419 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
5421 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5422 ("go-github-com-google-go-cmp-cmp"
5423 ,go-github-com-google-go-cmp-cmp)))
5424 (synopsis "Compare values and fail a test when a comparison fails")
5425 (description "This package provides a way to compare values and fail a
5426 test when a comparison fails.")
5427 (home-page "https://github.com/gotestyourself/gotest.tools")
5428 (license license:asl2.0)))
5430 (define-public gotestsum
5437 (url "https://github.com/gotestyourself/gotestsum")
5438 (commit (string-append "v" version))))
5439 (file-name (git-file-name name version))
5442 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
5443 (build-system go-build-system)
5445 '(#:import-path "gotest.tools/gotestsum"))
5447 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
5448 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
5449 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5450 ("go-github-com-sirupsen-logrus"
5451 ,go-github-com-sirupsen-logrus)
5452 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
5453 ("go-github-com-jonboulle-clockwork"
5454 ,go-github-com-jonboulle-clockwork)
5455 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
5456 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
5457 ("go-github-com-google-go-cmp-cmp"
5458 ,go-github-com-google-go-cmp-cmp)
5459 ;; TODO: This would be better as a propagated-input of
5460 ;; go-gotest-tools-assert, but that does not work for
5462 ("go-gotest-tools-internal-format"
5463 ,go-gotest-tools-internal-format)
5464 ("go-gotest-tools-internal-difflib"
5465 ,go-gotest-tools-internal-difflib)
5466 ("go-gotest-tools-internal-source"
5467 ,go-gotest-tools-internal-source)
5468 ("go-github-com-google-go-cmp-cmp"
5469 ,go-github-com-google-go-cmp-cmp)))
5470 (synopsis "Go test runner with output optimized for humans")
5471 (description "This package provides a @code{go test} runner with output
5472 optimized for humans, JUnit XML for CI integration, and a summary of the
5474 (home-page "https://github.com/gotestyourself/gotestsum")
5475 (license license:asl2.0)))
5477 (define-public go-github-com-golang-protobuf-proto
5479 (name "go-github-com-golang-protobuf-proto")
5484 (url "https://github.com/golang/protobuf")
5485 (commit (string-append "v" version))))
5486 (file-name (git-file-name name version))
5489 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
5490 (build-system go-build-system)
5492 '(#:import-path "github.com/golang/protobuf/proto"
5493 #:unpack-path "github.com/golang/protobuf"
5494 ;; Requires unpackaged golang.org/x/sync/errgroup
5496 (synopsis "Go support for Protocol Buffers")
5497 (description "This package provides Go support for the Protocol Buffers
5498 data serialization format.")
5499 (home-page "https://github.com/golang/protobuf")
5500 (license license:bsd-3)))
5502 (define-public go-github-com-mattn-go-zglob
5504 (name "go-github-com-mattn-go-zglob")
5509 (url "https://github.com/mattn/go-zglob")
5510 (commit (string-append "v" version))))
5511 (file-name (git-file-name name version))
5514 "1923lvakm66mzy62jmngdvcmbmiqclinsvnghs3907rgygnx1qc1"))))
5515 (build-system go-build-system)
5517 `(#:import-path "github.com/mattn/go-zglob"))
5518 (home-page "https://github.com/mattn/go-zglob")
5519 (synopsis "Glob library that descends into other directories")
5520 (description " A glob library that implements descending into other
5521 directories. It is optimized for filewalking. ")
5522 (license license:expat)))
5524 (define-public go-github-com-mattn-go-sqlite3
5526 (name "go-github-com-mattn-go-sqlite3")
5531 (url "https://github.com/mattn/go-sqlite3")
5532 (commit (string-append "v" version))))
5533 (file-name (git-file-name name version))
5536 "04anvqkc37mmc3z1dy4xfa6cas67zlxnnab0ywii7sylk864mhxz"))))
5537 (build-system go-build-system)
5539 `(#:import-path "github.com/mattn/go-sqlite3"))
5540 (home-page "https://github.com/mattn/go-sqlite3")
5541 (synopsis "Sqlite3 driver for Go")
5542 (description "This package provides a Sqlite3 driver for Go using
5543 @code{database/sql}.")
5544 (license license:expat)))
5546 (define-public go-github-com-willf-bitset
5548 (name "go-github-com-willf-bitset")
5553 (url "https://github.com/willf/bitset")
5554 (commit (string-append "v" version))))
5555 (file-name (git-file-name name version))
5558 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
5559 (build-system go-build-system)
5561 '(#:import-path "github.com/willf/bitset"))
5562 (synopsis "Bitsets in Go")
5563 (description "This package provides a Go implementation of bitsets, which
5564 are a mapping between non-negative integers and boolean values focused on
5565 efficient space usage.")
5566 (home-page "https://github.com/willf/bitset")
5567 (license license:bsd-3)))
5569 (define-public go-github-com-willf-bloom
5571 (name "go-github-com-willf-bloom")
5576 (url "https://github.com/willf/bloom")
5577 (commit (string-append "v" version))))
5578 (file-name (git-file-name name version))
5581 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
5582 (build-system go-build-system)
5584 '(#:import-path "github.com/willf/bloom"
5586 (modify-phases %standard-phases
5587 (add-after 'unpack 'patch-import-path
5589 ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for
5590 ;; more information.
5591 ;; <https://github.com/spaolacci/murmur3/issues/29>
5592 (substitute* "src/github.com/willf/bloom/bloom.go"
5593 (("spaolacci") "twmb"))
5596 `(("go-github-com-twmb-murmur3" ,go-github-com-twmb-murmur3)
5597 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
5598 (synopsis "Bloom filters in Go")
5599 (description "This package provides a Go implementation of bloom filters,
5600 based on murmurhash.")
5601 (home-page "https://github.com/willf/bloom")
5602 (license license:bsd-2)))
5604 (define-public go-golang-org-rainycape-unidecode
5605 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
5608 (name "go-golang-org-rainycape-unidecode")
5609 (version (git-version "0.0.0" revision commit))
5613 (url "https://github.com/rainycape/unidecode")
5615 (file-name (string-append "go-golang-org-rainycape-unidecode-"
5616 version "-checkout"))
5619 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
5620 (build-system go-build-system)
5622 `(#:import-path "golang.org/rainycape/unidecode"))
5623 (home-page "https://github.com/rainycape/unidecode")
5624 (synopsis "Unicode transliterator in Golang")
5625 (description "Unicode transliterator in Golang - Replaces non-ASCII
5626 characters with their ASCII approximations.")
5627 (license license:asl2.0))))
5629 (define-public go-github-com-golang-freetype
5630 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
5633 (name "go-github-com-golang-freetype")
5634 (version (git-version "0.0.0" revision commit))
5638 (url "https://github.com/golang/freetype")
5640 (file-name (string-append "go-github-com-golang-freetype-"
5641 version "-checkout"))
5644 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
5645 (build-system go-build-system)
5647 `(#:import-path "github.com/golang/freetype"))
5649 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
5650 (home-page "https://github.com/golang/freetype")
5651 (synopsis "Freetype font rasterizer in the Go programming language")
5652 (description "The Freetype font rasterizer in the Go programming language.")
5653 (license (list license:freetype
5656 (define-public go-github-com-fogleman-gg
5658 (name "go-github-com-fogleman-gg")
5663 (url "https://github.com/fogleman/gg")
5664 (commit (string-append "v" version))))
5665 (file-name (git-file-name name version))
5668 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
5669 (build-system go-build-system)
5671 `(#:tests? #f ; Issue with test flags.
5672 #:import-path "github.com/fogleman/gg"))
5674 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
5675 (home-page "https://github.com/fogleman/gg")
5676 (synopsis "2D rendering in Go")
5677 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
5678 (license license:expat)))
5680 (define-public go-github-com-gedex-inflector
5681 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
5684 (name "go-github-com-gedex-inflector")
5685 (version (git-version "0.0.0" revision commit))
5689 (url "https://github.com/gedex/inflector")
5691 (file-name (string-append "go-github-com-gedex-inflector-"
5692 version "-checkout"))
5695 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
5696 (build-system go-build-system)
5698 `(#:import-path "github.com/gedex/inflector"))
5699 (home-page "https://github.com/gedex/inflector")
5700 (synopsis "Go library that pluralizes and singularizes English nouns")
5701 (description "Go library that pluralizes and singularizes English nouns.")
5702 (license license:bsd-2))))
5704 (define-public go-github-com-klauspost-cpuid
5706 (name "go-github-com-klauspost-cpuid")
5711 (url "https://github.com/klauspost/cpuid")
5712 (commit (string-append "v" version))))
5713 (file-name (git-file-name name version))
5716 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
5717 (build-system go-build-system)
5719 `(#:import-path "github.com/klauspost/cpuid"))
5720 (home-page "https://github.com/klauspost/cpuid")
5721 (synopsis "CPU feature identification for Go")
5722 (description "@code{cpuid} provides information about the CPU running the
5723 current program. CPU features are detected on startup, and kept for fast access
5724 through the life of the application. Currently x86 / x64 (AMD64) is supported,
5725 and no external C (cgo) code is used, which should make the library very eas
5727 (license license:expat)))
5729 (define-public go-github-com-pbnjay-memory
5730 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
5733 (name "go-github-com-pbnjay-memory")
5734 (version (git-version "0.0.0" revision commit))
5738 (url "https://github.com/pbnjay/memory")
5740 (file-name (string-append "go-github-com-pbnjay-memory-"
5741 version "-checkout"))
5744 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
5745 (build-system go-build-system)
5747 `(#:import-path "github.com/pbnjay/memory"))
5748 (home-page "https://github.com/gedex/inflector")
5749 (synopsis "Go library to report total system memory")
5750 (description "@code{memory} provides a single method reporting total
5751 physical system memory accessible to the kernel. It does not account for memory
5752 used by other processes.")
5753 (license license:bsd-3))))
5755 (define-public go-github-com-surge-glog
5756 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
5759 (name "go-github-com-surge-glog")
5760 (version (git-version "0.0.0" revision commit))
5764 (url "https://github.com/surge/glog")
5766 (file-name (string-append "go-github-com-surge-glog-"
5767 version "-checkout"))
5770 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
5771 (build-system go-build-system)
5773 `(#:import-path "github.com/surge/glog"))
5774 (home-page "https://github.com/surge/glog")
5775 (synopsis "Leveled execution logs for Go")
5776 (description "Leveled execution logs for Go.")
5777 (license license:asl2.0))))
5779 (define-public go-github-com-surgebase-porter2
5780 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
5783 (name "go-github-com-surgebase-porter2")
5784 (version (git-version "0.0.0" revision commit))
5788 (url "https://github.com/surgebase/porter2")
5790 (file-name (string-append "go-github-com-surgebase-porter2-"
5791 version "-checkout"))
5794 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
5795 (build-system go-build-system)
5797 `(#:import-path "github.com/surgebase/porter2"))
5799 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
5800 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
5801 (home-page "https://github.com/surgebase/porter2")
5802 (synopsis "Go library implementing english Porter2 stemmer")
5803 (description "Porter2 implements the
5804 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
5805 Porter2 stemmer}. It is written completely using finite state machines to do
5806 suffix comparison, rather than the string-based or tree-based approaches.")
5807 (license license:asl2.0))))
5809 (define-public go-github-com-masterminds-goutils
5811 (name "go-github-com-masterminds-goutils")
5816 (url "https://github.com/Masterminds/goutils")
5817 (commit (string-append "v" version))))
5818 (file-name (git-file-name name version))
5821 "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq"))))
5822 (build-system go-build-system)
5824 `(#:import-path "github.com/Masterminds/goutils"))
5825 (home-page "https://github.com/Masterminds/goutils/")
5826 (synopsis "Utility functions to manipulate strings")
5827 (description "GoUtils provides utility functions to manipulate strings in
5828 various ways. It is a Go implementation of some string manipulation libraries
5829 of Java Apache Commons.")
5830 (license license:asl2.0)))
5832 (define-public go-github-com-masterminds-semver
5834 (name "go-github-com-masterminds-semver")
5839 (url "https://github.com/Masterminds/semver")
5840 (commit (string-append "v" version))))
5841 (file-name (git-file-name name version))
5844 "1g1wizfdy29d02l9dh8gsb029yr4m4swp13swf0pnh9ryh5f1msz"))))
5845 (build-system go-build-system)
5847 `(#:import-path "github.com/Masterminds/semver"))
5848 (home-page "https://github.com/Masterminds/semver/")
5849 (synopsis "@code{semver} helps to work with semantic versions")
5850 (description "The semver package provides the ability to work with
5851 semantic versions. Specifically it provides the ability to:
5853 @item Parse semantic versions
5854 @item Sort semantic versions
5855 @item Check if a semantic version fits within a set of constraints
5856 @item Optionally work with a @code{v} prefix
5858 (license license:expat)))
5860 (define-public go-github-com-huandu-xstrings
5862 (name "go-github-com-huandu-xstrings")
5867 (url "https://github.com/huandu/xstrings")
5868 (commit (string-append "v" version))))
5869 (file-name (git-file-name name version))
5872 "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
5873 (build-system go-build-system)
5875 `(#:import-path "github.com/huandu/xstrings"))
5876 (home-page "https://github.com/huandu/xstrings/")
5877 (synopsis "Collection of string functions")
5878 (description "Go package xstrings is a collection of string functions,
5879 which are widely used in other languages but absent in Go package strings.")
5880 (license license:expat)))
5882 (define-public go-github-com-imdario-mergo
5884 (name "go-github-com-imdario-mergo")
5889 (url "https://github.com/imdario/mergo")
5890 (commit (string-append "v" version))))
5891 (file-name (git-file-name name version))
5894 "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
5895 (build-system go-build-system)
5897 `(#:import-path "github.com/imdario/mergo"))
5899 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
5900 (home-page "https://github.com/imdario/mergo/")
5901 (synopsis "Helper to merge structs and maps in Golang")
5902 (description "Helper to merge structs and maps in Golang. Useful for
5903 configuration default values, avoiding messy if-statements.
5905 Mergo merges same-type structs and maps by setting default values in
5906 zero-value fields. Mergo won't merge unexported (private) fields. It will do
5907 recursively any exported one. It also won't merge structs inside
5908 maps (because they are not addressable using Go reflection).")
5909 (license license:bsd-3)))
5911 (define-public go-github-com-masterminds-sprig
5913 (name "go-github-com-masterminds-sprig")
5918 (url "https://github.com/Masterminds/sprig")
5919 (commit (string-append "v" version))))
5920 (file-name (git-file-name name version))
5923 "0wwi8n2adjc5jlga25lqq0hrz4jcgd5vpll68y2dfji034caaq18"))))
5924 (build-system go-build-system)
5926 `(#:tests? #f ;network tests only
5927 #:import-path "github.com/Masterminds/sprig"))
5929 `(("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils)
5930 ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver)
5931 ("go-github-com-google-uuid" ,go-github-com-google-uuid)
5932 ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings)
5933 ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo)
5934 ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)
5935 ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure)
5936 ("go-github-com-spf13-cast" ,go-github-com-spf13-cast)
5937 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
5938 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
5939 (home-page "https://github.com/Masterminds/sprig/")
5940 (synopsis "Template functions for Go templates")
5941 (description "Sprig is a library that provides more than 100 commonly used
5942 template functions.")
5943 (license license:expat)))
5945 (define-public go-github-com-bmatcuk-doublestar
5947 (name "go-github-com-bmatcuk-doublestar")
5952 (url "https://github.com/bmatcuk/doublestar")
5953 (commit (string-append "v" version))))
5954 (file-name (git-file-name name version))
5957 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
5958 (build-system go-build-system)
5960 `(#:import-path "github.com/bmatcuk/doublestar"))
5961 (home-page "https://github.com/bmatcuk/doublestar/")
5962 (synopsis "Path pattern matching and globbing supporting doublestar")
5963 (description "@code{doublestar} is a Go implementation of path pattern
5964 matching and globbing with support for \"doublestar\" patterns.")
5965 (license license:expat)))
5967 (define-public go-github-com-dlclark-regexp2
5969 (name "go-github-com-dlclark-regexp2")
5974 (url "https://github.com/dlclark/regexp2")
5975 (commit (string-append "v" version))))
5976 (file-name (git-file-name name version))
5979 "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng"))))
5980 (build-system go-build-system)
5982 `(#:import-path "github.com/dlclark/regexp2"))
5983 (home-page "https://github.com/dlclark/regexp2/")
5984 (synopsis "Full featured regular expressions for Go")
5985 (description "Regexp2 is a feature-rich RegExp engine for Go.")
5986 (license license:expat)))
5988 (define-public go-github-com-alecthomas-colour
5990 (name "go-github-com-alecthomas-colour")
5995 (url "https://github.com/alecthomas/colour")
5996 (commit (string-append "v" version))))
5997 (file-name (git-file-name name version))
6000 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
6001 (build-system go-build-system)
6003 `(#:import-path "github.com/alecthomas/colour"))
6005 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
6006 (home-page "https://github.com/alecthomas/colour/")
6007 (synopsis "Colour terminal text for Go")
6008 (description "Package colour provides Quake-style colour formatting for
6011 The package level functions can be used to write to stdout (or strings or
6012 other files). If stdout is not a terminal, colour formatting will be
6014 (license license:expat)))
6016 (define-public go-github-com-alecthomas-repr
6017 (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
6020 (name "go-github-com-alecthomas-repr")
6021 (version (git-version "0.0.1" revision commit))
6025 (url "https://github.com/alecthomas/repr")
6027 (file-name (git-file-name name version))
6030 "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
6031 (build-system go-build-system)
6033 `(#:import-path "github.com/alecthomas/repr"))
6035 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
6036 (home-page "https://github.com/alecthomas/repr/")
6037 (synopsis "Represent Go values in an almost direct form")
6038 (description "This package attempts to represent Go values in a form that
6039 can be used almost directly in Go source code.")
6040 (license license:expat))))
6042 (define-public go-github-com-sergi-go-diff
6044 (name "go-github-com-sergi-go-diff")
6049 (url "https://github.com/sergi/go-diff")
6050 (commit (string-append "v" version))))
6051 (file-name (git-file-name name version))
6054 "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
6055 (build-system go-build-system)
6057 `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
6058 #:unpack-path "github.com/sergi/go-diff"))
6060 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
6061 (home-page "https://github.com/sergi/go-diff/")
6062 (synopsis "Algorithms to perform operations for synchronizing plain text")
6063 (description "@code{go-diff} offers algorithms to perform operations required for
6064 synchronizing plain text:
6066 @item compare two texts and return their differences
6067 @item perform fuzzy matching of text
6068 @item apply patches onto text
6070 (license license:expat)))
6072 (define-public go-github-com-alecthomas-assert
6073 (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
6076 (name "go-github-com-alecthomas-assert")
6077 (version (git-version "0.0.1" revision commit))
6081 (url "https://github.com/alecthomas/assert")
6083 (file-name (git-file-name name version))
6086 "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
6087 (build-system go-build-system)
6089 `(#:import-path "github.com/alecthomas/assert"))
6091 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
6092 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
6093 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
6094 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
6095 (home-page "https://github.com/alecthomas/assert/")
6096 (synopsis "Go assertion library")
6097 (description "Assertion library that:
6099 @item makes spotting differences in equality much easier
6100 @item uses repr and diffmatchpatch to display structural differences in colour
6101 @item aborts tests on first assertion failure
6103 (license license:expat))))
6105 (define-public go-github-com-alecthomas-chroma
6107 (name "go-github-com-alecthomas-chroma")
6112 (url "https://github.com/alecthomas/chroma")
6113 (commit (string-append "v" version))))
6114 (file-name (git-file-name name version))
6117 "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
6118 (build-system go-build-system)
6120 `(#:import-path "github.com/alecthomas/chroma"))
6122 `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
6123 ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
6124 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
6125 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
6126 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
6127 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
6128 (home-page "https://github.com/alecthomas/chroma/")
6129 (synopsis "General purpose syntax highlighter in pure Go")
6130 (description "Chroma takes source code and other structured text and
6131 converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
6132 (license license:expat)))
6134 (define-public go-github-com-andybalholm-cascadia
6136 (name "go-github-com-andybalholm-cascadia")
6141 (url "https://github.com/andybalholm/cascadia")
6142 (commit (string-append "v" version))))
6143 (file-name (git-file-name name version))
6146 "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc"))))
6147 (build-system go-build-system)
6149 `(#:import-path "github.com/andybalholm/cascadia"))
6151 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
6152 (home-page "https://github.com/andybalholm/cascadia/")
6153 (synopsis "CSS selectors for HTML")
6154 (description "The Cascadia package implements CSS selectors for use with
6155 the parse trees produced by the html package.")
6156 (license license:bsd-2)))
6158 (define-public go-github-com-puerkitobio-goquery
6160 (name "go-github-com-puerkitobio-goquery")
6165 (url "https://github.com/PuerkitoBio/goquery")
6166 (commit (string-append "v" version))))
6167 (file-name (git-file-name name version))
6170 "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx"))))
6171 (build-system go-build-system)
6173 `(#:import-path "github.com/PuerkitoBio/goquery"))
6175 `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
6176 ("go-golang-org-x-net" ,go-golang-org-x-net)))
6177 (home-page "https://github.com/PuerkitoBio/goquery")
6178 (synopsis "Features similar to jQuery to the Go language")
6179 (description "@code{goquery} brings a syntax and a set of features similar
6180 to jQuery to the Go language.")
6181 (license license:bsd-3)))
6183 (define-public go-github-com-jmespath-go-jmespath
6185 (name "go-github-com-jmespath-go-jmespath")
6191 (url "https://github.com/jmespath/go-jmespath")
6192 (commit (string-append "v" version))))
6193 (file-name (git-file-name name version))
6196 "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
6197 (build-system go-build-system)
6199 '(#:import-path "github.com/jmespath/go-jmespath"))
6201 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)
6202 ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)
6203 ("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
6204 (home-page "https://github.com/jmespath/go-jmespath")
6205 (synopsis "Golang implementation of JMESPath")
6207 "This package implements JMESPath, a query language for JSON. It
6208 transforms one JSON document into another through a JMESPath expression.")
6209 (license license:asl2.0)))
6211 (define-public go-github-com-aymerick-douceur
6213 (name "go-github-com-aymerick-douceur")
6218 (url "https://github.com/aymerick/douceur/")
6219 (commit (string-append "v" version))))
6220 (file-name (git-file-name name version))
6223 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
6224 (build-system go-build-system)
6226 `(#:import-path "github.com/aymerick/douceur"))
6228 `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
6229 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
6230 ("go-golang-org-x-net" ,go-golang-org-x-net)
6231 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
6232 (home-page "https://github.com/aymerick/douceur/")
6233 (synopsis "CSS parser and inliner")
6234 (description "This package provides a CSS parser and inliner.")
6235 (license license:expat)))
6237 (define-public go-github-com-chris-ramon-douceur
6239 (name "go-github-com-chris-ramon-douceur")
6244 (url "https://github.com/chris-ramon/douceur")
6245 (commit (string-append "v" version))))
6246 (file-name (git-file-name name version))
6249 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
6250 (build-system go-build-system)
6252 `(#:import-path "github.com/chris-ramon/douceur"))
6254 `(("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
6255 ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
6256 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
6257 ("go-golang-org-x-net" ,go-golang-org-x-net)
6258 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
6259 (home-page "https://github.com/chris-ramon/douceur/")
6260 (synopsis "CSS parser and inliner")
6261 (description "This package provides a CSS parser and inliner.")
6262 (license license:expat)))
6264 (define-public go-github-com-microcosm-cc-bluemonday
6266 (name "go-github-com-microcosm-cc-bluemonday")
6271 (url "https://github.com/microcosm-cc/bluemonday")
6272 (commit (string-append "v" version))))
6273 (file-name (git-file-name name version))
6276 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
6277 (build-system go-build-system)
6279 `(#:import-path "github.com/microcosm-cc/bluemonday"))
6281 `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
6282 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
6283 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
6284 ("go-golang-org-x-net" ,go-golang-org-x-net)))
6285 (home-page "https://github.com/microcosm-cc/bluemonday/")
6286 (synopsis "HTML sanitizer")
6287 (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
6288 (license license:bsd-3)))
6290 (define-public go-github-com-muesli-reflow-wordwrap
6292 (name "go-github-com-muesli-reflow-wordwrap")
6297 (url "https://github.com/muesli/reflow")
6298 (commit (string-append "v" version))))
6299 (file-name (git-file-name "go-github-com-muesli-reflow" version))
6302 "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
6303 (build-system go-build-system)
6305 `(#:import-path "github.com/muesli/reflow/wordwrap"
6306 #:unpack-path "github.com/muesli/reflow"))
6308 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
6309 (home-page "https://github.com/muesli/reflow/")
6310 (synopsis "Collection of methods helping to transform blocks of text")
6311 (description "This package provides a collection of ANSI-aware methods and
6312 io.Writers helping you to transform blocks of text.")
6313 (license license:expat)))
6315 (define-public go-github-com-muesli-reflow-ansi
6317 (inherit go-github-com-muesli-reflow-wordwrap)
6318 (name "go-github-com-muesli-reflow-ansi")
6320 `(#:import-path "github.com/muesli/reflow/ansi"
6321 #:unpack-path "github.com/muesli/reflow"))))
6323 (define-public go-github-com-muesli-reflow-indent
6325 (inherit go-github-com-muesli-reflow-wordwrap)
6326 (name "go-github-com-muesli-reflow-indent")
6328 `(#:import-path "github.com/muesli/reflow/indent"
6329 #:unpack-path "github.com/muesli/reflow"))))
6331 (define-public go-github-com-muesli-reflow-padding
6333 (inherit go-github-com-muesli-reflow-wordwrap)
6334 (name "go-github-com-muesli-reflow-padding")
6336 `(#:import-path "github.com/muesli/reflow/padding"
6337 #:unpack-path "github.com/muesli/reflow"))))
6339 (define-public go-github-com-muesli-termenv
6341 (name "go-github-com-muesli-termenv")
6346 (url "https://github.com/muesli/termenv")
6347 (commit (string-append "v" version))))
6348 (file-name (git-file-name name version))
6351 "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
6352 (build-system go-build-system)
6354 `(#:import-path "github.com/muesli/termenv"))
6356 `(("go-github-com-google-goterm" ,go-github-com-google-goterm)
6357 ("go-golang-org-colorful" ,go-golang-org-colorful)
6358 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
6359 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
6360 (home-page "https://github.com/muesli/termenv/")
6361 (synopsis "Advanced styling options on the terminal")
6362 (description "termenv lets you safely use advanced styling options on the
6363 terminal. It gathers information about the terminal environment in terms of
6364 its ANSI and color support and offers you convenient methods to colorize and
6365 style your output, without you having to deal with all kinds of weird ANSI
6366 escape sequences and color conversions.")
6367 (license license:expat)))
6369 (define-public go-github-com-nwidger-jsoncolor
6371 (name "go-github-com-nwidger-jsoncolor")
6373 (home-page "https://github.com/nwidger/jsoncolor")
6379 (commit (string-append "v" version))))
6380 (file-name (git-file-name name version))
6383 "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8"))))
6384 (build-system go-build-system)
6386 `(#:import-path "github.com/nwidger/jsoncolor"))
6388 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)))
6389 (synopsis "Colorized JSON marshalling and encoding")
6391 "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s
6392 @code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type
6393 which produce colorized output using github.com/fatih/color.")
6394 (license license:expat)))
6396 (define-public go-github-com-olekukonko-tablewriter
6398 (name "go-github-com-olekukonko-tablewriter")
6403 (url "https://github.com/olekukonko/tablewriter")
6404 (commit (string-append "v" version))))
6405 (file-name (git-file-name name version))
6408 "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x"))))
6409 (build-system go-build-system)
6411 `(#:import-path "github.com/olekukonko/tablewriter"))
6413 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
6414 (home-page "https://github.com/olekukonko/tablewriter/")
6415 (synopsis "Generate ASCII table")
6416 (description "This package generates ASCII tables. Features:
6418 @item automatic Padding
6419 @item support Multiple Lines
6420 @item supports Alignment
6421 @item support Custom Separators
6422 @item automatic Alignment of numbers and percentage
6423 @item write directly to http , file etc via @code{io.Writer}
6424 @item read directly from CSV file
6425 @item optional row line via @code{SetRowLine}
6426 @item normalise table header
6427 @item make CSV Headers optional
6428 @item enable or disable table border
6429 @item set custom footer support
6430 @item optional identical cells merging
6431 @item set custom caption
6432 @item optional reflowing of paragrpahs in multi-line cells
6434 (license license:expat)))
6436 (define-public go-github-com-yuin-goldmark
6438 (name "go-github-com-yuin-goldmark")
6443 (url "https://github.com/yuin/goldmark")
6444 (commit (string-append "v" version))))
6445 (file-name (git-file-name name version))
6448 "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy"))))
6449 (build-system go-build-system)
6451 `(#:import-path "github.com/yuin/goldmark"))
6452 (home-page "https://github.com/yuin/goldmark/")
6453 (synopsis "Markdown parser")
6454 (description "This package provides a markdown parser.")
6455 (license license:expat)))
6457 (define-public go-github-com-charmbracelet-glamour
6459 (name "go-github-com-charmbracelet-glamour")
6464 (url "https://github.com/charmbracelet/glamour")
6465 (commit (string-append "v" version))))
6466 (file-name (git-file-name name version))
6469 "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
6470 (build-system go-build-system)
6472 `(#:import-path "github.com/charmbracelet/glamour"))
6474 `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
6475 ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
6476 ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
6477 ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
6478 ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
6479 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
6480 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
6481 ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
6482 ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
6483 ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
6484 ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
6485 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
6486 ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
6487 ("go-github-com-google-goterm" ,go-github-com-google-goterm)
6488 ("go-golang-org-colorful" ,go-golang-org-colorful)
6489 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
6490 ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
6491 ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
6492 ("go-golang-org-x-net" ,go-golang-org-x-net)))
6493 (home-page "https://github.com/charmbracelet/glamour/")
6494 (synopsis "Write handsome command-line tools with glamour")
6495 (description "@code{glamour} lets you render markdown documents and
6496 templates on ANSI compatible terminals. You can create your own stylesheet or
6497 use one of our glamorous default themes.")
6498 (license license:expat)))
6500 (define-public go-github-com-coreos-go-semver
6502 (name "go-github-com-coreos-go-semver")
6507 (url "https://github.com/coreos/go-semver")
6508 (commit (string-append "v" version))))
6509 (file-name (git-file-name name version))
6512 "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9"))))
6513 (build-system go-build-system)
6515 `(#:import-path "github.com/coreos/go-semver"))
6516 (home-page "https://github.com/coreos/go-semver/")
6517 (synopsis "Semantic versioning library")
6518 (description "@code{go-semver} is a semantic versioning library for Go.
6519 It lets you parse and compare two semantic version strings.")
6520 (license license:asl2.0)))
6522 (define-public go-github-com-emirpasic-gods
6524 (name "go-github-com-emirpasic-gods")
6529 (url "https://github.com/emirpasic/gods")
6530 (commit (string-append "v" version))))
6531 (file-name (git-file-name name version))
6534 "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1"))))
6535 (build-system go-build-system)
6537 `(#:import-path "github.com/emirpasic/gods"
6538 ; Source-only package
6541 (modify-phases %standard-phases
6543 (home-page "https://github.com/emirpasic/gods/")
6544 (synopsis "Implementation of various data structures and algorithms in Go")
6545 (description "This package provides implementation of various data
6546 structures and algorithms in Go.")
6547 (license license:bsd-2)))
6549 (define-public go-gopkg-in-warnings
6551 (name "go-gopkg-in-warnings")
6556 (url "https://github.com/go-warnings/warnings")
6557 (commit (string-append "v" version))))
6558 (file-name (git-file-name name version))
6561 "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81"))))
6562 (build-system go-build-system)
6564 `(#:import-path "gopkg.in/warnings.v0"))
6565 (home-page "https://gopkg.in/warnings.v0")
6566 (synopsis "Error handling with non-fatal errors")
6567 (description "Package warnings implements error handling with non-fatal
6568 errors (warnings).")
6569 (license license:bsd-2)))
6571 (define-public go-github-com-go-git-gcfg
6573 (name "go-github-com-go-git-gcfg")
6578 (url "https://github.com/go-git/gcfg")
6579 (commit (string-append "v" version))))
6580 (file-name (git-file-name name version))
6583 "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83"))))
6585 `(#:import-path "github.com/go-git/gcfg"))
6587 `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings)
6588 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
6589 (build-system go-build-system)
6590 (home-page "https://github.com/go-git/gcfg/")
6591 (synopsis "Gcfg reads INI-style configuration files into Go structs")
6592 (description "Gcfg reads INI-style configuration files into Go structs.")
6593 (license license:bsd-3)))
6595 (define-public go-github-com-go-git-go-billy
6597 (name "go-github-com-go-git-go-billy")
6602 (url "https://github.com/go-git/go-billy")
6603 (commit (string-append "v" version))))
6604 (file-name (git-file-name name version))
6607 "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx"))))
6608 (build-system go-build-system)
6610 `(#:import-path "github.com/go-git/go-billy/v5"))
6612 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
6613 (home-page "https://github.com/go-git/go-billy/")
6614 (synopsis "File system abstraction for Go")
6615 (description "Billy implements an interface based on the OS's standard
6616 library to develop applications without depending on the underlying storage.
6617 This makes it virtually free to implement mocks and testing over
6618 file system operations.")
6619 (license license:asl2.0)))
6621 (define-public go-github-com-jbenet-go-context
6622 (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
6625 (name "go-github-com-jbenet-go-context")
6626 (version (git-version "0.0.1" revision commit))
6630 (url "https://github.com/jbenet/go-context")
6632 (file-name (git-file-name name version))
6635 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
6636 (build-system go-build-system)
6638 `(#:import-path "github.com/jbenet/go-context"
6639 ; Source-only package
6642 (modify-phases %standard-phases
6644 (home-page "https://github.com/jbenet/go-context/")
6645 (synopsis "@code{jbenet's} context extensions")
6646 (description "This package provides @code{jbenet's} context
6648 (license license:expat))))
6650 (define-public go-github-com-kevinburke-ssh-config
6652 (name "go-github-com-kevinburke-ssh-config")
6657 (url "https://github.com/kevinburke/ssh_config")
6659 (file-name (git-file-name name version))
6662 "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f"))))
6664 `(#:import-path "github.com/kevinburke/ssh_config"))
6665 (build-system go-build-system)
6666 (home-page "https://github.com/kevinburke/ssh_config/")
6667 (synopsis "Parser for @file{ssh_config} files")
6668 (description "This is a Go parser for @file{ssh_config} files.
6669 Importantly, this parser attempts to preserve comments in a given file, so you
6670 can manipulate a @file{ssh_config} file from a program.")
6671 (license license:expat)))
6673 (define-public go-github-com-xanzy-ssh-agent
6675 (name "go-github-com-xanzy-ssh-agent")
6680 (url "https://github.com/xanzy/ssh-agent")
6681 (commit (string-append "v" version))))
6682 (file-name (git-file-name name version))
6685 "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
6686 (build-system go-build-system)
6688 `(#:import-path "github.com/xanzy/ssh-agent"))
6690 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
6691 (home-page "https://github.com/xanzy/ssh-agent/")
6692 (synopsis "Control ssh-agent from Go")
6693 (description "Package agent implements the ssh-agent protocol, and
6694 provides both a client and a server. The client can talk to a standard
6695 ssh-agent that uses UNIX sockets, and one could implement an alternative
6696 ssh-agent process using the sample server. ")
6697 (license license:asl2.0)))
6699 (define-public go-github-com-alcortesm-tgz
6700 (let ((commit "9c5fe88206d7765837fed3732a42ef88fc51f1a1")
6703 (name "go-github-com-alcortesm-tgz")
6704 (version (git-version "0.0.1" revision commit))
6708 (url "https://github.com/alcortesm/tgz")
6710 (file-name (git-file-name name version))
6713 "04dcwnz2c2i4wbq2vx3g2wrdgqpncr2r1h6p1k08rdwk4bq1h8c5"))
6714 (modules '((guix build utils)))
6717 (substitute* "tgz_test.go"
6719 (("t.Fatalf\\(\"%s: unexpected error extracting: %s\", err\\)")
6720 "t.Fatalf(\"%s: unexpected error extracting: %s\", com, err)"))
6722 (build-system go-build-system)
6724 `(#:import-path "github.com/alcortesm/tgz"
6726 (modify-phases %standard-phases
6727 (add-after 'unpack 'make-git-checkout-writable
6728 (lambda* (#:key outputs #:allow-other-keys)
6729 (for-each make-file-writable (find-files "."))
6730 (for-each make-file-writable (find-files (assoc-ref outputs "out")))
6732 (home-page "https://github.com/alcortesm/tgz/")
6733 (synopsis "Go library to extract tgz files to temporal directories")
6734 (description "This package provides a Go library to extract tgz files to
6735 temporal directories.")
6736 (license license:expat))))
6738 (define-public go-github-com-go-git-go-git-fixtures
6740 (name "go-github-com-go-git-go-git-fixtures")
6745 (url "https://github.com/go-git/go-git-fixtures")
6746 (commit (string-append "v" version))))
6747 (file-name (git-file-name name version))
6750 "002yb1s2mxq2xijkl39ip1iyc3l52k23ikyi9ijfl4bgqxy79ljg"))))
6751 (build-system go-build-system)
6753 `(#:import-path "github.com/go-git/go-git-fixtures/v4"
6755 (modify-phases %standard-phases
6756 (delete 'reset-gzip-timestamps))))
6758 `(("go-github-com-alcortesm-tgz" ,go-github-com-alcortesm-tgz)
6759 ("go-github-com-go-git-go-billy" ,go-github-com-go-git-go-billy)
6760 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
6761 ("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
6762 (home-page "https://github.com/go-git/go-git-fixtures/")
6763 (synopsis "Fixtures used by @code{go-git}")
6764 (description "This package provides fixtures used by @code{go-git}.")
6765 (license license:asl2.0)))
6767 (define-public go-github-com-pkg-diff
6768 (let ((commit "531926345625d489a6b56f860a569e68245ace36")
6771 (name "go-github-com-pkg-diff")
6772 (version (git-version "0.0.1" revision commit))
6776 (url "https://github.com/pkg/diff")
6778 (file-name (git-file-name name version))
6781 "1770m7qhww6lm0wj1v3mhv6hwa2v92p4w2fqxj1xyrg5dd58d944"))))
6782 (build-system go-build-system)
6784 `(#:import-path "github.com/pkg/diff"))
6786 `(("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
6787 (home-page "https://github.com/pkg/diff/")
6788 (synopsis "Create and print diffs")
6790 "This package provides a Go library to create and print diffs.")
6791 (license license:bsd-3))))
6793 (define-public go-github-com-twpayne-go-shell
6795 (name "go-github-com-twpayne-go-shell")
6800 (url "https://github.com/twpayne/go-shell")
6801 (commit (string-append "v" version))))
6802 (file-name (git-file-name name version))
6805 "1hv0ggy3935iddjnmpp9vl0kqjknxpnbmm9w7xr3gds7fpbxz6yp"))))
6806 (build-system go-build-system)
6808 `(#:import-path "github.com/twpayne/go-shell"))
6809 (home-page "https://github.com/twpayne/go-shell/")
6810 (synopsis "Shell across multiple platforms")
6812 "Package @code{shell} returns a user's shell across multiple platforms.")
6813 (license license:expat)))
6815 (define-public go-github-com-twpayne-go-vfs
6817 (name "go-github-com-twpayne-go-vfs")
6822 (url "https://github.com/twpayne/go-vfs")
6823 (commit (string-append "v" version))))
6824 (file-name (git-file-name name version))
6827 "19dm3gi45znwaqbzxhwcgkiz8059bwa3ank80hc6qhdl579bpjnz"))))
6828 (build-system go-build-system)
6830 `(#:import-path "github.com/twpayne/go-vfs"))
6832 `(("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar)))
6833 (home-page "https://github.com/twpayne/go-vfs/")
6834 (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
6835 (description "Package @code{vfs} provides an abstraction of the @code{os}
6836 and @code{ioutil} packages that is easy to test.")
6837 (license license:expat)))
6839 (define-public go-github-com-twpayne-go-vfsafero
6841 (name "go-github-com-twpayne-go-vfsafero")
6846 (url "https://github.com/twpayne/go-vfsafero")
6847 (commit (string-append "v" version))))
6848 (file-name (git-file-name name version))
6851 "18jwxhlrjd06z8xzg9ij0irl4f79jfy5jpwiz6xqlhzb1fja19pw"))))
6852 (build-system go-build-system)
6854 `(#:import-path "github.com/twpayne/go-vfsafero"))
6856 `(("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)
6857 ("go-github-com-spf13-afero" ,go-github-com-spf13-afero)))
6858 (home-page "https://github.com/twpayne/go-vfsafero/")
6859 (synopsis "Compatibility later between @code{go-vfs} and @code{afero}")
6861 "Package @code{vfsafero} provides a compatibility later between
6862 @code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.")
6863 (license license:expat)))
6865 (define-public go-github-com-twpayne-go-xdg
6867 (name "go-github-com-twpayne-go-xdg")
6872 (url "https://github.com/twpayne/go-xdg")
6873 (commit (string-append "v" version))))
6874 (file-name (git-file-name name version))
6877 "0j8q7yzixs6jlaad0lpa8hs6b240gm2cmy0yxgnprrbpa0y2r7ln"))))
6878 (build-system go-build-system)
6880 `(#:import-path "github.com/twpayne/go-xdg/v3"))
6882 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
6883 ("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)))
6884 (home-page "https://github.com/twpayne/go-xdg/")
6885 (synopsis "Functions related to freedesktop.org")
6886 (description "Package @code{xdg} provides functions related to
6887 @uref{freedesktop.org}.")
6888 (license license:expat)))
6890 (define-public go-github-com-godbus-dbus
6892 (name "go-github-com-godbus-dbus")
6897 (url "https://github.com/godbus/dbus")
6898 (commit (string-append "v" version))))
6899 (file-name (git-file-name name version))
6902 "1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
6903 (build-system go-build-system)
6905 `(#:tests? #f ;no /var/run/dbus/system_bus_socket
6906 #:import-path "github.com/godbus/dbus"))
6908 `(("dbus" ,dbus))) ;dbus-launch
6909 (home-page "https://github.com/godbus/dbus/")
6910 (synopsis "Native Go client bindings for the D-Bus")
6911 (description "@code{dbus} is a library that implements native Go client
6912 bindings for the D-Bus message bus system.")
6913 (license license:bsd-2)))
6915 (define-public go-github-com-zalando-go-keyring
6917 (name "go-github-com-zalando-go-keyring")
6922 (url "https://github.com/zalando/go-keyring")
6923 (commit (string-append "v" version))))
6924 (file-name (git-file-name name version))
6927 "0kj54nkiyccy6m9iy9a53f6412a54xk96j88jaiq35yzdgfa4z3p"))))
6928 (build-system go-build-system)
6930 `(#:tests? #f ;XXX: Fix dbus tests
6931 #:import-path "github.com/zalando/go-keyring"))
6933 `(("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus)
6935 (home-page "https://github.com/zalando/go-keyring/")
6936 (synopsis "Library for working with system keyring")
6937 (description "@code{go-keyring} is a library for setting, getting and
6938 deleting secrets from the system keyring.")
6939 (license license:expat)))
6941 (define-public go-etcd-io-bbolt
6943 (name "go-etcd-io-bbolt")
6948 (url "https://github.com/etcd-io/bbolt")
6949 (commit (string-append "v" version))))
6950 (file-name (git-file-name name version))
6953 "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r"))))
6954 (build-system go-build-system)
6956 `(#:import-path "go.etcd.io/bbolt"))
6957 (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
6958 (synopsis "Low-level key/value store in Go")
6959 (description "This package implements a low-level key/value store in Go.")
6960 (license license:expat)))
6962 (define-public go-github-com-rogpeppe-go-internal
6964 (name "go-github-com-rogpeppe-go-internal")
6969 (url "https://github.com/rogpeppe/go-internal")
6970 (commit (string-append "v" version))))
6971 (file-name (git-file-name name version))
6974 "00j2vpp1bsggdvw1winkz23mg0q6drjiir5q0k49pmqx1sh7106l"))))
6975 (build-system go-build-system)
6977 `(#:import-path "github.com/rogpeppe/go-internal"
6978 ; Source-only package
6981 (modify-phases %standard-phases
6983 (home-page "https://github.com/rogpeppe/go-internal/")
6984 (synopsis "Internal packages from the Go standard library")
6985 (description "This repository factors out an opinionated selection of
6986 internal packages and functionality from the Go standard library. Currently
6987 this consists mostly of packages and testing code from within the Go tool
6990 Included are the following:
6992 @item dirhash: calculate hashes over directory trees the same way that the Go tool does.
6993 @item goproxytest: a GOPROXY implementation designed for test use.
6994 @item gotooltest: Use the Go tool inside test scripts (see testscript below)
6995 @item imports: list of known architectures and OSs, and support for reading import import statements.
6996 @item modfile: read and write go.mod files while preserving formatting and comments.
6997 @item module: module paths and versions.
6998 @item par: do work in parallel.
6999 @item semver: semantic version parsing.
7000 @item testenv: information on the current testing environment.
7001 @item testscript: script-based testing based on txtar files
7002 @item txtar: simple text-based file archives for testing.
7004 (license license:bsd-3)))
7006 (define-public gopkg-in-errgo-fmt-errors
7008 (name "gopkg-in-errgo-fmt-errors")
7013 (url "https://github.com/go-errgo/errgo")
7014 (commit (string-append "v" version))))
7015 (file-name (git-file-name name version))
7018 "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2"))))
7019 (build-system go-build-system)
7021 `(#:import-path "gopkg.in/errgo.v2/fmt/errors"
7023 ;; Source-only package
7025 (modify-phases %standard-phases
7027 (home-page "https://godoc.org/gopkg.in/errgo.v2")
7028 (synopsis "Functions that use the fmt package to format error messages")
7029 (description "This package is the same as @code{gopkg.in/errgo.v2/errors}
7030 except that it adds convenience functions that use the fmt package to format
7032 (license license:bsd-3)))
7034 (define-public go-github-com-arceliar-phony
7035 (let ((commit "d0c68492aca0bd4b5c5c8e0452c9b4c8af923eaf")
7038 (name "go-github-com-arceliar-phony")
7039 (version (git-version "0.0.0" revision commit))
7044 (url "https://github.com/Arceliar/phony")
7046 (file-name (git-file-name name version))
7049 "0876y0hlb1zh8hn0pxrb5zfdadvaqmqwlr66p19yl2a76galz992"))))
7051 '(#:import-path "github.com/Arceliar/phony"))
7052 (build-system go-build-system)
7053 (home-page "https://github.com/Arceliar/phony")
7054 (synopsis "Very minimal actor model library")
7055 (description "Phony is a very minimal actor model library for Go,
7056 inspired by the causal messaging system in the Pony programming language.")
7057 (license license:expat))))
7059 (define-public go-github-com-cheggaaa-pb
7061 (name "go-github-com-cheggaaa-pb")
7067 (url "https://github.com/cheggaaa/pb/")
7068 (commit (string-append "v" version))))
7069 (file-name (git-file-name name version))
7072 "0xhsv9yf3fz918ay6w0d87jnb3hk9vxvi16jk172kqq26x7jixd0"))))
7073 (build-system go-build-system)
7075 '(#:import-path "github.com/cheggaaa/pb/"))
7077 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
7078 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
7079 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
7080 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
7082 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
7083 (home-page "https://github.com/cheggaaa/pb/")
7084 (synopsis "Console progress bar for Go")
7085 (description "This package is a Go library that draws progress bars on
7087 (license license:bsd-3)))
7089 (define-public go-github-com-gologme-log
7090 ;; this is the same as v1.2.0, only the LICENSE file changed
7091 (let ((commit "720ba0b3ccf0a91bc6018c9967a2479f93f56a55"))
7093 (name "go-github-com-gologme-log")
7099 (url "https://github.com/gologme/log")
7101 (file-name (git-file-name name version))
7104 "0z3gs5ngv2jszp42ypp3ai0pn410v3b2m674g73ma7vsbn2yjk1n"))))
7105 (build-system go-build-system)
7107 '(#:import-path "github.com/gologme/log"))
7108 (home-page "https://github.com/gologme/log/")
7110 "Fork of the golang built in log package to add support for levels")
7111 (description "This package is a drop in replacement for the built-in Go
7112 log package. All the functionality of the built-in package still exists and
7113 is unchanged. This package contains a series of small enhancements and
7115 (license license:bsd-3))))
7117 (define-public go-github-com-frankban-quicktest
7119 (name "go-github-com-frankban-quicktest")
7125 (url "https://github.com/frankban/quicktest")
7126 (commit (string-append "v" version))))
7127 (file-name (git-file-name name version))
7130 "0b1b44b2hli2p969gqz30z8v9z6ahlklpqzi17nwk1lsjz9yv938"))))
7131 (build-system go-build-system)
7133 '(#:import-path "github.com/frankban/quicktest"))
7135 `(("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)
7136 ("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
7137 (home-page "https://github.com/frankban/quicktest")
7138 (synopsis "Quick helpers for testing Go applications")
7140 "Package quicktest provides a collection of Go helpers for writing
7142 (license license:expat)))
7144 (define-public go-github-com-bep-golibsass
7146 (name "go-github-com-bep-golibsass")
7152 (url "https://github.com/bep/golibsass")
7153 (commit (string-append "v" version))))
7154 (file-name (git-file-name name version))
7157 "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
7158 (modules '((guix build utils)))
7161 (delete-file-recursively "libsass_src")
7163 (build-system go-build-system)
7165 '(#:import-path "github.com/bep/golibsass/libsass"
7166 #:unpack-path "github.com/bep/golibsass"
7167 ;; The dev build tag modifies the build to link to system libsass
7168 ;; instead of including the bundled one (which we remove.)
7169 ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
7170 #:build-flags '("-tags" "dev")
7172 (modify-phases %standard-phases
7173 (add-before 'build 'generate-bindings
7174 ;; Generate bindings for system libsass, replacing the
7175 ;; pre-generated bindings.
7176 (lambda* (#:key inputs unpack-path #:allow-other-keys)
7177 (mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
7178 (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
7179 (substitute* (string-append "src/" unpack-path "/gen/main.go")
7180 (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
7181 (string-append "\"" libsass-src "\""))
7182 (("../../libsass_src/src/")
7184 (invoke "go" "generate" (string-append unpack-path "/gen"))
7187 (lambda* (#:key tests? import-path #:allow-other-keys)
7189 (invoke "go" "test" import-path "-tags" "dev"))
7192 `(("libsass" ,libsass)))
7194 `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
7195 ("libsass-src" ,(package-source libsass))))
7196 (home-page "https://github.com/bep/golibsass")
7197 (synopsis "Easy to use Go bindings for LibSass")
7199 "This package provides SCSS compiler support for Go applications.")
7200 (license license:expat)))
7202 (define-public go-github-com-hashicorp-go-syslog
7204 (name "go-github-com-hashicorp-go-syslog")
7210 (url "https://github.com/hashicorp/go-syslog")
7211 (commit (string-append "v" version))))
7212 (file-name (git-file-name name version))
7215 "09vccqggz212cg0jir6vv708d6mx0f9w5bxrcdah3h6chgmal6v1"))))
7216 (build-system go-build-system)
7218 '(#:import-path "github.com/hashicorp/go-syslog"))
7219 (home-page "https://github.com/hashicorp/go-syslog")
7220 (synopsis "Golang syslog wrapper, cross-compile friendly")
7221 (description "This package is a very simple wrapper around log/syslog")
7222 (license license:expat)))
7224 (define-public go-github-com-hjson-hjson-go
7226 (name "go-github-com-hjson-hjson-go")
7232 (url "https://github.com/hjson/hjson-go")
7233 (commit (string-append "v" version))))
7234 (file-name (git-file-name name version))
7237 "1dfdiahimg6z9idg8jiqxwnlwjnmasbjccx8gnag49cz4yfqskaz"))))
7238 (build-system go-build-system)
7240 '(#:import-path "github.com/hjson/hjson-go"))
7241 (home-page "https://hjson.org/")
7242 (synopsis "Human JSON implementation for Go")
7243 (description "Hjson is a syntax extension to JSON. It is intended to be
7244 used like a user interface for humans, to read and edit before passing the
7245 JSON data to the machine.")
7246 (license license:expat)))
7248 (define-public go-golang-zx2c4-com-wireguard
7250 (name "go-golang-zx2c4-com-wireguard")
7251 (version "0.0.20200320")
7255 ;; NOTE: module URL is a redirect
7256 ;; target: git.zx2c4.com/wireguard-go
7257 ;; source: golang.zx2c4.com/wireguard
7259 (url "https://git.zx2c4.com/wireguard-go/")
7260 (commit (string-append "v" version))))
7261 (file-name (git-file-name name version))
7264 "0fy4qsss3i3pkq1rpgjds4aipbwlh1dr9hbbf7jn2a1c63kfks0r"))))
7265 (build-system go-build-system)
7267 '(#:import-path "golang.zx2c4.com/wireguard"))
7269 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
7270 ("go-golang-org-x-net" ,go-golang-org-x-net)
7271 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
7272 ("go-golang-org-x-text" ,go-golang-org-x-text)))
7273 (home-page "https://git.zx2c4.com/wireguard")
7274 (synopsis "Implementation of WireGuard in Go")
7275 (description "This package is a Go Implementation of WireGuard.")
7276 (license license:expat)))
7278 (define-public go-github-com-kardianos-minwinsvc
7280 (name "go-github-com-kardianos-minwinsvc")
7286 (url "https://github.com/kardianos/minwinsvc")
7287 (commit (string-append "v" version))))
7288 (file-name (git-file-name name version))
7291 "0z941cxymkjcsj3p5l3g4wm2da3smz7iyqk2wbs5y8lmxd4kfzd8"))))
7292 (build-system go-build-system)
7294 '(#:import-path "github.com/kardianos/minwinsvc"))
7295 (home-page "https://github.com/kardianos/minwinsvc/")
7296 ;; some packages (Yggdrasil) need it to compile
7297 ;; it's a tiny package and it's easier to bundle it than to patch it out
7298 (synopsis "Minimal windows only service stub for Go")
7299 (description "Go programs designed to run from most *nix style operating
7300 systems can import this package to enable running programs as services without
7302 (license license:zlib)))
7304 (define-public go-github-com-goccy-yaml
7306 (name "go-github-com-goccy-yaml")
7308 (home-page "https://github.com/goccy/go-yaml")
7314 (commit (string-append "v" version))))
7315 (file-name (git-file-name name version))
7317 (base32 "1nps58dwkd915mx35h5f0dc05b880b4fdl6dcjxpfmmbzyinvg38"))))
7318 (build-system go-build-system)
7320 `(#:import-path "github.com/goccy/go-yaml"))
7322 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
7323 ("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)))
7325 `(("go-gopkg-in-go-playground-validator-v9"
7326 ,go-gopkg-in-go-playground-validator-v9)))
7327 (synopsis "YAML support for the Go language")
7329 "This package provides features beyond the
7330 @uref{https://github.com/go-yaml/yaml, defacto YAML library} including:
7333 @item Pretty format for error notifications
7334 @item Support Scanner or Lexer or Parser as public API
7335 @item Support Anchor and Alias to Marshaler
7336 @item Allow referencing elements declared in another file via anchors
7337 @item Extract value or AST by YAMLPath (YAMLPath is like a JSONPath)
7339 (license license:expat)))
7341 (define-public go-github-com-tekwizely-go-parsing
7342 (let ((commit "1548cfb17df54d365ce9febed0677c06a40a8ceb")
7345 (name "go-github-com-tekwizely-go-parsing")
7346 (version (git-version "0.0.0" revision commit))
7351 (url "https://github.com/tekwizely/go-parsing")
7353 (file-name (git-file-name name version))
7355 (base32 "0bv5amka8hb9crc7qvlzi2kbycqrnh9d46b9wgcs8wqzl0z7w609"))))
7356 (build-system go-build-system)
7358 `(#:import-path "github.com/tekwizely/go-parsing"))
7359 (home-page "https://github.com/tekwizely/go-parsing")
7360 (synopsis "Text parsing, with lexers, parsers, and related tools")
7362 "This package provides Go modules focused on text parsing, with lexers,
7363 parsers, and related tools.")
7364 (license license:expat))))
7366 (define-public go-github.com-ulikunitz-xz
7368 (name "go-github.com-ulikunitz-xz")
7373 (url "https://github.com/ulikunitz/xz.git")
7374 (commit (string-append "v" version))))
7375 (file-name (string-append name "-" version "-checkout"))
7378 "1xnsymi5fmmm734bi4c6z57p5cvnyxlpi29yxs4v21w5k763aypd"))))
7379 (build-system go-build-system)
7381 `(#:import-path "github.com/ulikunitz/xz"))
7382 (synopsis "Read and write xz compressed streams in Go")
7383 (description "This package provides a library to read and write xz
7384 compressed streams in Go.")
7385 (home-page "https://github.com/ulikunitz/xz")
7386 (license license:bsd-3)))
7388 (define-public go-github-com-songmu-gitconfig
7390 (name "go-github-com-songmu-gitconfig")
7392 (home-page "https://github.com/songmu/gitconfig")
7398 (commit (string-append "v" version))))
7399 (file-name (git-file-name name version))
7401 (base32 "1y01h496a7pfj1g2bclls5b0nl3vnj7nz610jj1dzq9kxrwxk7fk"))))
7402 (build-system go-build-system)
7404 `(#:import-path "github.com/Songmu/gitconfig"
7405 ;; Package's tests appear to be hardcoded to the author's gitconfig
7406 ;; and require network access.
7409 `(("go-github-com-goccy-yaml" ,go-github-com-goccy-yaml)))
7410 (synopsis "Go library to get configuration values from gitconfig")
7411 (description "@{gitconfig} is a package to get configuration values from gitconfig.")
7412 (license license:expat)))
7414 (define-public go-github-com-operatorfoundation-ed25519
7415 (let ((commit "b22b4bd3ddef042eec45f3ee135cd40281fde2b4")
7418 (name "go-github-com-operatorfoundation-ed25519")
7419 (version (git-version "0.0.0" revision commit))
7423 (url "https://github.com/OperatorFoundation/ed25519")
7425 (file-name (git-file-name name version))
7428 "0xrzqrjlghkgd1cy5rj4khryn4f59vas2vzrxc6d8jpj5ijf3xkv"))))
7429 (build-system go-build-system)
7431 `(#:import-path "github.com/OperatorFoundation/ed25519"
7433 (modify-phases %standard-phases
7434 (add-before 'install 'remove-test-data
7435 (lambda* (#:key import-path #:allow-other-keys)
7436 (delete-file-recursively
7437 (string-append "src/" import-path "/testdata"))
7439 (home-page "https://github.com/OperatorFoundation/ed25519")
7440 (synopsis "Ed25519 for go")
7441 (description "Package ed25519 implements the Ed25519 signature
7443 (license license:bsd-3))))
7445 (define-public go-github-com-akosmarton-papipes
7446 (let ((commit "3c63b4919c769c9c2b2d07e69a98abb0eb47fe64")
7449 (name "go-github-com-akosmarton-papipes")
7450 (version (git-version "0.0.0" revision commit))
7455 (url "https://github.com/akosmarton/papipes")
7457 (file-name (git-file-name name version))
7459 (base32 "16p77p3d1v26qd3knxn087jqlad2qm23q8m796cdr66hrdc0gahq"))))
7460 (build-system go-build-system)
7462 `(("pulseaudio" ,pulseaudio)))
7464 `(#:import-path "github.com/akosmarton/papipes"
7466 (modify-phases %standard-phases
7467 (add-after 'unpack 'fix-paths
7468 (lambda* (#:key inputs #:allow-other-keys)
7469 (substitute* '("src/github.com/akosmarton/papipes/common.go"
7470 "src/github.com/akosmarton/papipes/sink.go"
7471 "src/github.com/akosmarton/papipes/source.go")
7472 (("exec.Command\\(\"pactl\"")
7473 (string-append "exec.Command(\""
7474 (assoc-ref inputs "pulseaudio")
7475 "/bin/pactl\""))))))))
7476 (home-page "https://github.com/akosmarton/papipes")
7477 (synopsis "Pulseaudio client library for Go")
7479 "This is a Pulseaudio client library in Golang for creating virtual
7480 sinks and sources.")
7481 (license license:expat))))
7483 (define-public go-github-com-mesilliac-pulse-simple
7484 (let ((commit "75ac54e19fdff88f4fbd82f45125134b602230b0")
7487 (name "go-github-com-mesilliac-pulse-simple")
7488 (version (git-version "0.0.0" revision commit))
7493 (url "https://github.com/mesilliac/pulse-simple")
7495 (file-name (git-file-name name version))
7497 (base32 "1awwczsa9yy99p035ckajqfs8m6mab0lz82mzlj1c5cj9lnmwplj"))))
7498 (build-system go-build-system)
7500 `(("pkg-config" ,pkg-config)
7501 ("pulseaudio" ,pulseaudio)))
7503 '(#:import-path "github.com/mesilliac/pulse-simple"))
7504 (home-page "https://github.com/mesilliac/pulse-simple")
7505 (synopsis "Cgo bindings to PulseAudio's Simple API")
7507 "This package provides Cgo bindings to PulseAudio's Simple API, to play
7508 or capture raw audio.")
7509 (license license:expat))))
7511 (define-public go-github-com-pborman-getopt
7513 (name "go-github-com-pborman-getopt")
7519 (url "https://github.com/pborman/getopt")
7520 (commit (string-append "v" version))))
7521 (file-name (git-file-name name version))
7523 (base32 "0sacv6g8cxfibxd3gnfjnzp7fynrnc4s2aaz5wbxivqqhvflc22l"))))
7524 (build-system go-build-system)
7526 '(#:import-path "github.com/pborman/getopt"))
7527 (home-page "https://github.com/pborman/getopt")
7528 (synopsis "Getopt style option parsing for Go")
7530 "This package provides traditional getopt processing for implementing
7531 programs that use traditional command lines.")
7532 (license license:bsd-3)))
7534 (define-public go-go-uber-org-atomic
7536 (name "go-go-uber-org-atomic")
7542 (url "https://github.com/uber-go/atomic")
7543 (commit (string-append "v" version))))
7544 (file-name (git-file-name name version))
7546 (base32 "0yxvb5sixh76cl9j8dpa97gznj0p8pmg2cdw0ypfwhd3ipx9wph1"))))
7547 (build-system go-build-system)
7549 '(#:import-path "go.uber.org/atomic"))
7551 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
7552 ("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
7553 (home-page "https://go.uber.org/atomic")
7554 (synopsis "Wrapper types for sync/atomic")
7556 "This package provides simple wrappers for primitive types to enforce
7558 (license license:expat)))
7560 (define-public go-go-uber-org-multierr
7562 (name "go-go-uber-org-multierr")
7568 (url "https://github.com/uber-go/multierr")
7569 (commit (string-append "v" version))))
7570 (file-name (git-file-name name version))
7572 (base32 "162941s8f6a9x2w04qm4qa3zz0zylwag9149hywrj9ibp2nzcsqz"))))
7573 (build-system go-build-system)
7575 '(#:import-path "go.uber.org/multierr"))
7577 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
7579 `(("go-go-uber-org-atomic" ,go-go-uber-org-atomic)))
7580 (home-page "https://go.uber.org/multierr")
7581 (synopsis "Error combination for Go")
7583 "@code{multierr} allows combining one or more Go errors together.")
7584 (license license:expat)))
7586 (define-public go-golang-org-x-lint
7587 (let ((commit "83fdc39ff7b56453e3793356bcff3070b9b96445")
7590 (name "go-golang-org-x-lint")
7591 (version (git-version "0.0.0" revision commit))
7596 (url "https://go.googlesource.com/lint")
7598 (file-name (git-file-name name version))
7600 (base32 "0ms3rs5hvpnm9bxbr5f9743i7hn2bbmqdmvzxq6nmi0f24ypv1l3"))))
7601 (build-system go-build-system)
7603 '(#:import-path "golang.org/x/lint"
7604 #:tests? #f)) ;; TODO: Fix tests
7606 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
7607 (home-page "https://golang.org/x/lint")
7608 (synopsis "Linter for Go source code")
7610 "This is a linter for Go source code. Unlike gofmt, it doesn't
7611 reformat the source code, it only prints out style mistakes.")
7612 (license license:bsd-3))))
7614 (define-public go-github-com-kisielk-gotool
7616 (name "go-github-com-kisielk-gotool")
7622 (url "https://github.com/kisielk/gotool")
7623 (commit (string-append "v" version))))
7624 (file-name (git-file-name name version))
7626 (base32 "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn"))))
7627 (build-system go-build-system)
7629 '(#:import-path "github.com/kisielk/gotool"))
7630 (home-page "https://github.com/kisielk/gotool")
7631 (synopsis "Go library of utility functions")
7633 "This package contains utility functions used to implement the standard
7634 @code{cmd/go} tool, provided as a convenience to developers who want to write
7635 tools with similar semantics.")
7636 (license license:expat)))
7638 (define-public go-honnef-co-go-tools
7640 (name "go-honnef-co-go-tools")
7646 (url "https://github.com/dominikh/go-tools")
7647 (commit (string-append "v" version))))
7648 (file-name (git-file-name name version))
7650 (base32 "17li8jbw3cpn59kpcl3j3r2an4wkx3fc81xn0j4xgbjpkxh9493n"))))
7651 (build-system go-build-system)
7653 `(#:import-path "honnef.co/go/tools"
7655 ;; Source-only package
7657 (modify-phases %standard-phases
7660 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)
7661 ("go-github-com-kisielk-gotool",go-github-com-kisielk-gotool)
7662 ("go-github-com-burntsushi-toml" ,go-github-com-burntsushi-toml)))
7663 (home-page "https://honnef.co/go/tools")
7664 (synopsis "Staticcheck advanced Go linter")
7666 "Staticcheck is a state of the art linter for the Go programming language.
7667 Using static analysis, it finds bugs and performance issues, offers
7668 simplifications, and enforces style rules.")
7669 (license license:expat)))
7671 (define-public go-go-uber-org-zap
7673 (name "go-go-uber-org-zap")
7679 (url "https://github.com/uber-go/zap")
7680 (commit (string-append "v" version))))
7681 (file-name (git-file-name name version))
7683 (base32 "05ix5wg1r8pgi7fb6084lg4x7mrkvzkh1nxa7zj337w5b9xj0myr"))))
7684 (build-system go-build-system)
7686 '(#:import-path "go.uber.org/zap"
7687 #:tests? #f)) ; TODO: Fix tests
7689 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
7690 ("go-golang-org-x-lint" ,go-golang-org-x-lint)
7691 ("go-honnef-co-go-tools" ,go-honnef-co-go-tools)))
7693 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
7694 ("go-go-uber-org-atomic" ,go-go-uber-org-atomic)
7695 ("go-go-uber-org-multierr" ,go-go-uber-org-multierr)
7696 ("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
7697 (home-page "https://go.uber.org/zap")
7698 (synopsis "Logging library for Go")
7700 "This package provides a library for fast, structured, leveled logging in
7702 (license license:expat)))