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-blanu-dust
79 (name "go-github-com-blanu-dust")
86 (url "https://github.com/blanu/Dust")
87 (commit (string-append "v" version))))
88 (file-name (git-file-name name version))
90 (base32 "1lya21w06ramq37af5hdiafbrv5k1csjm7k7m00v0bfxg3ni01bs"))))
91 (build-system go-build-system)
93 `(#:unpack-path "github.com/blanu/Dust"
95 (modify-phases %standard-phases
100 (apply (assoc-ref %standard-phases 'build)
101 `(,@arguments #:import-path ,directory)))
103 "github.com/blanu/Dust/go/buf"
104 "github.com/blanu/Dust/go/dist"
105 "github.com/blanu/Dust/go/huffman"
106 "github.com/blanu/Dust/go/model1"
107 "github.com/blanu/Dust/go/prim1"
108 "github.com/blanu/Dust/go/proc"
109 "github.com/blanu/Dust/go/sillyHex"
110 "github.com/blanu/Dust/go/skein"
111 "github.com/blanu/Dust/go/v2/Dust2_proxy"
112 "github.com/blanu/Dust/go/v2/Dust2_tool"
113 "github.com/blanu/Dust/go/v2/crypting"
114 "github.com/blanu/Dust/go/v2/interface"
115 "github.com/blanu/Dust/go/v2/shaping"))))
120 (apply (assoc-ref %standard-phases 'check)
121 `(,@arguments #:import-path ,directory)))
123 "github.com/blanu/Dust/go/buf"
124 "github.com/blanu/Dust/go/dist"
125 ;; Repository is missing test files directory.
126 ;;"github.com/blanu/Dust/go/huffman"
127 "github.com/blanu/Dust/go/model1"
128 "github.com/blanu/Dust/go/prim1"
129 "github.com/blanu/Dust/go/proc"
130 "github.com/blanu/Dust/go/sillyHex"
131 "github.com/blanu/Dust/go/skein"
132 "github.com/blanu/Dust/go/v2/Dust2_proxy"
133 "github.com/blanu/Dust/go/v2/Dust2_tool"
134 "github.com/blanu/Dust/go/v2/crypting"
135 "github.com/blanu/Dust/go/v2/interface"
136 "github.com/blanu/Dust/go/v2/shaping"))))
141 (apply (assoc-ref %standard-phases 'install)
142 `(,@arguments #:import-path ,directory)))
144 "github.com/blanu/Dust/go/buf"
145 "github.com/blanu/Dust/go/dist"
146 "github.com/blanu/Dust/go/huffman"
147 "github.com/blanu/Dust/go/model1"
148 "github.com/blanu/Dust/go/prim1"
149 "github.com/blanu/Dust/go/proc"
150 "github.com/blanu/Dust/go/sillyHex"
151 "github.com/blanu/Dust/go/skein"
152 "github.com/blanu/Dust/go/v2/Dust2_proxy"
153 "github.com/blanu/Dust/go/v2/Dust2_tool"
154 "github.com/blanu/Dust/go/v2/crypting"
155 "github.com/blanu/Dust/go/v2/interface"
156 "github.com/blanu/Dust/go/v2/shaping")))))))
158 `(("go-github-com-operatorfoundation-ed25519"
159 ,go-github-com-operatorfoundation-ed25519)
160 ("go-github-com-op-go-logging"
161 ,go-github-com-op-go-logging)
162 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
163 (home-page "https://github.com/blanu/Dust")
164 (synopsis "Censorship-resistant internet transport protocol")
165 (description "Dust is an Internet protocol designed to resist a number of
166 attacks currently in active use to censor Internet communication. While
167 adherence to the theoretical maxims of cryptographic security is observed where
168 possible, the focus of Dust is on real solutions to real attacks.")
176 (define-public go-github-com-op-go-logging
178 (name "go-github-com-op-go-logging")
185 (url "https://github.com/op/go-logging")
186 (commit (string-append "v" version))))
187 (file-name (git-file-name name version))
189 (base32 "01a6lkpj5p82gplddh55az194s9y3014p4j8x4zc8yv886z9c8gn"))))
190 (build-system go-build-system)
192 `(#:tests? #f ; ERROR: incorrect callpath: String.rec...a.b.c.Info.
193 #:import-path "github.com/op/go-logging"))
194 (home-page "https://github.com/op/go-logging")
195 (synopsis "Go logging library")
196 (description "Go-Logging implements a logging infrastructure for Go. Its
197 output format is customizable and supports different logging backends like
198 syslog, file and memory. Multiple backends can be utilized with different log
199 levels per backend and logger.")
200 (license license:bsd-3)))
202 (define-public go-github-com-operatorfoundation-shapeshifter-ipc
204 (name "go-github-com-operatorfoundation-shapeshifter-ipc")
211 (url "https://github.com/OperatorFoundation/shapeshifter-ipc")
212 (commit (string-append "v" version))))
213 (file-name (git-file-name name version))
215 (base32 "1q1fcnllg462nfca16s5mr0n2jh92x3hj946qnaqc682phjz04lg"))))
216 (build-system go-build-system)
218 `(#:tests? #f ; ERROR: undefined: Args.
219 #:unpack-path "github.com/OperatorFoundation/shapeshifter-ipc"
221 (modify-phases %standard-phases
226 (apply (assoc-ref %standard-phases 'build)
227 `(,@arguments #:import-path ,directory)))
229 "github.com/OperatorFoundation/shapeshifter-ipc/v2"
230 "github.com/OperatorFoundation/shapeshifter-ipc/v3"))))
235 (apply (assoc-ref %standard-phases 'check)
236 `(,@arguments #:import-path ,directory)))
238 "github.com/OperatorFoundation/shapeshifter-ipc/v2"
239 "github.com/OperatorFoundation/shapeshifter-ipc/v3"))))
244 (apply (assoc-ref %standard-phases 'install)
245 `(,@arguments #:import-path ,directory)))
247 "github.com/OperatorFoundation/shapeshifter-ipc/v2"
248 "github.com/OperatorFoundation/shapeshifter-ipc/v3")))))))
249 (home-page "https://github.com/OperatorFoundation/shapeshifter-ipc")
250 (synopsis "Go implementation of the Pluggable Transports IPC protocol")
251 (description "Shapeshifter-IPC is a library for Go implementing the IPC
252 protocol from the Pluggable Transports 2.0 specification.")
253 (license license:expat)))
255 (define-public go-github-com-operatorfoundation-obfs4
257 (name "go-github-com-operatorfoundation-obfs4")
264 (url "https://github.com/OperatorFoundation/obfs4")
265 (commit (string-append "v" version))))
266 (file-name (git-file-name name version))
268 (base32 "0s730xagdxs66wfh65hb5v9a5h01q5ncic3pyij0a043scagizgr"))))
269 (build-system go-build-system)
271 `(#:unpack-path "github.com/OperatorFoundation/obfs4"
273 (modify-phases %standard-phases
274 (add-after 'unpack 'patch
276 (substitute* (find-files "." "\\.go$")
277 ;; To drop '.git' suffix in import path of goptlib.
278 (("goptlib\\.git") "goptlib"))))
283 (apply (assoc-ref %standard-phases 'build)
284 `(,@arguments #:import-path ,directory)))
286 "github.com/OperatorFoundation/obfs4/common/csrand"
287 "github.com/OperatorFoundation/obfs4/common/drbg"
288 "github.com/OperatorFoundation/obfs4/common/log"
289 "github.com/OperatorFoundation/obfs4/common/ntor"
290 "github.com/OperatorFoundation/obfs4/common/probdist"
291 "github.com/OperatorFoundation/obfs4/common/pt_extras"
292 "github.com/OperatorFoundation/obfs4/common/replayfilter"
293 "github.com/OperatorFoundation/obfs4/common/socks5"
294 "github.com/OperatorFoundation/obfs4/common/termmon"
295 "github.com/OperatorFoundation/obfs4/common/uniformdh"
296 "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
297 "github.com/OperatorFoundation/obfs4/modes/stun_udp"
298 "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
299 "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
300 "github.com/OperatorFoundation/obfs4/obfs4proxy"
301 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
302 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
303 "github.com/OperatorFoundation/obfs4/transports"))))
308 (apply (assoc-ref %standard-phases 'check)
309 `(,@arguments #:import-path ,directory)))
311 "github.com/OperatorFoundation/obfs4/common/csrand"
312 "github.com/OperatorFoundation/obfs4/common/drbg"
313 "github.com/OperatorFoundation/obfs4/common/log"
314 "github.com/OperatorFoundation/obfs4/common/ntor"
315 "github.com/OperatorFoundation/obfs4/common/probdist"
316 "github.com/OperatorFoundation/obfs4/common/pt_extras"
317 "github.com/OperatorFoundation/obfs4/common/replayfilter"
318 "github.com/OperatorFoundation/obfs4/common/socks5"
319 "github.com/OperatorFoundation/obfs4/common/termmon"
320 "github.com/OperatorFoundation/obfs4/common/uniformdh"
321 ;; ERROR: Println arg dialFn is a func value, not called.
322 ;;"github.com/OperatorFoundation/obfs4/modes/pt_socks5"
323 ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn.
324 ;;"github.com/OperatorFoundation/obfs4/modes/stun_udp"
325 "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
326 ;; ERROR: Infof format %s has arg ln of wrong type *net.UDPConn
327 ;;"github.com/OperatorFoundation/obfs4/modes/transparent_udp"
328 ;; ERROR: Println call has possible formatting directive %s.
329 ;;"github.com/OperatorFoundation/obfs4/obfs4proxy"
330 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
331 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
332 "github.com/OperatorFoundation/obfs4/transports"))))
337 (apply (assoc-ref %standard-phases 'install)
338 `(,@arguments #:import-path ,directory)))
340 "github.com/OperatorFoundation/obfs4/common/csrand"
341 "github.com/OperatorFoundation/obfs4/common/drbg"
342 "github.com/OperatorFoundation/obfs4/common/log"
343 "github.com/OperatorFoundation/obfs4/common/ntor"
344 "github.com/OperatorFoundation/obfs4/common/probdist"
345 "github.com/OperatorFoundation/obfs4/common/pt_extras"
346 "github.com/OperatorFoundation/obfs4/common/replayfilter"
347 "github.com/OperatorFoundation/obfs4/common/socks5"
348 "github.com/OperatorFoundation/obfs4/common/termmon"
349 "github.com/OperatorFoundation/obfs4/common/uniformdh"
350 "github.com/OperatorFoundation/obfs4/modes/pt_socks5"
351 "github.com/OperatorFoundation/obfs4/modes/stun_udp"
352 "github.com/OperatorFoundation/obfs4/modes/transparent_tcp"
353 "github.com/OperatorFoundation/obfs4/modes/transparent_udp"
354 "github.com/OperatorFoundation/obfs4/obfs4proxy"
355 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_http"
356 "github.com/OperatorFoundation/obfs4/proxy_dialers/proxy_socks4"
357 "github.com/OperatorFoundation/obfs4/transports")))))))
359 `(("go-github-com-dchest-siphash"
360 ,go-github-com-dchest-siphash)
361 ("go-github-com-operatorfoundation-ed25519"
362 ,go-github-com-operatorfoundation-ed25519)
363 ("go-github-com-willscott-goturn"
364 ,go-github-com-willscott-goturn)
365 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
366 ("go-golang-org-x-net" ,go-golang-org-x-net)
367 ("go-torproject-org-pluggable-transports-goptlib"
368 ,go-torproject-org-pluggable-transports-goptlib)))
369 (home-page "https://github.com/OperatorFoundation/obfs4")
370 (synopsis "Network obfourscator to scramble network traffic")
371 (description "Obfs4 is a look-like nothing obfuscation protocol that
372 incorporates ideas and concepts from Philipp Winter's ScrambleSuit protocol.
373 The notable differences between ScrambleSuit and obfs4 are:
375 @item The handshake always does a full key exchange (no such thing as a Session
377 @item The handshake uses the Tor Project's ntor handshake with public keys
378 obfuscated via the Elligator 2 mapping.
379 @item The link layer encryption uses NaCl secret boxes (Poly1305/XSalsa20).
381 (license license:bsd-2)))
383 (define-public go-github-com-willscott-goturn
384 (let ((commit "19f41278d0c9251d64e0ee29f37d51e87a24a97b")
387 (name "go-github-com-willscott-goturn")
388 (version (git-version "0.0.0" revision commit))
394 (url "https://github.com/willscott/goturn")
396 (file-name (git-file-name name version))
398 (base32 "0zwvhfznr84ayzknn9flh65nvqjsixisgy9fkhz2jlahl1ldqcq7"))))
399 (build-system go-build-system)
401 `(#:import-path "github.com/willscott/goturn"))
402 (home-page "https://github.com/willscott/goturn")
403 (synopsis "Go TURN dialer")
404 (description "GoTURN is a library providing a Go interface compatible with
405 the golang proxy package which connects through a TURN relay. It provides
406 parsing and encoding support for STUN and TURN protocols.")
407 (license license:bsd-3))))
409 (define-public go-torproject-org-pluggable-transports-goptlib
411 (name "go-torproject-org-pluggable-transports-goptlib")
418 (url "https://git.torproject.org/pluggable-transports/goptlib")
419 (commit (string-append "v" version))))
420 (file-name (git-file-name name version))
422 (base32 "1lh938194hvkf8pqgnxwf6hvjv9rv0j3kasi07r2ckrj8sxzk4jc"))))
423 (build-system go-build-system)
425 `(#:import-path "git.torproject.org/pluggable-transports/goptlib"))
426 (home-page "https://gitweb.torproject.org/pluggable-transports/goptlib.git/")
427 (synopsis "Go pluggable transports library")
428 (description "GoPtLib is a library for writing Tor pluggable transports in
430 (license license:cc0)))
432 (define-public go-github-com-sevlyar-go-daemon
434 (name "go-github-com-sevlyar-go-daemon")
441 (url "https://github.com/sevlyar/go-daemon")
442 (commit (string-append "v" version))))
443 (file-name (git-file-name name version))
445 (base32 "1y3gnxaifykcjcbzx91lz9bc93b95w3xj4rjxjbii26pm3j7gqyk"))))
446 (build-system go-build-system)
448 `(#:import-path "github.com/sevlyar/go-daemon"))
450 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
451 (home-page "https://github.com/sevlyar/go-daemon")
452 (synopsis "Library for writing system daemons")
453 (description "Go-Daemon is a library for writing system daemons in Go.")
454 (license license:expat)))
456 (define-public go-github-com-keybase-go-ps
457 (let ((commit "91aafc93ba19d1988cff338c1929d35b6c6f5b50")
460 (name "go-github-com-keybase-go-ps")
461 (version (git-version "0.0.0" revision commit))
467 (url "https://github.com/keybase/go-ps")
469 (file-name (git-file-name name version))
471 (base32 "1la7m9pd1rrij727g34k9d2iapqwrkwdkqwpkbsbcq8ig0fg634h"))))
472 (build-system go-build-system)
474 `(#:import-path "github.com/keybase/go-ps"
476 (modify-phases %standard-phases
477 (add-after 'unpack 'fix-tests
478 (lambda* (#:key native-inputs inputs #:allow-other-keys)
479 (substitute* (find-files "." "test\\.go")
480 (("/bin/sleep" command)
482 (assoc-ref (or native-inputs inputs) "coreutils")
485 `(("coreutils" ,coreutils)
486 ("go-github-com-stretchr-testify"
487 ,go-github-com-stretchr-testify)))
488 (home-page "https://github.com/keybase/go-ps")
489 (synopsis "Process list library for Go")
490 (description "Go-Ps is a library for Go that implements OS-specific APIs
491 to list and manipulate processes in a safe way.")
492 (license license:expat))))
494 (define-public go-github-com-apparentlymart-go-openvpn-mgmt
495 (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
498 (name "go-github-com-apparentlymart-go-openvpn-mgmt")
499 (version (git-version "0.0.0" revision commit))
505 (url "https://github.com/apparentlymart/go-openvpn-mgmt")
507 (file-name (git-file-name name version))
509 (base32 "1dn431jnswg5ns1ah10wswnw6wiv48zq21zr5xp1178l4waswj7k"))))
510 (build-system go-build-system)
512 `(#:unpack-path "github.com/apparentlymart/go-openvpn-mgmt"
514 (modify-phases %standard-phases
519 (apply (assoc-ref %standard-phases 'build)
520 `(,@arguments #:import-path ,directory)))
522 "github.com/apparentlymart/go-openvpn-mgmt/demux"
523 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))))
528 (apply (assoc-ref %standard-phases 'check)
529 `(,@arguments #:import-path ,directory)))
531 "github.com/apparentlymart/go-openvpn-mgmt/demux"
532 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))))
537 (apply (assoc-ref %standard-phases 'install)
538 `(,@arguments #:import-path ,directory)))
540 "github.com/apparentlymart/go-openvpn-mgmt/demux"
541 "github.com/apparentlymart/go-openvpn-mgmt/openvpn")))))))
542 (home-page "https://github.com/apparentlymart/go-openvpn-mgmt")
543 (synopsis "Go client library for OpenVPN's management protocol")
544 (description "Go-OpenVPN-Mgmt implements a client for the OpenVPN
545 management interface. It can be used to monitor and control an OpenVPN process
546 running with its management port enabled.")
547 (license license:expat))))
549 (define-public go-github-com-emersion-go-autostart
550 (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c")
553 (name "go-github-com-emersion-go-autostart")
554 (version (git-version "0.0.0" revision commit))
560 (url "https://github.com/emersion/go-autostart")
562 (file-name (git-file-name name version))
564 (base32 "0cqqvbzn32xv5lknfygrx01rx2sc6pi833k7008nlk9lsfgry06v"))))
565 (build-system go-build-system)
567 `(#:import-path "github.com/emersion/go-autostart"))
568 (home-page "https://github.com/emersion/go-autostart")
569 (synopsis "Autostart library in Go")
570 (description "Go-Autostart is a Go library to run a command after login.")
571 (license license:expat))))
573 (define-public go-github-com-dchest-siphash
575 (name "go-github-com-dchest-siphash")
582 (url "https://github.com/dchest/siphash")
583 (commit (string-append "v" version))))
584 (file-name (git-file-name name version))
586 (base32 "08s076y7vmjqnq7jz0762hkm896r6r31v8b31a3gy0n8rfa01k8k"))))
587 (build-system go-build-system)
589 `(#:import-path "github.com/dchest/siphash"))
590 (home-page "https://github.com/dchest/siphash")
591 (synopsis "Go library for pseudorandom functions")
592 (description "SipHash is a family of pseudorandom functions (PRFs) optimized
593 for speed on short messages.")
594 (license license:cc0)))
596 (define-public go-github-com-rakyll-statik
598 (name "go-github-com-rakyll-statik")
605 (url "https://github.com/rakyll/statik")
606 (commit (string-append "v" version))))
607 (file-name (git-file-name name version))
609 (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va"))))
610 (build-system go-build-system)
612 `(#:import-path "github.com/rakyll/statik"))
613 (home-page "https://github.com/rakyll/statik/")
614 (synopsis "Embed files into a Go executable")
615 (description "Statik allows you to embed a directory of static files into
616 your Go binary to be later served from an http.FileSystem.")
617 (license license:asl2.0)))
619 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
620 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
621 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
622 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
623 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
624 ;; gccgo-5. Mips is not officially supported, but it should work if it is
627 (define-public go-1.4
630 ;; The C-language bootstrap of Go:
631 ;; https://golang.org/doc/install/source#go14
632 (version "1.4-bootstrap-20171003")
635 (uri (string-append "https://storage.googleapis.com/golang/"
636 name version ".tar.gz"))
639 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
640 (build-system gnu-build-system)
645 `(#:modules ((ice-9 match)
646 (guix build gnu-build-system)
649 #:tests? #f ; Tests are run by the all.bash script.
650 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
651 (%current-target-system)))
652 '(#:system "armhf-linux")
655 (modify-phases %standard-phases
657 (add-after 'patch-generated-file-shebangs 'chdir
661 (add-before 'build 'prebuild
662 (lambda* (#:key inputs outputs #:allow-other-keys)
663 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
664 (ld (string-append (assoc-ref inputs "libc") "/lib"))
665 (loader (car (find-files ld "^ld-linux.+")))
666 (net-base (assoc-ref inputs "net-base"))
668 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
669 (output (assoc-ref outputs "out")))
671 ;; Removing net/ tests, which fail when attempting to access
672 ;; network resources not present in the build container.
673 (for-each delete-file
674 '("net/multicast_test.go" "net/parse_test.go"
677 ;; Add libgcc to the RUNPATH.
678 (substitute* "cmd/go/build.go"
679 (("cgoldflags := \\[\\]string\\{\\}")
680 (string-append "cgoldflags := []string{"
681 "\"-rpath=" gcclib "\"}"))
682 (("ldflags := buildLdflags")
684 "ldflags := buildLdflags\n"
685 "ldflags = append(ldflags, \"-r\")\n"
686 "ldflags = append(ldflags, \"" gcclib "\")\n")))
688 (substitute* "os/os_test.go"
689 (("/usr/bin") (getcwd))
690 (("/bin/pwd") (which "pwd")))
692 ;; Disable failing tests: these tests attempt to access
693 ;; commands or network resources which are neither available or
694 ;; necessary for the build to succeed.
699 ((regex all before test_name)
700 (string-append before "Disabled" test_name)))))
701 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
702 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
703 ("os/os_test.go" "(.+)(TestHostname.+)")
704 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
706 ;; XXX: This test fails with tzdata 2020b and newer. Later
707 ;; Go releases work fine, so just disable this for the
709 ("time/example_test.go" "(.+)(ExampleParseInLocation.+)")
711 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
712 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
713 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
714 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
715 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
716 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
717 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
718 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
719 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
721 (substitute* "net/lookup_unix.go"
722 (("/etc/protocols") (string-append net-base "/etc/protocols")))
723 (substitute* "time/zoneinfo_unix.go"
724 (("/usr/share/zoneinfo/") tzdata-path))
725 (substitute* (find-files "cmd" "asm.c")
726 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
730 (lambda* (#:key inputs outputs #:allow-other-keys)
731 ;; FIXME: Some of the .a files are not bit-reproducible.
732 (let* ((output (assoc-ref outputs "out")))
733 (setenv "CC" (which "gcc"))
734 (setenv "GOOS" "linux")
735 (setenv "GOROOT" (dirname (getcwd)))
736 (setenv "GOROOT_FINAL" output)
737 (setenv "GO14TESTS" "1")
738 (invoke "sh" "all.bash"))))
741 (lambda* (#:key outputs inputs #:allow-other-keys)
742 (let* ((output (assoc-ref outputs "out"))
743 (doc_out (assoc-ref outputs "doc"))
744 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
745 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
746 (tests (string-append
747 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
749 (copy-recursively "../test" (string-append tests "/test"))
750 (delete-file-recursively "../test")
752 (copy-recursively "../api" (string-append docs "/api"))
753 (delete-file-recursively "../api")
754 (copy-recursively "../doc" (string-append docs "/doc"))
755 (delete-file-recursively "../doc")
757 (for-each (lambda (file)
758 (let ((file (string-append "../" file)))
759 (install-file file docs)
761 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
762 "LICENSE" "VERSION" "robots.txt"))
763 (copy-recursively "../" output)
768 ("gcc:lib" ,(canonical-package gcc) "lib")))
770 `(("pkg-config" ,pkg-config)
772 ("net-base" ,net-base)
775 (home-page "https://golang.org/")
776 (synopsis "Compiler and libraries for Go, a statically-typed language")
777 (description "Go, also commonly referred to as golang, is an imperative
778 programming language designed primarily for systems programming. Go is a
779 compiled, statically typed language in the tradition of C and C++, but adds
780 garbage collection, various safety features, and concurrent programming features
781 in the style of communicating sequential processes (@dfn{CSP}).")
782 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
783 (license license:bsd-3)))
785 (define-public go-1.14
794 (url "https://github.com/golang/go")
795 (commit (string-append "go" version))))
796 (file-name (git-file-name name version))
799 "1crh90qkvhlx23hwsi4wxy3l3h8973lr18135y6h1nnzzwr3n3ps"))))
801 (substitute-keyword-arguments (package-arguments go-1.4)
803 (if (string-prefix? "aarch64-linux" (or (%current-system)
804 (%current-target-system)))
808 `(modify-phases ,phases
810 (lambda* (#:key inputs outputs #:allow-other-keys)
811 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
812 (ld (string-append (assoc-ref inputs "libc") "/lib"))
813 (loader (car (find-files ld "^ld-linux.+")))
814 (net-base (assoc-ref inputs "net-base"))
816 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
817 (output (assoc-ref outputs "out")))
819 ;; Having the patch in the 'patches' field of <origin> breaks
820 ;; the 'TestServeContent' test due to the fact that
821 ;; timestamps are reset. Thus, apply it from here.
822 (invoke "patch" "-p2" "--force" "-i"
823 (assoc-ref inputs "go-skip-gc-test.patch"))
825 ;; A side effect of these test scripts is testing
826 ;; cgo. Attempts at using cgo flags and directives with these
827 ;; scripts as specified here (https://golang.org/cmd/cgo/)
828 ;; have not worked. The tests continue to state that they can
829 ;; not find object files/headers despite being present.
832 '("cmd/go/testdata/script/mod_case_cgo.txt"
833 "cmd/go/testdata/script/list_find.txt"
834 "cmd/go/testdata/script/list_compiled_imports.txt"
835 "cmd/go/testdata/script/cgo_syso_issue29253.txt"
836 "cmd/go/testdata/script/cover_cgo.txt"
837 "cmd/go/testdata/script/cover_cgo_xtest.txt"
838 "cmd/go/testdata/script/cover_cgo_extra_test.txt"
839 "cmd/go/testdata/script/cover_cgo_extra_file.txt"
840 "cmd/go/testdata/script/cgo_path_space.txt"
841 "cmd/go/testdata/script/ldflag.txt"
842 "cmd/go/testdata/script/cgo_path.txt"))
844 (for-each make-file-writable (find-files "."))
846 (substitute* "os/os_test.go"
847 (("/usr/bin") (getcwd))
848 (("/bin/pwd") (which "pwd"))
849 (("/bin/sh") (which "sh")))
851 ;; Add libgcc to runpath
852 (substitute* "cmd/link/internal/ld/lib.go"
853 (("!rpath.set") "true"))
854 (substitute* "cmd/go/internal/work/gccgo.go"
855 (("cgoldflags := \\[\\]string\\{\\}")
856 (string-append "cgoldflags := []string{"
857 "\"-rpath=" gcclib "\""
861 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
862 (substitute* "cmd/go/internal/work/gc.go"
863 (("ldflags = setextld\\(ldflags, compiler\\)")
865 "ldflags = setextld(ldflags, compiler)\n"
866 "ldflags = append(ldflags, \"-r\")\n"
867 "ldflags = append(ldflags, \"" gcclib "\")\n")))
869 ;; Disable failing tests: these tests attempt to access
870 ;; commands or network resources which are neither available
871 ;; nor necessary for the build to succeed.
876 ((regex all before test_name)
877 (string-append before "Disabled" test_name)))))
878 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
879 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
880 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
881 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
882 ;; 127.0.0.1 doesn't exist
883 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
884 ;; 127.0.0.1 doesn't exist
885 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
886 ;; /etc/services doesn't exist
887 ("net/parse_test.go" "(.+)(TestReadLine.+)")
888 ("os/os_test.go" "(.+)(TestHostname.+)")
889 ;; The user's directory doesn't exist
890 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
891 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
892 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
893 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
894 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
895 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
896 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
897 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
898 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
899 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
900 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
901 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
902 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
903 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
904 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
905 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
906 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
907 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
908 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
909 ("syscall/exec_linux_test.go"
910 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
912 ;; These tests fail on aarch64-linux
913 (substitute* "cmd/dist/test.go"
914 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
916 ;; fix shebang for testar script
917 ;; note the target script is generated at build time.
918 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
919 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
921 (substitute* "net/lookup_unix.go"
922 (("/etc/protocols") (string-append net-base "/etc/protocols")))
923 (substitute* "net/port_unix.go"
924 (("/etc/services") (string-append net-base "/etc/services")))
925 (substitute* "time/zoneinfo_unix.go"
926 (("/usr/share/zoneinfo/") tzdata-path))
927 (substitute* (find-files "cmd" "\\.go")
928 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
930 (add-before 'build 'set-bootstrap-variables
931 (lambda* (#:key outputs inputs #:allow-other-keys)
932 ;; Tell the build system where to find the bootstrap Go.
933 (let ((go (assoc-ref inputs "go")))
934 (setenv "GOROOT_BOOTSTRAP" go)
935 (setenv "GOGC" "400")
938 (lambda* (#:key inputs outputs #:allow-other-keys)
939 ;; FIXME: Some of the .a files are not bit-reproducible.
940 (let* ((output (assoc-ref outputs "out")))
941 (setenv "CC" (which "gcc"))
942 (setenv "GOOS" "linux")
943 (setenv "GOROOT" (dirname (getcwd)))
944 (setenv "GOROOT_FINAL" output)
945 (setenv "CGO_ENABLED" "1")
946 (invoke "sh" "all.bash"))))
948 ;; TODO: Most of this could be factorized with Go 1.4.
949 (lambda* (#:key outputs #:allow-other-keys)
950 (let* ((output (assoc-ref outputs "out"))
951 (doc_out (assoc-ref outputs "doc"))
952 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
954 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
955 ;; Prevent installation of the build cache, which contains
956 ;; store references to most of the tools used to build Go and
957 ;; would unnecessarily increase the size of Go's closure if it
959 (delete-file-recursively "../pkg/obj")
962 (copy-recursively "../test" (string-append src "/test"))
963 (delete-file-recursively "../test")
965 (copy-recursively "../api" (string-append docs "/api"))
966 (delete-file-recursively "../api")
967 (copy-recursively "../doc" (string-append docs "/doc"))
968 (delete-file-recursively "../doc")
972 (let* ((filein (string-append "../" file))
973 (fileout (string-append docs "/" file)))
974 (copy-file filein fileout)
975 (delete-file filein)))
976 ;; Note the slightly different file names compared to 1.4.
977 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
978 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
980 (copy-recursively "../" output)
984 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
985 ,@(match (%current-system)
986 ((or "armhf-linux" "aarch64-linux")
987 `(("gold" ,binutils-gold)))
989 ,@(package-native-inputs go-1.4)))
990 (supported-systems %supported-systems)))
992 (define-public go-1.16
1001 (url "https://github.com/golang/go")
1002 (commit (string-append "go" version))))
1003 (file-name (git-file-name name version))
1006 "19a93p217h5xi2sgh34qzv24pkd4df0sw4fc5z6k47lspjp3vx2l"))))
1008 (substitute-keyword-arguments (package-arguments go-1.14)
1011 `(modify-phases ,phases
1012 (add-after 'unpack 'remove-unused-sourcecode-generators
1014 ;; Prevent perl from inclusion in closure through unused files
1015 (for-each delete-file (find-files "src" "\\.pl$"))))
1017 (lambda* (#:key inputs outputs #:allow-other-keys)
1018 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
1019 (net-base (assoc-ref inputs "net-base"))
1021 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo")))
1023 ;; Having the patch in the 'patches' field of <origin> breaks
1024 ;; the 'TestServeContent' test due to the fact that
1025 ;; timestamps are reset. Thus, apply it from here.
1026 (invoke "patch" "-p2" "--force" "-i"
1027 (assoc-ref inputs "go-skip-gc-test.patch"))
1028 (invoke "patch" "-p2" "--force" "-i"
1029 (assoc-ref inputs "go-fix-script-tests.patch"))
1031 (for-each make-file-writable (find-files "."))
1033 (substitute* "os/os_test.go"
1034 (("/usr/bin") (getcwd))
1035 (("/bin/sh") (which "sh")))
1037 (substitute* "cmd/go/testdata/script/cgo_path_space.txt"
1038 (("/bin/sh") (which "sh")))
1040 ;; Add libgcc to runpath
1041 (substitute* "cmd/link/internal/ld/lib.go"
1042 (("!rpath.set") "true"))
1043 (substitute* "cmd/go/internal/work/gccgo.go"
1044 (("cgoldflags := \\[\\]string\\{\\}")
1045 (string-append "cgoldflags := []string{"
1046 "\"-Wl,-rpath=" gcclib "\""
1050 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
1051 (substitute* "cmd/go/internal/work/gc.go"
1052 (("ldflags = setextld\\(ldflags, compiler\\)")
1054 "ldflags = setextld(ldflags, compiler)\n"
1055 "ldflags = append(ldflags, \"-r\")\n"
1056 "ldflags = append(ldflags, \"" gcclib "\")\n")))
1058 ;; Disable failing tests: these tests attempt to access
1059 ;; commands or network resources which are neither available
1060 ;; nor necessary for the build to succeed.
1065 ((regex all before test_name)
1066 (string-append before "Disabled" test_name)))))
1067 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
1068 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
1069 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
1070 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
1071 ;; 127.0.0.1 doesn't exist
1072 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
1073 ;; 127.0.0.1 doesn't exist
1074 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
1075 ;; /etc/services doesn't exist
1076 ("net/parse_test.go" "(.+)(TestReadLine.+)")
1077 ("os/os_test.go" "(.+)(TestHostname.+)")
1078 ;; The user's directory doesn't exist
1079 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
1080 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
1081 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
1082 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
1083 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
1084 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
1085 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
1086 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
1087 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
1088 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
1089 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
1090 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
1091 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
1092 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
1093 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
1094 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
1095 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
1096 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
1097 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
1098 ("syscall/exec_linux_test.go"
1099 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
1101 ;; These tests fail on aarch64-linux
1102 (substitute* "cmd/dist/test.go"
1103 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
1105 ;; fix shebang for testar script
1106 ;; note the target script is generated at build time.
1107 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
1108 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
1110 (substitute* "net/lookup_unix.go"
1111 (("/etc/protocols") (string-append net-base "/etc/protocols")))
1112 (substitute* "net/port_unix.go"
1113 (("/etc/services") (string-append net-base "/etc/services")))
1114 (substitute* "time/zoneinfo_unix.go"
1115 (("/usr/share/zoneinfo/") tzdata-path)))))
1117 (lambda* (#:key inputs outputs #:allow-other-keys)
1118 ;; FIXME: Some of the .a files are not bit-reproducible.
1119 ;; (Is this still true?)
1120 (let* ((output (assoc-ref outputs "out"))
1121 (loader (string-append (assoc-ref inputs "libc")
1122 ,(glibc-dynamic-linker))))
1123 (setenv "CC" (which "gcc"))
1124 (setenv "GO_LDSO" loader)
1125 (setenv "GOOS" "linux")
1126 (setenv "GOROOT" (dirname (getcwd)))
1127 (setenv "GOROOT_FINAL" output)
1128 (setenv "GOCACHE" "/tmp/go-cache")
1129 (invoke "sh" "make.bash" "--no-banner"))))
1131 (lambda* (#:key target (tests? (not target)) (parallel-tests? #t)
1133 (let* ((njobs (if parallel-tests? (parallel-job-count) 1)))
1135 (setenv "GOMAXPROCS" (number->string njobs))
1136 (invoke "sh" "run.bash" "--no-rebuild")))))
1137 (add-before 'install 'unpatch-perl-shebangs
1139 ;; Rewrite references to perl input in test scripts
1140 (substitute* "net/http/cgi/testdata/test.cgi"
1141 (("^#!.*") "#!/usr/bin/env perl\n"))))))))
1143 `(("go-fix-script-tests.patch" ,(search-patch "go-fix-script-tests.patch"))
1144 ,@(if (not (member (%current-system) (package-supported-systems go-1.4)))
1145 (alist-replace "go" (list gccgo-10) (package-native-inputs go-1.14))
1146 (package-native-inputs go-1.14))))))
1148 (define-public go go-1.14)
1150 (define-public go-github-com-alsm-ioprogress
1151 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
1154 (name "go-github-com-alsm-ioprogress")
1155 (version (git-version "0.0.0" revision commit))
1159 (url "https://github.com/alsm/ioprogress")
1161 (file-name (git-file-name name version))
1164 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
1165 (build-system go-build-system)
1167 '(#:import-path "github.com/alsm/ioprogress"))
1168 (synopsis "Textual progress bars in Go")
1169 (description "@code{ioprogress} is a Go library with implementations of
1170 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
1171 case for these are for command-line applications but alternate progress bar
1172 writers can be supplied for alternate environments.")
1173 (home-page "https://github.com/alsm/ioprogress")
1174 (license license:expat))))
1176 (define-public go-github-com-aki237-nscjar
1177 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
1180 (name "go-github-com-aki237-nscjar")
1181 (version (git-version "0.0.0" revision commit))
1185 (url "https://github.com/aki237/nscjar")
1187 (file-name (git-file-name name version))
1190 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
1191 (build-system go-build-system)
1193 '(#:import-path "github.com/aki237/nscjar"))
1194 (synopsis "Handle Netscape / Mozilla cookies")
1195 (description "@code{nscjar} is a Go library used to parse and output
1196 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
1197 jar struct to manage the cookies added to the cookie jar.")
1198 (home-page "https://github.com/aki237/nscjar")
1199 (license license:expat))))
1201 (define-public go-github-com-gizak-termui
1203 (name "go-github-com-gizak-termui")
1209 (url "https://github.com/gizak/termui")
1210 (commit (string-append "v" version))))
1211 (file-name (git-file-name name version))
1213 (base32 "1v3k8l5p95kb1v297ra5mw9sxdd59y82y6ibjzya5ma2pry6k5cn"))))
1214 (build-system go-build-system)
1216 '(#:unpack-path "github.com/gizak/termui"
1217 #:import-path "github.com/gizak/termui/v3"))
1219 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
1220 ("go-github-com-mitchellh-go-wordwrap"
1221 ,go-github-com-mitchellh-go-wordwrap)
1222 ("go-github.com-nsf-termbox-go" ,go-github.com-nsf-termbox-go)))
1223 (home-page "https://github.com/gizak/termui")
1224 (synopsis "Terminal dashboard widget Go library")
1226 "The termui Go library draws customizable dashboard widgets in a text
1227 terminal. It includes several common widgets: lists, trees, tables and tabs,
1228 but also more complex items such as (stacked) bar and pie charts, scatter plots,
1229 gauges, and even images and a canvas for drawing `high resolution' braille dots.
1231 You can also easily create new custom widgets. Widgets can be coloured and
1232 styled and positioned absolutely or relatively. They respond to keyboard,
1233 mouse, and terminal resizing events.")
1234 (license license:expat)))
1236 (define-public go-github-com-golangplus-fmt
1238 (name "go-github-com-golangplus-fmt")
1240 (home-page "https://github.com/golangplus/fmt")
1245 (commit (string-append "v" version))))
1246 (file-name (git-file-name name version))
1248 (base32 "07d5kxz0f8ss3v46y0c8jg02sagi0wlaaijhjzzp0r462jyzqii7"))))
1249 (build-system go-build-system)
1251 '(#:import-path "github.com/golangplus/fmt"))
1252 (synopsis "Additions to Go's standard @code{fmt} package")
1253 (description "This package provides additions to Go's stdlib @code{fmt}.")
1254 (license license:bsd-3)))
1256 (define-public go-github-com-mitchellh-go-wordwrap
1258 (name "go-github-com-mitchellh-go-wordwrap")
1264 (url "https://github.com/mitchellh/go-wordwrap")
1265 (commit (string-append "v" version))))
1266 (file-name (git-file-name name version))
1268 (base32 "12imq66hgj8q9ii2xqdy8apc0icphh6yimjb0div1pvl3s9gn83y"))))
1269 (build-system go-build-system)
1271 '(#:import-path "github.com/mitchellh/go-wordwrap"))
1273 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
1274 (home-page "https://github.com/mitchellh/go-wordwrap")
1275 (synopsis "Go library for word-wrapping strings")
1277 "This Go library automatically wraps words onto multiple lines. It's
1278 primary goal is to format command-line output, but of course word wrapping is a
1279 generally useful thing to do.")
1280 (license license:expat)))
1282 (define-public go-github-com-motemen-go-colorine
1283 (let ((commit "45d19169413a019e4e2be69629dde5c7d92f8706")
1286 (name "go-github-com-motemen-go-colorine")
1287 (version (git-version "0.0.0" revision commit))
1288 (home-page "https://github.com/motemen/go-colorine")
1294 (file-name (git-file-name name version))
1296 (base32 "1mdy6q0926s1frj027nlzlvm2qssmkpjis7ic3l2smajkzh07118"))))
1297 (build-system go-build-system)
1299 '(#:import-path "github.com/motemen/go-colorine"))
1301 `(("github.com/daviddengcn/go-colortext" ,go-github-com-daviddengcn-go-colortext)))
1302 (synopsis "Simple colorized console logger for golang")
1304 "This package provides simple colorized console logger for golang.")
1305 (license license:expat))))
1307 (define-public go-github-com-daviddengcn-go-colortext
1309 (name "go-github-com-daviddengcn-go-colortext")
1311 (home-page "https://github.com/daviddengcn/go-colortext")
1316 (commit (string-append "v" version))))
1317 (file-name (git-file-name name version))
1319 (base32 "0j5ldwg3a768d3nniiglghr9axj4p87k7f7asqxa1a688xvcms48"))))
1320 (build-system go-build-system)
1322 '(#:import-path "github.com/daviddengcn/go-colortext"))
1324 `(("go-github-com-golangplus-testing" ,go-github-com-golangplus-testing)))
1325 (synopsis "Change the color of console text and background")
1327 "This is a package to change the color of the text and background in the
1328 console, working both under Windows and other systems.
1330 Under Windows, the console APIs are used. Otherwise, ANSI texts are output.")
1332 (license (list license:bsd-3 license:expat))))
1334 (define-public go-github-com-golangplus-testing
1336 (name "go-github-com-golangplus-testing")
1338 (home-page "https://github.com/golangplus/testing")
1343 (commit (string-append "v" version))))
1344 (file-name (git-file-name name version))
1346 (base32 "1a29m4zplf9m14k74lrb55dids2l17vx28sv0g3y3qcv1xygksiv"))))
1347 (build-system go-build-system)
1349 '(#:import-path "github.com/golangplus/testing"))
1351 `(("go-github-com-golangplus-fmt" ,go-github-com-golangplus-fmt)))
1352 (synopsis "Additions to Go's standard testing package")
1353 (description "This package provides additions to Go's stdlib testing.")
1354 (license license:bsd-3)))
1356 (define-public go-github-com-leodido-go-urn
1358 (name "go-github-com-leodido-go-urn")
1360 (home-page "https://github.com/leodido/go-urn")
1366 (commit (string-append "v" version))))
1367 (file-name (git-file-name name version))
1369 (base32 "1d4g1vkhc1180l1n7q48vl84b27c7cziywml78cyijbcdz2f8vim"))))
1370 (build-system go-build-system)
1372 '(#:import-path "github.com/leodido/go-urn"))
1374 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1375 (synopsis "Parser for uniform resource names as seen on RFC 2141")
1377 "This package implements a parser for uniform resource names (URN) as
1378 specified by @uref{https://tools.ietf.org/html/rfc2141, IETF RFC 2141}.")
1379 (license license:expat)))
1381 (define-public go-github.com-jessevdk-go-flags
1383 (name "go-github.com-jessevdk-go-flags")
1388 (url "https://github.com/jessevdk/go-flags")
1389 (commit (string-append "v" version))))
1390 (file-name (git-file-name name version))
1393 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
1394 (build-system go-build-system)
1396 '(#:import-path "github.com/jessevdk/go-flags"))
1397 (synopsis "Go library for parsing command line arguments")
1399 "The @code{flags} package provides a command line option parser. The
1400 functionality is similar to the go builtin @code{flag} package, but
1401 @code{flags} provides more options and uses reflection to provide a succinct
1402 way of specifying command line options.")
1403 (home-page "https://github.com/jessevdk/go-flags")
1404 (license license:bsd-3)))
1406 (define-public go-gopkg-in-go-playground-assert-v1
1408 (name "go-gopkg-in-go-playground-assert-v1")
1410 (home-page "https://github.com/go-playground/assert")
1416 (commit (string-append "v" version))))
1417 (file-name (git-file-name name version))
1419 (base32 "1h4amgykpa0djwi619llr3g55p75ia0mi184h9s5zdl8l4rhn9pm"))))
1420 (build-system go-build-system)
1422 '(#:import-path "gopkg.in/go-playground/assert.v1"))
1423 (synopsis "Basic assertion library used alongside native Go testing")
1425 "This package provides basic assertions along with building blocks for
1426 custom assertions to be used alongside native Go testing.")
1427 (license license:expat)))
1429 (define-public go-github-com-go-playground-locales
1431 (name "go-github-com-go-playground-locales")
1433 (home-page "https://github.com/go-playground/locales")
1439 (commit (string-append "v" version))))
1440 (file-name (git-file-name name version))
1442 (base32 "0qydcpkvss3mf8mk3xzg6a34n8i69aydrigcl2apifrkx72jw7pf"))))
1443 (build-system go-build-system)
1445 '(#:import-path "github.com/go-playground/locales"))
1446 (synopsis "Set of locales generated from the CLDR Unicode Project")
1448 "This package provides a set of locales generated from the
1449 @uref{http://cldr.unicode.org/, Unicode CLDR Project} which can be used
1450 independently or within an internalization (i18n) package. Its currently
1451 implemented features include
1454 @item Rules generated from the CLDR data, v31.0.3
1455 @item Contains Cardinal, Ordinal and Range Plural Rules
1456 @item Contains Month, Weekday and Timezone translations built in
1457 @item Contains Date & Time formatting functions
1458 @item Contains Number, Currency, Accounting and Percent formatting functions
1459 @item Supports the \"Gregorian\" calendar only
1461 (license license:expat)))
1463 (define-public go-github-com-go-playground-universal-translator
1465 (name "go-github-com-go-playground-universal-translator")
1467 (home-page "https://github.com/go-playground/universal-translator")
1473 (commit (string-append "v" version))))
1474 (file-name (git-file-name name version))
1476 (base32 "1zdiaisb32iv4x93cpbqrgx8ll7sxh4hcd2iibpswy4bwvjbjlz6"))))
1477 (build-system go-build-system)
1479 '(#:import-path "github.com/go-playground/universal-translator"))
1481 `(("go-github-com-go-playground-locales" ,go-github-com-go-playground-locales)))
1482 (synopsis "Translator using Unicode CLDR data and pluralization rules")
1484 "This package offers an Internalization Translator for Go using
1485 @uref{http://cldr.unicode.org/, Unicode CLDR Project} data and pluralization
1486 rules. Its currently implemented features include
1489 @item Rules generated from the CLDR data, v30.0.3
1490 @item Contains Cardinal, Ordinal and Range Plural Rules
1491 @item Contains Month, Weekday and Timezone translations built in
1492 @item Contains Date & Time formatting functions
1493 @item Contains Number, Currency, Accounting and Percent formatting functions
1494 @item Supports the \"Gregorian\" calendar only
1495 @item Support loading translations from files
1496 @item Exporting translations to file(s), mainly for getting them
1497 professionally translated
1499 (license license:expat)))
1501 (define-public go-gopkg-in-go-playground-validator-v9
1503 (name "go-gopkg-in-go-playground-validator-v9")
1505 (home-page "https://gopkg.in/go-playground/validator.v9")
1510 (url "https://github.com/go-playground/validator")
1511 (commit (string-append "v" version))))
1512 (file-name (git-file-name name version))
1514 (base32 "1f8c77s8kx9rip2jarv27x5s4xkcmanh4ndyhbcwvrhncs5rq061"))))
1515 (build-system go-build-system)
1517 '(#:import-path "gopkg.in/go-playground/validator.v9"))
1519 `(("go-gopkg-in-go-playground-assert-v1"
1520 ,go-gopkg-in-go-playground-assert-v1)))
1522 `(("go-github-com-go-playground-universal-translator"
1523 ,go-github-com-go-playground-universal-translator)
1524 ("go-github-com-leodido-go-urn" ,go-github-com-leodido-go-urn)))
1525 (synopsis "Validator for structs and individual fields based on tags")
1527 "This package implements value validations for structs and individual
1528 fields based on tags. It has the following unique features:
1531 @item Cross Field and Cross Struct validations by using validation tags or
1533 @item Slice, Array and Map diving, which allows any or all levels of a
1534 multidimensional field to be validated
1535 @item Ability to dive into both map keys and values for validation
1536 @item Handles type interface by determining it's underlying type prior to validation
1537 @item Handles custom field types such as sql driver
1538 @uref{https://golang.org/src/database/sql/driver/types.go?s=1210:1293#L29,
1540 @item Alias validation tags, which allows for mapping of several validations
1541 to a single tag for easier defining of validations on structs
1542 @item Extraction of custom defined Field Name e.g. can specify to extract the
1543 JSON name while validating and have it available in the resulting FieldError
1544 @item Customizable i18n aware error messages.
1545 @item Default validator for the @uref{https://github.com/gin-gonic/gin, gin}
1548 (license license:expat)))
1550 (define-public go-github-com-aws-sdk
1552 (name "go-github-com-aws-sdk")
1558 (url "https://github.com/aws/aws-sdk-go")
1559 (commit (string-append "v" version))))
1560 (file-name (git-file-name name version))
1563 "1ky5lw2s2zpslnnqcs6hgsrwvwbxwgflb5jwf16dd4aga3vrg10c"))))
1564 (build-system go-build-system)
1566 '(#:import-path "github.com/aws/aws-sdk-go/aws"
1567 #:unpack-path "github.com/aws/aws-sdk-go"))
1569 `(("go-github-com-go-sql-driver-mysql" ,go-github-com-go-sql-driver-mysql)
1570 ("go-github-com-jmespath-go-jmespath" ,go-github-com-jmespath-go-jmespath)
1571 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
1572 ("go-golang-org-x-net" ,go-golang-org-x-net)))
1573 (home-page "https://github.com/aws/aws-sdk-go")
1574 (synopsis "Library to access Amazon Web Services (AWS)")
1576 "This is the official AWS SDK for the Go programming language.")
1577 (license license:asl2.0)))
1579 (define-public go-gopkg.in-tomb.v2
1580 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
1583 (name "go-gopkg.in-tomb.v2")
1584 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
1588 (url "https://github.com/go-tomb/tomb")
1590 (file-name (string-append name "-" version ".tar.gz"))
1593 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
1594 (build-system go-build-system)
1596 '(#:import-path "gopkg.in/tomb.v2"
1598 (modify-phases %standard-phases
1599 (add-after 'unpack 'patch-source
1601 ;; Add a missing % to fix the compilation of this test
1602 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
1603 (("t.Fatalf\\(`Killf\\(\"BO%s")
1604 "t.Fatalf(`Killf(\"BO%%s"))
1606 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
1608 "The @code{tomb} package handles clean goroutine tracking and
1610 (home-page "https://gopkg.in/tomb.v2")
1611 (license license:bsd-3))))
1613 (define-public go-gopkg-in-natefinch-lumberjack.v2
1615 (name "go-gopkg-in-natefinch-lumberjack.v2")
1621 (url "https://github.com/natefinch/lumberjack")
1622 (commit (string-append "v" version))))
1623 (file-name (git-file-name name version))
1626 "1l3vlv72b7rfkpy1164kwd3qzrqmmjnb67akzxqp2mlvc66k6p3d"))))
1627 (build-system go-build-system)
1629 '(#:import-path "gopkg.in/natefinch/lumberjack.v2"))
1631 `(("github.com/burntsush/toml" ,go-github-com-burntsushi-toml)
1632 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1633 (home-page "https://github.com/natefinch/lumberjack")
1634 (synopsis "Rolling logger for Go")
1636 "Lumberjack is a Go package for writing logs to rolling files.")
1637 (license license:expat)))
1639 (define-public go-github.com-jtolds-gls
1641 (name "go-github.com-jtolds-gls")
1646 (url "https://github.com/jtolds/gls")
1647 (commit (string-append "v" version))))
1648 (file-name (git-file-name name version))
1651 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
1652 (build-system go-build-system)
1654 '(#:import-path "github.com/jtolds/gls"))
1655 (synopsis "@code{gls} provides Goroutine local storage")
1657 "The @code{gls} package provides a way to store a retrieve values
1659 (home-page "https://github.com/jtolds/gls")
1660 (license license:expat)))
1662 (define-public go-github-com-saracen-walker
1664 (name "go-github-com-saracen-walker")
1670 (url "https://github.com/saracen/walker")
1671 (commit (string-append "v" version))))
1672 (file-name (git-file-name name version))
1674 (base32 "1rq1lrp99lx7k1ysbfznn4c1iagnxdhb4lnnklsadnnzi3gvygqz"))))
1675 (build-system go-build-system)
1677 `(#:import-path "github.com/saracen/walker"))
1679 `(("go-golang-org-x-sync" ,go-golang-org-x-sync)))
1680 (home-page "https://github.com/saracen/walker")
1681 (synopsis "Faster, parallel version of Go's filepath.Walk")
1682 (license license:expat)
1683 (description "The @code{walker} function is a faster, parallel version, of
1684 @code{filepath.Walk}")))
1686 (define-public go-github-com-tj-docopt
1688 (name "go-github-com-tj-docopt")
1693 (url "https://github.com/tj/docopt")
1694 (commit (string-append "v" version))))
1695 (file-name (git-file-name name version))
1698 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
1699 (build-system go-build-system)
1701 '(#:import-path "github.com/tj/docopt"))
1702 (synopsis "Go implementation of docopt")
1704 "This library allows the user to define a command-line interface from a
1705 program's help message rather than specifying it programmatically with
1706 command-line parsers.")
1707 (home-page "https://github.com/tj/docopt")
1708 (license license:expat)))
1710 (define-public go-github-com-hashicorp-hcl
1711 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
1714 (name "go-github-com-hashicorp-hcl")
1715 (version (git-version "0.0.0" revision commit))
1719 (url "https://github.com/hashicorp/hcl")
1721 (file-name (git-file-name name version))
1724 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
1725 (build-system go-build-system)
1728 #:import-path "github.com/hashicorp/hcl"))
1729 (synopsis "Go implementation of HashiCorp Configuration Language")
1731 "This package contains the main implementation of the @acronym{HCL,
1732 HashiCorp Configuration Language}. HCL is designed to be a language for
1733 expressing configuration which is easy for both humans and machines to read.")
1734 (home-page "https://github.com/hashicorp/hcl")
1735 (license license:mpl2.0))))
1737 (define-public go-golang-org-x-tools
1738 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
1741 (name "go-golang-org-x-tools")
1742 (version (git-version "0.1.3" revision commit))
1746 (url "https://go.googlesource.com/tools")
1748 (file-name (string-append "go.googlesource.com-tools-"
1749 version "-checkout"))
1752 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
1753 (build-system go-build-system)
1755 `(#:import-path "golang.org/x/tools"
1756 ;; Source-only package
1759 (modify-phases %standard-phases
1760 ;; Source-only package
1762 (synopsis "Tools that support the Go programming language")
1763 (description "This package provides miscellaneous tools that support the
1764 Go programming language.")
1765 (home-page "https://go.googlesource.com/tools/")
1766 (license license:bsd-3))))
1768 (define-public go-golang-org-x-crypto
1769 (let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
1772 (name "go-golang-org-x-crypto")
1773 (version (git-version "0.0.0" revision commit))
1777 (url "https://go.googlesource.com/crypto")
1779 (file-name (string-append "go.googlesource.com-crypto-"
1780 version "-checkout"))
1783 "1yvis6fqbsd7f356aqyi18f76vnwj3bry6mxqnkvshq4cwrf92il"))))
1784 (build-system go-build-system)
1786 '(#:import-path "golang.org/x/crypto"
1787 ;; Source-only package
1790 (modify-phases %standard-phases
1791 ;; Source-only package
1793 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1794 (lambda* (#:key outputs #:allow-other-keys)
1796 (make-file-writable file))
1798 (string-append (assoc-ref outputs "out")
1799 "/src/golang.org/x/crypto/ed25519/testdata")
1803 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1804 (synopsis "Supplementary cryptographic libraries in Go")
1805 (description "This package provides supplementary cryptographic libraries
1806 for the Go language.")
1807 (home-page "https://go.googlesource.com/crypto/")
1808 (license license:bsd-3))))
1810 (define-public go-golang-org-x-net
1811 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
1814 (name "go-golang-org-x-net")
1815 (version (git-version "0.0.0" revision commit))
1819 (url "https://go.googlesource.com/net")
1821 (file-name (git-file-name name version))
1824 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
1825 (build-system go-build-system)
1827 `(#:import-path "golang.org/x/net"
1828 ; Source-only package
1831 (modify-phases %standard-phases
1833 (synopsis "Go supplemental networking libraries")
1834 (description "This package provides supplemental Go networking libraries.")
1835 (home-page "https://go.googlesource.com/net")
1836 (license license:bsd-3))))
1838 (define-public go-golang-org-x-net-html
1840 (inherit go-golang-org-x-net)
1841 (name "go-golang.org-x-net-html")
1843 '(#:import-path "golang.org/x/net/html"
1844 #:unpack-path "golang.org/x/net"))
1845 (synopsis "HTML5-compliant tokenizer and parser")
1847 "This package provides an HTML5-compliant tokenizer and parser.")
1848 (home-page "https://godoc.org/golang.org/x/net/html")))
1850 (define-public go-golang-org-x-image
1851 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
1854 (name "go-golang-org-x-image")
1855 (version (git-version "0.0.0" revision commit))
1859 (url "https://go.googlesource.com/image")
1861 (file-name (string-append "go.googlesource.com-image-"
1862 version "-checkout"))
1865 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
1866 (build-system go-build-system)
1868 `(#:import-path "golang.org/x/image"
1869 ; Source-only package
1872 (modify-phases %standard-phases
1874 (home-page "https://go.googlesource.com/image")
1875 (synopsis "Supplemental Go image libraries")
1876 (description "This package provides supplemental Go libraries for image
1878 (license license:bsd-3))))
1880 (define-public go-golang-org-x-sync
1881 (let ((commit "6e8e738ad208923de99951fe0b48239bfd864f28")
1884 (name "go-golang-org-x-sync")
1885 (version (git-version "0.0.0" revision commit))
1889 (url "https://go.googlesource.com/sync")
1891 (file-name (git-file-name name version))
1894 "1avk27pszd5l5df6ff7j78wgla46ir1hhy2jwfl9a3c0ys602yx9"))))
1895 (build-system go-build-system)
1897 `(#:import-path "golang.org/x/sync"
1899 ;; Source-only package
1901 (modify-phases %standard-phases
1903 (synopsis "Additional Go concurrency primitives")
1904 (description "This package provides Go concurrency primitives in addition
1905 to the ones provided by the language and “sync” and “sync/atomic”
1907 (home-page "https://go.googlesource.com/sync/")
1908 (license license:bsd-3))))
1910 (define-public go-golang-org-x-sys
1911 (let ((commit "05986578812163b26672dabd9b425240ae2bb0ad")
1914 (name "go-golang-org-x-sys")
1915 (version (git-version "0.0.0" revision commit))
1919 (url "https://go.googlesource.com/sys")
1921 (file-name (git-file-name name version))
1924 "1q2rxb6z5l6pmlckjsz2l0b8lw7bqgk6frhzbmi1dv0y5irb2ka7"))))
1925 (build-system go-build-system)
1927 `(#:import-path "golang.org/x/sys"
1928 ;; Source-only package
1931 (modify-phases %standard-phases
1933 (synopsis "Go support for low-level system interaction")
1934 (description "This package provides supplemental libraries offering Go
1935 support for low-level interaction with the operating system.")
1936 (home-page "https://go.googlesource.com/sys")
1937 (license license:bsd-3))))
1939 (define-public go-golang-org-x-text
1941 (name "go-golang-org-x-text")
1946 (url "https://go.googlesource.com/text")
1947 (commit (string-append "v" version))))
1948 (file-name (string-append "go.googlesource.com-text-"
1949 version "-checkout"))
1952 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
1953 (build-system go-build-system)
1955 `(#:import-path "golang.org/x/text"
1956 ; Source-only package
1959 (modify-phases %standard-phases
1961 (synopsis "Supplemental Go text processing libraries")
1962 (description "This package provides supplemental Go libraries for text
1964 (home-page "https://go.googlesource.com/text")
1965 (license license:bsd-3)))
1967 (define-public go-golang-org-x-time
1968 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
1971 (name "go-golang-org-x-time")
1972 (version (git-version "0.0.0" revision commit))
1976 (url "https://go.googlesource.com/time")
1978 (file-name (git-file-name name version))
1981 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
1982 (build-system go-build-system)
1984 `(#:import-path "golang.org/x/time"
1985 ; Source-only package
1988 (modify-phases %standard-phases
1990 ; (propagated-inputs
1991 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
1992 (synopsis "Supplemental Go time libraries")
1993 (description "This package provides supplemental Go libraries related to
1995 (home-page "https://godoc.org/golang.org/x/time/rate")
1996 (license license:bsd-3))))
1998 (define-public go-golang-org-x-oauth2
1999 (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
2002 (name "go-golang-org-x-oauth2")
2003 (version (git-version "0.0.0" revision commit))
2007 (url "https://go.googlesource.com/oauth2")
2009 (file-name (string-append "go.googlesource.com-oauth2-"
2010 version "-checkout"))
2013 "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
2014 (build-system go-build-system)
2016 `(#:import-path "golang.org/x/oauth2"))
2018 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
2019 (home-page "https://go.googlesource.com/oauth2")
2020 (synopsis "Client implementation of the OAuth 2.0 spec")
2021 (description "This package contains a client implementation for OAuth 2.0
2023 (license license:bsd-3))))
2025 (define-public go-golang-org-x-xerrors
2026 (let ((commit "5ec99f83aff198f5fbd629d6c8d8eb38a04218ca")
2029 (name "go-golang-org-x-xerrors")
2030 (version (git-version "0.0.0" revision commit))
2034 (url "https://go.googlesource.com/xerrors")
2036 (file-name (git-file-name name version))
2039 "1dbzc3gmf2haazpv7cgmv97rq40g2xzwbglc17vas8dwhgwgwrzb"))))
2040 (build-system go-build-system)
2042 '(#:import-path "golang.org/x/xerrors"))
2043 (synopsis "Go 1.13 error values")
2045 "This package holds the transition packages for the new Go 1.13 error values.")
2046 (home-page "https://godoc.org/golang.org/x/xerrors")
2047 (license license:bsd-3))))
2049 (define-public go-github-com-burntsushi-toml
2051 (name "go-github-com-burntsushi-toml")
2057 (url "https://github.com/BurntSushi/toml")
2058 (commit (string-append "v" version))))
2059 (file-name (git-file-name name version))
2062 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
2063 (build-system go-build-system)
2065 '(#:import-path "github.com/BurntSushi/toml"))
2066 (home-page "https://github.com/BurntSushi/toml")
2067 (synopsis "Toml parser and encoder for Go")
2068 (description "This package is toml parser and encoder for Go. The interface
2069 is similar to Go's standard library @code{json} and @code{xml} package.")
2070 (license license:expat)))
2072 (define-public go-github-com-getsentry-raven-go
2073 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
2076 (name "go-github-com-getsentry-raven-go")
2077 (version (git-version "0.2.0" revision commit))
2082 (url "https://github.com/getsentry/raven-go")
2084 (file-name (git-file-name name version))
2087 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
2088 (build-system go-build-system)
2090 '(#:import-path "github.com/getsentry/raven-go"))
2092 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
2093 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
2094 (home-page "https://github.com/getsentry/raven-go")
2095 (synopsis "Sentry client in Go")
2096 (description "This package is a Go client API for the Sentry event/error
2098 (license license:bsd-3))))
2100 (define-public go-github-com-hashicorp-go-version
2102 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
2105 (name "go-github-com-hashicorp-go-version")
2106 (version (git-version "0.0.0" revision commit))
2111 (url "https://github.com/hashicorp/go-version")
2113 (file-name (git-file-name name version))
2116 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
2117 (build-system go-build-system)
2119 '(#:import-path "github.com/hashicorp/go-version"))
2121 "https://github.com/hashicorp/go-version")
2122 (synopsis "Go library for parsing and verifying versions and version
2124 (description "This package is a library for parsing versions and version
2125 constraints, and verifying versions against a set of constraints. It can sort
2126 a collection of versions properly, handles prerelease/beta versions, can
2127 increment versions.")
2128 (license license:mpl2.0))))
2130 (define-public go-github-com-jpillora-backoff
2132 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
2135 (name "go-github-com-jpillora-backoff")
2136 (version (git-version "0.0.0" revision commit))
2141 (url "https://github.com/jpillora/backoff")
2143 (file-name (git-file-name name version))
2146 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
2147 (build-system go-build-system)
2149 '(#:import-path "github.com/jpillora/backoff"))
2150 (home-page "https://github.com/jpillora/backoff")
2151 (synopsis "Simple exponential backoff counter in Go")
2152 (description "This package is a simple exponential backoff counter in
2154 (license license:expat))))
2156 (define-public go-github-com-stretchr-objx
2158 (name "go-github-com-stretchr-objx")
2164 (url "https://github.com/stretchr/objx")
2165 (commit (string-append "v" version))))
2166 (file-name (git-file-name name version))
2169 "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
2170 (build-system go-build-system)
2172 '(#:import-path "github.com/stretchr/objx"))
2173 (home-page "https://github.com/stretchr/objx")
2174 (synopsis "Go package for dealing with maps, slices, JSON and other data")
2175 (description "This package provides a Go library for dealing with maps,
2176 slices, JSON and other data.")
2177 (license license:expat)))
2179 (define-public go-github-com-stretchr-testify
2181 (name "go-github-com-stretchr-testify")
2187 (url "https://github.com/stretchr/testify")
2188 (commit (string-append "v" version))))
2189 (file-name (git-file-name name version))
2192 "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
2193 (build-system go-build-system)
2195 '(#:import-path "github.com/stretchr/testify"))
2197 `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
2198 ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
2199 ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
2200 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
2201 (home-page "https://github.com/stretchr/testify")
2202 (synopsis "Go helper library for tests and invariant checking")
2203 (description "This package provide many tools for testifying that your
2204 code will behave as you intend.
2208 @item Easy assertions
2210 @item HTTP response trapping
2211 @item Testing suite interfaces and functions.
2213 (license license:expat)))
2215 (define-public go-github-com-tevino-abool
2217 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
2220 (name "go-github-com-tevino-abool")
2221 (version (git-version "0.0.0" revision commit))
2226 (url "https://github.com/tevino/abool")
2228 (file-name (git-file-name name version))
2231 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
2232 (build-system go-build-system)
2234 '(#:import-path "github.com/tevino/abool"))
2235 (home-page "https://github.com/tevino/abool")
2236 (synopsis "Atomic boolean library for Go code")
2237 (description "This package is atomic boolean library for Go code,
2238 optimized for performance yet simple to use.")
2239 (license license:expat))))
2241 (define-public go-github-com-tomnomnom-gron
2245 (home-page "https://github.com/tomnomnom/gron")
2251 (commit (string-append "v" version))))
2252 (file-name (git-file-name name version))
2254 (base32 "0qmzawkhg0qn9kxxrssbdjni2khvamhrcklv3yxc0ljmh77mh61m"))))
2255 (build-system go-build-system)
2257 (let ((import-path "github.com/tomnomnom/gron"))
2258 `(#:import-path ,import-path
2260 (modify-phases %standard-phases
2261 (add-after 'check 'remove-non-source
2263 (for-each (lambda (dir)
2264 (delete-file-recursively
2265 (string-append "src/" ,import-path dir)))
2266 '("/docs" "/script" "/testdata"))
2269 `(("github.com/fatih/color" ,go-github-com-fatih-color)
2270 ("github.com/mattn/go-colorable" ,go-github-com-mattn-go-colorable)
2271 ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
2272 ("github.com/nwidger/jsoncolor" ,go-github-com-nwidger-jsoncolor)
2273 ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
2274 (synopsis "Transform JSON to make it easier to grep")
2276 "This package transforms JSON into discrete assignments to make it easier
2277 to use line-based tools such as grep to search for what you want and see the
2278 absolute \"path\" to it.")
2279 (license license:expat)))
2281 (define-public go-github-com-tv42-httpunix
2282 (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
2285 (name "go-github-com-tv42-httpunix")
2286 (version (git-version "0.0.0" revision commit))
2291 (url "https://github.com/tv42/httpunix")
2293 (file-name (git-file-name name version))
2295 (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
2296 (build-system go-build-system)
2298 '(#:import-path "github.com/tv42/httpunix"))
2299 (home-page "https://github.com/tv42/httpunix")
2300 (synopsis "Go library to talk HTTP over Unix domain sockets")
2301 (description "This package is a Go library to talk HTTP over Unix domain
2303 (license license:expat))))
2305 (define-public go-github-com-blang-semver
2306 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
2309 (name "go-github-com-blang-semver")
2310 (version (git-version "0.0.0" revision commit))
2315 (url "https://github.com/blang/semver")
2317 (file-name (git-file-name name version))
2320 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
2321 (build-system go-build-system)
2323 '(#:import-path "github.com/blang/semver"))
2324 (home-page "https://github.com/blang/semver")
2325 (synopsis "Semantic versioning library written in Go")
2326 (description "Semver is a library for Semantic versioning written in Go.")
2327 (license license:expat))))
2329 (define-public go-github-com-emicklei-go-restful
2331 (name "go-github-com-emicklei-go-restful")
2337 (url "https://github.com/emicklei/go-restful")
2338 (commit (string-append "v" version))))
2339 (file-name (git-file-name name version))
2342 "0m1y5a6xr6hmdj77afrvyh2llkbhn1166lcrgis654shl8zs9qhz"))))
2343 (build-system go-build-system)
2345 '(#:import-path "github.com/emicklei/go-restful"))
2346 (home-page "https://github.com/emicklei/go-restful")
2347 (synopsis "Build REST-style web services using Go")
2348 (description "This package provides @code{go-restful}, which helps
2349 developers to use @code{http} methods explicitly and in a way that's consistent
2350 with the HTTP protocol definition.")
2351 (license license:expat)))
2353 (define-public go-github-com-google-cadvisor
2354 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
2357 (name "go-github-com-google-cadvisor")
2358 (version (git-version "0.0.0" revision commit))
2363 (url "https://github.com/google/cadvisor")
2365 (file-name (git-file-name name version))
2368 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
2369 (build-system go-build-system)
2371 '(#:import-path "github.com/google/cadvisor"))
2372 (home-page "https://github.com/google/cadvisor")
2373 (synopsis "Analyze resource usage of running containers")
2374 (description "The package provides @code{cadvisor}, which provides
2375 information about the resource usage and performance characteristics of running
2377 (license license:asl2.0))))
2379 (define-public go-github-com-google-gofuzz
2380 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
2383 (name "go-github-com-google-gofuzz")
2384 (version (git-version "0.0.0" revision commit))
2389 (url "https://github.com/google/gofuzz")
2391 (file-name (git-file-name name version))
2394 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
2395 (build-system go-build-system)
2397 '(#:import-path "github.com/google/gofuzz"))
2398 (home-page "https://github.com/google/gofuzz")
2399 (synopsis "Fuzz testing library for Go")
2400 (description "Gofuzz is a library for populationg Go objects with random
2401 values for the purpose of fuzz testing.")
2402 (license license:asl2.0))))
2404 (define-public go-github-com-gorilla-css
2406 (name "go-github-com-gorilla-css")
2411 (url "https://github.com/gorilla/css")
2412 (commit (string-append "v" version))))
2413 (file-name (git-file-name name version))
2416 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
2417 (build-system go-build-system)
2419 `(#:import-path "github.com/gorilla/css/scanner"
2420 #:unpack-path "github.com/gorilla/css"))
2421 (home-page "https://github.com/gorilla/css/")
2422 (synopsis "CSS3 tokenizer")
2423 (description "This package provides a CSS3 tokenizer.")
2424 (license license:bsd-3)))
2426 (define-public go-github-com-gorilla-context
2427 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
2430 (name "go-github-com-gorilla-context")
2431 (version (git-version "0.0.0" revision commit))
2436 (url "https://github.com/gorilla/context")
2438 (file-name (git-file-name name version))
2441 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
2442 (build-system go-build-system)
2444 '(#:import-path "github.com/gorilla/context"))
2445 (home-page "https://github.com/gorilla/context")
2446 (synopsis "Go registry for request variables")
2447 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
2448 (license license:bsd-3))))
2450 (define-public go-github-com-gorilla-mux
2452 (name "go-github-com-gorilla-mux")
2458 (url "https://github.com/gorilla/mux")
2459 (commit (string-append "v" version))))
2460 (file-name (git-file-name name version))
2463 "18f0q9qxgq1yh4ji07mqhiydfcwvi56z9d775v7dc7yckj33kpdk"))))
2464 (build-system go-build-system)
2466 '(#:import-path "github.com/gorilla/mux"))
2467 (home-page "https://github.com/gorilla/mux")
2468 (synopsis "URL router and dispatcher for Go")
2470 "Gorilla/Mux implements a request router and dispatcher for matching
2471 incoming requests with their respective handler.")
2472 (license license:bsd-3)))
2474 (define-public go-github-com-gorilla-handlers
2476 (name "go-github-com-gorilla-handlers")
2482 (url "https://github.com/gorilla/handlers")
2483 (commit (string-append "v" version))))
2484 (file-name (git-file-name name version))
2487 "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
2488 (build-system go-build-system)
2490 `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
2492 '(#:tests? #f ; Tries to download from the internet
2493 #:import-path "github.com/gorilla/handlers"))
2494 (home-page "https://github.com/gorilla/handlers")
2495 (synopsis "Middleware for Go HTTP services and web applications")
2496 (description "A collection of useful middleware for Go HTTP services
2497 and web applications.")
2498 (license license:bsd-3)))
2500 (define-public go-github-com-gorilla-securecookie
2502 (name "go-github-com-gorilla-securecookie")
2508 (url "https://github.com/gorilla/securecookie")
2509 (commit (string-append "v" version))))
2510 (file-name (git-file-name name version))
2513 "16bqimpxs9vj5n59vm04y04v665l7jh0sddxn787pfafyxcmh410"))))
2514 (build-system go-build-system)
2516 '(#:import-path "github.com/gorilla/securecookie"))
2517 (home-page "https://github.com/gorilla/securecookie")
2518 (synopsis "Encodes and decodes authenticated and optionally encrypted
2521 "Gorilla/securecookie encodes and decodes authenticated and optionally
2522 encrypted cookie values for Go web applications.")
2523 (license license:bsd-3)))
2525 (define-public go-github-com-gorilla-csrf
2527 (name "go-github-com-gorilla-csrf")
2533 (url "https://github.com/gorilla/csrf")
2534 (commit (string-append "v" version))))
2535 (file-name (git-file-name name version))
2538 "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav"))))
2539 (build-system go-build-system)
2541 `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie)
2542 ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
2544 '(#:import-path "github.com/gorilla/csrf"))
2545 (home-page "https://github.com/gorilla/csrf")
2546 (synopsis "Cross Site Request Forgery (CSRF) prevention middleware")
2548 "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention
2549 middleware for Go web applications and services.")
2550 (license license:bsd-3)))
2552 (define-public go-github-com-jonboulle-clockwork
2553 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
2556 (name "go-github-com-jonboulle-clockwork")
2557 (version (git-version "0.0.0" revision commit))
2562 (url "https://github.com/jonboulle/clockwork")
2564 (file-name (git-file-name name version))
2567 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
2568 (build-system go-build-system)
2570 '(#:import-path "github.com/jonboulle/clockwork"))
2571 (home-page "https://github.com/jonboulle/clockwork")
2572 (synopsis "Fake clock library for Go")
2574 "Replace uses of the @code{time} package with the
2575 @code{clockwork.Clock} interface instead.")
2576 (license license:asl2.0))))
2578 (define-public go-github-com-spf13-afero
2580 (name "go-github-com-spf13-afero")
2586 (url "https://github.com/spf13/afero")
2587 (commit (string-append "v" version))))
2588 (file-name (git-file-name name version))
2591 "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"))))
2592 (build-system go-build-system)
2594 `(#:import-path "github.com/spf13/afero"))
2596 `(("golang.org/x/text" ,go-golang-org-x-text)))
2597 (home-page "https://github.com/spf13/afero")
2598 (synopsis "File system abstraction for Go")
2600 "This package provides a file system abstraction for Go.")
2601 (license license:asl2.0)))
2603 (define-public go-github-com-spf13-cast
2605 (name "go-github-com-spf13-cast")
2611 (url "https://github.com/spf13/cast")
2612 (commit (string-append "v" version))))
2613 (file-name (git-file-name name version))
2616 "0lb84788glr0qzrq2ifi36rgvp96qrgywvxrr3ggq5hrbr38hgn1"))))
2617 (build-system go-build-system)
2619 `(#:import-path "github.com/spf13/cast"))
2621 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2622 (home-page "https://github.com/spf13/cast")
2623 (synopsis "Safe and easy casting from one type to another in Go")
2624 (description "Safe and easy casting from one type to another in Go")
2625 (license license:expat)))
2627 (define-public go-github-com-spf13-cobra
2629 (name "go-github-com-spf13-cobra")
2635 (url "https://github.com/spf13/cobra")
2636 (commit (string-append "v" version))))
2637 (file-name (git-file-name name version))
2640 "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h"))))
2641 (build-system go-build-system)
2643 `(#:import-path "github.com/spf13/cobra"))
2645 `(("github.com/spf13/pflag" ,go-github-com-spf13-pflag)))
2646 (home-page "https://github.com/spf13/cobra")
2647 (synopsis "Go library for creating CLI applications")
2648 (description "Cobra is both a library for creating powerful modern CLI
2649 applications as well as a program to generate applications and command files.")
2650 (license license:asl2.0)))
2652 (define-public go-github-com-spf13-jwalterweatherman
2654 (name "go-github-com-spf13-jwalterweatherman")
2660 (url "https://github.com/spf13/jwalterweatherman")
2661 (commit (string-append "v" version))))
2662 (file-name (git-file-name name version))
2665 "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"))))
2666 (build-system go-build-system)
2668 `(#:import-path "github.com/spf13/jwalterweatherman"))
2670 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2671 (home-page "https://github.com/spf13/jwalterweatherman")
2672 (synopsis "Go logging library")
2673 (description "Go logging library")
2674 (license license:expat)))
2676 (define-public go-github-com-spf13-pflag
2678 (name "go-github-com-spf13-pflag")
2684 (url "https://github.com/spf13/pflag")
2685 (commit (string-append "v" version))))
2686 (file-name (git-file-name name version))
2689 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
2690 (build-system go-build-system)
2692 '(#:import-path "github.com/spf13/pflag"))
2693 (home-page "https://github.com/spf13/pflag")
2694 (synopsis "Replacement for Go's @code{flag} package")
2696 "Pflag is library to replace Go's @code{flag} package. It implements
2697 POSIX/GNU-style command-line options with double hyphens. It is is compatible
2699 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
2700 GNU extensions} to the POSIX recommendations for command-line options.")
2701 (license license:bsd-3)))
2703 (define-public go-github-com-spf13-viper
2705 (name "go-github-com-spf13-viper")
2711 (url "https://github.com/spf13/viper")
2712 (commit (string-append "v" version))))
2713 (file-name (git-file-name name version))
2716 "099n2g7fg6r8hqyszqw2axr775qyhyvwhsykvgw0f0s16ql48h5c"))))
2717 (build-system go-build-system)
2719 '(#:import-path "github.com/spf13/viper"))
2721 `(("github.com/spf13/afero" ,go-github-com-spf13-afero)
2722 ("github.com/spf13/cast" ,go-github-com-spf13-cast)
2723 ("github.com/spf13/pflag" ,go-github-com-spf13-pflag)
2724 ("github.com/spf13/jwalterweatherman" ,go-github-com-spf13-jwalterweatherman)
2725 ("github.com/fsnotify/fsnotify" ,go-github-com-fsnotify-fsnotify)
2726 ("github.com/hashicorp/hcl" ,go-github-com-hashicorp-hcl)
2727 ("github.com/magiconair/properties" ,go-github-com-magiconair-properties)
2728 ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)
2729 ("github.com/pelletier/go-toml" ,go-github-com-pelletier-go-toml)
2730 ("github.com/subosito/gotenv" ,go-github-com-subosito-gotenv)
2732 ("gopkg.in/ini.v1" ,go-gopkg-in-ini-v1)
2733 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
2735 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2736 (home-page "https://github.com/spf13/viper")
2737 (synopsis "Go configuration with fangs")
2739 "Viper is a complete configuration solution for Go applications including
2740 12-Factor apps. It is designed to work within an application, and can handle
2741 all types of configuration needs and formats.")
2742 (license license:expat)))
2744 (define-public go-github-com-felixge-httpsnoop
2746 (name "go-github-com-felixge-httpsnoop")
2752 (url "https://github.com/felixge/httpsnoop")
2753 (commit (string-append "v" version))))
2754 (file-name (git-file-name name version))
2757 "0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac"))))
2758 (build-system go-build-system)
2760 '(#:import-path "github.com/felixge/httpsnoop"))
2761 (home-page "https://github.com/felixge/httpsnoop/")
2762 (synopsis "Capture http related metrics")
2764 "Httpsnoop provides an easy way to capture http related
2765 metrics (i.e. response time, bytes written, and http status code) from your
2766 application's http.Handlers.")
2767 (license license:expat)))
2769 (define-public go-github-com-fsnotify-fsnotify
2771 (name "go-github-com-fsnotify-fsnotify")
2777 (url "https://github.com/fsnotify/fsnotify")
2778 (commit (string-append "v" version))))
2779 (file-name (git-file-name name version))
2782 "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x"))))
2783 (build-system go-build-system)
2785 `(#:import-path "github.com/fsnotify/fsnotify"))
2787 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
2788 (home-page "https://github.com/fsnotify/fsnotify")
2789 (synopsis "File system notifications for Go")
2790 (description "File system notifications for Go")
2791 (license license:bsd-3)))
2793 (define-public go-github-com-magiconair-properties
2795 (name "go-github-com-magiconair-properties")
2801 (url "https://github.com/magiconair/properties")
2802 (commit (string-append "v" version))))
2803 (file-name (git-file-name name version))
2806 "0q7d55z0v8y55dyy8nhgdnswf5zkgj3i87irbk294nvzhx01bnxd"))))
2807 (build-system go-build-system)
2809 `(#:import-path "github.com/magiconair/properties"))
2810 (home-page "https://github.com/magiconair/properties")
2811 (synopsis "Java properties scanner for Go")
2812 (description "Java properties scanner for Go")
2813 (license license:bsd-2)))
2815 (define-public go-github-com-pelletier-go-toml
2817 (name "go-github-com-pelletier-go-toml")
2823 (url "https://github.com/pelletier/go-toml")
2824 (commit (string-append "v" version))))
2825 (file-name (git-file-name name version))
2828 "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y"))))
2829 (build-system go-build-system)
2831 `(#:import-path "github.com/pelletier/go-toml"))
2833 `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml)
2834 ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
2835 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
2836 (home-page "https://github.com/pelletier/go-toml")
2837 (synopsis "Go library for the TOML configuration language")
2838 (description "Go library for the TOML configuration language")
2839 (license license:expat)))
2841 (define-public go-github-com-subosito-gotenv
2843 (name "go-github-com-subosito-gotenv")
2849 (url "https://github.com/subosito/gotenv")
2850 (commit (string-append "v" version))))
2851 (file-name (git-file-name name version))
2854 "0mav91j7r4arjkpq5zcf9j74f6pww8ic53x43wy7kg3ibw31yjs5"))))
2855 (build-system go-build-system)
2857 `(#:import-path "github.com/subosito/gotenv"))
2859 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2860 (home-page "https://github.com/subosito/gotenv")
2861 (synopsis "Go library for loading environment variables from files")
2862 (description "Go library for loading environment variables from files")
2863 (license license:expat)))
2865 (define-public go-github-com-sirupsen-logrus
2867 (name "go-github-com-sirupsen-logrus")
2873 (url "https://github.com/sirupsen/logrus")
2874 (commit (string-append "v" version))))
2875 (file-name (git-file-name name version))
2878 "0rvqzic2zz7fpxyizmqxwmhv1m52ii9bgxnqa6km8wsa0l08wh42"))))
2879 (build-system go-build-system)
2881 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)
2882 ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)
2883 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
2884 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2885 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
2887 '(#:import-path "github.com/sirupsen/logrus"))
2888 (home-page "https://github.com/sirupsen/logrus")
2889 (synopsis "Structured, pluggable logging for Go")
2890 (description "Logrus is a structured logger for Go, completely API
2891 compatible with the standard library logger.")
2892 (license license:expat)))
2894 (define-public go-github-com-rifflock-lfshook
2896 (name "go-github-com-rifflock-lfshook")
2901 (url "https://github.com/rifflock/lfshook")
2902 (commit (string-append "v" version))))
2903 (file-name (git-file-name name version))
2906 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
2907 (build-system go-build-system)
2909 `(#:import-path "github.com/rifflock/lfshook"))
2911 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
2912 (home-page "https://github.com/rifflock/lfshook")
2913 (synopsis "Local File System hook for Logrus logger")
2914 (description "This package provides a hook for Logrus to write directly to
2915 a file on the file system. The log levels are dynamic at instantiation of the
2916 hook, so it is capable of logging at some or all levels.")
2917 (license license:expat)))
2919 (define-public go-github-com-kardianos-osext
2920 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
2923 (name "go-github-com-kardianos-osext")
2924 (version (git-version "0.0.0" revision commit))
2928 (url "https://github.com/kardianos/osext")
2930 (file-name (git-file-name name version))
2933 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
2934 (build-system go-build-system)
2936 `(#:import-path "github.com/kardianos/osext"
2937 ;; The tests are flaky:
2938 ;; <https://github.com/kardianos/osext/issues/21>
2940 (synopsis "Find the running executable")
2941 (description "Osext provides a method for finding the current executable
2942 file that is running. This can be used for upgrading the current executable or
2943 finding resources located relative to the executable file.")
2944 (home-page "https://github.com/kardianos/osext")
2945 (license license:bsd-3))))
2947 (define-public go-github-com-ayufan-golang-kardianos-service
2948 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
2951 (name "go-github-com-ayufan-golang-kardianos-service")
2952 (version (git-version "0.0.0" revision commit))
2958 "https://github.com/ayufan/golang-kardianos-service")
2960 (file-name (git-file-name name version))
2963 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
2964 (build-system go-build-system)
2966 `(("go-github-com-kardianos-osext"
2967 ,go-github-com-kardianos-osext)))
2969 '(#:tests? #f ;FIXME tests fail: Service is not running.
2970 #:import-path "github.com/ayufan/golang-kardianos-service"))
2971 (home-page "https://github.com/ayufan/golang-kardianos-service")
2972 (synopsis "Go interface to a variety of service supervisors")
2973 (description "This package provides @code{service}, a Go module that can
2974 run programs as a service using a variety of supervisors, including systemd,
2975 SysVinit, and more.")
2976 (license license:zlib))))
2978 (define-public go-github-com-docker-distribution
2979 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
2982 (name "go-github-com-docker-distribution")
2983 (version (git-version "0.0.0" revision commit))
2985 ;; FIXME: This bundles many things, see
2986 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
2990 (url "https://github.com/docker/distribution")
2992 (file-name (git-file-name name version))
2995 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
2996 (build-system go-build-system)
2998 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
2999 ("go-github-com-sirupsen-logrus"
3000 ,go-github-com-sirupsen-logrus)
3001 ("go-golang-org-x-crypto"
3002 ,go-golang-org-x-crypto)))
3004 '(#:import-path "github.com/docker/distribution"
3006 (modify-phases %standard-phases
3007 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
3008 (lambda* (#:key outputs #:allow-other-keys)
3010 (make-file-writable file))
3012 (assoc-ref outputs "out")
3016 "https://github.com/docker/distribution")
3017 (synopsis "This package is a Docker toolset to pack, ship, store, and
3019 (description "Docker Distribution is a Docker toolset to pack, ship,
3020 store, and deliver content. It contains Docker Registry 2.0 and libraries
3021 to interact with distribution components.")
3022 (license license:asl2.0))))
3024 (define-public go-github-com-docker-go-connections
3025 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
3028 (name "go-github-com-docker-go-connections")
3029 (version (git-version "0.0.0" revision commit))
3034 (url "https://github.com/docker/go-connections")
3036 (file-name (git-file-name name version))
3039 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
3040 (build-system go-build-system)
3042 '(#:import-path "github.com/docker/go-connections"))
3043 (home-page "https://github.com/docker/go-connections")
3044 (synopsis "Networking library for Go")
3046 "This package provides a library to work with network connections in
3047 the Go language. In particular it provides tools to deal with network address
3048 translation (NAT), proxies, sockets, and transport layer security (TLS).")
3049 (license license:asl2.0))))
3051 (define-public go-github-com-docker-machine
3052 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
3055 (name "go-github-com-docker-machine")
3056 (version (git-version "0.0.0" revision commit))
3061 (url "https://github.com/docker/machine")
3063 (file-name (git-file-name name version))
3066 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
3067 (build-system go-build-system)
3069 '(#:import-path "github.com/docker/machine"))
3070 (home-page "https://github.com/docker/machine")
3071 (synopsis "Machine management for a container-centric world")
3073 "@dfn{Machine} lets you create Docker hosts on your computer, on
3074 hosting providers, and inside your data center. It creates servers, installs
3075 Docker on them, then configures the Docker client to talk to them.")
3076 (license license:asl2.0))))
3078 (define-public go-github-com-gorhill-cronexpr
3079 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
3082 (name "go-github-com-gorhill-cronexpr")
3083 (version (git-version "0.0.0" revision commit))
3088 (url "https://github.com/gorhill/cronexpr")
3090 (file-name (git-file-name name version))
3093 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
3094 (build-system go-build-system)
3096 '(#:import-path "github.com/gorhill/cronexpr"))
3097 (home-page "https://github.com/gorhill/cronexpr")
3098 (synopsis "Cron expression parser in the Go language")
3100 "This package provides a cron expression parser in the Go language.
3101 Given a cron expression and a time stamp, you can get the next time stamp
3102 which satisfies the cron expression.")
3103 (license (list license:gpl3+
3106 (define-public go-gopkg-in-check-v1
3107 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
3110 (name "go-gopkg-in-check-v1")
3111 (version (git-version "1.0.0" revision commit))
3116 (url "https://github.com/go-check/check")
3118 (file-name (git-file-name name version))
3121 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
3122 (build-system go-build-system)
3124 '(#:import-path "gopkg.in/check.v1"))
3126 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
3127 (home-page "https://gopkg.in/check.v1")
3128 (synopsis "Test framework for the Go language")
3129 (description "This package provides a test library for the Go language.")
3130 (license license:asl2.0))))
3132 (define-public go-gopkg-in-ini-v1
3134 (name "go-gopkg-in-ini-v1")
3140 (url "https://github.com/go-ini/ini")
3141 (commit (string-append "v" version))))
3142 (file-name (git-file-name name version))
3145 "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5"))))
3146 (build-system go-build-system)
3148 '(#:import-path "gopkg.in/ini.v1"
3149 ;; Requires large unpackaged test framework
3151 (home-page "https://gopkg.in/ini.v1")
3152 (synopsis "Go library for ini files")
3153 (description "Go library for ini files")
3154 (license license:asl2.0)))
3156 (define-public go-gopkg-in-yaml-v2
3158 (name "go-gopkg-in-yaml-v2")
3164 (url "https://gopkg.in/yaml.v2.git")
3165 (commit (string-append "v" version))))
3166 (file-name (git-file-name name version))
3169 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
3170 (build-system go-build-system)
3172 '(#:import-path "gopkg.in/yaml.v2"))
3174 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
3175 (home-page "https://gopkg.in/yaml.v2")
3176 (synopsis "YAML reader and writer for the Go language")
3178 "This package provides a Go library for encode and decode YAML
3180 (license license:asl2.0)))
3182 (define-public go-gopkg-in-yaml-v3
3184 (name "go-gopkg-in-yaml-v3")
3190 (url "https://gopkg.in/yaml.v3")
3191 (commit (string-append "v" version))))
3192 (file-name (git-file-name name version))
3194 (base32 "06f4lnrp494wqaygv09dggr2dwf3z2bawqhnlnnwiamg5y787k4g"))))
3195 (build-system go-build-system)
3197 '(#:import-path "gopkg.in/yaml.v3"))
3199 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
3200 (home-page "https://gopkg.in/yaml.v3")
3201 (synopsis "YAML reader and writer for the Go language")
3203 "This package provides a Go library for encode and decode YAML values.
3204 The yaml package supports most of YAML 1.2, but preserves some behavior from
3205 1.1 for backwards compatibility.")
3206 (license license:asl2.0)))
3208 (define-public go-github-com-mattn-go-isatty
3210 (name "go-github-com-mattn-go-isatty")
3216 (url "https://github.com/mattn/go-isatty")
3217 (commit (string-append "v" version))))
3218 (file-name (git-file-name name version))
3221 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
3222 (build-system go-build-system)
3224 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
3226 '(#:import-path "github.com/mattn/go-isatty"))
3227 (home-page "https://github.com/mattn/go-isatty")
3228 (synopsis "Provide @code{isatty} for Golang")
3229 (description "This package provides @code{isatty}, a Go module that can
3230 tell you whether a file descriptor points to a terminal and the type of the
3232 (license license:expat)))
3234 (define-public go-github-com-mattn-go-colorable
3236 (name "go-github-com-mattn-go-colorable")
3238 (home-page "https://github.com/mattn/go-colorable")
3244 (commit (string-append "v" version))))
3245 (file-name (git-file-name name version))
3248 "0q34zqwbnls72md8q8mhj368s7p3i4xspvs3rk8fs76s0pn7dr2l"))))
3249 (build-system go-build-system)
3251 `(("go-github-com-mattn-go-isatty"
3252 ,go-github-com-mattn-go-isatty)))
3254 '(#:import-path "github.com/mattn/go-colorable"))
3255 (synopsis "Handle ANSI color escapes on Windows")
3256 (description "This package provides @code{colorable}, a module that
3257 makes it possible to handle ANSI color escapes on Windows.")
3258 (license license:expat)))
3260 (define-public go-github-com-mattn-go-pointer
3261 (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
3264 (name "go-github-com-mattn-go-pointer")
3265 (version (git-version "0.0.0" revision commit))
3270 (url "https://github.com/mattn/go-pointer")
3274 "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
3275 (file-name (git-file-name name version))))
3276 (build-system go-build-system)
3278 '(#:import-path "github.com/mattn/go-pointer"))
3279 (home-page "https://github.com/mattn/go-pointer")
3280 (synopsis "Utility for cgo")
3282 "This package allows for a cgo argument to be passed a Go pointer.")
3283 (license license:expat))))
3285 (define-public go-github-com-mgutz-ansi
3286 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
3289 (name "go-github-com-mgutz-ansi")
3290 (version (git-version "0.0.0" revision commit))
3296 "https://github.com/mgutz/ansi")
3298 (file-name (git-file-name name version))
3301 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
3302 (build-system go-build-system)
3304 `(("go-github-com-mattn-go-isatty"
3305 ,go-github-com-mattn-go-isatty)
3306 ("go-github-com-mattn-go-colorable"
3307 ,go-github-com-mattn-go-colorable)))
3309 '(#:import-path "github.com/mgutz/ansi"))
3310 (home-page "https://github.com/mgutz/ansi")
3311 (synopsis "Small, fast library to create ANSI colored strings and codes")
3312 (description "This package provides @code{ansi}, a Go module that can
3313 generate ANSI colored strings.")
3314 (license license:expat))))
3316 (define-public go-github-com-aarzilli-golua
3317 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
3320 (name "go-github-com-aarzilli-golua")
3321 (version (git-version "0.0.0" revision commit))
3327 "https://github.com/aarzilli/golua")
3329 (file-name (git-file-name name version))
3332 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
3333 (build-system go-build-system)
3334 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
3335 ;; when this package required as input for another one, it will have to
3336 ;; be built again. Thus its CGO requirements must be made available in
3337 ;; the environment, that is, they must be propagated.
3341 `(#:unpack-path "github.com/aarzilli/golua"
3342 #:import-path "github.com/aarzilli/golua/lua"
3344 (modify-phases %standard-phases
3345 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
3346 ;; command line argument, go-1.10+ does not re-use the produced pkg
3347 ;; for dependencies, which means we would need to propagate the
3348 ;; same "-tags" argument to all golua referrers. A substitution is
3349 ;; more convenient here. We also need to propagate the lua
3350 ;; dependency to make it available to referrers.
3351 (add-after 'unpack 'fix-lua-ldflags
3353 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
3354 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
3355 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
3356 (home-page "https://github.com/aarzilli/golua")
3357 (synopsis "Go Bindings for the Lua C API")
3358 (description "This package provides @code{lua}, a Go module that can
3359 run a Lua virtual machine.")
3360 (license license:expat))))
3362 (define-public go-gitlab-com-ambrevar-golua-unicode
3363 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
3366 (name "go-gitlab-com-ambrevar-golua-unicode")
3367 (version (git-version "0.0.0" revision commit))
3373 "https://gitlab.com/ambrevar/golua")
3375 (file-name (git-file-name name version))
3378 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
3379 (build-system go-build-system)
3382 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
3384 `(#:unpack-path "gitlab.com/ambrevar/golua"
3385 #:import-path "gitlab.com/ambrevar/golua/unicode"
3387 (modify-phases %standard-phases
3389 (lambda* (#:key import-path #:allow-other-keys)
3390 (setenv "USER" "homeless-dude")
3391 (invoke "go" "test" import-path))))))
3392 (home-page "https://gitlab.com/ambrevar/golua")
3393 (synopsis "Add Unicode support to Golua")
3394 (description "This extension to Arzilli's Golua adds Unicode support to
3395 all functions from the Lua string library. Lua patterns are replaced by Go
3396 regexps. This breaks compatibility with Lua, but Unicode support breaks it
3397 anyways and Go regexps are more powerful.")
3398 (license license:expat))))
3400 (define-public go-github-com-yookoala-realpath
3401 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
3404 (name "go-github-com-yookoala-realpath")
3405 (version (git-version "0.0.0" revision commit))
3411 "https://github.com/yookoala/realpath")
3413 (file-name (git-file-name name version))
3416 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
3417 (build-system go-build-system)
3419 `(#:import-path "github.com/yookoala/realpath"))
3420 (home-page "https://github.com/yookoala/realpath")
3421 (synopsis "@code{realpath} for Golang")
3422 (description "This package provides @code{realpath}, a Go module that
3423 when provided with a valid relative path / alias path, it will return you with
3424 a string of its real absolute path in the system.")
3425 (license license:expat))))
3427 (define-public go-gitlab-com-ambrevar-damerau
3428 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
3431 (name "go-gitlab-com-ambrevar-damerau")
3432 (version (git-version "0.0.0" revision commit))
3438 "https://gitlab.com/ambrevar/damerau")
3440 (file-name (git-file-name name version))
3443 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
3444 (build-system go-build-system)
3446 `(#:import-path "gitlab.com/ambrevar/damerau"))
3447 (home-page "https://gitlab.com/ambrevar/damerau")
3448 (synopsis "Damerau-Levenshtein distance for Golang")
3449 (description "This is a spelling corrector implementing the
3450 Damerau-Levenshtein distance. Takes a string value input from the user.
3451 Looks for an identical word on a list of words, if none is found, look for a
3453 (license license:expat))))
3455 (define-public go-github-com-stevedonovan-luar
3456 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
3459 (name "go-github-com-stevedonovan-luar")
3460 (version (git-version "0.0.0" revision commit))
3466 "https://github.com/stevedonovan/luar")
3468 (file-name (git-file-name name version))
3471 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
3472 (build-system go-build-system)
3474 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
3476 `(#:tests? #f ; Upstream tests are broken.
3477 #:import-path "github.com/stevedonovan/luar"))
3478 (home-page "https://github.com/stevedonovan/luar")
3479 (synopsis "Lua reflection bindings for Go")
3480 (description "Luar is designed to make using Lua from Go more
3481 convenient. Go structs, slices and maps can be automatically converted to Lua
3482 tables and vice-versa. The resulting conversion can either be a copy or a
3483 proxy. In the latter case, any change made to the result will reflect on the
3486 Any Go function can be made available to Lua scripts, without having to write
3489 Luar support cyclic structures (lists, etc.).
3491 User-defined types can be made available to Lua as well: their exported
3492 methods can be called and usual operations such as indexing or arithmetic can
3494 (license license:expat))))
3496 (define-public go-github-com-michiwend-golang-pretty
3497 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
3500 (name "go-github-com-michiwend-golang-pretty")
3501 (version (git-version "0.0.0" revision commit))
3507 "https://github.com/michiwend/golang-pretty")
3509 (file-name (git-file-name name version))
3512 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
3513 (build-system go-build-system)
3515 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
3517 `(#:tests? #f ; Upstream tests seem to be broken.
3518 #:import-path "github.com/michiwend/golang-pretty"))
3519 (home-page "https://github.com/michiwend/golang-pretty")
3520 (synopsis "Pretty printing for Go values")
3521 (description "Package @code{pretty} provides pretty-printing for Go
3522 values. This is useful during debugging, to avoid wrapping long output lines
3525 It provides a function, @code{Formatter}, that can be used with any function
3526 that accepts a format string. It also provides convenience wrappers for
3527 functions in packages @code{fmt} and @code{log}.")
3528 (license license:expat))))
3530 (define-public go-github-com-michiwend-gomusicbrainz
3531 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
3534 (name "go-github-com-michiwend-gomusicbrainz")
3535 (version (git-version "0.0.0" revision commit))
3541 "https://github.com/michiwend/gomusicbrainz")
3543 (file-name (git-file-name name version))
3546 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
3547 (build-system go-build-system)
3549 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
3550 ("go-github-com-kr-text" ,go-github-com-kr-text)))
3552 `(#:import-path "github.com/michiwend/gomusicbrainz"))
3553 (home-page "https://github.com/michiwend/gomusicbrainz")
3554 (synopsis "MusicBrainz WS2 client library for Golang")
3555 (description "Currently GoMusicBrainz provides methods to perform search
3556 and lookup requests. Browse requests are not supported yet.")
3557 (license license:expat))))
3559 (define-public go-github-com-wtolson-go-taglib
3560 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
3563 (name "go-github-com-wtolson-go-taglib")
3564 (version (git-version "0.0.0" revision commit))
3570 "https://github.com/wtolson/go-taglib")
3572 (file-name (git-file-name name version))
3575 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
3576 (build-system go-build-system)
3577 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
3578 ;; when this package required as input for another one, it will have to
3579 ;; be built again. Thus its CGO requirements must be made available in
3580 ;; the environment, that is, they must be propagated.
3582 `(("pkg-config" ,pkg-config)
3583 ("taglib" ,taglib)))
3585 `(#:import-path "github.com/wtolson/go-taglib"
3586 ;; Tests don't pass "vet" on Go since 1.11. See
3587 ;; https://github.com/wtolson/go-taglib/issues/12.
3589 (modify-phases %standard-phases
3591 (lambda* (#:key import-path #:allow-other-keys)
3595 (home-page "https://github.com/wtolson/go-taglib")
3596 (synopsis "Go wrapper for taglib")
3597 (description "Go wrapper for taglib")
3598 (license license:unlicense))))
3600 (define-public go-github-com-gogo-protobuf
3602 (name "go-github-com-gogo-protobuf")
3607 (url "https://github.com/gogo/protobuf")
3608 (commit (string-append "v" version))))
3609 (file-name (git-file-name name version))
3612 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
3613 (build-system go-build-system)
3615 `(#:import-path "github.com/gogo/protobuf"
3616 ; Source-only package
3619 (modify-phases %standard-phases
3621 (synopsis "Protocol Buffers for Go with Gadgets")
3622 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
3623 generation features. This code generation is used to achieve:
3625 @item fast marshalling and unmarshalling
3626 @item more canonical Go structures
3627 @item goprotobuf compatibility
3628 @item less typing by optionally generating extra helper code
3629 @item peace of mind by optionally generating test and benchmark code
3630 @item other serialization formats
3632 (home-page "https://github.com/gogo/protobuf")
3633 (license license:bsd-3)))
3635 (define-public go-github-com-libp2p-go-flow-metrics
3636 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
3639 (name "go-github-com-libp2p-go-flow-metrics")
3640 (version (git-version "0.2.0" revision commit))
3645 (url "https://github.com/libp2p/go-flow-metrics")
3647 (file-name (git-file-name name version))
3650 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
3651 (build-system go-build-system)
3653 `(#:import-path "github.com/libp2p/go-flow-metrics"
3654 ;; TODO: Tests hang.
3657 "https://github.com/libp2p/go-flow-metrics")
3658 (synopsis "Simple library for tracking flow metrics")
3659 (description "A simple alternative to rcrowley's @command{go-metrics}
3660 that's a lot faster (and only does simple bandwidth metrics).")
3661 (license license:expat))))
3663 (define-public go-github-com-davecgh-go-spew
3665 (name "go-github-com-davecgh-go-spew")
3671 (url "https://github.com/davecgh/go-spew")
3672 (commit (string-append "v" version))))
3673 (file-name (git-file-name name version))
3676 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
3677 (build-system go-build-system)
3679 '(#:unpack-path "github.com/davecgh/go-spew"
3680 #:import-path "github.com/davecgh/go-spew/spew"))
3681 (home-page "https://github.com/davecgh/go-spew")
3682 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
3683 (description "Package @command{spew} implements a deep pretty printer
3684 for Go data structures to aid in debugging.
3686 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
3689 @item Pointers are dereferenced and followed.
3690 @item Circular data structures are detected and handled properly.
3691 @item Custom Stringer/error interfaces are optionally invoked, including on
3693 @item Custom types which only implement the Stringer/error interfaces via a
3694 pointer receiver are optionally invoked when passing non-pointer variables.
3695 @item Byte arrays and slices are dumped like the hexdump -C command which
3696 includes offsets, byte values in hex, and ASCII output (only when using Dump
3699 (license license:isc)))
3701 (define-public go-github-com-btcsuite-btclog
3702 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
3705 (name "go-github-com-btcsuite-btclog")
3706 (version (git-version "0.0.3" revision commit))
3711 (url "https://github.com/btcsuite/btclog")
3713 (file-name (git-file-name name version))
3716 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
3717 (build-system go-build-system)
3719 '(#:import-path "github.com/btcsuite/btclog"))
3720 (home-page "https://github.com/btcsuite/btclog")
3721 (synopsis "Subsystem aware logger for Go")
3722 (description "Package @command{btclog} defines a logger interface and
3723 provides a default implementation of a subsystem-aware leveled logger
3724 implementing the same interface.")
3725 (license license:isc))))
3727 (define-public go-github-com-btcsuite-btcd-btcec
3728 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
3731 (name "go-github-com-btcsuite-btcd-btcec")
3732 (version (git-version "0.12.0-beta" revision commit))
3737 (url "https://github.com/btcsuite/btcd")
3739 (file-name (git-file-name name version))
3742 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
3743 (build-system go-build-system)
3745 '(#:unpack-path "github.com/btcsuite/btcd"
3746 #:import-path "github.com/btcsuite/btcd/btcec"))
3748 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
3749 (home-page "https://github.com/btcsuite/btcd")
3750 (synopsis "Elliptic curve cryptography to work with Bitcoin")
3751 (description "Package @command{btcec} implements elliptic curve
3752 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
3753 designed so that it may be used with the standard crypto/ecdsa packages
3754 provided with Go. A comprehensive suite of test is provided to ensure proper
3755 functionality. Package @command{btcec} was originally based on work from
3756 ThePiachu which is licensed under the same terms as Go, but it has
3757 significantly diverged since then. The @command{btcsuite} developers original
3758 is licensed under the liberal ISC license.
3760 Although this package was primarily written for btcd, it has intentionally
3761 been designed so it can be used as a standalone package for any projects
3762 needing to use secp256k1 elliptic curve cryptography.")
3763 (license license:isc))))
3765 (define-public go-github-com-minio-sha256-simd
3767 (name "go-github-com-minio-sha256-simd")
3773 (url "https://github.com/minio/sha256-simd")
3774 (commit (string-append "v" version))))
3775 (file-name (git-file-name name version))
3778 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
3779 (build-system go-build-system)
3781 '(#:import-path "github.com/minio/sha256-simd"))
3782 (home-page "https://github.com/minio/sha256-simd")
3783 (synopsis "Accelerate SHA256 computations in pure Go")
3784 (description "Accelerate SHA256 computations in pure Go using AVX512 and
3785 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
3786 improvement (over 3 GB/s per core) in comparison to AVX2.
3788 This package is designed as a replacement for @command{crypto/sha256}. For
3789 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
3790 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
3791 of the SHA2 instructions resulting in a massive performance improvement.
3793 This package uses Golang assembly. The AVX512 version is based on the Intel's
3794 \"multi-buffer crypto library for IPSec\" whereas the other Intel
3795 implementations are described in \"Fast SHA-256 Implementations on Intel
3796 Architecture Processors\" by J. Guilford et al.")
3797 (license license:asl2.0)))
3799 (define-public go-github-com-libp2p-go-libp2p-crypto
3800 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
3803 (name "go-github-com-libp2p-go-libp2p-crypto")
3804 (version (git-version "2.0.1" revision commit))
3809 (url "https://github.com/libp2p/go-libp2p-crypto")
3811 (file-name (git-file-name name version))
3814 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
3815 (build-system go-build-system)
3817 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
3819 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3820 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
3821 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
3822 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
3824 "https://github.com/libp2p/go-libp2p-crypto")
3825 (synopsis "Various cryptographic utilities used by IPFS")
3826 (description "Various cryptographic utilities used by IPFS")
3827 (license license:expat))))
3829 (define-public go-github-com-mr-tron-base58
3830 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
3833 (name "go-github-com-mr-tron-base58")
3834 (version (git-version "1.1.0" revision commit))
3839 (url "https://github.com/mr-tron/base58")
3841 (file-name (git-file-name name version))
3844 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
3845 (build-system go-build-system)
3847 `(#:unpack-path "github.com/mr-tron/base58"
3848 #:import-path "github.com/mr-tron/base58/base58"))
3849 (home-page "https://github.com/mr-tron/base58")
3850 (synopsis "Fast implementation of base58 encoding on Golang")
3851 (description "Fast implementation of base58 encoding on Golang. A
3852 trivial @command{big.Int} encoding benchmark results in 6 times faster
3853 encoding and 8 times faster decoding.")
3854 (license license:expat))))
3856 (define-public go-github-com-gxed-hashland-keccakpg
3857 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
3860 (name "go-github-com-gxed-hashland-keccakpg")
3861 (version (git-version "0.0.0" revision commit))
3866 (url "https://github.com/gxed/hashland")
3868 (file-name (git-file-name name version))
3871 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
3872 (build-system go-build-system)
3874 '(#:unpack-path "github.com/gxed/hashland"
3875 #:import-path "github.com/gxed/hashland/keccakpg"))
3876 (home-page "https://github.com/gxed/hashland")
3877 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
3878 (description "Package @command{keccak} implements the Keccak (SHA-3)
3879 hash algorithm. See http://keccak.noekeon.org.")
3880 (license license:expat))))
3882 (define-public go-github-com-minio-blake2b-simd
3883 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
3886 (name "go-github-com-minio-blake2b-simd")
3887 (version (git-version "0.0.0" revision commit))
3892 (url "https://github.com/minio/blake2b-simd")
3894 (file-name (git-file-name name version))
3897 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
3898 (build-system go-build-system)
3900 '(#:import-path "github.com/minio/blake2b-simd"))
3901 (home-page "https://github.com/minio/blake2b-simd")
3902 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
3903 (description "This package was initially based on the pure go BLAKE2b
3904 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
3905 optimized BLAKE2 implementation (which in turn is based on the official
3906 implementation. It does so by using Go's Assembler for amd64 architectures
3907 with a golang only fallback for other architectures.
3909 In addition to AVX there is also support for AVX2 as well as SSE. Best
3910 performance is obtained with AVX2 which gives roughly a 4X performance
3911 increase approaching hashing speeds of 1GB/sec on a single core.")
3912 (license license:asl2.0))))
3914 (define-public go-github-com-spaolacci-murmur3
3916 (name "go-github-com-spaolacci-murmur3")
3922 (url "https://github.com/spaolacci/murmur3")
3923 (commit (string-append "v" version))))
3924 (file-name (git-file-name name version))
3927 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
3928 (build-system go-build-system)
3930 '(#:import-path "github.com/spaolacci/murmur3"))
3931 (home-page "https://github.com/spaolacci/murmur3")
3932 (synopsis "Native MurmurHash3 Go implementation")
3933 (description "Native Go implementation of Austin Appleby's third MurmurHash
3934 revision (aka MurmurHash3).
3936 Reference algorithm has been slightly hacked as to support the streaming mode
3937 required by Go's standard Hash interface.")
3938 (license license:bsd-3)))
3940 (define-public go-github-com-twmb-murmur3
3942 (name "go-github-com-twmb-murmur3")
3948 (url "https://github.com/twmb/murmur3")
3949 (commit (string-append "v" version))))
3950 (file-name (git-file-name name version))
3953 "00riapwkyf23l5wyis47mbr8rwr4yrjw491jfc30wpzs111c1gyy"))))
3954 (build-system go-build-system)
3956 '(#:import-path "github.com/twmb/murmur3"))
3957 (home-page "https://github.com/twmb/murmur3")
3958 (synopsis "Native MurmurHash3 Go implementation")
3959 (description "Native Go implementation of Austin Appleby's third
3960 MurmurHash revision (aka MurmurHash3).
3962 Reference algorithm has been slightly hacked as to support the streaming mode
3963 required by Go's standard Hash interface.")
3964 (license license:bsd-3)))
3966 (define-public go-github-com-multiformats-go-multihash
3967 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
3970 (name "go-github-com-multiformats-go-multihash")
3971 (version (git-version "1.0.8" revision commit))
3976 (url "https://github.com/multiformats/go-multihash")
3978 (file-name (git-file-name name version))
3981 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
3982 (build-system go-build-system)
3984 '(#:import-path "github.com/multiformats/go-multihash"))
3986 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3987 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3988 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3989 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3990 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3991 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3992 (home-page "https://github.com/multiformats/go-multihash")
3993 (synopsis "Multihash implementation in Go")
3994 (description "Multihash implementation in Go.")
3995 (license license:expat))))
3997 (define-public go-github-com-libp2p-go-libp2p-peer
3998 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
4001 (name "go-github-com-libp2p-go-libp2p-peer")
4002 (version (git-version "2.3.8" revision commit))
4007 (url "https://github.com/libp2p/go-libp2p-peer")
4009 (file-name (git-file-name name version))
4012 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
4013 (build-system go-build-system)
4015 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
4017 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
4018 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
4019 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
4020 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
4021 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
4022 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
4023 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
4024 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
4025 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
4026 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4027 (home-page "https://github.com/libp2p/go-libp2p-peer")
4028 (synopsis "PKI based identities for use in go-libp2p")
4029 (description "PKI based identities for use in @command{go-libp2p}.")
4030 (license license:expat))))
4032 (define-public go-github-com-libp2p-go-libp2p-protocol
4033 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
4036 (name "go-github-com-libp2p-go-libp2p-protocol")
4037 (version (git-version "1.0.0" revision commit))
4042 (url "https://github.com/libp2p/go-libp2p-protocol")
4044 (file-name (git-file-name name version))
4047 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
4048 (build-system go-build-system)
4051 "github.com/libp2p/go-libp2p-protocol"))
4052 (home-page "https://github.com/libp2p/go-libp2p-protocol")
4053 (synopsis "Type for protocol strings in Golang")
4054 (description "Just a type for protocol strings. Nothing more.")
4055 (license license:expat))))
4057 (define-public go-github-com-libp2p-go-libp2p-metrics
4058 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
4061 (name "go-github-com-libp2p-go-libp2p-metrics")
4062 (version (git-version "2.1.6" revision commit))
4067 (url "https://github.com/libp2p/go-libp2p-metrics")
4069 (file-name (git-file-name name version))
4072 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
4073 (build-system go-build-system)
4075 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
4077 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
4078 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
4079 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
4080 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
4081 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
4082 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
4083 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
4084 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
4085 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
4086 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
4087 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
4088 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
4089 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4090 (home-page "https://github.com/libp2p/go-libp2p-metrics")
4091 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
4092 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
4093 statistics for wrapped connections.")
4094 (license license:expat))))
4096 (define-public go-github-com-mitchellh-go-homedir
4097 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
4100 (name "go-github-com-mitchellh-go-homedir")
4101 (version (git-version "1.0.0" revision commit))
4106 (url "https://github.com/mitchellh/go-homedir")
4108 (file-name (git-file-name name version))
4111 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
4112 (build-system go-build-system)
4114 (quote (#:import-path "github.com/mitchellh/go-homedir"
4115 ;; TODO: Tests fail because it tries to access home.
4117 (home-page "https://github.com/mitchellh/go-homedir")
4118 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
4119 (description "This is a Go library for detecting the user's home
4120 directory without the use of @command{cgo}, so the library can be used in
4121 cross-compilation environments.
4123 Usage is simple, just call homedir.Dir() to get the home directory for a user,
4124 and homedir.Expand() to expand the @command{~} in a path to the home
4127 Why not just use @command{os/user}? The built-in @command{os/user} package
4128 requires cgo on Darwin systems. This means that any Go code that uses that
4129 package cannot cross compile. But 99% of the time the use for
4130 @command{os/user} is just to retrieve the home directory, which we can do for
4131 the current user without cgo. This library does that, enabling
4132 cross-compilation.")
4133 (license license:expat))))
4135 (define-public go-github-com-mitchellh-mapstructure
4137 (name "go-github-com-mitchellh-mapstructure")
4138 (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0
4143 (url "https://github.com/mitchellh/mapstructure")
4144 (commit (string-append "v" version))))
4145 (file-name (git-file-name name version))
4148 "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"))))
4149 (build-system go-build-system)
4151 `(#:import-path "github.com/mitchellh/mapstructure"))
4152 (home-page "https://github.com/mitchellh/mapstructure")
4153 (synopsis "Go library for decoding generic map values")
4154 (description "Go library for decoding generic map values")
4155 (license license:expat)))
4157 (define-public go-github-com-mitchellh-reflectwalk
4159 (name "go-github-com-mitchellh-reflectwalk")
4164 (url "https://github.com/mitchellh/reflectwalk")
4165 (commit (string-append "v" version))))
4166 (file-name (git-file-name name version))
4169 "0pa6a3nhzwv5s5yqcmsmsfhdp5ggxsg2wa86f3akawxrhrkjarnx"))))
4170 (build-system go-build-system)
4172 `(#:import-path "github.com/mitchellh/reflectwalk"))
4173 (home-page "https://github.com/mitchellh/reflectwalk/")
4174 (synopsis "Walk a value in Go using reflection")
4175 (description "reflectwalk is a Go library for \"walking\" a value in Go
4176 using reflection, in the same way a directory tree can be \"walked\" on the
4177 file system. Walking a complex structure can allow you to do manipulations on
4178 unknown structures such as those decoded from JSON.")
4179 (license license:expat)))
4181 (define-public go-github-com-mitchellh-copystructure
4183 (name "go-github-com-mitchellh-copystructure")
4189 (url "https://github.com/mitchellh/copystructure")
4190 (commit (string-append "v" version))))
4191 (file-name (git-file-name name version))
4194 "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
4195 (build-system go-build-system)
4197 `(#:import-path "github.com/mitchellh/copystructure"))
4199 `(("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)))
4200 (home-page "https://github.com/mitchellh/copystructure")
4201 (synopsis "Go library for decoding deep copying values")
4202 (description "@code{copystructure} is a Go library for deep copying values
4205 This allows you to copy Go values that may contain reference values such as
4206 maps, slices, or pointers, and copy their data as well instead of just their
4208 (license license:expat)))
4210 (define-public go-github-com-multiformats-go-multiaddr
4211 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
4214 (name "go-github-com-multiformats-go-multiaddr")
4215 (version (git-version "1.3.0" revision commit))
4220 (url "https://github.com/multiformats/go-multiaddr")
4222 (file-name (git-file-name name version))
4225 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
4226 (build-system go-build-system)
4229 "github.com/multiformats/go-multiaddr"))
4231 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
4232 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
4233 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
4234 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
4235 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
4236 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
4237 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4238 (home-page "https://github.com/multiformats/go-multiaddr")
4239 (synopsis "Composable and future-proof network addresses")
4240 (description "Multiaddr is a standard way to represent addresses that
4244 @item Support any standard network protocols.
4245 @item Self-describe (include protocols).
4246 @item Have a binary packed format.
4247 @item Have a nice string representation.
4248 @item Encapsulate well.
4250 (license license:expat))))
4252 (define-public go-github-com-multiformats-go-multiaddr-net
4253 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
4256 (name "go-github-com-multiformats-go-multiaddr-net")
4257 (version (git-version "1.6.3" revision commit))
4262 (url "https://github.com/multiformats/go-multiaddr-net")
4264 (file-name (git-file-name name version))
4267 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
4268 (build-system go-build-system)
4270 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
4271 ;; TODO: Tests fail because they try to access the network.
4274 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
4275 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
4276 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
4277 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
4278 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
4279 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
4280 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
4281 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4282 (home-page "https://github.com/multiformats/go-multiaddr-net")
4283 (synopsis "Multiaddress net tools")
4284 (description "This package provides Multiaddr specific versions of
4285 common functions in stdlib's @command{net} package. This means wrappers of
4286 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
4287 as conversion to and from @command{net.Addr}.")
4288 (license license:expat))))
4290 (define-public go-github-com-whyrusleeping-tar-utils
4291 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
4294 (name "go-github-com-whyrusleeping-tar-utils")
4295 (version (git-version "0.0.0" revision commit))
4300 (url "https://github.com/whyrusleeping/tar-utils")
4302 (file-name (git-file-name name version))
4305 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
4306 (build-system go-build-system)
4309 "github.com/whyrusleeping/tar-utils"))
4310 (home-page "https://github.com/whyrusleeping/tar-utils")
4311 (synopsis "Tar utilities extracted from go-ipfs codebase")
4312 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
4313 (license license:expat))))
4315 (define-public go-github-com-cheekybits-is
4316 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
4319 (name "go-github-com-cheekybits-is")
4320 (version (git-version "0.0.0" revision commit))
4325 (url "https://github.com/cheekybits/is")
4327 (file-name (git-file-name name version))
4330 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
4331 (build-system go-build-system)
4333 '(#:import-path "github.com/cheekybits/is"))
4334 (home-page "https://github.com/cheekybits/is")
4335 (synopsis "Mini testing helper for Go")
4336 (description "A mini testing helper for Go.
4339 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
4340 @item It plugs into existing Go toolchain (uses @command{testing.T}).
4341 @item It's obvious for newcomers.
4342 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
4343 - because testing panics is ugly.
4345 (license license:expat))))
4347 (define-public go-github-com-sabhiram-go-gitignore
4348 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
4351 (name "go-github-com-sabhiram-go-gitignore")
4352 (version (git-version "1.0.2" revision commit))
4357 (url "https://github.com/sabhiram/go-gitignore")
4359 (file-name (git-file-name name version))
4362 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
4363 (build-system go-build-system)
4366 "github.com/sabhiram/go-gitignore"))
4368 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4369 (home-page "https://github.com/sabhiram/go-gitignore")
4370 (synopsis "Gitignore parser for Go")
4371 (description "A @command{.gitignore} parser for Go.")
4372 (license license:expat))))
4374 (define-public go-github-com-urfave-cli
4376 (name "go-github-com-urfave-cli")
4382 (url "https://github.com/urfave/cli")
4383 (commit (string-append "v" version))))
4384 (file-name (git-file-name name version))
4387 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
4388 (build-system go-build-system)
4390 '(#:import-path "github.com/urfave/cli"))
4392 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
4393 (home-page "https://github.com/urfave/cli")
4394 (synopsis "Simple, fast, and fun package for building command line apps in Go")
4395 (description "@command{cli} is a simple, fast, and fun package for
4396 building command line apps in Go. The goal is to enable developers to write
4397 fast and distributable command line applications in an expressive way.")
4398 (license license:expat)))
4400 (define-public go-github-com-urfave-cli-v2
4402 (inherit go-github-com-urfave-cli)
4403 (name "go-github-com-urfave-cli-v2")
4409 (url "https://github.com/urfave/cli")
4410 (commit (string-append "v" version))))
4411 (file-name (git-file-name name version))
4413 (base32 "08pvn7gyfznni72xrxfh2x6xxa8ykr7l1ka278js8g8qkh71bj8l"))))
4415 '(#:import-path "github.com/urfave/cli/v2"))))
4417 (define-public go-github-com-go-md2man
4419 (name "go-github-com-go-md2man")
4425 (url "https://github.com/cpuguy83/go-md2man")
4426 (commit (string-append "v" version))))
4427 (file-name (git-file-name name version))
4430 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
4431 (modules '((guix build utils)))
4433 (delete-file-recursively "vendor")
4435 (build-system go-build-system)
4437 '(#:import-path "github.com/cpuguy83/go-md2man"))
4439 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
4440 (home-page "https://github.com/cpuguy83/go-md2man")
4441 (synopsis "Convert markdown into roff")
4442 (description "Go-md2man is a Go program that converts markdown to roff for
4443 the purpose of building man pages.")
4444 (license license:expat)))
4446 (define-public go-github-com-russross-blackfriday
4448 (name "go-github-com-russross-blackfriday")
4454 (url "https://github.com/russross/blackfriday")
4455 (commit (string-append "v" version))))
4456 (file-name (git-file-name name version))
4459 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
4460 (build-system go-build-system)
4462 '(#:import-path "github.com/russross/blackfriday"))
4464 `(("go-github-com-shurcool-sanitized-anchor-name"
4465 ,go-github-com-shurcool-sanitized-anchor-name)))
4467 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
4468 (home-page "https://github.com/russross/blackfriday")
4469 (synopsis "Markdown processor in Go")
4470 (description "Blackfriday is a Markdown processor in Go.")
4471 (license license:bsd-2)))
4473 (define-public go-github-com-shurcool-sanitized-anchor-name
4475 (name "go-github-com-shurcool-sanitized-anchor-name")
4481 (url "https://github.com/shurcooL/sanitized_anchor_name")
4482 (commit (string-append "v" version))))
4483 (file-name (git-file-name name version))
4486 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
4487 (build-system go-build-system)
4489 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
4490 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
4491 (synopsis "Create sanitized anchor names")
4492 (description "This package provides a Go program for creating sanitized
4494 (license license:expat)))
4496 (define-public go-github-com-pmezard-go-difflib
4498 (name "go-github-com-pmezard-go-difflib")
4503 (url "https://github.com/pmezard/go-difflib")
4504 (commit (string-append "v" version))))
4505 (file-name (git-file-name name version))
4508 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
4509 (build-system go-build-system)
4511 '(#:import-path "github.com/pmezard/go-difflib/difflib"
4512 #:unpack-path "github.com/pmezard/go-difflib/"))
4513 (home-page "https://github.com/pmezard/go-difflib")
4514 (synopsis "Go diff implementation")
4515 (description "This package provides unified and context-aware diffs in Go.")
4516 (license license:bsd-3)))
4518 (define-public go-github-com-whyrusleeping-json-filter
4519 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
4522 (name "go-github-com-whyrusleeping-json-filter")
4523 (version (git-version "0.0.0" revision commit))
4528 (url "https://github.com/whyrusleeping/json-filter")
4530 (file-name (git-file-name name version))
4533 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
4534 (build-system go-build-system)
4537 "github.com/whyrusleeping/json-filter"))
4538 (home-page "https://github.com/whyrusleeping/json-filter")
4539 (synopsis "Library to query JSON objects marshalled into map[string]interface")
4540 (description "A library to query JSON objects marshalled into
4541 @command{map[string]interface{}}.")
4542 (license license:expat))))
4544 (define-public go-github-com-whyrusleeping-progmeter
4545 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
4548 (name "go-github-com-whyrusleeping-progmeter")
4549 (version (git-version "0.0.0" revision commit))
4554 (url "https://github.com/whyrusleeping/progmeter")
4556 (file-name (git-file-name name version))
4559 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
4560 (build-system go-build-system)
4563 "github.com/whyrusleeping/progmeter"))
4564 (home-page "https://github.com/whyrusleeping/progmeter")
4565 (synopsis "Progress meter for Go")
4566 (description "Progress meter for Go.")
4567 (license license:expat))))
4569 (define-public go-github-com-whyrusleeping-stump
4570 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
4573 (name "go-github-com-whyrusleeping-stump")
4574 (version (git-version "0.0.0" revision commit))
4579 (url "https://github.com/whyrusleeping/stump")
4581 (file-name (git-file-name name version))
4584 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
4585 (build-system go-build-system)
4587 '(#:import-path "github.com/whyrusleeping/stump"))
4588 (home-page "https://github.com/whyrusleeping/stump")
4589 (synopsis "Very basic logging package for Go")
4590 (description "A simple log library, for when you don't really care to
4591 have super fancy logs.")
4592 (license license:expat))))
4594 (define-public go-github-com-kr-fs
4595 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
4598 (name "go-github-com-kr-fs")
4599 (version (git-version "0.1.0" revision commit))
4604 (url "https://github.com/kr/fs")
4606 (file-name (git-file-name name version))
4609 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
4610 (build-system go-build-system)
4612 '(#:import-path "github.com/kr/fs"))
4613 (home-page "https://github.com/kr/fs")
4614 (synopsis "File-system-related functions for Go")
4616 "The fs package provides file-system-related Go functions.")
4617 (license license:bsd-3))))
4619 (define-public go-github-com-direnv-go-dotenv
4620 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
4623 (name "go-github-com-direnv-go-dotenv")
4624 (version (git-version "0.0.0" revision commit))
4629 (url "https://github.com/direnv/go-dotenv")
4631 (file-name (git-file-name name version))
4634 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
4635 (build-system go-build-system)
4637 '(#:import-path "github.com/direnv/go-dotenv"))
4638 (home-page "https://github.com/direnv/go-dotenv")
4639 (synopsis "Go dotenv parsing library")
4640 (description "This package provides a library for parsing the dotenv
4642 (license license:expat))))
4644 (define-public go-github-com-kr-pretty
4646 (name "go-github-com-kr-pretty")
4651 (url "https://github.com/kr/pretty")
4652 (commit (string-append "v" version))))
4653 (file-name (git-file-name name version))
4656 "0vzfz06y9q8gs2nxx0kys0591vzp78k0fvpb8digi5n15h3b25hy"))))
4657 (build-system go-build-system)
4659 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
4661 '(#:import-path "github.com/kr/pretty"))
4662 (synopsis "Pretty printer for Go values")
4663 (description "This package provides a pretty printer for Go values.")
4664 (home-page "https://github.com/kr/pretty")
4665 (license license:expat)))
4667 (define-public go-github-com-kylelemons-godebug
4669 (name "go-github-com-kylelemons-godebug")
4675 (url "https://github.com/kylelemons/godebug")
4676 (commit (string-append "v" version))))
4677 (file-name (git-file-name name version))
4680 "0dkk3friykg8p6wgqryx6745ahhb9z1j740k7px9dac6v5xjp78c"))))
4681 (build-system go-build-system)
4683 '(#:import-path "github.com/kylelemons/godebug/diff"
4684 #:unpack-path "github.com/kylelemons/godebug"))
4685 (home-page "https://github.com/kylelemons/godebug")
4686 (synopsis "Pretty printer for Go values.")
4688 "This package will pretty print a compact representation of a Go data
4689 structure. It can also produce a much more verbose, one-item-per-line
4690 representation suitable for computing diffs.")
4691 (license license:asl2.0)))
4693 (define-public go-github-com-kr-text
4695 (name "go-github-com-kr-text")
4700 (url "https://github.com/kr/text")
4701 (commit (string-append "v" version))))
4702 (file-name (git-file-name name version))
4705 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
4706 (build-system go-build-system)
4708 '(#:import-path "github.com/kr/text"))
4709 (synopsis "Text formatting in Go")
4710 (description "This package provides a text formatting functions in Go.")
4711 (home-page "https://github.com/kr/text")
4712 (license license:expat)))
4714 (define-public go-golang-org-sql-mock
4715 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
4719 (name "go-golang-org-sql-mock")
4720 (version (git-version version revision commit))
4724 (url "https://github.com/DATA-DOG/go-sqlmock")
4726 (file-name (git-file-name name version))
4729 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
4730 (build-system go-build-system)
4732 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
4733 (synopsis "Mock library implementing @code{sql/driver}")
4734 (description "This library simulates SQL-driver behavior in tests
4735 without requiring a real database connection.")
4736 (home-page "https://github.com/DATA-DOG/go-sqlmock")
4737 (license license:expat))))
4739 (define-public go-github-com-go-sql-driver-mysql
4741 (name "go-github-com-go-sql-driver-mysql")
4747 (url "https://github.com/go-sql-driver/mysql")
4748 (commit (string-append "v" version))))
4749 (file-name (git-file-name name version))
4752 "11x0m9yf3kdnf6981182r824psgxwfaqhn3x3in4yiidp0w0hk3v"))))
4753 (build-system go-build-system)
4755 '(#:tests? #f ;; tests require a network connection
4756 #:import-path "github.com/go-sql-driver/mysql"))
4757 (home-page "https://github.com/go-sql-driver/mysql")
4758 (synopsis "MySQL driver for golang")
4760 "This is a pure Go implementation of the MySQL API, compatible with
4761 golang's database/sql package.")
4762 (license license:mpl2.0)))
4764 (define-public go-golang-org-colorful
4766 (name "go-golang-org-colorful")
4771 (url "https://github.com/lucasb-eyer/go-colorful")
4772 (commit (string-append "v" version))))
4773 (file-name (git-file-name name version))
4776 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
4777 (build-system go-build-system)
4779 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
4781 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
4782 (synopsis "Convert between colorspaces and generate colors")
4783 (description "This package implements Go's @code{color.Color} interface
4784 and provides a means of converting colors stored as RGB to various
4786 (home-page "https://github.com/lucasb-eyer/go-colorful")
4787 (license license:expat)))
4789 (define-public go-github-com-gdamore-encoding
4791 (name "go-github-com-gdamore-encoding")
4797 (url "https://github.com/gdamore/encoding")
4798 (commit (string-append "v" version))))
4799 (file-name (git-file-name name version))
4802 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
4803 (build-system go-build-system)
4805 '(#:import-path "github.com/gdamore/encoding"))
4807 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
4808 (home-page "https://github.com/gdamore/encoding")
4809 (synopsis "Provide encodings missing from Go")
4810 (description "This package provides useful encodings not included in the
4811 standard @code{Text} package, including some for dealing with I/O streams from
4812 non-UTF-friendly sources.")
4813 (license license:expat)))
4815 (define-public go-github-com-gdamore-tcell
4816 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
4820 (name "go-github-com-gdamore-tcell")
4821 (version (git-version version revision commit))
4826 (url "https://github.com/gdamore/tcell")
4828 (file-name (git-file-name name version))
4831 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
4832 (build-system go-build-system)
4834 `(#:import-path "github.com/gdamore/tcell"
4836 (modify-phases %standard-phases
4837 (add-before 'reset-gzip-timestamps 'make-files-writable
4838 (lambda* (#:key outputs #:allow-other-keys)
4839 ;; Make sure .gz files are writable so that the
4840 ;; 'reset-gzip-timestamps' phase can do its work.
4841 (let ((out (assoc-ref outputs "out")))
4842 (for-each make-file-writable
4843 (find-files out "\\.gz$"))
4846 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
4847 ("go-golang-org-colorful" ,go-golang-org-colorful)
4848 ("go-golang-org-x-text" ,go-golang-org-x-text)
4849 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
4850 (home-page "https://github.com/gdamore/tcell")
4851 (synopsis "Provide a cell-based view for text terminals")
4852 (description "This package includes a full parser and expander for
4853 terminfo capability strings to avoid hard-coding escape strings for
4854 formatting. It also favors portability, and includes support for all POSIX
4856 (license license:expat))))
4858 (define-public go-github-com-mattn-go-shellwords
4859 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
4863 (name "go-github-com-mattn-go-shellwords")
4864 (version (git-version version revision commit))
4869 (url "https://github.com/mattn/go-shellwords")
4871 (file-name (git-file-name name version))
4874 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
4875 (build-system go-build-system)
4877 `(#:import-path "github.com/mattn/go-shellwords"
4878 ;; TODO: can't make homeless-shelter:
4879 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
4880 ;; initialization failure: mkdir /homeless-shelter: permission denied
4882 ;; This doesn't seem to work:
4885 ;; (modify-phases %standard-phases
4887 ;; (lambda* (#:key import-path #:allow-other-keys)
4888 ;; (setenv "HOME" "/tmp")
4889 ;; (invoke "go" "test" import-path))))
4891 ;; TODO: There are also a couple of tests that have stymied Debian in
4892 ;; the past. They seem to work when run locally.
4896 (home-page "https://github.com/mattn/go-shellwords")
4897 (synopsis "Parse lines into shell words")
4898 (description "This package parses text into shell arguments. Based on
4899 the @code{cpan} module @code{Parse::CommandLine}.")
4900 (license license:expat))))
4902 (define-public go-github-com-burntsushi-locker
4903 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
4906 (name "go-github-com-burntsushi-locker")
4907 (version (git-version "0.0.0" revision commit))
4912 (url "https://github.com/BurntSushi/locker")
4914 (file-name (git-file-name name version))
4917 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
4918 (build-system go-build-system)
4920 '(#:import-path "github.com/BurntSushi/locker"))
4921 (home-page "https://github.com/BurntSushi/locker")
4922 (synopsis "Manage named ReadWrite mutexes in Go")
4923 (description "Golang package for conveniently using named read/write
4924 locks. These appear to be especially useful for synchronizing access to
4925 session based information in web applications.
4927 The common use case is to use the package level functions, which use a package
4928 level set of locks (safe to use from multiple goroutines
4929 simultaneously). However, you may also create a new separate set of locks
4932 All locks are implemented with read-write mutexes. To use them like a regular
4933 mutex, simply ignore the RLock/RUnlock functions.")
4934 (license license:unlicense))))
4936 (define-public go-github-com-marten-seemann-qtls
4938 (name "go-github-com-marten-seemann-qtls")
4943 (url "https://github.com/marten-seemann/qtls")
4944 (commit (string-append "v" version))))
4945 (file-name (git-file-name name version))
4948 "0dz60y98nm7l70hamq0v2vrs2dspyr5yqhnrds2dfh7hchxvq76j"))))
4949 (build-system go-build-system)
4951 '(#:import-path "github.com/marten-seemann/qtls"
4952 ;; The test suite requires networking.
4955 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4956 (synopsis "TLS 1.3 with QUIC in Go")
4957 (description "This package provides @code{qtls}, a QUIC-capable variant of
4958 the Go standard library's TLS 1.3 implementation.")
4959 (home-page "https://github.com/marten-seemann/qtls")
4960 (license license:bsd-3)))
4962 (define-public go-github-com-marten-seemann-chacha20
4964 (name "go-github-com-marten-seemann-chacha20")
4969 (url "https://github.com/marten-seemann/chacha20")
4970 (commit (string-append "v" version))))
4971 (file-name (git-file-name name version))
4974 "0x1j4cvbap45zk962qkjalc1h3axhzzdy9cdzhcjmprmm1ql4gjm"))))
4975 (build-system go-build-system)
4977 '(#:import-path "github.com/marten-seemann/chacha20"))
4978 (synopsis "ChaCha20 in Go")
4979 (description "This package is an external copy of the Go standard library's
4980 internal ChaCha20 package.")
4981 (home-page "https://github.com/marten-seemann/chacha20")
4982 (license license:bsd-3)))
4984 (define-public go-github-com-cheekybits-genny
4986 (name "go-github-com-cheekybits-genny")
4991 (url "https://github.com/cheekybits/genny")
4992 (commit (string-append "v" version))))
4993 (file-name (git-file-name name version))
4996 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
4997 (build-system go-build-system)
4999 '(#:import-path "github.com/cheekybits/genny"))
5001 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
5002 (synopsis "Generics for Go")
5003 (description "This package provides @code{genny}, a Go language
5004 implementation of generics.")
5005 (home-page "https://github.com/cheekybits/genny/")
5006 (license license:expat)))
5008 (define-public go-github-com-lucas-clemente-quic-go
5010 (name "go-github-com-lucas-clemente-quic-go")
5015 (url "https://github.com/lucas-clemente/quic-go")
5016 (commit (string-append "v" version))))
5017 (file-name (git-file-name name version))
5020 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
5021 (build-system go-build-system)
5023 '(#:import-path "github.com/lucas-clemente/quic-go"
5024 ;; XXX More packages required...
5027 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
5028 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
5029 ("go-github-com-marten-seemann-chacha20" ,go-github-com-marten-seemann-chacha20)
5030 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
5031 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
5032 (synopsis "QUIC in Go")
5033 (description "This package provides a Go language implementation of the QUIC
5035 (home-page "https://github.com/lucas-clemente/quic-go")
5036 (license license:expat)))
5038 (define-public go-github-com-francoispqt-gojay
5040 (name "go-github-com-francoispqt-gojay")
5045 (url "https://github.com/francoispqt/gojay")
5046 (commit (string-append "v" version))))
5047 (file-name (git-file-name name version))
5050 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
5051 (build-system go-build-system)
5053 '(#:import-path "github.com/francoispqt/gojay"))
5055 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
5056 (synopsis "JSON encoder/decoder with powerful stream API for Golang")
5057 (description "GoJay is a performant JSON encoder/decoder for Golang. It has
5058 a simple API and doesn't use reflection. It relies on small interfaces to
5059 decode/encode structures and slices.")
5060 (home-page "https://github.com/francoispqt/gojay")
5061 (license license:expat)))
5063 (define-public go-github-com-pkg-errors
5065 (name "go-github-com-pkg-errors")
5070 (url "https://github.com/pkg/errors")
5071 (commit (string-append "v" version))))
5072 (file-name (git-file-name name version))
5075 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
5076 (build-system go-build-system)
5078 `(#:import-path "github.com/pkg/errors"))
5079 (synopsis "Go error handling primitives")
5080 (description "This package provides @code{error}, which offers simple
5081 error handling primitives in Go.")
5082 (home-page "https://github.com/pkg/errors")
5083 (license license:bsd-2)))
5085 (define-public go-github-com-maruel-panicparse
5087 (name "go-github-com-maruel-panicparse")
5092 (url "https://github.com/maruel/panicparse")
5093 (commit (string-append "v" version))))
5094 (file-name (git-file-name name version))
5097 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
5098 (build-system go-build-system)
5100 '(#:import-path "github.com/maruel/panicparse"))
5101 (synopsis "Toolkit for parsing Go stack traces")
5102 (description "This package provides a toolkit for parsing Go language panic
5103 stack traces. It simplifies the traces to make salient information more visible
5104 and aid debugging.")
5105 (home-page "https://github.com/maruel/panicparse")
5106 (license license:asl2.0)))
5108 (define-public go-github-com-robfig-cron
5110 (name "go-github-com-robfig-cron")
5116 (url "https://github.com/robfig/cron")
5117 (commit (string-append "v" version))))
5118 (file-name (git-file-name name version))
5121 "1agzbw2dfk2d1mpmddr85s5vh6ygm8kqrvfg87i9d2wqnlsnliqm"))))
5122 (build-system go-build-system)
5124 `(#:import-path "github.com/robfig/cron"))
5125 (home-page "https://godoc.org/github.com/robfig/cron")
5126 (synopsis "Cron library for Go")
5127 (description "This package provides a cron library for Go. It implements
5128 a cron spec parser and job runner.")
5129 (license license:expat)))
5131 (define-public go-github-com-shirou-gopsutil
5132 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
5135 (name "go-github-com-shirou-gopsutil")
5136 (version (git-version "v2.19.7" revision commit))
5140 (url "https://github.com/shirou/gopsutil")
5141 (commit commit))) ; XXX
5142 (file-name (git-file-name name version))
5145 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
5146 (build-system go-build-system)
5148 '(#:import-path "github.com/shirou/gopsutil"))
5149 (synopsis "Process and system monitoring in Go")
5150 (description "This package provides a library for retrieving information
5151 on running processes and system utilization (CPU, memory, disks, network,
5153 (home-page "https://github.com/shirou/gopsutil")
5154 (license license:bsd-3))))
5156 (define-public go-github-com-danwakefield-fnmatch
5157 (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
5160 (name "go-github-com-danwakefield-fnmatch")
5161 (version (git-version "0.0.0" revision commit))
5166 (url "https://github.com/danwakefield/fnmatch")
5170 "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
5171 (file-name (git-file-name name version))))
5172 (build-system go-build-system)
5174 '(#:import-path "github.com/danwakefield/fnmatch"))
5175 (home-page "https://github.com/danwakefield/fnmatch")
5176 (synopsis "Updated clone of kballards golang fnmatch gist")
5177 (description "This package provides an updated clone of kballards golang
5178 fnmatch gist (https://gist.github.com/kballard/272720).")
5179 (license license:bsd-2))))
5181 (define-public go-github-com-ddevault-go-libvterm
5182 (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
5185 (name "go-github-com-ddevault-go-libvterm")
5186 (version (git-version "0.0.0" revision commit))
5191 (url "https://github.com/ddevault/go-libvterm")
5195 "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
5196 (file-name (git-file-name name version))))
5197 (build-system go-build-system)
5199 '(#:import-path "github.com/ddevault/go-libvterm"))
5201 `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
5202 (home-page "https://github.com/ddevault/go-libvterm")
5203 (synopsis "Go binding to libvterm")
5205 "This is a fork of another go-libvterm library for use with aerc.")
5206 (license license:expat))))
5208 (define-public go-github-com-emersion-go-imap
5210 (name "go-github-com-emersion-go-imap")
5216 (url "https://github.com/emersion/go-imap")
5217 (commit (string-append "v" version))))
5220 "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
5221 (file-name (git-file-name name version))))
5222 (build-system go-build-system)
5224 '(#:import-path "github.com/emersion/go-imap"))
5226 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
5227 (home-page "https://github.com/emersion/go-imap")
5228 (synopsis "IMAP4rev1 library written in Go")
5229 (description "This package provides an IMAP4rev1 library written in Go. It
5230 can be used to build a client and/or a server.")
5231 (license license:expat)))
5233 (define-public go-github-com-emersion-go-sasl
5234 (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
5237 (name "go-github-com-emersion-go-sasl")
5238 (version (git-version "0.0.0" revision commit))
5243 (url "https://github.com/emersion/go-sasl")
5247 "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
5248 (file-name (git-file-name name version))))
5249 (build-system go-build-system)
5251 '(#:import-path "github.com/emersion/go-sasl"))
5252 (home-page "https://github.com/emersion/go-sasl")
5253 (synopsis "SASL library written in Go")
5254 (description "This package provides a SASL library written in Go.")
5255 (license license:expat))))
5257 (define-public go-github-com-emersion-go-imap-idle
5258 (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
5261 (name "go-github-com-emersion-go-imap-idle")
5262 (version (git-version "0.0.0" revision commit))
5267 (url "https://github.com/emersion/go-imap-idle")
5271 "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
5272 (file-name (git-file-name name version))))
5273 (build-system go-build-system)
5275 '(#:import-path "github.com/emersion/go-imap-idle"))
5277 `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
5278 ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
5279 ("go-golang-org-x-text" ,go-golang-org-x-text)))
5280 (home-page "https://github.com/emersion/go-imap-idle")
5281 (synopsis "IDLE extension for go-imap")
5282 (description "This package provides an IDLE extension for go-imap.")
5283 (license license:expat))))
5285 (define-public go-github-com-fatih-color
5287 (name "go-github-com-fatih-color")
5292 (url "https://github.com/fatih/color")
5293 (commit (string-append "v" version))))
5294 (file-name (git-file-name name version))
5297 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
5298 (build-system go-build-system)
5300 '(#:import-path "github.com/fatih/color"))
5301 (synopsis "Print colored text in Go")
5302 (description "This package provides an ANSI color package to output
5303 colorized or SGR defined output to the standard output.")
5304 (home-page "https://godoc.org/github.com/fatih/color")
5305 (license license:expat)))
5307 (define-public go-github-com-google-go-cmp-cmp
5309 (name "go-github-com-google-go-cmp-cmp")
5314 (url "https://github.com/google/go-cmp")
5315 (commit (string-append "v" version))))
5316 (file-name (git-file-name name version))
5319 "0qchy411jm9q2l9mf7x3ry2ycaqp9xdhf2nx14qrpzcxfigv2705"))))
5320 (build-system go-build-system)
5322 '(#:import-path "github.com/google/go-cmp/cmp"
5323 #:unpack-path "github.com/google/go-cmp"))
5325 `(("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)))
5326 (synopsis "Determine equality of values in Go")
5327 (description "This package provides a more powerful and safer
5328 alternative to @code{reflect.DeepEqual} for comparing whether two values
5329 are semantically equal in Go (for writing tests).")
5330 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
5331 (license license:asl2.0)))
5333 (define-public go-github-com-google-uuid
5335 (name "go-github-com-google-uuid")
5340 (url "https://github.com/google/uuid")
5341 (commit (string-append "v" version))))
5342 (file-name (git-file-name name version))
5345 "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb"))))
5346 (build-system go-build-system)
5348 '(#:import-path "github.com/google/uuid"))
5349 (home-page "https://github.com/google/uuid/")
5350 (synopsis "Generate and inspect UUIDs based on RFC 4122 and DCE 1.1")
5351 (description "The uuid package generates and inspects UUIDs based on RFC
5352 4122 and DCE 1.1: Authentication and Security Services.")
5353 (license license:bsd-3)))
5355 (define-public go-github-com-google-goterm
5356 (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
5359 (name "go-github-com-google-goterm")
5360 (version (git-version "0.0.1" revision commit))
5364 (url "https://github.com/google/goterm")
5366 (file-name (git-file-name name version))
5369 "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb"))))
5370 (build-system go-build-system)
5372 `(#:import-path "github.com/google/goterm/term"
5373 #:unpack-path "github.com/google/goterm"))
5374 (home-page "https://github.com/google/goterm/")
5375 (synopsis "PTY creation and termios get/set attributes")
5376 (description "The term package implements PTY creation and termios get/set
5377 attributes. It also contains some convenience functions for colors, SSH to
5378 and from termios translations, readCh, reading passwords, etc.")
5379 (license license:bsd-3))))
5381 (define-public go-github-com-google-go-querystring
5382 (let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests
5385 (name "go-github-com-google-go-querystring")
5390 (url "https://github.com/google/go-querystring")
5392 (file-name (git-file-name name version))
5395 "0mbx4jvf7nz4sk2fgqfq1llz4xb3vc4625b4x398mspr3a5077rs"))))
5396 (build-system go-build-system)
5398 `(#:import-path "github.com/google/go-querystring/query"
5399 #:unpack-path "github.com/google/go-querystring"))
5400 (home-page "https://github.com/google/go-querystring/")
5401 (synopsis "Library for encoding structs into URL query parameters")
5402 (description "@code{go-querystring} is Go library for encoding structs
5403 into URL query parameters.")
5404 (license license:bsd-3))))
5406 (define-public go-github-com-google-go-github
5408 (name "go-github-com-google-go-github")
5413 (url "https://github.com/google/go-github")
5414 (commit (string-append "v" version))))
5415 (file-name (git-file-name name version))
5418 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
5419 (build-system go-build-system)
5421 `(#:tests? #f ;application/octet-stream instead of text/plain
5422 #:import-path "github.com/google/go-github/v26/github"
5423 #:unpack-path "github.com/google/go-github/v26"))
5425 `(("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring)
5426 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
5427 (home-page "https://github.com/google/go-github/")
5428 (synopsis "Client library for accessing the GitHub API v3")
5429 (description "@code{go-github} is a Go client library for accessing the
5431 (license license:bsd-3)))
5433 (define-public go-github-com-google-renameio
5435 (name "go-github-com-google-renameio")
5440 (url "https://github.com/google/renameio")
5441 (commit (string-append "v" version))))
5442 (file-name (git-file-name name version))
5445 "1ki2x5a9nrj17sn092d6n4zr29lfg5ydv4xz5cp58z6cw8ip43jx"))))
5446 (build-system go-build-system)
5448 `(#:import-path "github.com/google/renameio"))
5449 (home-page "https://github.com/google/renameio/")
5450 (synopsis "Atomically create or replace a file or symbolic link")
5451 (description "@code{renameio} Go package provides a way to atomically
5452 create or replace a file or symbolic link.")
5453 (license license:asl2.0)))
5455 (define-public go-golang.org-x-sync-errgroup
5456 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
5459 (name "go-golang.org-x-sync-errgroup")
5460 (version (git-version "0.0.0" revision commit))
5464 (url "https://go.googlesource.com/sync")
5466 (file-name (git-file-name name version))
5469 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
5470 (build-system go-build-system)
5472 '(#:import-path "golang.org/x/sync/errgroup"
5473 #:unpack-path "golang.org/x/sync"))
5474 (synopsis "Synchronization, error propagation, and Context cancellation
5475 for groups of goroutines working on subtasks of a common task.")
5476 (description "This package provides synchronization, error propagation,
5477 and Context cancellation for groups of goroutines working on subtasks of a
5479 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
5480 (license license:bsd-3))))
5482 (define (go-gotest-tools-source version sha256-base32-hash)
5486 (url "https://github.com/gotestyourself/gotest.tools")
5487 (commit (string-append "v" version))))
5488 (file-name (git-file-name "go-gotest-tools" version))
5490 (base32 sha256-base32-hash))))
5492 ;; Note that version 3.0.0 is incompatible to 2.3.0.
5493 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
5494 (define (go-gotest-tools-package suffix)
5496 (name (string-append "go-gotest-tools-"
5497 (string-replace-substring suffix "/" "-")))
5500 (go-gotest-tools-source version
5501 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
5502 (build-system go-build-system)
5504 `(#:import-path ,(string-append "gotest.tools/" suffix)
5505 #:unpack-path "gotest.tools"))
5506 (synopsis "@code{gotest-tools} part")
5507 (description "This package provides a part of @code{gotest-tools}.")
5508 (home-page "https://github.com/gotestyourself/gotest.tools")
5509 (license license:asl2.0)))
5511 (define-public go-gotest-tools-internal-format
5512 (package (inherit (go-gotest-tools-package "internal/format"))
5514 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5515 ("go-github-com-google-go-cmp-cmp"
5516 ,go-github-com-google-go-cmp-cmp)))
5517 (synopsis "Formats messages for use with gotest-tools")
5518 (description "This package provides a way to format messages for use
5519 with gotest-tools.")))
5521 (define-public go-gotest-tools-internal-difflib
5522 (package (inherit (go-gotest-tools-package "internal/difflib"))
5523 (synopsis "Differences for use with gotest-tools")
5524 (description "This package computes differences for use
5525 with gotest-tools.")))
5527 (define-public go-gotest-tools-internal-source
5528 (package (inherit (go-gotest-tools-package "internal/source"))
5530 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5531 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
5532 (synopsis "Source code AST formatters for gotest-tools")
5533 (description "This package provides source code AST formatters for
5536 (define-public go-gotest-tools-assert
5537 (package (inherit (go-gotest-tools-package "assert"))
5538 (name "go-gotest-tools-assert")
5540 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
5541 #:import-path "gotest.tools/assert"
5542 #:unpack-path "gotest.tools"))
5544 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
5546 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5547 ("go-github-com-google-go-cmp-cmp"
5548 ,go-github-com-google-go-cmp-cmp)))
5549 (synopsis "Compare values and fail a test when a comparison fails")
5550 (description "This package provides a way to compare values and fail a
5551 test when a comparison fails.")
5552 (home-page "https://github.com/gotestyourself/gotest.tools")
5553 (license license:asl2.0)))
5555 (define-public gotestsum
5562 (url "https://github.com/gotestyourself/gotestsum")
5563 (commit (string-append "v" version))))
5564 (file-name (git-file-name name version))
5567 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
5568 (build-system go-build-system)
5570 '(#:import-path "gotest.tools/gotestsum"))
5572 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
5573 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
5574 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5575 ("go-github-com-sirupsen-logrus"
5576 ,go-github-com-sirupsen-logrus)
5577 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
5578 ("go-github-com-jonboulle-clockwork"
5579 ,go-github-com-jonboulle-clockwork)
5580 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
5581 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
5582 ("go-github-com-google-go-cmp-cmp"
5583 ,go-github-com-google-go-cmp-cmp)
5584 ;; TODO: This would be better as a propagated-input of
5585 ;; go-gotest-tools-assert, but that does not work for
5587 ("go-gotest-tools-internal-format"
5588 ,go-gotest-tools-internal-format)
5589 ("go-gotest-tools-internal-difflib"
5590 ,go-gotest-tools-internal-difflib)
5591 ("go-gotest-tools-internal-source"
5592 ,go-gotest-tools-internal-source)
5593 ("go-github-com-google-go-cmp-cmp"
5594 ,go-github-com-google-go-cmp-cmp)))
5595 (synopsis "Go test runner with output optimized for humans")
5596 (description "This package provides a @code{go test} runner with output
5597 optimized for humans, JUnit XML for CI integration, and a summary of the
5599 (home-page "https://github.com/gotestyourself/gotestsum")
5600 (license license:asl2.0)))
5602 (define-public go-github-com-golang-protobuf-proto
5604 (name "go-github-com-golang-protobuf-proto")
5609 (url "https://github.com/golang/protobuf")
5610 (commit (string-append "v" version))))
5611 (file-name (git-file-name name version))
5614 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
5615 (build-system go-build-system)
5617 '(#:import-path "github.com/golang/protobuf/proto"
5618 #:unpack-path "github.com/golang/protobuf"
5619 ;; Requires unpackaged golang.org/x/sync/errgroup
5621 (synopsis "Go support for Protocol Buffers")
5622 (description "This package provides Go support for the Protocol Buffers
5623 data serialization format.")
5624 (home-page "https://github.com/golang/protobuf")
5625 (license license:bsd-3)))
5627 (define-public go-github-com-mattn-go-zglob
5629 (name "go-github-com-mattn-go-zglob")
5634 (url "https://github.com/mattn/go-zglob")
5635 (commit (string-append "v" version))))
5636 (file-name (git-file-name name version))
5639 "1923lvakm66mzy62jmngdvcmbmiqclinsvnghs3907rgygnx1qc1"))))
5640 (build-system go-build-system)
5642 `(#:import-path "github.com/mattn/go-zglob"))
5643 (home-page "https://github.com/mattn/go-zglob")
5644 (synopsis "Glob library that descends into other directories")
5645 (description " A glob library that implements descending into other
5646 directories. It is optimized for filewalking. ")
5647 (license license:expat)))
5649 (define-public go-github-com-mattn-go-sqlite3
5651 (name "go-github-com-mattn-go-sqlite3")
5656 (url "https://github.com/mattn/go-sqlite3")
5657 (commit (string-append "v" version))))
5658 (file-name (git-file-name name version))
5661 "04anvqkc37mmc3z1dy4xfa6cas67zlxnnab0ywii7sylk864mhxz"))))
5662 (build-system go-build-system)
5664 `(#:import-path "github.com/mattn/go-sqlite3"))
5665 (home-page "https://github.com/mattn/go-sqlite3")
5666 (synopsis "Sqlite3 driver for Go")
5667 (description "This package provides a Sqlite3 driver for Go using
5668 @code{database/sql}.")
5669 (license license:expat)))
5671 (define-public go-github-com-willf-bitset
5673 (name "go-github-com-willf-bitset")
5678 (url "https://github.com/willf/bitset")
5679 (commit (string-append "v" version))))
5680 (file-name (git-file-name name version))
5683 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
5684 (build-system go-build-system)
5686 '(#:import-path "github.com/willf/bitset"))
5687 (synopsis "Bitsets in Go")
5688 (description "This package provides a Go implementation of bitsets, which
5689 are a mapping between non-negative integers and boolean values focused on
5690 efficient space usage.")
5691 (home-page "https://github.com/willf/bitset")
5692 (license license:bsd-3)))
5694 (define-public go-github-com-willf-bloom
5696 (name "go-github-com-willf-bloom")
5701 (url "https://github.com/willf/bloom")
5702 (commit (string-append "v" version))))
5703 (file-name (git-file-name name version))
5706 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
5707 (build-system go-build-system)
5709 '(#:import-path "github.com/willf/bloom"
5711 (modify-phases %standard-phases
5712 (add-after 'unpack 'patch-import-path
5714 ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for
5715 ;; more information.
5716 ;; <https://github.com/spaolacci/murmur3/issues/29>
5717 (substitute* "src/github.com/willf/bloom/bloom.go"
5718 (("spaolacci") "twmb"))
5721 `(("go-github-com-twmb-murmur3" ,go-github-com-twmb-murmur3)
5722 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
5723 (synopsis "Bloom filters in Go")
5724 (description "This package provides a Go implementation of bloom filters,
5725 based on murmurhash.")
5726 (home-page "https://github.com/willf/bloom")
5727 (license license:bsd-2)))
5729 (define-public go-golang-org-rainycape-unidecode
5730 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
5733 (name "go-golang-org-rainycape-unidecode")
5734 (version (git-version "0.0.0" revision commit))
5738 (url "https://github.com/rainycape/unidecode")
5740 (file-name (string-append "go-golang-org-rainycape-unidecode-"
5741 version "-checkout"))
5744 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
5745 (build-system go-build-system)
5747 `(#:import-path "golang.org/rainycape/unidecode"))
5748 (home-page "https://github.com/rainycape/unidecode")
5749 (synopsis "Unicode transliterator in Golang")
5750 (description "Unicode transliterator in Golang - Replaces non-ASCII
5751 characters with their ASCII approximations.")
5752 (license license:asl2.0))))
5754 (define-public go-github-com-golang-freetype
5755 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
5758 (name "go-github-com-golang-freetype")
5759 (version (git-version "0.0.0" revision commit))
5763 (url "https://github.com/golang/freetype")
5765 (file-name (string-append "go-github-com-golang-freetype-"
5766 version "-checkout"))
5769 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
5770 (build-system go-build-system)
5772 `(#:import-path "github.com/golang/freetype"))
5774 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
5775 (home-page "https://github.com/golang/freetype")
5776 (synopsis "Freetype font rasterizer in the Go programming language")
5777 (description "The Freetype font rasterizer in the Go programming language.")
5778 (license (list license:freetype
5781 (define-public go-github-com-fogleman-gg
5783 (name "go-github-com-fogleman-gg")
5788 (url "https://github.com/fogleman/gg")
5789 (commit (string-append "v" version))))
5790 (file-name (git-file-name name version))
5793 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
5794 (build-system go-build-system)
5796 `(#:tests? #f ; Issue with test flags.
5797 #:import-path "github.com/fogleman/gg"))
5799 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
5800 (home-page "https://github.com/fogleman/gg")
5801 (synopsis "2D rendering in Go")
5802 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
5803 (license license:expat)))
5805 (define-public go-github-com-gedex-inflector
5806 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
5809 (name "go-github-com-gedex-inflector")
5810 (version (git-version "0.0.0" revision commit))
5814 (url "https://github.com/gedex/inflector")
5816 (file-name (string-append "go-github-com-gedex-inflector-"
5817 version "-checkout"))
5820 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
5821 (build-system go-build-system)
5823 `(#:import-path "github.com/gedex/inflector"))
5824 (home-page "https://github.com/gedex/inflector")
5825 (synopsis "Go library that pluralizes and singularizes English nouns")
5826 (description "Go library that pluralizes and singularizes English nouns.")
5827 (license license:bsd-2))))
5829 (define-public go-github-com-klauspost-cpuid
5831 (name "go-github-com-klauspost-cpuid")
5836 (url "https://github.com/klauspost/cpuid")
5837 (commit (string-append "v" version))))
5838 (file-name (git-file-name name version))
5841 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
5842 (build-system go-build-system)
5844 `(#:import-path "github.com/klauspost/cpuid"))
5845 (home-page "https://github.com/klauspost/cpuid")
5846 (synopsis "CPU feature identification for Go")
5847 (description "@code{cpuid} provides information about the CPU running the
5848 current program. CPU features are detected on startup, and kept for fast access
5849 through the life of the application. Currently x86 / x64 (AMD64) is supported,
5850 and no external C (cgo) code is used, which should make the library very eas
5852 (license license:expat)))
5854 (define-public go-github-com-pbnjay-memory
5855 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
5858 (name "go-github-com-pbnjay-memory")
5859 (version (git-version "0.0.0" revision commit))
5863 (url "https://github.com/pbnjay/memory")
5865 (file-name (string-append "go-github-com-pbnjay-memory-"
5866 version "-checkout"))
5869 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
5870 (build-system go-build-system)
5872 `(#:import-path "github.com/pbnjay/memory"))
5873 (home-page "https://github.com/gedex/inflector")
5874 (synopsis "Go library to report total system memory")
5875 (description "@code{memory} provides a single method reporting total
5876 physical system memory accessible to the kernel. It does not account for memory
5877 used by other processes.")
5878 (license license:bsd-3))))
5880 (define-public go-github-com-surge-glog
5881 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
5884 (name "go-github-com-surge-glog")
5885 (version (git-version "0.0.0" revision commit))
5889 (url "https://github.com/surge/glog")
5891 (file-name (string-append "go-github-com-surge-glog-"
5892 version "-checkout"))
5895 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
5896 (build-system go-build-system)
5898 `(#:import-path "github.com/surge/glog"))
5899 (home-page "https://github.com/surge/glog")
5900 (synopsis "Leveled execution logs for Go")
5901 (description "Leveled execution logs for Go.")
5902 (license license:asl2.0))))
5904 (define-public go-github-com-surgebase-porter2
5905 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
5908 (name "go-github-com-surgebase-porter2")
5909 (version (git-version "0.0.0" revision commit))
5913 (url "https://github.com/surgebase/porter2")
5915 (file-name (string-append "go-github-com-surgebase-porter2-"
5916 version "-checkout"))
5919 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
5920 (build-system go-build-system)
5922 `(#:import-path "github.com/surgebase/porter2"))
5924 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
5925 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
5926 (home-page "https://github.com/surgebase/porter2")
5927 (synopsis "Go library implementing english Porter2 stemmer")
5928 (description "Porter2 implements the
5929 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
5930 Porter2 stemmer}. It is written completely using finite state machines to do
5931 suffix comparison, rather than the string-based or tree-based approaches.")
5932 (license license:asl2.0))))
5934 (define-public go-github-com-masterminds-goutils
5936 (name "go-github-com-masterminds-goutils")
5941 (url "https://github.com/Masterminds/goutils")
5942 (commit (string-append "v" version))))
5943 (file-name (git-file-name name version))
5946 "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq"))))
5947 (build-system go-build-system)
5949 `(#:import-path "github.com/Masterminds/goutils"))
5950 (home-page "https://github.com/Masterminds/goutils/")
5951 (synopsis "Utility functions to manipulate strings")
5952 (description "GoUtils provides utility functions to manipulate strings in
5953 various ways. It is a Go implementation of some string manipulation libraries
5954 of Java Apache Commons.")
5955 (license license:asl2.0)))
5957 (define-public go-github-com-masterminds-semver
5959 (name "go-github-com-masterminds-semver")
5964 (url "https://github.com/Masterminds/semver")
5965 (commit (string-append "v" version))))
5966 (file-name (git-file-name name version))
5969 "1g1wizfdy29d02l9dh8gsb029yr4m4swp13swf0pnh9ryh5f1msz"))))
5970 (build-system go-build-system)
5972 `(#:import-path "github.com/Masterminds/semver"))
5973 (home-page "https://github.com/Masterminds/semver/")
5974 (synopsis "@code{semver} helps to work with semantic versions")
5975 (description "The semver package provides the ability to work with
5976 semantic versions. Specifically it provides the ability to:
5978 @item Parse semantic versions
5979 @item Sort semantic versions
5980 @item Check if a semantic version fits within a set of constraints
5981 @item Optionally work with a @code{v} prefix
5983 (license license:expat)))
5985 (define-public go-github-com-huandu-xstrings
5987 (name "go-github-com-huandu-xstrings")
5992 (url "https://github.com/huandu/xstrings")
5993 (commit (string-append "v" version))))
5994 (file-name (git-file-name name version))
5997 "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
5998 (build-system go-build-system)
6000 `(#:import-path "github.com/huandu/xstrings"))
6001 (home-page "https://github.com/huandu/xstrings/")
6002 (synopsis "Collection of string functions")
6003 (description "Go package xstrings is a collection of string functions,
6004 which are widely used in other languages but absent in Go package strings.")
6005 (license license:expat)))
6007 (define-public go-github-com-imdario-mergo
6009 (name "go-github-com-imdario-mergo")
6014 (url "https://github.com/imdario/mergo")
6015 (commit (string-append "v" version))))
6016 (file-name (git-file-name name version))
6019 "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
6020 (build-system go-build-system)
6022 `(#:import-path "github.com/imdario/mergo"))
6024 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
6025 (home-page "https://github.com/imdario/mergo/")
6026 (synopsis "Helper to merge structs and maps in Golang")
6027 (description "Helper to merge structs and maps in Golang. Useful for
6028 configuration default values, avoiding messy if-statements.
6030 Mergo merges same-type structs and maps by setting default values in
6031 zero-value fields. Mergo won't merge unexported (private) fields. It will do
6032 recursively any exported one. It also won't merge structs inside
6033 maps (because they are not addressable using Go reflection).")
6034 (license license:bsd-3)))
6036 (define-public go-github-com-masterminds-sprig
6038 (name "go-github-com-masterminds-sprig")
6043 (url "https://github.com/Masterminds/sprig")
6044 (commit (string-append "v" version))))
6045 (file-name (git-file-name name version))
6048 "0wwi8n2adjc5jlga25lqq0hrz4jcgd5vpll68y2dfji034caaq18"))))
6049 (build-system go-build-system)
6051 `(#:tests? #f ;network tests only
6052 #:import-path "github.com/Masterminds/sprig"))
6054 `(("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils)
6055 ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver)
6056 ("go-github-com-google-uuid" ,go-github-com-google-uuid)
6057 ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings)
6058 ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo)
6059 ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)
6060 ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure)
6061 ("go-github-com-spf13-cast" ,go-github-com-spf13-cast)
6062 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
6063 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
6064 (home-page "https://github.com/Masterminds/sprig/")
6065 (synopsis "Template functions for Go templates")
6066 (description "Sprig is a library that provides more than 100 commonly used
6067 template functions.")
6068 (license license:expat)))
6070 (define-public go-github-com-bmatcuk-doublestar
6072 (name "go-github-com-bmatcuk-doublestar")
6077 (url "https://github.com/bmatcuk/doublestar")
6078 (commit (string-append "v" version))))
6079 (file-name (git-file-name name version))
6082 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
6083 (build-system go-build-system)
6085 `(#:import-path "github.com/bmatcuk/doublestar"))
6086 (home-page "https://github.com/bmatcuk/doublestar/")
6087 (synopsis "Path pattern matching and globbing supporting doublestar")
6088 (description "@code{doublestar} is a Go implementation of path pattern
6089 matching and globbing with support for \"doublestar\" patterns.")
6090 (license license:expat)))
6092 (define-public go-github-com-dlclark-regexp2
6094 (name "go-github-com-dlclark-regexp2")
6099 (url "https://github.com/dlclark/regexp2")
6100 (commit (string-append "v" version))))
6101 (file-name (git-file-name name version))
6104 "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng"))))
6105 (build-system go-build-system)
6107 `(#:import-path "github.com/dlclark/regexp2"))
6108 (home-page "https://github.com/dlclark/regexp2/")
6109 (synopsis "Full featured regular expressions for Go")
6110 (description "Regexp2 is a feature-rich RegExp engine for Go.")
6111 (license license:expat)))
6113 (define-public go-github-com-alecthomas-colour
6115 (name "go-github-com-alecthomas-colour")
6120 (url "https://github.com/alecthomas/colour")
6121 (commit (string-append "v" version))))
6122 (file-name (git-file-name name version))
6125 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
6126 (build-system go-build-system)
6128 `(#:import-path "github.com/alecthomas/colour"))
6130 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
6131 (home-page "https://github.com/alecthomas/colour/")
6132 (synopsis "Colour terminal text for Go")
6133 (description "Package colour provides Quake-style colour formatting for
6136 The package level functions can be used to write to stdout (or strings or
6137 other files). If stdout is not a terminal, colour formatting will be
6139 (license license:expat)))
6141 (define-public go-github-com-alecthomas-repr
6142 (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
6145 (name "go-github-com-alecthomas-repr")
6146 (version (git-version "0.0.1" revision commit))
6150 (url "https://github.com/alecthomas/repr")
6152 (file-name (git-file-name name version))
6155 "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
6156 (build-system go-build-system)
6158 `(#:import-path "github.com/alecthomas/repr"))
6160 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
6161 (home-page "https://github.com/alecthomas/repr/")
6162 (synopsis "Represent Go values in an almost direct form")
6163 (description "This package attempts to represent Go values in a form that
6164 can be used almost directly in Go source code.")
6165 (license license:expat))))
6167 (define-public go-github-com-sergi-go-diff
6169 (name "go-github-com-sergi-go-diff")
6174 (url "https://github.com/sergi/go-diff")
6175 (commit (string-append "v" version))))
6176 (file-name (git-file-name name version))
6179 "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
6180 (build-system go-build-system)
6182 `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
6183 #:unpack-path "github.com/sergi/go-diff"))
6185 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
6186 (home-page "https://github.com/sergi/go-diff/")
6187 (synopsis "Algorithms to perform operations for synchronizing plain text")
6188 (description "@code{go-diff} offers algorithms to perform operations required for
6189 synchronizing plain text:
6191 @item compare two texts and return their differences
6192 @item perform fuzzy matching of text
6193 @item apply patches onto text
6195 (license license:expat)))
6197 (define-public go-github-com-alecthomas-assert
6198 (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
6201 (name "go-github-com-alecthomas-assert")
6202 (version (git-version "0.0.1" revision commit))
6206 (url "https://github.com/alecthomas/assert")
6208 (file-name (git-file-name name version))
6211 "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
6212 (build-system go-build-system)
6214 `(#:import-path "github.com/alecthomas/assert"))
6216 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
6217 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
6218 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
6219 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
6220 (home-page "https://github.com/alecthomas/assert/")
6221 (synopsis "Go assertion library")
6222 (description "Assertion library that:
6224 @item makes spotting differences in equality much easier
6225 @item uses repr and diffmatchpatch to display structural differences in colour
6226 @item aborts tests on first assertion failure
6228 (license license:expat))))
6230 (define-public go-github-com-alecthomas-chroma
6232 (name "go-github-com-alecthomas-chroma")
6237 (url "https://github.com/alecthomas/chroma")
6238 (commit (string-append "v" version))))
6239 (file-name (git-file-name name version))
6242 "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
6243 (build-system go-build-system)
6245 `(#:import-path "github.com/alecthomas/chroma"))
6247 `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
6248 ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
6249 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
6250 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
6251 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
6252 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
6253 (home-page "https://github.com/alecthomas/chroma/")
6254 (synopsis "General purpose syntax highlighter in pure Go")
6255 (description "Chroma takes source code and other structured text and
6256 converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
6257 (license license:expat)))
6259 (define-public go-github-com-andybalholm-cascadia
6261 (name "go-github-com-andybalholm-cascadia")
6266 (url "https://github.com/andybalholm/cascadia")
6267 (commit (string-append "v" version))))
6268 (file-name (git-file-name name version))
6271 "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc"))))
6272 (build-system go-build-system)
6274 `(#:import-path "github.com/andybalholm/cascadia"))
6276 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
6277 (home-page "https://github.com/andybalholm/cascadia/")
6278 (synopsis "CSS selectors for HTML")
6279 (description "The Cascadia package implements CSS selectors for use with
6280 the parse trees produced by the html package.")
6281 (license license:bsd-2)))
6283 (define-public go-github-com-puerkitobio-goquery
6285 (name "go-github-com-puerkitobio-goquery")
6290 (url "https://github.com/PuerkitoBio/goquery")
6291 (commit (string-append "v" version))))
6292 (file-name (git-file-name name version))
6295 "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx"))))
6296 (build-system go-build-system)
6298 `(#:import-path "github.com/PuerkitoBio/goquery"))
6300 `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
6301 ("go-golang-org-x-net" ,go-golang-org-x-net)))
6302 (home-page "https://github.com/PuerkitoBio/goquery")
6303 (synopsis "Features similar to jQuery to the Go language")
6304 (description "@code{goquery} brings a syntax and a set of features similar
6305 to jQuery to the Go language.")
6306 (license license:bsd-3)))
6308 (define-public go-github-com-jmespath-go-jmespath
6310 (name "go-github-com-jmespath-go-jmespath")
6316 (url "https://github.com/jmespath/go-jmespath")
6317 (commit (string-append "v" version))))
6318 (file-name (git-file-name name version))
6321 "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
6322 (build-system go-build-system)
6324 '(#:import-path "github.com/jmespath/go-jmespath"))
6326 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)
6327 ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)
6328 ("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
6329 (home-page "https://github.com/jmespath/go-jmespath")
6330 (synopsis "Golang implementation of JMESPath")
6332 "This package implements JMESPath, a query language for JSON. It
6333 transforms one JSON document into another through a JMESPath expression.")
6334 (license license:asl2.0)))
6336 (define-public go-github-com-aymerick-douceur
6338 (name "go-github-com-aymerick-douceur")
6343 (url "https://github.com/aymerick/douceur/")
6344 (commit (string-append "v" version))))
6345 (file-name (git-file-name name version))
6348 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
6349 (build-system go-build-system)
6351 `(#:import-path "github.com/aymerick/douceur"))
6353 `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
6354 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
6355 ("go-golang-org-x-net" ,go-golang-org-x-net)
6356 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
6357 (home-page "https://github.com/aymerick/douceur/")
6358 (synopsis "CSS parser and inliner")
6359 (description "This package provides a CSS parser and inliner.")
6360 (license license:expat)))
6362 (define-public go-github-com-chris-ramon-douceur
6364 (name "go-github-com-chris-ramon-douceur")
6369 (url "https://github.com/chris-ramon/douceur")
6370 (commit (string-append "v" version))))
6371 (file-name (git-file-name name version))
6374 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
6375 (build-system go-build-system)
6377 `(#:import-path "github.com/chris-ramon/douceur"))
6379 `(("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
6380 ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
6381 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
6382 ("go-golang-org-x-net" ,go-golang-org-x-net)
6383 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
6384 (home-page "https://github.com/chris-ramon/douceur/")
6385 (synopsis "CSS parser and inliner")
6386 (description "This package provides a CSS parser and inliner.")
6387 (license license:expat)))
6389 (define-public go-github-com-microcosm-cc-bluemonday
6391 (name "go-github-com-microcosm-cc-bluemonday")
6396 (url "https://github.com/microcosm-cc/bluemonday")
6397 (commit (string-append "v" version))))
6398 (file-name (git-file-name name version))
6401 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
6402 (build-system go-build-system)
6404 `(#:import-path "github.com/microcosm-cc/bluemonday"))
6406 `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
6407 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
6408 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
6409 ("go-golang-org-x-net" ,go-golang-org-x-net)))
6410 (home-page "https://github.com/microcosm-cc/bluemonday/")
6411 (synopsis "HTML sanitizer")
6412 (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
6413 (license license:bsd-3)))
6415 (define-public go-github-com-muesli-reflow-wordwrap
6417 (name "go-github-com-muesli-reflow-wordwrap")
6422 (url "https://github.com/muesli/reflow")
6423 (commit (string-append "v" version))))
6424 (file-name (git-file-name "go-github-com-muesli-reflow" version))
6427 "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
6428 (build-system go-build-system)
6430 `(#:import-path "github.com/muesli/reflow/wordwrap"
6431 #:unpack-path "github.com/muesli/reflow"))
6433 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
6434 (home-page "https://github.com/muesli/reflow/")
6435 (synopsis "Collection of methods helping to transform blocks of text")
6436 (description "This package provides a collection of ANSI-aware methods and
6437 io.Writers helping you to transform blocks of text.")
6438 (license license:expat)))
6440 (define-public go-github-com-muesli-reflow-ansi
6442 (inherit go-github-com-muesli-reflow-wordwrap)
6443 (name "go-github-com-muesli-reflow-ansi")
6445 `(#:import-path "github.com/muesli/reflow/ansi"
6446 #:unpack-path "github.com/muesli/reflow"))))
6448 (define-public go-github-com-muesli-reflow-indent
6450 (inherit go-github-com-muesli-reflow-wordwrap)
6451 (name "go-github-com-muesli-reflow-indent")
6453 `(#:import-path "github.com/muesli/reflow/indent"
6454 #:unpack-path "github.com/muesli/reflow"))))
6456 (define-public go-github-com-muesli-reflow-padding
6458 (inherit go-github-com-muesli-reflow-wordwrap)
6459 (name "go-github-com-muesli-reflow-padding")
6461 `(#:import-path "github.com/muesli/reflow/padding"
6462 #:unpack-path "github.com/muesli/reflow"))))
6464 (define-public go-github-com-muesli-termenv
6466 (name "go-github-com-muesli-termenv")
6471 (url "https://github.com/muesli/termenv")
6472 (commit (string-append "v" version))))
6473 (file-name (git-file-name name version))
6476 "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
6477 (build-system go-build-system)
6479 `(#:import-path "github.com/muesli/termenv"))
6481 `(("go-github-com-google-goterm" ,go-github-com-google-goterm)
6482 ("go-golang-org-colorful" ,go-golang-org-colorful)
6483 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
6484 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
6485 (home-page "https://github.com/muesli/termenv/")
6486 (synopsis "Advanced styling options on the terminal")
6487 (description "termenv lets you safely use advanced styling options on the
6488 terminal. It gathers information about the terminal environment in terms of
6489 its ANSI and color support and offers you convenient methods to colorize and
6490 style your output, without you having to deal with all kinds of weird ANSI
6491 escape sequences and color conversions.")
6492 (license license:expat)))
6494 (define-public go-github-com-nwidger-jsoncolor
6496 (name "go-github-com-nwidger-jsoncolor")
6498 (home-page "https://github.com/nwidger/jsoncolor")
6504 (commit (string-append "v" version))))
6505 (file-name (git-file-name name version))
6508 "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8"))))
6509 (build-system go-build-system)
6511 `(#:import-path "github.com/nwidger/jsoncolor"))
6513 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)))
6514 (synopsis "Colorized JSON marshalling and encoding")
6516 "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s
6517 @code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type
6518 which produce colorized output using github.com/fatih/color.")
6519 (license license:expat)))
6521 (define-public go-github-com-olekukonko-tablewriter
6523 (name "go-github-com-olekukonko-tablewriter")
6528 (url "https://github.com/olekukonko/tablewriter")
6529 (commit (string-append "v" version))))
6530 (file-name (git-file-name name version))
6533 "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x"))))
6534 (build-system go-build-system)
6536 `(#:import-path "github.com/olekukonko/tablewriter"))
6538 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
6539 (home-page "https://github.com/olekukonko/tablewriter/")
6540 (synopsis "Generate ASCII table")
6541 (description "This package generates ASCII tables. Features:
6543 @item automatic Padding
6544 @item support Multiple Lines
6545 @item supports Alignment
6546 @item support Custom Separators
6547 @item automatic Alignment of numbers and percentage
6548 @item write directly to http , file etc via @code{io.Writer}
6549 @item read directly from CSV file
6550 @item optional row line via @code{SetRowLine}
6551 @item normalise table header
6552 @item make CSV Headers optional
6553 @item enable or disable table border
6554 @item set custom footer support
6555 @item optional identical cells merging
6556 @item set custom caption
6557 @item optional reflowing of paragrpahs in multi-line cells
6559 (license license:expat)))
6561 (define-public go-github-com-yuin-goldmark
6563 (name "go-github-com-yuin-goldmark")
6568 (url "https://github.com/yuin/goldmark")
6569 (commit (string-append "v" version))))
6570 (file-name (git-file-name name version))
6573 "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy"))))
6574 (build-system go-build-system)
6576 `(#:import-path "github.com/yuin/goldmark"))
6577 (home-page "https://github.com/yuin/goldmark/")
6578 (synopsis "Markdown parser")
6579 (description "This package provides a markdown parser.")
6580 (license license:expat)))
6582 (define-public go-github-com-charmbracelet-glamour
6584 (name "go-github-com-charmbracelet-glamour")
6589 (url "https://github.com/charmbracelet/glamour")
6590 (commit (string-append "v" version))))
6591 (file-name (git-file-name name version))
6594 "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
6595 (build-system go-build-system)
6597 `(#:import-path "github.com/charmbracelet/glamour"))
6599 `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
6600 ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
6601 ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
6602 ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
6603 ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
6604 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
6605 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
6606 ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
6607 ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
6608 ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
6609 ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
6610 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
6611 ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
6612 ("go-github-com-google-goterm" ,go-github-com-google-goterm)
6613 ("go-golang-org-colorful" ,go-golang-org-colorful)
6614 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
6615 ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
6616 ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
6617 ("go-golang-org-x-net" ,go-golang-org-x-net)))
6618 (home-page "https://github.com/charmbracelet/glamour/")
6619 (synopsis "Write handsome command-line tools with glamour")
6620 (description "@code{glamour} lets you render markdown documents and
6621 templates on ANSI compatible terminals. You can create your own stylesheet or
6622 use one of our glamorous default themes.")
6623 (license license:expat)))
6625 (define-public go-github-com-coreos-go-semver
6627 (name "go-github-com-coreos-go-semver")
6632 (url "https://github.com/coreos/go-semver")
6633 (commit (string-append "v" version))))
6634 (file-name (git-file-name name version))
6637 "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9"))))
6638 (build-system go-build-system)
6640 `(#:import-path "github.com/coreos/go-semver"))
6641 (home-page "https://github.com/coreos/go-semver/")
6642 (synopsis "Semantic versioning library")
6643 (description "@code{go-semver} is a semantic versioning library for Go.
6644 It lets you parse and compare two semantic version strings.")
6645 (license license:asl2.0)))
6647 (define-public go-github-com-emirpasic-gods
6649 (name "go-github-com-emirpasic-gods")
6654 (url "https://github.com/emirpasic/gods")
6655 (commit (string-append "v" version))))
6656 (file-name (git-file-name name version))
6659 "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1"))))
6660 (build-system go-build-system)
6662 `(#:import-path "github.com/emirpasic/gods"
6663 ; Source-only package
6666 (modify-phases %standard-phases
6668 (home-page "https://github.com/emirpasic/gods/")
6669 (synopsis "Implementation of various data structures and algorithms in Go")
6670 (description "This package provides implementation of various data
6671 structures and algorithms in Go.")
6672 (license license:bsd-2)))
6674 (define-public go-gopkg-in-warnings
6676 (name "go-gopkg-in-warnings")
6681 (url "https://github.com/go-warnings/warnings")
6682 (commit (string-append "v" version))))
6683 (file-name (git-file-name name version))
6686 "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81"))))
6687 (build-system go-build-system)
6689 `(#:import-path "gopkg.in/warnings.v0"))
6690 (home-page "https://gopkg.in/warnings.v0")
6691 (synopsis "Error handling with non-fatal errors")
6692 (description "Package warnings implements error handling with non-fatal
6693 errors (warnings).")
6694 (license license:bsd-2)))
6696 (define-public go-github-com-go-git-gcfg
6698 (name "go-github-com-go-git-gcfg")
6703 (url "https://github.com/go-git/gcfg")
6704 (commit (string-append "v" version))))
6705 (file-name (git-file-name name version))
6708 "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83"))))
6710 `(#:import-path "github.com/go-git/gcfg"))
6712 `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings)
6713 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
6714 (build-system go-build-system)
6715 (home-page "https://github.com/go-git/gcfg/")
6716 (synopsis "Gcfg reads INI-style configuration files into Go structs")
6717 (description "Gcfg reads INI-style configuration files into Go structs.")
6718 (license license:bsd-3)))
6720 (define-public go-github-com-go-git-go-billy
6722 (name "go-github-com-go-git-go-billy")
6727 (url "https://github.com/go-git/go-billy")
6728 (commit (string-append "v" version))))
6729 (file-name (git-file-name name version))
6732 "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx"))))
6733 (build-system go-build-system)
6735 `(#:import-path "github.com/go-git/go-billy/v5"))
6737 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
6738 (home-page "https://github.com/go-git/go-billy/")
6739 (synopsis "File system abstraction for Go")
6740 (description "Billy implements an interface based on the OS's standard
6741 library to develop applications without depending on the underlying storage.
6742 This makes it virtually free to implement mocks and testing over
6743 file system operations.")
6744 (license license:asl2.0)))
6746 (define-public go-github-com-jbenet-go-context
6747 (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
6750 (name "go-github-com-jbenet-go-context")
6751 (version (git-version "0.0.1" revision commit))
6755 (url "https://github.com/jbenet/go-context")
6757 (file-name (git-file-name name version))
6760 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
6761 (build-system go-build-system)
6763 `(#:import-path "github.com/jbenet/go-context"
6764 ; Source-only package
6767 (modify-phases %standard-phases
6769 (home-page "https://github.com/jbenet/go-context/")
6770 (synopsis "@code{jbenet's} context extensions")
6771 (description "This package provides @code{jbenet's} context
6773 (license license:expat))))
6775 (define-public go-github-com-kevinburke-ssh-config
6777 (name "go-github-com-kevinburke-ssh-config")
6782 (url "https://github.com/kevinburke/ssh_config")
6784 (file-name (git-file-name name version))
6787 "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f"))))
6789 `(#:import-path "github.com/kevinburke/ssh_config"))
6790 (build-system go-build-system)
6791 (home-page "https://github.com/kevinburke/ssh_config/")
6792 (synopsis "Parser for @file{ssh_config} files")
6793 (description "This is a Go parser for @file{ssh_config} files.
6794 Importantly, this parser attempts to preserve comments in a given file, so you
6795 can manipulate a @file{ssh_config} file from a program.")
6796 (license license:expat)))
6798 (define-public go-github-com-xanzy-ssh-agent
6800 (name "go-github-com-xanzy-ssh-agent")
6805 (url "https://github.com/xanzy/ssh-agent")
6806 (commit (string-append "v" version))))
6807 (file-name (git-file-name name version))
6810 "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
6811 (build-system go-build-system)
6813 `(#:import-path "github.com/xanzy/ssh-agent"))
6815 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
6816 (home-page "https://github.com/xanzy/ssh-agent/")
6817 (synopsis "Control ssh-agent from Go")
6818 (description "Package agent implements the ssh-agent protocol, and
6819 provides both a client and a server. The client can talk to a standard
6820 ssh-agent that uses UNIX sockets, and one could implement an alternative
6821 ssh-agent process using the sample server. ")
6822 (license license:asl2.0)))
6824 (define-public go-github-com-alcortesm-tgz
6825 (let ((commit "9c5fe88206d7765837fed3732a42ef88fc51f1a1")
6828 (name "go-github-com-alcortesm-tgz")
6829 (version (git-version "0.0.1" revision commit))
6833 (url "https://github.com/alcortesm/tgz")
6835 (file-name (git-file-name name version))
6838 "04dcwnz2c2i4wbq2vx3g2wrdgqpncr2r1h6p1k08rdwk4bq1h8c5"))
6839 (modules '((guix build utils)))
6842 (substitute* "tgz_test.go"
6844 (("t.Fatalf\\(\"%s: unexpected error extracting: %s\", err\\)")
6845 "t.Fatalf(\"%s: unexpected error extracting: %s\", com, err)"))
6847 (build-system go-build-system)
6849 `(#:import-path "github.com/alcortesm/tgz"
6851 (modify-phases %standard-phases
6852 (add-after 'unpack 'make-git-checkout-writable
6853 (lambda* (#:key outputs #:allow-other-keys)
6854 (for-each make-file-writable (find-files "."))
6855 (for-each make-file-writable (find-files (assoc-ref outputs "out")))
6857 (home-page "https://github.com/alcortesm/tgz/")
6858 (synopsis "Go library to extract tgz files to temporal directories")
6859 (description "This package provides a Go library to extract tgz files to
6860 temporal directories.")
6861 (license license:expat))))
6863 (define-public go-github-com-go-git-go-git-fixtures
6865 (name "go-github-com-go-git-go-git-fixtures")
6870 (url "https://github.com/go-git/go-git-fixtures")
6871 (commit (string-append "v" version))))
6872 (file-name (git-file-name name version))
6875 "002yb1s2mxq2xijkl39ip1iyc3l52k23ikyi9ijfl4bgqxy79ljg"))))
6876 (build-system go-build-system)
6878 `(#:import-path "github.com/go-git/go-git-fixtures/v4"
6880 (modify-phases %standard-phases
6881 (delete 'reset-gzip-timestamps))))
6883 `(("go-github-com-alcortesm-tgz" ,go-github-com-alcortesm-tgz)
6884 ("go-github-com-go-git-go-billy" ,go-github-com-go-git-go-billy)
6885 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
6886 ("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
6887 (home-page "https://github.com/go-git/go-git-fixtures/")
6888 (synopsis "Fixtures used by @code{go-git}")
6889 (description "This package provides fixtures used by @code{go-git}.")
6890 (license license:asl2.0)))
6892 (define-public go-github-com-pkg-diff
6893 (let ((commit "531926345625d489a6b56f860a569e68245ace36")
6896 (name "go-github-com-pkg-diff")
6897 (version (git-version "0.0.1" revision commit))
6901 (url "https://github.com/pkg/diff")
6903 (file-name (git-file-name name version))
6906 "1770m7qhww6lm0wj1v3mhv6hwa2v92p4w2fqxj1xyrg5dd58d944"))))
6907 (build-system go-build-system)
6909 `(#:import-path "github.com/pkg/diff"))
6911 `(("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
6912 (home-page "https://github.com/pkg/diff/")
6913 (synopsis "Create and print diffs")
6915 "This package provides a Go library to create and print diffs.")
6916 (license license:bsd-3))))
6918 (define-public go-github-com-twpayne-go-shell
6920 (name "go-github-com-twpayne-go-shell")
6925 (url "https://github.com/twpayne/go-shell")
6926 (commit (string-append "v" version))))
6927 (file-name (git-file-name name version))
6930 "1hv0ggy3935iddjnmpp9vl0kqjknxpnbmm9w7xr3gds7fpbxz6yp"))))
6931 (build-system go-build-system)
6933 `(#:import-path "github.com/twpayne/go-shell"))
6934 (home-page "https://github.com/twpayne/go-shell/")
6935 (synopsis "Shell across multiple platforms")
6937 "Package @code{shell} returns a user's shell across multiple platforms.")
6938 (license license:expat)))
6940 (define-public go-github-com-twpayne-go-vfs
6942 (name "go-github-com-twpayne-go-vfs")
6947 (url "https://github.com/twpayne/go-vfs")
6948 (commit (string-append "v" version))))
6949 (file-name (git-file-name name version))
6952 "19dm3gi45znwaqbzxhwcgkiz8059bwa3ank80hc6qhdl579bpjnz"))))
6953 (build-system go-build-system)
6955 `(#:import-path "github.com/twpayne/go-vfs"))
6957 `(("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar)))
6958 (home-page "https://github.com/twpayne/go-vfs/")
6959 (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
6960 (description "Package @code{vfs} provides an abstraction of the @code{os}
6961 and @code{ioutil} packages that is easy to test.")
6962 (license license:expat)))
6964 (define-public go-github-com-twpayne-go-vfsafero
6966 (name "go-github-com-twpayne-go-vfsafero")
6971 (url "https://github.com/twpayne/go-vfsafero")
6972 (commit (string-append "v" version))))
6973 (file-name (git-file-name name version))
6976 "18jwxhlrjd06z8xzg9ij0irl4f79jfy5jpwiz6xqlhzb1fja19pw"))))
6977 (build-system go-build-system)
6979 `(#:import-path "github.com/twpayne/go-vfsafero"))
6981 `(("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)
6982 ("go-github-com-spf13-afero" ,go-github-com-spf13-afero)))
6983 (home-page "https://github.com/twpayne/go-vfsafero/")
6984 (synopsis "Compatibility later between @code{go-vfs} and @code{afero}")
6986 "Package @code{vfsafero} provides a compatibility later between
6987 @code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.")
6988 (license license:expat)))
6990 (define-public go-github-com-twpayne-go-xdg
6992 (name "go-github-com-twpayne-go-xdg")
6997 (url "https://github.com/twpayne/go-xdg")
6998 (commit (string-append "v" version))))
6999 (file-name (git-file-name name version))
7002 "0j8q7yzixs6jlaad0lpa8hs6b240gm2cmy0yxgnprrbpa0y2r7ln"))))
7003 (build-system go-build-system)
7005 `(#:import-path "github.com/twpayne/go-xdg/v3"))
7007 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
7008 ("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)))
7009 (home-page "https://github.com/twpayne/go-xdg/")
7010 (synopsis "Functions related to freedesktop.org")
7011 (description "Package @code{xdg} provides functions related to
7012 @uref{freedesktop.org}.")
7013 (license license:expat)))
7015 (define-public go-github-com-godbus-dbus
7017 (name "go-github-com-godbus-dbus")
7022 (url "https://github.com/godbus/dbus")
7023 (commit (string-append "v" version))))
7024 (file-name (git-file-name name version))
7027 "1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
7028 (build-system go-build-system)
7030 `(#:tests? #f ;no /var/run/dbus/system_bus_socket
7031 #:import-path "github.com/godbus/dbus"))
7033 `(("dbus" ,dbus))) ;dbus-launch
7034 (home-page "https://github.com/godbus/dbus/")
7035 (synopsis "Native Go client bindings for the D-Bus")
7036 (description "@code{dbus} is a library that implements native Go client
7037 bindings for the D-Bus message bus system.")
7038 (license license:bsd-2)))
7040 (define-public go-github-com-zalando-go-keyring
7042 (name "go-github-com-zalando-go-keyring")
7047 (url "https://github.com/zalando/go-keyring")
7048 (commit (string-append "v" version))))
7049 (file-name (git-file-name name version))
7052 "0kj54nkiyccy6m9iy9a53f6412a54xk96j88jaiq35yzdgfa4z3p"))))
7053 (build-system go-build-system)
7055 `(#:tests? #f ;XXX: Fix dbus tests
7056 #:import-path "github.com/zalando/go-keyring"))
7058 `(("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus)
7060 (home-page "https://github.com/zalando/go-keyring/")
7061 (synopsis "Library for working with system keyring")
7062 (description "@code{go-keyring} is a library for setting, getting and
7063 deleting secrets from the system keyring.")
7064 (license license:expat)))
7066 (define-public go-etcd-io-bbolt
7068 (name "go-etcd-io-bbolt")
7073 (url "https://github.com/etcd-io/bbolt")
7074 (commit (string-append "v" version))))
7075 (file-name (git-file-name name version))
7078 "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r"))))
7079 (build-system go-build-system)
7081 `(#:import-path "go.etcd.io/bbolt"))
7082 (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
7083 (synopsis "Low-level key/value store in Go")
7084 (description "This package implements a low-level key/value store in Go.")
7085 (license license:expat)))
7087 (define-public go-github-com-rogpeppe-go-internal
7089 (name "go-github-com-rogpeppe-go-internal")
7094 (url "https://github.com/rogpeppe/go-internal")
7095 (commit (string-append "v" version))))
7096 (file-name (git-file-name name version))
7099 "00j2vpp1bsggdvw1winkz23mg0q6drjiir5q0k49pmqx1sh7106l"))))
7100 (build-system go-build-system)
7102 `(#:import-path "github.com/rogpeppe/go-internal"
7103 ; Source-only package
7106 (modify-phases %standard-phases
7108 (home-page "https://github.com/rogpeppe/go-internal/")
7109 (synopsis "Internal packages from the Go standard library")
7110 (description "This repository factors out an opinionated selection of
7111 internal packages and functionality from the Go standard library. Currently
7112 this consists mostly of packages and testing code from within the Go tool
7115 Included are the following:
7117 @item dirhash: calculate hashes over directory trees the same way that the Go tool does.
7118 @item goproxytest: a GOPROXY implementation designed for test use.
7119 @item gotooltest: Use the Go tool inside test scripts (see testscript below)
7120 @item imports: list of known architectures and OSs, and support for reading import import statements.
7121 @item modfile: read and write go.mod files while preserving formatting and comments.
7122 @item module: module paths and versions.
7123 @item par: do work in parallel.
7124 @item semver: semantic version parsing.
7125 @item testenv: information on the current testing environment.
7126 @item testscript: script-based testing based on txtar files
7127 @item txtar: simple text-based file archives for testing.
7129 (license license:bsd-3)))
7131 (define-public gopkg-in-errgo-fmt-errors
7133 (name "gopkg-in-errgo-fmt-errors")
7138 (url "https://github.com/go-errgo/errgo")
7139 (commit (string-append "v" version))))
7140 (file-name (git-file-name name version))
7143 "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2"))))
7144 (build-system go-build-system)
7146 `(#:import-path "gopkg.in/errgo.v2/fmt/errors"
7148 ;; Source-only package
7150 (modify-phases %standard-phases
7152 (home-page "https://godoc.org/gopkg.in/errgo.v2")
7153 (synopsis "Functions that use the fmt package to format error messages")
7154 (description "This package is the same as @code{gopkg.in/errgo.v2/errors}
7155 except that it adds convenience functions that use the fmt package to format
7157 (license license:bsd-3)))
7159 (define-public go-github-com-arceliar-phony
7160 (let ((commit "d0c68492aca0bd4b5c5c8e0452c9b4c8af923eaf")
7163 (name "go-github-com-arceliar-phony")
7164 (version (git-version "0.0.0" revision commit))
7169 (url "https://github.com/Arceliar/phony")
7171 (file-name (git-file-name name version))
7174 "0876y0hlb1zh8hn0pxrb5zfdadvaqmqwlr66p19yl2a76galz992"))))
7176 '(#:import-path "github.com/Arceliar/phony"))
7177 (build-system go-build-system)
7178 (home-page "https://github.com/Arceliar/phony")
7179 (synopsis "Very minimal actor model library")
7180 (description "Phony is a very minimal actor model library for Go,
7181 inspired by the causal messaging system in the Pony programming language.")
7182 (license license:expat))))
7184 (define-public go-github-com-cheggaaa-pb
7186 (name "go-github-com-cheggaaa-pb")
7192 (url "https://github.com/cheggaaa/pb/")
7193 (commit (string-append "v" version))))
7194 (file-name (git-file-name name version))
7197 "0xhsv9yf3fz918ay6w0d87jnb3hk9vxvi16jk172kqq26x7jixd0"))))
7198 (build-system go-build-system)
7200 '(#:import-path "github.com/cheggaaa/pb/"))
7202 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
7203 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
7204 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
7205 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
7207 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
7208 (home-page "https://github.com/cheggaaa/pb/")
7209 (synopsis "Console progress bar for Go")
7210 (description "This package is a Go library that draws progress bars on
7212 (license license:bsd-3)))
7214 (define-public go-github-com-gologme-log
7215 ;; this is the same as v1.2.0, only the LICENSE file changed
7216 (let ((commit "720ba0b3ccf0a91bc6018c9967a2479f93f56a55"))
7218 (name "go-github-com-gologme-log")
7224 (url "https://github.com/gologme/log")
7226 (file-name (git-file-name name version))
7229 "0z3gs5ngv2jszp42ypp3ai0pn410v3b2m674g73ma7vsbn2yjk1n"))))
7230 (build-system go-build-system)
7232 '(#:import-path "github.com/gologme/log"))
7233 (home-page "https://github.com/gologme/log/")
7235 "Fork of the golang built in log package to add support for levels")
7236 (description "This package is a drop in replacement for the built-in Go
7237 log package. All the functionality of the built-in package still exists and
7238 is unchanged. This package contains a series of small enhancements and
7240 (license license:bsd-3))))
7242 (define-public go-github-com-frankban-quicktest
7244 (name "go-github-com-frankban-quicktest")
7250 (url "https://github.com/frankban/quicktest")
7251 (commit (string-append "v" version))))
7252 (file-name (git-file-name name version))
7255 "0b1b44b2hli2p969gqz30z8v9z6ahlklpqzi17nwk1lsjz9yv938"))))
7256 (build-system go-build-system)
7258 '(#:import-path "github.com/frankban/quicktest"))
7260 `(("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)
7261 ("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
7262 (home-page "https://github.com/frankban/quicktest")
7263 (synopsis "Quick helpers for testing Go applications")
7265 "Package quicktest provides a collection of Go helpers for writing
7267 (license license:expat)))
7269 (define-public go-github-com-bep-golibsass
7271 (name "go-github-com-bep-golibsass")
7277 (url "https://github.com/bep/golibsass")
7278 (commit (string-append "v" version))))
7279 (file-name (git-file-name name version))
7282 "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
7283 (modules '((guix build utils)))
7286 (delete-file-recursively "libsass_src")
7288 (build-system go-build-system)
7290 '(#:import-path "github.com/bep/golibsass/libsass"
7291 #:unpack-path "github.com/bep/golibsass"
7292 ;; The dev build tag modifies the build to link to system libsass
7293 ;; instead of including the bundled one (which we remove.)
7294 ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
7295 #:build-flags '("-tags" "dev")
7297 (modify-phases %standard-phases
7298 (add-before 'build 'generate-bindings
7299 ;; Generate bindings for system libsass, replacing the
7300 ;; pre-generated bindings.
7301 (lambda* (#:key inputs unpack-path #:allow-other-keys)
7302 (mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
7303 (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
7304 (substitute* (string-append "src/" unpack-path "/gen/main.go")
7305 (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
7306 (string-append "\"" libsass-src "\""))
7307 (("../../libsass_src/src/")
7309 (invoke "go" "generate" (string-append unpack-path "/gen"))
7312 (lambda* (#:key tests? import-path #:allow-other-keys)
7314 (invoke "go" "test" import-path "-tags" "dev"))
7317 `(("libsass" ,libsass)))
7319 `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
7320 ("libsass-src" ,(package-source libsass))))
7321 (home-page "https://github.com/bep/golibsass")
7322 (synopsis "Easy to use Go bindings for LibSass")
7324 "This package provides SCSS compiler support for Go applications.")
7325 (license license:expat)))
7327 (define-public go-github-com-hashicorp-go-syslog
7329 (name "go-github-com-hashicorp-go-syslog")
7335 (url "https://github.com/hashicorp/go-syslog")
7336 (commit (string-append "v" version))))
7337 (file-name (git-file-name name version))
7340 "09vccqggz212cg0jir6vv708d6mx0f9w5bxrcdah3h6chgmal6v1"))))
7341 (build-system go-build-system)
7343 '(#:import-path "github.com/hashicorp/go-syslog"))
7344 (home-page "https://github.com/hashicorp/go-syslog")
7345 (synopsis "Golang syslog wrapper, cross-compile friendly")
7346 (description "This package is a very simple wrapper around log/syslog")
7347 (license license:expat)))
7349 (define-public go-github-com-hjson-hjson-go
7351 (name "go-github-com-hjson-hjson-go")
7357 (url "https://github.com/hjson/hjson-go")
7358 (commit (string-append "v" version))))
7359 (file-name (git-file-name name version))
7362 "1dfdiahimg6z9idg8jiqxwnlwjnmasbjccx8gnag49cz4yfqskaz"))))
7363 (build-system go-build-system)
7365 '(#:import-path "github.com/hjson/hjson-go"))
7366 (home-page "https://hjson.org/")
7367 (synopsis "Human JSON implementation for Go")
7368 (description "Hjson is a syntax extension to JSON. It is intended to be
7369 used like a user interface for humans, to read and edit before passing the
7370 JSON data to the machine.")
7371 (license license:expat)))
7373 (define-public go-golang-zx2c4-com-wireguard
7375 (name "go-golang-zx2c4-com-wireguard")
7376 (version "0.0.20200320")
7380 ;; NOTE: module URL is a redirect
7381 ;; target: git.zx2c4.com/wireguard-go
7382 ;; source: golang.zx2c4.com/wireguard
7384 (url "https://git.zx2c4.com/wireguard-go/")
7385 (commit (string-append "v" version))))
7386 (file-name (git-file-name name version))
7389 "0fy4qsss3i3pkq1rpgjds4aipbwlh1dr9hbbf7jn2a1c63kfks0r"))))
7390 (build-system go-build-system)
7392 '(#:import-path "golang.zx2c4.com/wireguard"))
7394 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
7395 ("go-golang-org-x-net" ,go-golang-org-x-net)
7396 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
7397 ("go-golang-org-x-text" ,go-golang-org-x-text)))
7398 (home-page "https://git.zx2c4.com/wireguard")
7399 (synopsis "Implementation of WireGuard in Go")
7400 (description "This package is a Go Implementation of WireGuard.")
7401 (license license:expat)))
7403 (define-public go-github-com-kardianos-minwinsvc
7405 (name "go-github-com-kardianos-minwinsvc")
7411 (url "https://github.com/kardianos/minwinsvc")
7412 (commit (string-append "v" version))))
7413 (file-name (git-file-name name version))
7416 "0z941cxymkjcsj3p5l3g4wm2da3smz7iyqk2wbs5y8lmxd4kfzd8"))))
7417 (build-system go-build-system)
7419 '(#:import-path "github.com/kardianos/minwinsvc"))
7420 (home-page "https://github.com/kardianos/minwinsvc/")
7421 ;; some packages (Yggdrasil) need it to compile
7422 ;; it's a tiny package and it's easier to bundle it than to patch it out
7423 (synopsis "Minimal windows only service stub for Go")
7424 (description "Go programs designed to run from most *nix style operating
7425 systems can import this package to enable running programs as services without
7427 (license license:zlib)))
7429 (define-public go-github-com-goccy-yaml
7431 (name "go-github-com-goccy-yaml")
7433 (home-page "https://github.com/goccy/go-yaml")
7439 (commit (string-append "v" version))))
7440 (file-name (git-file-name name version))
7442 (base32 "1nps58dwkd915mx35h5f0dc05b880b4fdl6dcjxpfmmbzyinvg38"))))
7443 (build-system go-build-system)
7445 `(#:import-path "github.com/goccy/go-yaml"))
7447 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
7448 ("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)))
7450 `(("go-gopkg-in-go-playground-validator-v9"
7451 ,go-gopkg-in-go-playground-validator-v9)))
7452 (synopsis "YAML support for the Go language")
7454 "This package provides features beyond the
7455 @uref{https://github.com/go-yaml/yaml, defacto YAML library} including:
7458 @item Pretty format for error notifications
7459 @item Support Scanner or Lexer or Parser as public API
7460 @item Support Anchor and Alias to Marshaler
7461 @item Allow referencing elements declared in another file via anchors
7462 @item Extract value or AST by YAMLPath (YAMLPath is like a JSONPath)
7464 (license license:expat)))
7466 (define-public go-github-com-tekwizely-go-parsing
7467 (let ((commit "1548cfb17df54d365ce9febed0677c06a40a8ceb")
7470 (name "go-github-com-tekwizely-go-parsing")
7471 (version (git-version "0.0.0" revision commit))
7476 (url "https://github.com/tekwizely/go-parsing")
7478 (file-name (git-file-name name version))
7480 (base32 "0bv5amka8hb9crc7qvlzi2kbycqrnh9d46b9wgcs8wqzl0z7w609"))))
7481 (build-system go-build-system)
7483 `(#:import-path "github.com/tekwizely/go-parsing"))
7484 (home-page "https://github.com/tekwizely/go-parsing")
7485 (synopsis "Text parsing, with lexers, parsers, and related tools")
7487 "This package provides Go modules focused on text parsing, with lexers,
7488 parsers, and related tools.")
7489 (license license:expat))))
7491 (define-public go-github.com-ulikunitz-xz
7493 (name "go-github.com-ulikunitz-xz")
7498 (url "https://github.com/ulikunitz/xz.git")
7499 (commit (string-append "v" version))))
7500 (file-name (string-append name "-" version "-checkout"))
7503 "1xnsymi5fmmm734bi4c6z57p5cvnyxlpi29yxs4v21w5k763aypd"))))
7504 (build-system go-build-system)
7506 `(#:import-path "github.com/ulikunitz/xz"))
7507 (synopsis "Read and write xz compressed streams in Go")
7508 (description "This package provides a library to read and write xz
7509 compressed streams in Go.")
7510 (home-page "https://github.com/ulikunitz/xz")
7511 (license license:bsd-3)))
7513 (define-public go-github-com-songmu-gitconfig
7515 (name "go-github-com-songmu-gitconfig")
7517 (home-page "https://github.com/songmu/gitconfig")
7523 (commit (string-append "v" version))))
7524 (file-name (git-file-name name version))
7526 (base32 "1y01h496a7pfj1g2bclls5b0nl3vnj7nz610jj1dzq9kxrwxk7fk"))))
7527 (build-system go-build-system)
7529 `(#:import-path "github.com/Songmu/gitconfig"
7530 ;; Package's tests appear to be hardcoded to the author's gitconfig
7531 ;; and require network access.
7534 `(("go-github-com-goccy-yaml" ,go-github-com-goccy-yaml)))
7535 (synopsis "Go library to get configuration values from gitconfig")
7536 (description "@{gitconfig} is a package to get configuration values from gitconfig.")
7537 (license license:expat)))
7539 (define-public go-github-com-operatorfoundation-ed25519
7540 (let ((commit "b22b4bd3ddef042eec45f3ee135cd40281fde2b4")
7543 (name "go-github-com-operatorfoundation-ed25519")
7544 (version (git-version "0.0.0" revision commit))
7548 (url "https://github.com/OperatorFoundation/ed25519")
7550 (file-name (git-file-name name version))
7553 "0xrzqrjlghkgd1cy5rj4khryn4f59vas2vzrxc6d8jpj5ijf3xkv"))))
7554 (build-system go-build-system)
7556 `(#:import-path "github.com/OperatorFoundation/ed25519"
7558 (modify-phases %standard-phases
7559 (add-before 'install 'remove-test-data
7560 (lambda* (#:key import-path #:allow-other-keys)
7561 (delete-file-recursively
7562 (string-append "src/" import-path "/testdata"))
7564 (home-page "https://github.com/OperatorFoundation/ed25519")
7565 (synopsis "Ed25519 for go")
7566 (description "Package ed25519 implements the Ed25519 signature
7568 (license license:bsd-3))))
7570 (define-public go-github-com-akosmarton-papipes
7571 (let ((commit "3c63b4919c769c9c2b2d07e69a98abb0eb47fe64")
7574 (name "go-github-com-akosmarton-papipes")
7575 (version (git-version "0.0.0" revision commit))
7580 (url "https://github.com/akosmarton/papipes")
7582 (file-name (git-file-name name version))
7584 (base32 "16p77p3d1v26qd3knxn087jqlad2qm23q8m796cdr66hrdc0gahq"))))
7585 (build-system go-build-system)
7587 `(("pulseaudio" ,pulseaudio)))
7589 `(#:import-path "github.com/akosmarton/papipes"
7591 (modify-phases %standard-phases
7592 (add-after 'unpack 'fix-paths
7593 (lambda* (#:key inputs #:allow-other-keys)
7594 (substitute* '("src/github.com/akosmarton/papipes/common.go"
7595 "src/github.com/akosmarton/papipes/sink.go"
7596 "src/github.com/akosmarton/papipes/source.go")
7597 (("exec.Command\\(\"pactl\"")
7598 (string-append "exec.Command(\""
7599 (assoc-ref inputs "pulseaudio")
7600 "/bin/pactl\""))))))))
7601 (home-page "https://github.com/akosmarton/papipes")
7602 (synopsis "Pulseaudio client library for Go")
7604 "This is a Pulseaudio client library in Golang for creating virtual
7605 sinks and sources.")
7606 (license license:expat))))
7608 (define-public go-github-com-mesilliac-pulse-simple
7609 (let ((commit "75ac54e19fdff88f4fbd82f45125134b602230b0")
7612 (name "go-github-com-mesilliac-pulse-simple")
7613 (version (git-version "0.0.0" revision commit))
7618 (url "https://github.com/mesilliac/pulse-simple")
7620 (file-name (git-file-name name version))
7622 (base32 "1awwczsa9yy99p035ckajqfs8m6mab0lz82mzlj1c5cj9lnmwplj"))))
7623 (build-system go-build-system)
7625 `(("pkg-config" ,pkg-config)
7626 ("pulseaudio" ,pulseaudio)))
7628 '(#:import-path "github.com/mesilliac/pulse-simple"))
7629 (home-page "https://github.com/mesilliac/pulse-simple")
7630 (synopsis "Cgo bindings to PulseAudio's Simple API")
7632 "This package provides Cgo bindings to PulseAudio's Simple API, to play
7633 or capture raw audio.")
7634 (license license:expat))))
7636 (define-public go-github-com-pborman-getopt
7638 (name "go-github-com-pborman-getopt")
7644 (url "https://github.com/pborman/getopt")
7645 (commit (string-append "v" version))))
7646 (file-name (git-file-name name version))
7648 (base32 "0sacv6g8cxfibxd3gnfjnzp7fynrnc4s2aaz5wbxivqqhvflc22l"))))
7649 (build-system go-build-system)
7651 '(#:import-path "github.com/pborman/getopt"))
7652 (home-page "https://github.com/pborman/getopt")
7653 (synopsis "Getopt style option parsing for Go")
7655 "This package provides traditional getopt processing for implementing
7656 programs that use traditional command lines.")
7657 (license license:bsd-3)))
7659 (define-public go-go-uber-org-atomic
7661 (name "go-go-uber-org-atomic")
7667 (url "https://github.com/uber-go/atomic")
7668 (commit (string-append "v" version))))
7669 (file-name (git-file-name name version))
7671 (base32 "0yxvb5sixh76cl9j8dpa97gznj0p8pmg2cdw0ypfwhd3ipx9wph1"))))
7672 (build-system go-build-system)
7674 '(#:import-path "go.uber.org/atomic"))
7676 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
7677 ("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
7678 (home-page "https://go.uber.org/atomic")
7679 (synopsis "Wrapper types for sync/atomic")
7681 "This package provides simple wrappers for primitive types to enforce
7683 (license license:expat)))
7685 (define-public go-go-uber-org-multierr
7687 (name "go-go-uber-org-multierr")
7693 (url "https://github.com/uber-go/multierr")
7694 (commit (string-append "v" version))))
7695 (file-name (git-file-name name version))
7697 (base32 "162941s8f6a9x2w04qm4qa3zz0zylwag9149hywrj9ibp2nzcsqz"))))
7698 (build-system go-build-system)
7700 '(#:import-path "go.uber.org/multierr"))
7702 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
7704 `(("go-go-uber-org-atomic" ,go-go-uber-org-atomic)))
7705 (home-page "https://go.uber.org/multierr")
7706 (synopsis "Error combination for Go")
7708 "@code{multierr} allows combining one or more Go errors together.")
7709 (license license:expat)))
7711 (define-public go-golang-org-x-lint
7712 (let ((commit "83fdc39ff7b56453e3793356bcff3070b9b96445")
7715 (name "go-golang-org-x-lint")
7716 (version (git-version "0.0.0" revision commit))
7721 (url "https://go.googlesource.com/lint")
7723 (file-name (git-file-name name version))
7725 (base32 "0ms3rs5hvpnm9bxbr5f9743i7hn2bbmqdmvzxq6nmi0f24ypv1l3"))))
7726 (build-system go-build-system)
7728 '(#:import-path "golang.org/x/lint"
7729 #:tests? #f)) ;; TODO: Fix tests
7731 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
7732 (home-page "https://golang.org/x/lint")
7733 (synopsis "Linter for Go source code")
7735 "This is a linter for Go source code. Unlike gofmt, it doesn't
7736 reformat the source code, it only prints out style mistakes.")
7737 (license license:bsd-3))))
7739 (define-public go-github-com-kisielk-gotool
7741 (name "go-github-com-kisielk-gotool")
7747 (url "https://github.com/kisielk/gotool")
7748 (commit (string-append "v" version))))
7749 (file-name (git-file-name name version))
7751 (base32 "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn"))))
7752 (build-system go-build-system)
7754 '(#:import-path "github.com/kisielk/gotool"))
7755 (home-page "https://github.com/kisielk/gotool")
7756 (synopsis "Go library of utility functions")
7758 "This package contains utility functions used to implement the standard
7759 @code{cmd/go} tool, provided as a convenience to developers who want to write
7760 tools with similar semantics.")
7761 (license license:expat)))
7763 (define-public go-honnef-co-go-tools
7765 (name "go-honnef-co-go-tools")
7771 (url "https://github.com/dominikh/go-tools")
7772 (commit (string-append "v" version))))
7773 (file-name (git-file-name name version))
7775 (base32 "17li8jbw3cpn59kpcl3j3r2an4wkx3fc81xn0j4xgbjpkxh9493n"))))
7776 (build-system go-build-system)
7778 `(#:import-path "honnef.co/go/tools"
7780 ;; Source-only package
7782 (modify-phases %standard-phases
7785 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)
7786 ("go-github-com-kisielk-gotool",go-github-com-kisielk-gotool)
7787 ("go-github-com-burntsushi-toml" ,go-github-com-burntsushi-toml)))
7788 (home-page "https://honnef.co/go/tools")
7789 (synopsis "Staticcheck advanced Go linter")
7791 "Staticcheck is a state of the art linter for the Go programming language.
7792 Using static analysis, it finds bugs and performance issues, offers
7793 simplifications, and enforces style rules.")
7794 (license license:expat)))
7796 (define-public go-go-uber-org-zap
7798 (name "go-go-uber-org-zap")
7804 (url "https://github.com/uber-go/zap")
7805 (commit (string-append "v" version))))
7806 (file-name (git-file-name name version))
7808 (base32 "05ix5wg1r8pgi7fb6084lg4x7mrkvzkh1nxa7zj337w5b9xj0myr"))))
7809 (build-system go-build-system)
7811 '(#:import-path "go.uber.org/zap"
7812 #:tests? #f)) ; TODO: Fix tests
7814 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
7815 ("go-golang-org-x-lint" ,go-golang-org-x-lint)
7816 ("go-honnef-co-go-tools" ,go-honnef-co-go-tools)))
7818 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
7819 ("go-go-uber-org-atomic" ,go-go-uber-org-atomic)
7820 ("go-go-uber-org-multierr" ,go-go-uber-org-multierr)
7821 ("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
7822 (home-page "https://go.uber.org/zap")
7823 (synopsis "Logging library for Go")
7825 "This package provides a library for fast, structured, leveled logging in
7827 (license license:expat)))