1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 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 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 raingloom <raingloom@riseup.net>
25 ;;; This file is part of GNU Guix.
27 ;;; GNU Guix is free software; you can redistribute it and/or modify it
28 ;;; under the terms of the GNU General Public License as published by
29 ;;; the Free Software Foundation; either version 3 of the License, or (at
30 ;;; your option) any later version.
32 ;;; GNU Guix is distributed in the hope that it will be useful, but
33 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
34 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 ;;; GNU General Public License for more details.
37 ;;; You should have received a copy of the GNU General Public License
38 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
40 (define-module (gnu packages golang)
41 #:use-module ((guix licenses) #:prefix license:)
42 #:use-module (guix utils)
43 #:use-module (guix download)
44 #:use-module (guix git-download)
45 #:use-module (guix packages)
46 #:use-module (guix build-system gnu)
47 #:use-module (guix build-system trivial)
48 #:use-module (guix build-system go)
49 #:use-module (gnu packages)
50 #:use-module (gnu packages admin)
51 #:use-module (gnu packages gcc)
52 #:use-module (gnu packages glib)
53 #:use-module (gnu packages base)
54 #:use-module (gnu packages perl)
55 #:use-module (gnu packages pkg-config)
56 #:use-module (gnu packages pcre)
57 #:use-module (gnu packages lua)
58 #:use-module (gnu packages mp3)
59 #:use-module (gnu packages textutils)
60 #:use-module (gnu packages tls)
61 #:use-module (gnu packages web)
62 #:use-module (ice-9 match)
63 #:use-module (srfi srfi-1))
65 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
66 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
67 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
68 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
69 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
70 ;; gccgo-5. Mips is not officially supported, but it should work if it is
76 ;; The C-language bootstrap of Go:
77 ;; https://golang.org/doc/install/source#go14
78 (version "1.4-bootstrap-20171003")
81 (uri (string-append "https://storage.googleapis.com/golang/"
82 name version ".tar.gz"))
85 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
86 (build-system gnu-build-system)
91 `(#:modules ((ice-9 match)
92 (guix build gnu-build-system)
95 #:tests? #f ; Tests are run by the all.bash script.
96 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
97 (%current-target-system)))
98 '(#:system "armhf-linux")
101 (modify-phases %standard-phases
103 (add-after 'patch-generated-file-shebangs 'chdir
107 (add-before 'build 'prebuild
108 (lambda* (#:key inputs outputs #:allow-other-keys)
109 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
110 (ld (string-append (assoc-ref inputs "libc") "/lib"))
111 (loader (car (find-files ld "^ld-linux.+")))
112 (net-base (assoc-ref inputs "net-base"))
114 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
115 (output (assoc-ref outputs "out")))
117 ;; Removing net/ tests, which fail when attempting to access
118 ;; network resources not present in the build container.
119 (for-each delete-file
120 '("net/multicast_test.go" "net/parse_test.go"
123 ;; Add libgcc to the RUNPATH.
124 (substitute* "cmd/go/build.go"
125 (("cgoldflags := \\[\\]string\\{\\}")
126 (string-append "cgoldflags := []string{"
127 "\"-rpath=" gcclib "\"}"))
128 (("ldflags := buildLdflags")
130 "ldflags := buildLdflags\n"
131 "ldflags = append(ldflags, \"-r\")\n"
132 "ldflags = append(ldflags, \"" gcclib "\")\n")))
134 (substitute* "os/os_test.go"
135 (("/usr/bin") (getcwd))
136 (("/bin/pwd") (which "pwd")))
138 ;; Disable failing tests: these tests attempt to access
139 ;; commands or network resources which are neither available or
140 ;; necessary for the build to succeed.
145 ((regex all before test_name)
146 (string-append before "Disabled" test_name)))))
147 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
148 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
149 ("os/os_test.go" "(.+)(TestHostname.+)")
150 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
152 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
153 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
154 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
155 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
156 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
157 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
158 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
159 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
160 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
162 (substitute* "net/lookup_unix.go"
163 (("/etc/protocols") (string-append net-base "/etc/protocols")))
164 (substitute* "time/zoneinfo_unix.go"
165 (("/usr/share/zoneinfo/") tzdata-path))
166 (substitute* (find-files "cmd" "asm.c")
167 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
171 (lambda* (#:key inputs outputs #:allow-other-keys)
172 ;; FIXME: Some of the .a files are not bit-reproducible.
173 (let* ((output (assoc-ref outputs "out")))
174 (setenv "CC" (which "gcc"))
175 (setenv "GOOS" "linux")
176 (setenv "GOROOT" (dirname (getcwd)))
177 (setenv "GOROOT_FINAL" output)
178 (setenv "GO14TESTS" "1")
179 (invoke "sh" "all.bash"))))
182 (lambda* (#:key outputs inputs #:allow-other-keys)
183 (let* ((output (assoc-ref outputs "out"))
184 (doc_out (assoc-ref outputs "doc"))
185 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
186 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
187 (tests (string-append
188 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
190 (copy-recursively "../test" (string-append tests "/test"))
191 (delete-file-recursively "../test")
193 (copy-recursively "../api" (string-append docs "/api"))
194 (delete-file-recursively "../api")
195 (copy-recursively "../doc" (string-append docs "/doc"))
196 (delete-file-recursively "../doc")
198 (for-each (lambda (file)
199 (let ((file (string-append "../" file)))
200 (install-file file docs)
202 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
203 "LICENSE" "VERSION" "robots.txt"))
204 (copy-recursively "../" output)
209 ("gcc:lib" ,(canonical-package gcc) "lib")))
211 `(("pkg-config" ,pkg-config)
213 ("net-base" ,net-base)
216 (home-page "https://golang.org/")
217 (synopsis "Compiler and libraries for Go, a statically-typed language")
218 (description "Go, also commonly referred to as golang, is an imperative
219 programming language designed primarily for systems programming. Go is a
220 compiled, statically typed language in the tradition of C and C++, but adds
221 garbage collection, various safety features, and concurrent programming features
222 in the style of communicating sequential processes (@dfn{CSP}).")
223 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
224 (license license:bsd-3)))
226 (define-public go-1.14
235 (url "https://github.com/golang/go")
236 (commit (string-append "go" version))))
237 (file-name (git-file-name name version))
240 "0h1nmqzjc0xxpn6n2hjq7692gdqkznagzdmiq9490yzkrrii2lgk"))))
242 (substitute-keyword-arguments (package-arguments go-1.4)
244 (if (string-prefix? "aarch64-linux" (or (%current-system)
245 (%current-target-system)))
249 `(modify-phases ,phases
251 (lambda* (#:key inputs outputs #:allow-other-keys)
252 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
253 (ld (string-append (assoc-ref inputs "libc") "/lib"))
254 (loader (car (find-files ld "^ld-linux.+")))
255 (net-base (assoc-ref inputs "net-base"))
257 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
258 (output (assoc-ref outputs "out")))
260 ;; Having the patch in the 'patches' field of <origin> breaks
261 ;; the 'TestServeContent' test due to the fact that
262 ;; timestamps are reset. Thus, apply it from here.
263 (invoke "patch" "-p2" "--force" "-i"
264 (assoc-ref inputs "go-skip-gc-test.patch"))
266 ;; A side effect of these test scripts is testing
267 ;; cgo. Attempts at using cgo flags and directives with these
268 ;; scripts as specified here (https://golang.org/cmd/cgo/)
269 ;; have not worked. The tests continue to state that they can
270 ;; not find object files/headers despite being present.
273 '("cmd/go/testdata/script/mod_case_cgo.txt"
274 "cmd/go/testdata/script/list_find.txt"
275 "cmd/go/testdata/script/list_compiled_imports.txt"
276 "cmd/go/testdata/script/cgo_syso_issue29253.txt"
277 "cmd/go/testdata/script/cover_cgo.txt"
278 "cmd/go/testdata/script/cover_cgo_xtest.txt"
279 "cmd/go/testdata/script/cover_cgo_extra_test.txt"
280 "cmd/go/testdata/script/cover_cgo_extra_file.txt"))
282 (for-each make-file-writable (find-files "."))
284 (substitute* "os/os_test.go"
285 (("/usr/bin") (getcwd))
286 (("/bin/pwd") (which "pwd"))
287 (("/bin/sh") (which "sh")))
289 ;; Add libgcc to runpath
290 (substitute* "cmd/link/internal/ld/lib.go"
291 (("!rpath.set") "true"))
292 (substitute* "cmd/go/internal/work/gccgo.go"
293 (("cgoldflags := \\[\\]string\\{\\}")
294 (string-append "cgoldflags := []string{"
295 "\"-rpath=" gcclib "\""
299 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
300 (substitute* "cmd/go/internal/work/gc.go"
301 (("ldflags = setextld\\(ldflags, compiler\\)")
303 "ldflags = setextld(ldflags, compiler)\n"
304 "ldflags = append(ldflags, \"-r\")\n"
305 "ldflags = append(ldflags, \"" gcclib "\")\n")))
307 ;; Disable failing tests: these tests attempt to access
308 ;; commands or network resources which are neither available
309 ;; nor necessary for the build to succeed.
314 ((regex all before test_name)
315 (string-append before "Disabled" test_name)))))
316 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
317 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
318 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
319 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
320 ;; 127.0.0.1 doesn't exist
321 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
322 ;; 127.0.0.1 doesn't exist
323 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
324 ;; /etc/services doesn't exist
325 ("net/parse_test.go" "(.+)(TestReadLine.+)")
326 ("os/os_test.go" "(.+)(TestHostname.+)")
327 ;; The user's directory doesn't exist
328 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
329 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
330 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
331 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
332 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
333 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
334 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
335 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
336 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
337 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
338 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
339 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
340 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
341 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
342 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
343 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
344 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
345 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
346 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
347 ("syscall/exec_linux_test.go"
348 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
350 ;; These tests fail on aarch64-linux
351 (substitute* "cmd/dist/test.go"
352 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
354 ;; fix shebang for testar script
355 ;; note the target script is generated at build time.
356 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
357 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
359 (substitute* "net/lookup_unix.go"
360 (("/etc/protocols") (string-append net-base "/etc/protocols")))
361 (substitute* "net/port_unix.go"
362 (("/etc/services") (string-append net-base "/etc/services")))
363 (substitute* "time/zoneinfo_unix.go"
364 (("/usr/share/zoneinfo/") tzdata-path))
365 (substitute* (find-files "cmd" "\\.go")
366 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
368 (add-before 'build 'set-bootstrap-variables
369 (lambda* (#:key outputs inputs #:allow-other-keys)
370 ;; Tell the build system where to find the bootstrap Go.
371 (let ((go (assoc-ref inputs "go")))
372 (setenv "GOROOT_BOOTSTRAP" go)
373 (setenv "GOGC" "400")
376 (lambda* (#:key inputs outputs #:allow-other-keys)
377 ;; FIXME: Some of the .a files are not bit-reproducible.
378 (let* ((output (assoc-ref outputs "out")))
379 (setenv "CC" (which "gcc"))
380 (setenv "GOOS" "linux")
381 (setenv "GOROOT" (dirname (getcwd)))
382 (setenv "GOROOT_FINAL" output)
383 (setenv "CGO_ENABLED" "1")
384 (invoke "sh" "all.bash"))))
386 ;; TODO: Most of this could be factorized with Go 1.4.
387 (lambda* (#:key outputs #:allow-other-keys)
388 (let* ((output (assoc-ref outputs "out"))
389 (doc_out (assoc-ref outputs "doc"))
390 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
392 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
393 ;; Prevent installation of the build cache, which contains
394 ;; store references to most of the tools used to build Go and
395 ;; would unnecessarily increase the size of Go's closure if it
397 (delete-file-recursively "../pkg/obj")
400 (copy-recursively "../test" (string-append src "/test"))
401 (delete-file-recursively "../test")
403 (copy-recursively "../api" (string-append docs "/api"))
404 (delete-file-recursively "../api")
405 (copy-recursively "../doc" (string-append docs "/doc"))
406 (delete-file-recursively "../doc")
410 (let* ((filein (string-append "../" file))
411 (fileout (string-append docs "/" file)))
412 (copy-file filein fileout)
413 (delete-file filein)))
414 ;; Note the slightly different file names compared to 1.4.
415 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
416 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
418 (copy-recursively "../" output)
422 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
423 ,@(match (%current-system)
424 ((or "armhf-linux" "aarch64-linux")
425 `(("gold" ,binutils-gold)))
427 ,@(package-native-inputs go-1.4)))
428 (supported-systems %supported-systems)))
430 (define-public go go-1.14)
432 (define-public go-github-com-alsm-ioprogress
433 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
436 (name "go-github-com-alsm-ioprogress")
437 (version (git-version "0.0.0" revision commit))
441 (url "https://github.com/alsm/ioprogress")
443 (file-name (git-file-name name version))
446 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
447 (build-system go-build-system)
449 '(#:import-path "github.com/alsm/ioprogress"))
450 (synopsis "Textual progress bars in Go")
451 (description "@code{ioprogress} is a Go library with implementations of
452 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
453 case for these are for command-line applications but alternate progress bar
454 writers can be supplied for alternate environments.")
455 (home-page "https://github.com/alsm/ioprogress")
456 (license license:expat))))
458 (define-public go-github-com-aki237-nscjar
459 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
462 (name "go-github-com-aki237-nscjar")
463 (version (git-version "0.0.0" revision commit))
467 (url "https://github.com/aki237/nscjar")
469 (file-name (git-file-name name version))
472 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
473 (build-system go-build-system)
475 '(#:import-path "github.com/aki237/nscjar"))
476 (synopsis "Handle Netscape / Mozilla cookies")
477 (description "@code{nscjar} is a Go library used to parse and output
478 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
479 jar struct to manage the cookies added to the cookie jar.")
480 (home-page "https://github.com/aki237/nscjar")
481 (license license:expat))))
483 (define-public go-github.com-jessevdk-go-flags
485 (name "go-github.com-jessevdk-go-flags")
490 (url "https://github.com/jessevdk/go-flags")
491 (commit (string-append "v" version))))
492 (file-name (git-file-name name version))
495 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
496 (build-system go-build-system)
498 '(#:import-path "github.com/jessevdk/go-flags"))
499 (synopsis "Go library for parsing command line arguments")
501 "The @code{flags} package provides a command line option parser. The
502 functionality is similar to the go builtin @code{flag} package, but
503 @code{flags} provides more options and uses reflection to provide a succinct
504 way of specifying command line options.")
505 (home-page "https://github.com/jessevdk/go-flags")
506 (license license:bsd-3)))
508 (define-public go-gopkg.in-tomb.v2
509 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
512 (name "go-gopkg.in-tomb.v2")
513 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
517 (url "https://github.com/go-tomb/tomb")
519 (file-name (string-append name "-" version ".tar.gz"))
522 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
523 (build-system go-build-system)
525 '(#:import-path "gopkg.in/tomb.v2"
527 (modify-phases %standard-phases
528 (add-after 'unpack 'patch-source
530 ;; Add a missing % to fix the compilation of this test
531 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
532 (("t.Fatalf\\(`Killf\\(\"BO%s")
533 "t.Fatalf(`Killf(\"BO%%s"))
535 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
537 "The @code{tomb} package handles clean goroutine tracking and
539 (home-page "https://gopkg.in/tomb.v2")
540 (license license:bsd-3))))
542 (define-public go-github.com-jtolds-gls
544 (name "go-github.com-jtolds-gls")
549 (url "https://github.com/jtolds/gls")
550 (commit (string-append "v" version))))
551 (file-name (git-file-name name version))
554 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
555 (build-system go-build-system)
557 '(#:import-path "github.com/jtolds/gls"))
558 (synopsis "@code{gls} provides Goroutine local storage")
560 "The @code{gls} package provides a way to store a retrieve values
562 (home-page "https://github.com/jtolds/gls")
563 (license license:expat)))
565 (define-public go-github-com-saracen-walker
567 (name "go-github-com-saracen-walker")
573 (url "https://github.com/saracen/walker")
574 (commit (string-append "v" version))))
575 (file-name (git-file-name name version))
577 (base32 "1rq1lrp99lx7k1ysbfznn4c1iagnxdhb4lnnklsadnnzi3gvygqz"))))
578 (build-system go-build-system)
580 `(#:import-path "github.com/saracen/walker"))
582 `(("go-golang-org-x-sync" ,go-golang-org-x-sync)))
583 (home-page "https://github.com/saracen/walker")
584 (synopsis "Faster, parallel version of Go's filepath.Walk")
585 (license license:expat)
586 (description "The @code{walker} function is a faster, parallel version, of
587 @code{filepath.Walk}")))
589 (define-public go-github-com-tj-docopt
591 (name "go-github-com-tj-docopt")
596 (url "https://github.com/tj/docopt")
597 (commit (string-append "v" version))))
598 (file-name (git-file-name name version))
601 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
602 (build-system go-build-system)
604 '(#:import-path "github.com/tj/docopt"))
605 (synopsis "Go implementation of docopt")
607 "This library allows the user to define a command-line interface from a
608 program's help message rather than specifying it programmatically with
609 command-line parsers.")
610 (home-page "https://github.com/tj/docopt")
611 (license license:expat)))
613 (define-public go-github-com-hashicorp-hcl
614 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
617 (name "go-github-com-hashicorp-hcl")
618 (version (git-version "0.0.0" revision commit))
622 (url "https://github.com/hashicorp/hcl")
624 (file-name (git-file-name name version))
627 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
628 (build-system go-build-system)
631 #:import-path "github.com/hashicorp/hcl"))
632 (synopsis "Go implementation of HashiCorp Configuration Language")
634 "This package contains the main implementation of the @acronym{HCL,
635 HashiCorp Configuration Language}. HCL is designed to be a language for
636 expressing configuration which is easy for both humans and machines to read.")
637 (home-page "https://github.com/hashicorp/hcl")
638 (license license:mpl2.0))))
640 (define-public go-golang-org-x-tools
641 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
644 (name "go-golang-org-x-tools")
645 (version (git-version "0.1.3" revision commit))
649 (url "https://go.googlesource.com/tools")
651 (file-name (string-append "go.googlesource.com-tools-"
652 version "-checkout"))
655 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
656 (build-system go-build-system)
658 `(#:import-path "golang.org/x/tools"
659 ;; Source-only package
662 (modify-phases %standard-phases
663 ;; Source-only package
665 (synopsis "Tools that support the Go programming language")
666 (description "This package provides miscellaneous tools that support the
667 Go programming language.")
668 (home-page "https://go.googlesource.com/tools/")
669 (license license:bsd-3))))
671 (define-public go-golang-org-x-crypto
672 (let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
675 (name "go-golang-org-x-crypto")
676 (version (git-version "0.0.0" revision commit))
680 (url "https://go.googlesource.com/crypto")
682 (file-name (string-append "go.googlesource.com-crypto-"
683 version "-checkout"))
686 "1yvis6fqbsd7f356aqyi18f76vnwj3bry6mxqnkvshq4cwrf92il"))))
687 (build-system go-build-system)
689 '(#:import-path "golang.org/x/crypto"
690 ;; Source-only package
693 (modify-phases %standard-phases
694 ;; Source-only package
696 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
697 (lambda* (#:key outputs #:allow-other-keys)
699 (make-file-writable file))
701 (string-append (assoc-ref outputs "out")
702 "/src/golang.org/x/crypto/ed25519/testdata")
706 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
707 (synopsis "Supplementary cryptographic libraries in Go")
708 (description "This package provides supplementary cryptographic libraries
709 for the Go language.")
710 (home-page "https://go.googlesource.com/crypto/")
711 (license license:bsd-3))))
713 (define-public go-golang-org-x-net
714 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
717 (name "go-golang-org-x-net")
718 (version (git-version "0.0.0" revision commit))
722 (url "https://go.googlesource.com/net")
724 (file-name (git-file-name name version))
727 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
728 (build-system go-build-system)
730 `(#:import-path "golang.org/x/net"
731 ; Source-only package
734 (modify-phases %standard-phases
736 (synopsis "Go supplemental networking libraries")
737 (description "This package provides supplemental Go networking libraries.")
738 (home-page "https://go.googlesource.com/net")
739 (license license:bsd-3))))
741 (define-public go-golang-org-x-image
742 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
745 (name "go-golang-org-x-image")
746 (version (git-version "0.0.0" revision commit))
750 (url "https://go.googlesource.com/image")
752 (file-name (string-append "go.googlesource.com-image-"
753 version "-checkout"))
756 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
757 (build-system go-build-system)
759 `(#:import-path "golang.org/x/image"
760 ; Source-only package
763 (modify-phases %standard-phases
765 (home-page "https://go.googlesource.com/image")
766 (synopsis "Supplemental Go image libraries")
767 (description "This package provides supplemental Go libraries for image
769 (license license:bsd-3))))
771 (define-public go-golang-org-x-sync
772 (let ((commit "6e8e738ad208923de99951fe0b48239bfd864f28")
775 (name "go-golang-org-x-sync")
776 (version (git-version "0.0.0" revision commit))
780 (url "https://go.googlesource.com/sync")
782 (file-name (git-file-name name version))
785 "1avk27pszd5l5df6ff7j78wgla46ir1hhy2jwfl9a3c0ys602yx9"))))
786 (build-system go-build-system)
788 `(#:import-path "golang.org/x/sync"
790 ;; Source-only package
792 (modify-phases %standard-phases
794 (synopsis "Additional Go concurrency primitives")
795 (description "This package provides Go concurrency primitives in addition
796 to the ones provided by the language and “sync” and “sync/atomic”
798 (home-page "https://go.googlesource.com/sync/")
799 (license license:bsd-3))))
801 (define-public go-golang-org-x-sys
802 (let ((commit "05986578812163b26672dabd9b425240ae2bb0ad")
805 (name "go-golang-org-x-sys")
806 (version (git-version "0.0.0" revision commit))
810 (url "https://go.googlesource.com/sys")
812 (file-name (git-file-name name version))
815 "1q2rxb6z5l6pmlckjsz2l0b8lw7bqgk6frhzbmi1dv0y5irb2ka7"))))
816 (build-system go-build-system)
818 `(#:import-path "golang.org/x/sys"
819 ;; Source-only package
822 (modify-phases %standard-phases
824 (synopsis "Go support for low-level system interaction")
825 (description "This package provides supplemental libraries offering Go
826 support for low-level interaction with the operating system.")
827 (home-page "https://go.googlesource.com/sys")
828 (license license:bsd-3))))
830 (define-public go-golang-org-x-text
832 (name "go-golang-org-x-text")
837 (url "https://go.googlesource.com/text")
838 (commit (string-append "v" version))))
839 (file-name (string-append "go.googlesource.com-text-"
840 version "-checkout"))
843 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
844 (build-system go-build-system)
846 `(#:import-path "golang.org/x/text"
847 ; Source-only package
850 (modify-phases %standard-phases
852 (synopsis "Supplemental Go text processing libraries")
853 (description "This package provides supplemental Go libraries for text
855 (home-page "https://go.googlesource.com/text")
856 (license license:bsd-3)))
858 (define-public go-golang-org-x-time
859 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
862 (name "go-golang-org-x-time")
863 (version (git-version "0.0.0" revision commit))
867 (url "https://go.googlesource.com/time")
869 (file-name (git-file-name name version))
872 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
873 (build-system go-build-system)
875 `(#:import-path "golang.org/x/time"
876 ; Source-only package
879 (modify-phases %standard-phases
882 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
883 (synopsis "Supplemental Go time libraries")
884 (description "This package provides supplemental Go libraries related to
886 (home-page "https://godoc.org/golang.org/x/time/rate")
887 (license license:bsd-3))))
889 (define-public go-golang-org-x-oauth2
890 (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
893 (name "go-golang-org-x-oauth2")
894 (version (git-version "0.0.0" revision commit))
898 (url "https://go.googlesource.com/oauth2")
900 (file-name (string-append "go.googlesource.com-oauth2-"
901 version "-checkout"))
904 "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
905 (build-system go-build-system)
907 `(#:import-path "golang.org/x/oauth2"))
909 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
910 (home-page "https://go.googlesource.com/oauth2")
911 (synopsis "Client implementation of the OAuth 2.0 spec")
912 (description "This package contains a client implementation for OAuth 2.0
914 (license license:bsd-3))))
916 (define-public go-golang-org-x-xerrors
917 (let ((commit "5ec99f83aff198f5fbd629d6c8d8eb38a04218ca")
920 (name "go-golang-org-x-xerrors")
921 (version (git-version "0.0.0" revision commit))
925 (url "https://go.googlesource.com/xerrors")
927 (file-name (git-file-name name version))
930 "1dbzc3gmf2haazpv7cgmv97rq40g2xzwbglc17vas8dwhgwgwrzb"))))
931 (build-system go-build-system)
933 '(#:import-path "golang.org/x/xerrors"))
934 (synopsis "Go 1.13 error values")
936 "This package holds the transition packages for the new Go 1.13 error values.")
937 (home-page "https://godoc.org/golang.org/x/xerrors")
938 (license license:bsd-3))))
940 (define-public go-github-com-burntsushi-toml
942 (name "go-github-com-burntsushi-toml")
948 (url "https://github.com/BurntSushi/toml")
949 (commit (string-append "v" version))))
950 (file-name (git-file-name name version))
953 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
954 (build-system go-build-system)
956 '(#:import-path "github.com/BurntSushi/toml"))
957 (home-page "https://github.com/BurntSushi/toml")
958 (synopsis "Toml parser and encoder for Go")
959 (description "This package is toml parser and encoder for Go. The interface
960 is similar to Go's standard library @code{json} and @code{xml} package.")
961 (license license:expat)))
963 (define-public go-github-com-getsentry-raven-go
964 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
967 (name "go-github-com-getsentry-raven-go")
968 (version (git-version "0.2.0" revision commit))
973 (url "https://github.com/getsentry/raven-go")
975 (file-name (git-file-name name version))
978 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
979 (build-system go-build-system)
981 '(#:import-path "github.com/getsentry/raven-go"))
983 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
984 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
985 (home-page "https://github.com/getsentry/raven-go")
986 (synopsis "Sentry client in Go")
987 (description "This package is a Go client API for the Sentry event/error
989 (license license:bsd-3))))
991 (define-public go-github-com-hashicorp-go-version
993 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
996 (name "go-github-com-hashicorp-go-version")
997 (version (git-version "0.0.0" revision commit))
1002 (url "https://github.com/hashicorp/go-version")
1004 (file-name (git-file-name name version))
1007 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
1008 (build-system go-build-system)
1010 '(#:import-path "github.com/hashicorp/go-version"))
1012 "https://github.com/hashicorp/go-version")
1013 (synopsis "Go library for parsing and verifying versions and version
1015 (description "This package is a library for parsing versions and version
1016 constraints, and verifying versions against a set of constraints. It can sort
1017 a collection of versions properly, handles prerelease/beta versions, can
1018 increment versions.")
1019 (license license:mpl2.0))))
1021 (define-public go-github-com-jpillora-backoff
1023 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
1026 (name "go-github-com-jpillora-backoff")
1027 (version (git-version "0.0.0" revision commit))
1032 (url "https://github.com/jpillora/backoff")
1034 (file-name (git-file-name name version))
1037 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
1038 (build-system go-build-system)
1040 '(#:import-path "github.com/jpillora/backoff"))
1041 (home-page "https://github.com/jpillora/backoff")
1042 (synopsis "Simple exponential backoff counter in Go")
1043 (description "This package is a simple exponential backoff counter in
1045 (license license:expat))))
1047 (define-public go-github-com-stretchr-objx
1049 (name "go-github-com-stretchr-objx")
1055 (url "https://github.com/stretchr/objx")
1056 (commit (string-append "v" version))))
1057 (file-name (git-file-name name version))
1060 "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
1061 (build-system go-build-system)
1063 '(#:import-path "github.com/stretchr/objx"))
1064 (home-page "https://github.com/stretchr/objx")
1065 (synopsis "Go package for dealing with maps, slices, JSON and other data")
1066 (description "This package provides a Go library for dealing with maps,
1067 slices, JSON and other data.")
1068 (license license:expat)))
1070 (define-public go-github-com-stretchr-testify
1072 (name "go-github-com-stretchr-testify")
1078 (url "https://github.com/stretchr/testify")
1079 (commit (string-append "v" version))))
1080 (file-name (git-file-name name version))
1083 "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
1084 (build-system go-build-system)
1086 '(#:import-path "github.com/stretchr/testify"))
1088 `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1089 ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
1090 ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
1091 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1092 (home-page "https://github.com/stretchr/testify")
1093 (synopsis "Go helper library for tests and invariant checking")
1094 (description "This package provide many tools for testifying that your
1095 code will behave as you intend.
1099 @item Easy assertions
1101 @item HTTP response trapping
1102 @item Testing suite interfaces and functions.
1104 (license license:expat)))
1106 (define-public go-github-com-tevino-abool
1108 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
1111 (name "go-github-com-tevino-abool")
1112 (version (git-version "0.0.0" revision commit))
1117 (url "https://github.com/tevino/abool")
1119 (file-name (git-file-name name version))
1122 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
1123 (build-system go-build-system)
1125 '(#:import-path "github.com/tevino/abool"))
1126 (home-page "https://github.com/tevino/abool")
1127 (synopsis "Atomic boolean library for Go code")
1128 (description "This package is atomic boolean library for Go code,
1129 optimized for performance yet simple to use.")
1130 (license license:expat))))
1132 (define-public go-github-com-tv42-httpunix
1133 (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
1136 (name "go-github-com-tv42-httpunix")
1137 (version (git-version "0.0.0" revision commit))
1142 (url "https://github.com/tv42/httpunix.git")
1144 (file-name (git-file-name name version))
1146 (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
1147 (build-system go-build-system)
1149 '(#:import-path "github.com/tv42/httpunix"))
1150 (home-page "https://github.com/tv42/httpunix")
1151 (synopsis "Go library to talk HTTP over Unix domain sockets")
1152 (description "This package is a Go library to talk HTTP over Unix domain
1154 (license license:expat))))
1156 (define-public go-github-com-blang-semver
1157 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
1160 (name "go-github-com-blang-semver")
1161 (version (git-version "0.0.0" revision commit))
1166 (url "https://github.com/blang/semver")
1168 (file-name (git-file-name name version))
1171 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
1172 (build-system go-build-system)
1174 '(#:import-path "github.com/blang/semver"))
1175 (home-page "https://github.com/blang/semver")
1176 (synopsis "Semantic versioning library written in Go")
1177 (description "Semver is a library for Semantic versioning written in Go.")
1178 (license license:expat))))
1180 (define-public go-github-com-emicklei-go-restful
1181 (let ((commit "89ef8af493ab468a45a42bb0d89a06fccdd2fb22")
1184 (name "go-github-com-emicklei-go-restful")
1185 (version (git-version "0.0.0" revision commit))
1190 (url "https://github.com/emicklei/go-restful")
1192 (file-name (git-file-name name version))
1195 "0rrlfcfq80fkxifpih6bq31vavb5mf4530xz51pp9pq1mn2fzjfh"))))
1196 (build-system go-build-system)
1198 '(#:import-path "github.com/emicklei/go-restful"))
1199 (home-page "https://github.com/emicklei/go-restful")
1200 (synopsis "Build REST-style web services using Go")
1201 (description "This package provides @code{go-restful}, which helps
1202 developers to use @code{http} methods explicitly and in a way that's consistent
1203 with the HTTP protocol definition.")
1204 (license license:expat))))
1206 (define-public go-github-com-google-cadvisor
1207 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
1210 (name "go-github-com-google-cadvisor")
1211 (version (git-version "0.0.0" revision commit))
1216 (url "https://github.com/google/cadvisor")
1218 (file-name (git-file-name name version))
1221 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
1222 (build-system go-build-system)
1224 '(#:import-path "github.com/google/cadvisor"))
1225 (home-page "https://github.com/google/cadvisor")
1226 (synopsis "Analyze resource usage of running containers")
1227 (description "The package provides @code{cadvisor}, which provides
1228 information about the resource usage and performance characteristics of running
1230 (license license:asl2.0))))
1232 (define-public go-github-com-google-gofuzz
1233 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
1236 (name "go-github-com-google-gofuzz")
1237 (version (git-version "0.0.0" revision commit))
1242 (url "https://github.com/google/gofuzz")
1244 (file-name (git-file-name name version))
1247 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
1248 (build-system go-build-system)
1250 '(#:import-path "github.com/google/gofuzz"))
1251 (home-page "https://github.com/google/gofuzz")
1252 (synopsis "Fuzz testing library for Go")
1253 (description "Gofuzz is a library for populationg Go objects with random
1254 values for the purpose of fuzz testing.")
1255 (license license:asl2.0))))
1257 (define-public go-github-com-gorilla-css
1259 (name "go-github-com-gorilla-css")
1264 (url "https://github.com/gorilla/css")
1265 (commit (string-append "v" version))))
1266 (file-name (git-file-name name version))
1269 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
1270 (build-system go-build-system)
1272 `(#:import-path "github.com/gorilla/css/scanner"
1273 #:unpack-path "github.com/gorilla/css"))
1274 (home-page "https://github.com/gorilla/css/")
1275 (synopsis "CSS3 tokenizer")
1276 (description "This package provides a CSS3 tokenizer.")
1277 (license license:bsd-3)))
1279 (define-public go-github-com-gorilla-context
1280 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
1283 (name "go-github-com-gorilla-context")
1284 (version (git-version "0.0.0" revision commit))
1289 (url "https://github.com/gorilla/context")
1291 (file-name (git-file-name name version))
1294 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
1295 (build-system go-build-system)
1297 '(#:import-path "github.com/gorilla/context"))
1298 (home-page "https://github.com/gorilla/context")
1299 (synopsis "Go registry for request variables")
1300 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
1301 (license license:bsd-3))))
1303 (define-public go-github-com-gorilla-mux
1304 (let ((commit "599cba5e7b6137d46ddf58fb1765f5d928e69604")
1307 (name "go-github-com-gorilla-mux")
1308 (version (git-version "0.0.0" revision commit))
1313 (url "https://github.com/gorilla/mux")
1315 (file-name (git-file-name name version))
1318 "0wd6jjii1kg5s0nk3ri6gqriz6hbd6bbcn6x4jf8n7ncrb8qsxyz"))))
1319 (build-system go-build-system)
1321 '(#:import-path "github.com/gorilla/mux"))
1322 (home-page "https://github.com/gorilla/mux")
1323 (synopsis "URL router and dispatcher for Go")
1325 "Gorilla/Mux implements a request router and dispatcher for matching
1326 incoming requests with their respective handler.")
1327 (license license:bsd-3))))
1329 (define-public go-github-com-jonboulle-clockwork
1330 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
1333 (name "go-github-com-jonboulle-clockwork")
1334 (version (git-version "0.0.0" revision commit))
1339 (url "https://github.com/jonboulle/clockwork")
1341 (file-name (git-file-name name version))
1344 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
1345 (build-system go-build-system)
1347 '(#:import-path "github.com/jonboulle/clockwork"))
1348 (home-page "https://github.com/jonboulle/clockwork")
1349 (synopsis "Fake clock library for Go")
1351 "Replace uses of the @code{time} package with the
1352 @code{clockwork.Clock} interface instead.")
1353 (license license:asl2.0))))
1355 (define-public go-github-com-spf13-afero
1357 (name "go-github-com-spf13-afero")
1363 (url "https://github.com/spf13/afero")
1364 (commit (string-append "v" version))))
1365 (file-name (git-file-name name version))
1368 "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"))))
1369 (build-system go-build-system)
1371 `(#:import-path "github.com/spf13/afero"))
1373 `(("golang.org/x/text" ,go-golang-org-x-text)))
1374 (home-page "https://github.com/spf13/afero")
1375 (synopsis "File system abstraction for Go")
1377 "This package provides a file system abstraction for Go.")
1378 (license license:asl2.0)))
1380 (define-public go-github-com-spf13-cast
1382 (name "go-github-com-spf13-cast")
1388 (url "https://github.com/spf13/cast")
1389 (commit (string-append "v" version))))
1390 (file-name (git-file-name name version))
1393 "0lb84788glr0qzrq2ifi36rgvp96qrgywvxrr3ggq5hrbr38hgn1"))))
1394 (build-system go-build-system)
1396 `(#:import-path "github.com/spf13/cast"))
1398 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1399 (home-page "https://github.com/spf13/cast")
1400 (synopsis "Safe and easy casting from one type to another in Go")
1401 (description "Safe and easy casting from one type to another in Go")
1402 (license license:expat)))
1404 (define-public go-github-com-spf13-cobra
1406 (name "go-github-com-spf13-cobra")
1412 (url "https://github.com/spf13/cobra")
1413 (commit (string-append "v" version))))
1414 (file-name (git-file-name name version))
1417 "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h"))))
1418 (build-system go-build-system)
1420 `(#:import-path "github.com/spf13/cobra"))
1422 `(("github.com/spf13/pflag" ,go-github-com-spf13-pflag)))
1423 (home-page "https://github.com/spf13/cobra")
1424 (synopsis "Go library for creating CLI applications")
1425 (description "Cobra is both a library for creating powerful modern CLI
1426 applications as well as a program to generate applications and command files.")
1427 (license license:asl2.0)))
1429 (define-public go-github-com-spf13-jwalterweatherman
1431 (name "go-github-com-spf13-jwalterweatherman")
1437 (url "https://github.com/spf13/jwalterweatherman")
1438 (commit (string-append "v" version))))
1439 (file-name (git-file-name name version))
1442 "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"))))
1443 (build-system go-build-system)
1445 `(#:import-path "github.com/spf13/jwalterweatherman"))
1447 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1448 (home-page "https://github.com/spf13/jwalterweatherman")
1449 (synopsis "Go logging library")
1450 (description "Go logging library")
1451 (license license:expat)))
1453 (define-public go-github-com-spf13-pflag
1455 (name "go-github-com-spf13-pflag")
1461 (url "https://github.com/spf13/pflag")
1462 (commit (string-append "v" version))))
1463 (file-name (git-file-name name version))
1466 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
1467 (build-system go-build-system)
1469 '(#:import-path "github.com/spf13/pflag"))
1470 (home-page "https://github.com/spf13/pflag")
1471 (synopsis "Replacement for Go's @code{flag} package")
1473 "Pflag is library to replace Go's @code{flag} package. It implements
1474 POSIX/GNU-style command-line options with double hyphens. It is is compatible
1476 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
1477 GNU extensions} to the POSIX recommendations for command-line options.")
1478 (license license:bsd-3)))
1480 (define-public go-github-com-spf13-viper
1482 (name "go-github-com-spf13-viper")
1488 (url "https://github.com/spf13/viper")
1489 (commit (string-append "v" version))))
1490 (file-name (git-file-name name version))
1493 "099n2g7fg6r8hqyszqw2axr775qyhyvwhsykvgw0f0s16ql48h5c"))))
1494 (build-system go-build-system)
1496 '(#:import-path "github.com/spf13/viper"))
1498 `(("github.com/spf13/afero" ,go-github-com-spf13-afero)
1499 ("github.com/spf13/cast" ,go-github-com-spf13-cast)
1500 ("github.com/spf13/pflag" ,go-github-com-spf13-pflag)
1501 ("github.com/spf13/jwalterweatherman" ,go-github-com-spf13-jwalterweatherman)
1502 ("github.com/fsnotify/fsnotify" ,go-github-com-fsnotify-fsnotify)
1503 ("github.com/hashicorp/hcl" ,go-github-com-hashicorp-hcl)
1504 ("github.com/magiconair/properties" ,go-github-com-magiconair-properties)
1505 ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)
1506 ("github.com/pelletier/go-toml" ,go-github-com-pelletier-go-toml)
1507 ("github.com/subosito/gotenv" ,go-github-com-subosito-gotenv)
1509 ("gopkg.in/ini.v1" ,go-gopkg-in-ini-v1)
1510 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1512 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1513 (home-page "https://github.com/spf13/viper")
1514 (synopsis "Go configuration with fangs")
1516 "Viper is a complete configuration solution for Go applications including
1517 12-Factor apps. It is designed to work within an application, and can handle
1518 all types of configuration needs and formats.")
1519 (license license:expat)))
1521 (define-public go-github-com-fsnotify-fsnotify
1523 (name "go-github-com-fsnotify-fsnotify")
1529 (url "https://github.com/fsnotify/fsnotify")
1530 (commit (string-append "v" version))))
1531 (file-name (git-file-name name version))
1534 "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x"))))
1535 (build-system go-build-system)
1537 `(#:import-path "github.com/fsnotify/fsnotify"))
1539 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1540 (home-page "https://github.com/fsnotify/fsnotify")
1541 (synopsis "File system notifications for Go")
1542 (description "File system notifications for Go")
1543 (license license:bsd-3)))
1545 (define-public go-github-com-magiconair-properties
1547 (name "go-github-com-magiconair-properties")
1553 (url "https://github.com/magiconair/properties")
1554 (commit (string-append "v" version))))
1555 (file-name (git-file-name name version))
1558 "19zqw1x0w0crh8zc84yy82nkcc5yjz72gviaf2xjgfm5a8np7nyb"))))
1559 (build-system go-build-system)
1561 `(#:import-path "github.com/magiconair/properties"))
1562 (home-page "https://github.com/magiconair/properties")
1563 (synopsis "Java properties scanner for Go")
1564 (description "Java properties scanner for Go")
1565 (license license:bsd-2)))
1567 (define-public go-github-com-pelletier-go-toml
1569 (name "go-github-com-pelletier-go-toml")
1575 (url "https://github.com/pelletier/go-toml")
1576 (commit (string-append "v" version))))
1577 (file-name (git-file-name name version))
1580 "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y"))))
1581 (build-system go-build-system)
1583 `(#:import-path "github.com/pelletier/go-toml"))
1585 `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml)
1586 ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1587 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1588 (home-page "https://github.com/pelletier/go-toml")
1589 (synopsis "Go library for the TOML configuration language")
1590 (description "Go library for the TOML configuration language")
1591 (license license:expat)))
1593 (define-public go-github-com-subosito-gotenv
1595 (name "go-github-com-subosito-gotenv")
1601 (url "https://github.com/subosito/gotenv")
1602 (commit (string-append "v" version))))
1603 (file-name (git-file-name name version))
1606 "0mav91j7r4arjkpq5zcf9j74f6pww8ic53x43wy7kg3ibw31yjs5"))))
1607 (build-system go-build-system)
1609 `(#:import-path "github.com/subosito/gotenv"))
1611 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1612 (home-page "https://github.com/subosito/gotenv")
1613 (synopsis "Go library for loading environment variables from files")
1614 (description "Go library for loading environment variables from files")
1615 (license license:expat)))
1617 (define-public go-github-com-sirupsen-logrus
1619 (name "go-github-com-sirupsen-logrus")
1625 (url "https://github.com/sirupsen/logrus")
1626 (commit (string-append "v" version))))
1627 (file-name (git-file-name name version))
1630 "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz"))))
1631 (build-system go-build-system)
1633 `(("go-golang-org-x-crypto"
1634 ,go-golang-org-x-crypto)
1635 ("go-github-com-stretchr-testify"
1636 ,go-github-com-stretchr-testify)
1637 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1639 '(#:tests? #f ;FIXME missing dependencies
1640 #:import-path "github.com/sirupsen/logrus"))
1641 (home-page "https://github.com/sirupsen/logrus")
1642 (synopsis "Structured, pluggable logging for Go")
1643 (description "Logrus is a structured logger for Go, completely API
1644 compatible with the standard library logger.")
1645 (license license:expat)))
1647 (define-public go-github-com-rifflock-lfshook
1649 (name "go-github-com-rifflock-lfshook")
1654 (url "https://github.com/rifflock/lfshook")
1655 (commit (string-append "v" version))))
1656 (file-name (git-file-name name version))
1659 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
1660 (build-system go-build-system)
1662 `(#:import-path "github.com/rifflock/lfshook"))
1664 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
1665 (home-page "https://github.com/rifflock/lfshook")
1666 (synopsis "Local File System hook for Logrus logger")
1667 (description "This package provides a hook for Logrus to write directly to
1668 a file on the file system. The log levels are dynamic at instantiation of the
1669 hook, so it is capable of logging at some or all levels.")
1670 (license license:expat)))
1672 (define-public go-github-com-kardianos-osext
1673 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
1676 (name "go-github-com-kardianos-osext")
1677 (version (git-version "0.0.0" revision commit))
1681 (url "https://github.com/kardianos/osext")
1683 (file-name (git-file-name name version))
1686 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
1687 (build-system go-build-system)
1689 `(#:import-path "github.com/kardianos/osext"
1690 ;; The tests are flaky:
1691 ;; <https://github.com/kardianos/osext/issues/21>
1693 (synopsis "Find the running executable")
1694 (description "Osext provides a method for finding the current executable
1695 file that is running. This can be used for upgrading the current executable or
1696 finding resources located relative to the executable file.")
1697 (home-page "https://github.com/kardianos/osext")
1698 (license license:bsd-3))))
1700 (define-public go-github-com-ayufan-golang-kardianos-service
1701 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
1704 (name "go-github-com-ayufan-golang-kardianos-service")
1705 (version (git-version "0.0.0" revision commit))
1711 "https://github.com/ayufan/golang-kardianos-service.git")
1713 (file-name (git-file-name name version))
1716 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
1717 (build-system go-build-system)
1719 `(("go-github-com-kardianos-osext"
1720 ,go-github-com-kardianos-osext)))
1722 '(#:tests? #f ;FIXME tests fail: Service is not running.
1723 #:import-path "github.com/ayufan/golang-kardianos-service"))
1724 (home-page "https://github.com/ayufan/golang-kardianos-service")
1725 (synopsis "Go interface to a variety of service supervisors")
1726 (description "This package provides @code{service}, a Go module that can
1727 run programs as a service using a variety of supervisors, including systemd,
1728 SysVinit, and more.")
1729 (license license:zlib))))
1731 (define-public go-github-com-docker-distribution
1732 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
1735 (name "go-github-com-docker-distribution")
1736 (version (git-version "0.0.0" revision commit))
1738 ;; FIXME: This bundles many things, see
1739 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
1743 (url "https://github.com/docker/distribution")
1745 (file-name (git-file-name name version))
1748 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
1749 (build-system go-build-system)
1751 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
1752 ("go-github-com-sirupsen-logrus"
1753 ,go-github-com-sirupsen-logrus)
1754 ("go-golang-org-x-crypto"
1755 ,go-golang-org-x-crypto)))
1757 '(#:import-path "github.com/docker/distribution"
1759 (modify-phases %standard-phases
1760 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1761 (lambda* (#:key outputs #:allow-other-keys)
1763 (make-file-writable file))
1765 (assoc-ref outputs "out")
1769 "https://github.com/docker/distribution")
1770 (synopsis "This package is a Docker toolset to pack, ship, store, and
1772 (description "Docker Distribution is a Docker toolset to pack, ship,
1773 store, and deliver content. It contains Docker Registry 2.0 and libraries
1774 to interact with distribution components.")
1775 (license license:asl2.0))))
1777 (define-public go-github-com-docker-go-connections
1778 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
1781 (name "go-github-com-docker-go-connections")
1782 (version (git-version "0.0.0" revision commit))
1787 (url "https://github.com/docker/go-connections")
1789 (file-name (git-file-name name version))
1792 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
1793 (build-system go-build-system)
1795 '(#:import-path "github.com/docker/go-connections"))
1796 (home-page "https://github.com/docker/go-connections")
1797 (synopsis "Networking library for Go")
1799 "This package provides a library to work with network connections in
1800 the Go language. In particular it provides tools to deal with network address
1801 translation (NAT), proxies, sockets, and transport layer security (TLS).")
1802 (license license:asl2.0))))
1804 (define-public go-github-com-docker-machine
1805 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
1808 (name "go-github-com-docker-machine")
1809 (version (git-version "0.0.0" revision commit))
1814 (url "https://github.com/docker/machine")
1816 (file-name (git-file-name name version))
1819 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
1820 (build-system go-build-system)
1822 '(#:import-path "github.com/docker/machine"))
1823 (home-page "https://github.com/docker/machine")
1824 (synopsis "Machine management for a container-centric world")
1826 "@dfn{Machine} lets you create Docker hosts on your computer, on
1827 hosting providers, and inside your data center. It creates servers, installs
1828 Docker on them, then configures the Docker client to talk to them.")
1829 (license license:asl2.0))))
1831 (define-public go-github-com-gorhill-cronexpr
1832 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
1835 (name "go-github-com-gorhill-cronexpr")
1836 (version (git-version "0.0.0" revision commit))
1841 (url "https://github.com/gorhill/cronexpr")
1843 (file-name (git-file-name name version))
1846 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
1847 (build-system go-build-system)
1849 '(#:import-path "github.com/gorhill/cronexpr"))
1850 (home-page "https://github.com/gorhill/cronexpr")
1851 (synopsis "Cron expression parser in the Go language")
1853 "This package provides a cron expression parser in the Go language.
1854 Given a cron expression and a time stamp, you can get the next time stamp
1855 which satisfies the cron expression.")
1856 (license (list license:gpl3+
1859 (define-public go-gopkg-in-check-v1
1860 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
1863 (name "go-gopkg-in-check-v1")
1864 (version (git-version "1.0.0" revision commit))
1869 (url "https://github.com/go-check/check")
1871 (file-name (git-file-name name version))
1874 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
1875 (build-system go-build-system)
1877 '(#:import-path "gopkg.in/check.v1"))
1879 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
1880 (home-page "https://gopkg.in/check.v1")
1881 (synopsis "Test framework for the Go language")
1882 (description "This package provides a test library for the Go language.")
1883 (license license:asl2.0))))
1885 (define-public go-gopkg-in-ini-v1
1887 (name "go-gopkg-in-ini-v1")
1893 (url "https://github.com/go-ini/ini")
1894 (commit (string-append "v" version))))
1895 (file-name (git-file-name name version))
1898 "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5"))))
1899 (build-system go-build-system)
1901 '(#:import-path "gopkg.in/ini.v1"
1902 ;; Requires large unpackaged test framework
1904 (home-page "https://gopkg.in/ini.v1")
1905 (synopsis "Go library for ini files")
1906 (description "Go library for ini files")
1907 (license license:asl2.0)))
1909 (define-public go-gopkg-in-yaml-v2
1911 (name "go-gopkg-in-yaml-v2")
1917 (url "https://gopkg.in/yaml.v2.git")
1918 (commit (string-append "v" version))))
1919 (file-name (git-file-name name version))
1922 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
1923 (build-system go-build-system)
1925 '(#:import-path "gopkg.in/yaml.v2"))
1927 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
1928 (home-page "https://gopkg.in/yaml.v2")
1929 (synopsis "YAML reader and writer for the Go language")
1931 "This package provides a Go library for encode and decode YAML
1933 (license license:asl2.0)))
1935 (define-public go-github-com-mattn-go-isatty
1937 (name "go-github-com-mattn-go-isatty")
1943 (url "https://github.com/mattn/go-isatty")
1944 (commit (string-append "v" version))))
1945 (file-name (git-file-name name version))
1948 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
1949 (build-system go-build-system)
1951 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1953 '(#:import-path "github.com/mattn/go-isatty"))
1954 (home-page "https://github.com/mattn/go-isatty")
1955 (synopsis "Provide @code{isatty} for Golang")
1956 (description "This package provides @code{isatty}, a Go module that can
1957 tell you whether a file descriptor points to a terminal and the type of the
1959 (license license:expat)))
1961 (define-public go-github-com-mattn-go-colorable
1962 (let ((commit "efa589957cd060542a26d2dd7832fd6a6c6c3ade")
1965 (name "go-github-com-mattn-go-colorable")
1966 (version (git-version "0.0.0" revision commit))
1971 (url "https://github.com/mattn/go-colorable")
1973 (file-name (git-file-name name version))
1976 "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r"))))
1977 (build-system go-build-system)
1979 `(("go-github-com-mattn-go-isatty"
1980 ,go-github-com-mattn-go-isatty)))
1982 '(#:import-path "github.com/mattn/go-colorable"))
1983 (home-page "https://github.com/mattn/go-colorable")
1984 (synopsis "Handle ANSI color escapes on Windows")
1985 (description "This package provides @code{colorable}, a module that
1986 makes it possible to handle ANSI color escapes on Windows.")
1987 (license license:expat))))
1989 (define-public go-github-com-mattn-go-pointer
1990 (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
1993 (name "go-github-com-mattn-go-pointer")
1994 (version (git-version "0.0.0" revision commit))
1999 (url "https://github.com/mattn/go-pointer")
2003 "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
2004 (file-name (git-file-name name version))))
2005 (build-system go-build-system)
2007 '(#:import-path "github.com/mattn/go-pointer"))
2008 (home-page "https://github.com/mattn/go-pointer")
2009 (synopsis "Utility for cgo")
2011 "This package allows for a cgo argument to be passed a Go pointer.")
2012 (license license:expat))))
2014 (define-public go-github-com-mgutz-ansi
2015 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
2018 (name "go-github-com-mgutz-ansi")
2019 (version (git-version "0.0.0" revision commit))
2025 "https://github.com/mgutz/ansi")
2027 (file-name (git-file-name name version))
2030 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
2031 (build-system go-build-system)
2033 `(("go-github-com-mattn-go-isatty"
2034 ,go-github-com-mattn-go-isatty)
2035 ("go-github-com-mattn-go-colorable"
2036 ,go-github-com-mattn-go-colorable)))
2038 '(#:import-path "github.com/mgutz/ansi"))
2039 (home-page "https://github.com/mgutz/ansi")
2040 (synopsis "Small, fast library to create ANSI colored strings and codes")
2041 (description "This package provides @code{ansi}, a Go module that can
2042 generate ANSI colored strings.")
2043 (license license:expat))))
2045 (define-public go-github-com-aarzilli-golua
2046 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
2049 (name "go-github-com-aarzilli-golua")
2050 (version (git-version "0.0.0" revision commit))
2056 "https://github.com/aarzilli/golua")
2058 (file-name (git-file-name name version))
2061 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
2062 (build-system go-build-system)
2063 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2064 ;; when this package required as input for another one, it will have to
2065 ;; be built again. Thus its CGO requirements must be made available in
2066 ;; the environment, that is, they must be propagated.
2070 `(#:unpack-path "github.com/aarzilli/golua"
2071 #:import-path "github.com/aarzilli/golua/lua"
2073 (modify-phases %standard-phases
2074 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
2075 ;; command line argument, go-1.10+ does not re-use the produced pkg
2076 ;; for dependencies, which means we would need to propagate the
2077 ;; same "-tags" argument to all golua referrers. A substitution is
2078 ;; more convenient here. We also need to propagate the lua
2079 ;; dependency to make it available to referrers.
2080 (add-after 'unpack 'fix-lua-ldflags
2082 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
2083 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
2084 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
2085 (home-page "https://github.com/aarzilli/golua")
2086 (synopsis "Go Bindings for the Lua C API")
2087 (description "This package provides @code{lua}, a Go module that can
2088 run a Lua virtual machine.")
2089 (license license:expat))))
2091 (define-public go-gitlab-com-ambrevar-golua-unicode
2092 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
2095 (name "go-gitlab-com-ambrevar-golua-unicode")
2096 (version (git-version "0.0.0" revision commit))
2102 "https://gitlab.com/ambrevar/golua")
2104 (file-name (git-file-name name version))
2107 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
2108 (build-system go-build-system)
2111 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2113 `(#:unpack-path "gitlab.com/ambrevar/golua"
2114 #:import-path "gitlab.com/ambrevar/golua/unicode"
2116 (modify-phases %standard-phases
2118 (lambda* (#:key import-path #:allow-other-keys)
2119 (setenv "USER" "homeless-dude")
2120 (invoke "go" "test" import-path))))))
2121 (home-page "https://gitlab.com/ambrevar/golua")
2122 (synopsis "Add Unicode support to Golua")
2123 (description "This extension to Arzilli's Golua adds Unicode support to
2124 all functions from the Lua string library. Lua patterns are replaced by Go
2125 regexps. This breaks compatibility with Lua, but Unicode support breaks it
2126 anyways and Go regexps are more powerful.")
2127 (license license:expat))))
2129 (define-public go-github-com-yookoala-realpath
2130 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
2133 (name "go-github-com-yookoala-realpath")
2134 (version (git-version "0.0.0" revision commit))
2140 "https://github.com/yookoala/realpath")
2142 (file-name (git-file-name name version))
2145 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
2146 (build-system go-build-system)
2148 `(#:import-path "github.com/yookoala/realpath"))
2149 (home-page "https://github.com/yookoala/realpath")
2150 (synopsis "@code{realpath} for Golang")
2151 (description "This package provides @code{realpath}, a Go module that
2152 when provided with a valid relative path / alias path, it will return you with
2153 a string of its real absolute path in the system.")
2154 (license license:expat))))
2156 (define-public go-gitlab-com-ambrevar-damerau
2157 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
2160 (name "go-gitlab-com-ambrevar-damerau")
2161 (version (git-version "0.0.0" revision commit))
2167 "https://gitlab.com/ambrevar/damerau")
2169 (file-name (git-file-name name version))
2172 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
2173 (build-system go-build-system)
2175 `(#:import-path "gitlab.com/ambrevar/damerau"))
2176 (home-page "https://gitlab.com/ambrevar/damerau")
2177 (synopsis "Damerau-Levenshtein distance for Golang")
2178 (description "This is a spelling corrector implementing the
2179 Damerau-Levenshtein distance. Takes a string value input from the user.
2180 Looks for an identical word on a list of words, if none is found, look for a
2182 (license license:expat))))
2184 (define-public go-github-com-stevedonovan-luar
2185 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
2188 (name "go-github-com-stevedonovan-luar")
2189 (version (git-version "0.0.0" revision commit))
2195 "https://github.com/stevedonovan/luar")
2197 (file-name (git-file-name name version))
2200 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
2201 (build-system go-build-system)
2203 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2205 `(#:tests? #f ; Upstream tests are broken.
2206 #:import-path "github.com/stevedonovan/luar"))
2207 (home-page "https://github.com/stevedonovan/luar")
2208 (synopsis "Lua reflection bindings for Go")
2209 (description "Luar is designed to make using Lua from Go more
2210 convenient. Go structs, slices and maps can be automatically converted to Lua
2211 tables and vice-versa. The resulting conversion can either be a copy or a
2212 proxy. In the latter case, any change made to the result will reflect on the
2215 Any Go function can be made available to Lua scripts, without having to write
2218 Luar support cyclic structures (lists, etc.).
2220 User-defined types can be made available to Lua as well: their exported
2221 methods can be called and usual operations such as indexing or arithmetic can
2223 (license license:expat))))
2225 (define-public go-github-com-michiwend-golang-pretty
2226 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
2229 (name "go-github-com-michiwend-golang-pretty")
2230 (version (git-version "0.0.0" revision commit))
2236 "https://github.com/michiwend/golang-pretty")
2238 (file-name (git-file-name name version))
2241 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
2242 (build-system go-build-system)
2244 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
2246 `(#:tests? #f ; Upstream tests seem to be broken.
2247 #:import-path "github.com/michiwend/golang-pretty"))
2248 (home-page "https://github.com/michiwend/golang-pretty")
2249 (synopsis "Pretty printing for Go values")
2250 (description "Package @code{pretty} provides pretty-printing for Go
2251 values. This is useful during debugging, to avoid wrapping long output lines
2254 It provides a function, @code{Formatter}, that can be used with any function
2255 that accepts a format string. It also provides convenience wrappers for
2256 functions in packages @code{fmt} and @code{log}.")
2257 (license license:expat))))
2259 (define-public go-github-com-michiwend-gomusicbrainz
2260 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
2263 (name "go-github-com-michiwend-gomusicbrainz")
2264 (version (git-version "0.0.0" revision commit))
2270 "https://github.com/michiwend/gomusicbrainz")
2272 (file-name (git-file-name name version))
2275 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
2276 (build-system go-build-system)
2278 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
2279 ("go-github-com-kr-text" ,go-github-com-kr-text)))
2281 `(#:import-path "github.com/michiwend/gomusicbrainz"))
2282 (home-page "https://github.com/michiwend/gomusicbrainz")
2283 (synopsis "MusicBrainz WS2 client library for Golang")
2284 (description "Currently GoMusicBrainz provides methods to perform search
2285 and lookup requests. Browse requests are not supported yet.")
2286 (license license:expat))))
2288 (define-public go-github-com-wtolson-go-taglib
2289 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
2292 (name "go-github-com-wtolson-go-taglib")
2293 (version (git-version "0.0.0" revision commit))
2299 "https://github.com/wtolson/go-taglib")
2301 (file-name (git-file-name name version))
2304 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
2305 (build-system go-build-system)
2306 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2307 ;; when this package required as input for another one, it will have to
2308 ;; be built again. Thus its CGO requirements must be made available in
2309 ;; the environment, that is, they must be propagated.
2311 `(("pkg-config" ,pkg-config)
2312 ("taglib" ,taglib)))
2314 `(#:import-path "github.com/wtolson/go-taglib"
2315 ;; Tests don't pass "vet" on Go since 1.11. See
2316 ;; https://github.com/wtolson/go-taglib/issues/12.
2318 (modify-phases %standard-phases
2320 (lambda* (#:key import-path #:allow-other-keys)
2324 (home-page "https://github.com/wtolson/go-taglib")
2325 (synopsis "Go wrapper for taglib")
2326 (description "Go wrapper for taglib")
2327 (license license:unlicense))))
2329 (define-public go-github-com-gogo-protobuf
2331 (name "go-github-com-gogo-protobuf")
2336 (url "https://github.com/gogo/protobuf")
2337 (commit (string-append "v" version))))
2338 (file-name (git-file-name name version))
2341 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
2342 (build-system go-build-system)
2344 `(#:import-path "github.com/gogo/protobuf"
2345 ; Source-only package
2348 (modify-phases %standard-phases
2350 (synopsis "Protocol Buffers for Go with Gadgets")
2351 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
2352 generation features. This code generation is used to achieve:
2354 @item fast marshalling and unmarshalling
2355 @item more canonical Go structures
2356 @item goprotobuf compatibility
2357 @item less typing by optionally generating extra helper code
2358 @item peace of mind by optionally generating test and benchmark code
2359 @item other serialization formats
2361 (home-page "https://github.com/gogo/protobuf")
2362 (license license:bsd-3)))
2364 (define-public go-github-com-libp2p-go-flow-metrics
2365 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
2368 (name "go-github-com-libp2p-go-flow-metrics")
2369 (version (git-version "0.2.0" revision commit))
2374 (url "https://github.com/libp2p/go-flow-metrics")
2376 (file-name (git-file-name name version))
2379 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
2380 (build-system go-build-system)
2382 `(#:import-path "github.com/libp2p/go-flow-metrics"
2383 ;; TODO: Tests hang.
2386 "https://github.com/libp2p/go-flow-metrics")
2387 (synopsis "Simple library for tracking flow metrics")
2388 (description "A simple alternative to rcrowley's @command{go-metrics}
2389 that's a lot faster (and only does simple bandwidth metrics).")
2390 (license license:expat))))
2392 (define-public go-github-com-davecgh-go-spew
2394 (name "go-github-com-davecgh-go-spew")
2400 (url "https://github.com/davecgh/go-spew")
2401 (commit (string-append "v" version))))
2402 (file-name (git-file-name name version))
2405 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
2406 (build-system go-build-system)
2408 '(#:unpack-path "github.com/davecgh/go-spew"
2409 #:import-path "github.com/davecgh/go-spew/spew"))
2410 (home-page "https://github.com/davecgh/go-spew")
2411 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
2412 (description "Package @command{spew} implements a deep pretty printer
2413 for Go data structures to aid in debugging.
2415 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
2418 @item Pointers are dereferenced and followed.
2419 @item Circular data structures are detected and handled properly.
2420 @item Custom Stringer/error interfaces are optionally invoked, including on
2422 @item Custom types which only implement the Stringer/error interfaces via a
2423 pointer receiver are optionally invoked when passing non-pointer variables.
2424 @item Byte arrays and slices are dumped like the hexdump -C command which
2425 includes offsets, byte values in hex, and ASCII output (only when using Dump
2428 (license license:isc)))
2430 (define-public go-github-com-btcsuite-btclog
2431 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
2434 (name "go-github-com-btcsuite-btclog")
2435 (version (git-version "0.0.3" revision commit))
2440 (url "https://github.com/btcsuite/btclog")
2442 (file-name (git-file-name name version))
2445 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
2446 (build-system go-build-system)
2448 '(#:import-path "github.com/btcsuite/btclog"))
2449 (home-page "https://github.com/btcsuite/btclog")
2450 (synopsis "Subsystem aware logger for Go")
2451 (description "Package @command{btclog} defines a logger interface and
2452 provides a default implementation of a subsystem-aware leveled logger
2453 implementing the same interface.")
2454 (license license:isc))))
2456 (define-public go-github-com-btcsuite-btcd-btcec
2457 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
2460 (name "go-github-com-btcsuite-btcd-btcec")
2461 (version (git-version "0.12.0-beta" revision commit))
2466 (url "https://github.com/btcsuite/btcd")
2468 (file-name (git-file-name name version))
2471 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
2472 (build-system go-build-system)
2474 '(#:unpack-path "github.com/btcsuite/btcd"
2475 #:import-path "github.com/btcsuite/btcd/btcec"))
2477 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
2478 (home-page "https://github.com/btcsuite/btcd")
2479 (synopsis "Elliptic curve cryptography to work with Bitcoin")
2480 (description "Package @command{btcec} implements elliptic curve
2481 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
2482 designed so that it may be used with the standard crypto/ecdsa packages
2483 provided with Go. A comprehensive suite of test is provided to ensure proper
2484 functionality. Package @command{btcec} was originally based on work from
2485 ThePiachu which is licensed under the same terms as Go, but it has
2486 significantly diverged since then. The @command{btcsuite} developers original
2487 is licensed under the liberal ISC license.
2489 Although this package was primarily written for btcd, it has intentionally
2490 been designed so it can be used as a standalone package for any projects
2491 needing to use secp256k1 elliptic curve cryptography.")
2492 (license license:isc))))
2494 (define-public go-github-com-minio-sha256-simd
2496 (name "go-github-com-minio-sha256-simd")
2502 (url "https://github.com/minio/sha256-simd")
2503 (commit (string-append "v" version))))
2504 (file-name (git-file-name name version))
2507 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
2508 (build-system go-build-system)
2510 '(#:import-path "github.com/minio/sha256-simd"))
2511 (home-page "https://github.com/minio/sha256-simd")
2512 (synopsis "Accelerate SHA256 computations in pure Go")
2513 (description "Accelerate SHA256 computations in pure Go using AVX512 and
2514 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
2515 improvement (over 3 GB/s per core) in comparison to AVX2.
2517 This package is designed as a replacement for @command{crypto/sha256}. For
2518 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
2519 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
2520 of the SHA2 instructions resulting in a massive performance improvement.
2522 This package uses Golang assembly. The AVX512 version is based on the Intel's
2523 \"multi-buffer crypto library for IPSec\" whereas the other Intel
2524 implementations are described in \"Fast SHA-256 Implementations on Intel
2525 Architecture Processors\" by J. Guilford et al.")
2526 (license license:asl2.0)))
2528 (define-public go-github-com-libp2p-go-libp2p-crypto
2529 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
2532 (name "go-github-com-libp2p-go-libp2p-crypto")
2533 (version (git-version "2.0.1" revision commit))
2538 (url "https://github.com/libp2p/go-libp2p-crypto")
2540 (file-name (git-file-name name version))
2543 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
2544 (build-system go-build-system)
2546 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
2548 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2549 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2550 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2551 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
2553 "https://github.com/libp2p/go-libp2p-crypto")
2554 (synopsis "Various cryptographic utilities used by IPFS")
2555 (description "Various cryptographic utilities used by IPFS")
2556 (license license:expat))))
2558 (define-public go-github-com-mr-tron-base58
2559 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
2562 (name "go-github-com-mr-tron-base58")
2563 (version (git-version "1.1.0" revision commit))
2568 (url "https://github.com/mr-tron/base58")
2570 (file-name (git-file-name name version))
2573 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
2574 (build-system go-build-system)
2576 `(#:unpack-path "github.com/mr-tron/base58"
2577 #:import-path "github.com/mr-tron/base58/base58"))
2578 (home-page "https://github.com/mr-tron/base58")
2579 (synopsis "Fast implementation of base58 encoding on Golang")
2580 (description "Fast implementation of base58 encoding on Golang. A
2581 trivial @command{big.Int} encoding benchmark results in 6 times faster
2582 encoding and 8 times faster decoding.")
2583 (license license:expat))))
2585 (define-public go-github-com-gxed-hashland-keccakpg
2586 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
2589 (name "go-github-com-gxed-hashland-keccakpg")
2590 (version (git-version "0.0.0" revision commit))
2595 (url "https://github.com/gxed/hashland")
2597 (file-name (git-file-name name version))
2600 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
2601 (build-system go-build-system)
2603 '(#:unpack-path "github.com/gxed/hashland"
2604 #:import-path "github.com/gxed/hashland/keccakpg"))
2605 (home-page "https://github.com/gxed/hashland")
2606 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
2607 (description "Package @command{keccak} implements the Keccak (SHA-3)
2608 hash algorithm. See http://keccak.noekeon.org.")
2609 (license license:expat))))
2611 (define-public go-github-com-minio-blake2b-simd
2612 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
2615 (name "go-github-com-minio-blake2b-simd")
2616 (version (git-version "0.0.0" revision commit))
2621 (url "https://github.com/minio/blake2b-simd")
2623 (file-name (git-file-name name version))
2626 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
2627 (build-system go-build-system)
2629 '(#:import-path "github.com/minio/blake2b-simd"))
2630 (home-page "https://github.com/minio/blake2b-simd")
2631 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
2632 (description "This package was initially based on the pure go BLAKE2b
2633 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
2634 optimized BLAKE2 implementation (which in turn is based on the official
2635 implementation. It does so by using Go's Assembler for amd64 architectures
2636 with a golang only fallback for other architectures.
2638 In addition to AVX there is also support for AVX2 as well as SSE. Best
2639 performance is obtained with AVX2 which gives roughly a 4X performance
2640 increase approaching hashing speeds of 1GB/sec on a single core.")
2641 (license license:asl2.0))))
2643 (define-public go-github-com-spaolacci-murmur3
2645 (name "go-github-com-spaolacci-murmur3")
2651 (url "https://github.com/spaolacci/murmur3")
2652 (commit (string-append "v" version))))
2653 (file-name (git-file-name name version))
2656 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
2657 (build-system go-build-system)
2659 '(#:import-path "github.com/spaolacci/murmur3"))
2660 (home-page "https://github.com/spaolacci/murmur3")
2661 (synopsis "Native MurmurHash3 Go implementation")
2662 (description "Native Go implementation of Austin Appleby's third MurmurHash
2663 revision (aka MurmurHash3).
2665 Reference algorithm has been slightly hacked as to support the streaming mode
2666 required by Go's standard Hash interface.")
2667 (license license:bsd-3)))
2669 (define-public go-github-com-twmb-murmur3
2671 (name "go-github-com-twmb-murmur3")
2677 (url "https://github.com/twmb/murmur3")
2678 (commit (string-append "v" version))))
2679 (file-name (git-file-name name version))
2682 "00riapwkyf23l5wyis47mbr8rwr4yrjw491jfc30wpzs111c1gyy"))))
2683 (build-system go-build-system)
2685 '(#:import-path "github.com/twmb/murmur3"))
2686 (home-page "https://github.com/twmb/murmur3")
2687 (synopsis "Native MurmurHash3 Go implementation")
2688 (description "Native Go implementation of Austin Appleby's third
2689 MurmurHash revision (aka MurmurHash3).
2691 Reference algorithm has been slightly hacked as to support the streaming mode
2692 required by Go's standard Hash interface.")
2693 (license license:bsd-3)))
2695 (define-public go-github-com-multiformats-go-multihash
2696 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
2699 (name "go-github-com-multiformats-go-multihash")
2700 (version (git-version "1.0.8" revision commit))
2705 (url "https://github.com/multiformats/go-multihash")
2707 (file-name (git-file-name name version))
2710 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
2711 (build-system go-build-system)
2713 '(#:import-path "github.com/multiformats/go-multihash"))
2715 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2716 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2717 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2718 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2719 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2720 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2721 (home-page "https://github.com/multiformats/go-multihash")
2722 (synopsis "Multihash implementation in Go")
2723 (description "Multihash implementation in Go.")
2724 (license license:expat))))
2726 (define-public go-github-com-libp2p-go-libp2p-peer
2727 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
2730 (name "go-github-com-libp2p-go-libp2p-peer")
2731 (version (git-version "2.3.8" revision commit))
2736 (url "https://github.com/libp2p/go-libp2p-peer")
2738 (file-name (git-file-name name version))
2741 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
2742 (build-system go-build-system)
2744 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
2746 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2747 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2748 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2749 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2750 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2751 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2752 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2753 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2754 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2755 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2756 (home-page "https://github.com/libp2p/go-libp2p-peer")
2757 (synopsis "PKI based identities for use in go-libp2p")
2758 (description "PKI based identities for use in @command{go-libp2p}.")
2759 (license license:expat))))
2761 (define-public go-github-com-libp2p-go-libp2p-protocol
2762 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
2765 (name "go-github-com-libp2p-go-libp2p-protocol")
2766 (version (git-version "1.0.0" revision commit))
2771 (url "https://github.com/libp2p/go-libp2p-protocol")
2773 (file-name (git-file-name name version))
2776 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
2777 (build-system go-build-system)
2780 "github.com/libp2p/go-libp2p-protocol"))
2781 (home-page "https://github.com/libp2p/go-libp2p-protocol")
2782 (synopsis "Type for protocol strings in Golang")
2783 (description "Just a type for protocol strings. Nothing more.")
2784 (license license:expat))))
2786 (define-public go-github-com-libp2p-go-libp2p-metrics
2787 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
2790 (name "go-github-com-libp2p-go-libp2p-metrics")
2791 (version (git-version "2.1.6" revision commit))
2796 (url "https://github.com/libp2p/go-libp2p-metrics")
2798 (file-name (git-file-name name version))
2801 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
2802 (build-system go-build-system)
2804 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
2806 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
2807 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
2808 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
2809 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2810 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2811 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2812 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2813 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2814 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2815 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2816 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2817 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2818 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2819 (home-page "https://github.com/libp2p/go-libp2p-metrics")
2820 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
2821 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
2822 statistics for wrapped connections.")
2823 (license license:expat))))
2825 (define-public go-github-com-mitchellh-go-homedir
2826 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
2829 (name "go-github-com-mitchellh-go-homedir")
2830 (version (git-version "1.0.0" revision commit))
2835 (url "https://github.com/mitchellh/go-homedir")
2837 (file-name (git-file-name name version))
2840 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
2841 (build-system go-build-system)
2843 (quote (#:import-path "github.com/mitchellh/go-homedir"
2844 ;; TODO: Tests fail because it tries to access home.
2846 (home-page "https://github.com/mitchellh/go-homedir")
2847 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
2848 (description "This is a Go library for detecting the user's home
2849 directory without the use of @command{cgo}, so the library can be used in
2850 cross-compilation environments.
2852 Usage is simple, just call homedir.Dir() to get the home directory for a user,
2853 and homedir.Expand() to expand the @command{~} in a path to the home
2856 Why not just use @command{os/user}? The built-in @command{os/user} package
2857 requires cgo on Darwin systems. This means that any Go code that uses that
2858 package cannot cross compile. But 99% of the time the use for
2859 @command{os/user} is just to retrieve the home directory, which we can do for
2860 the current user without cgo. This library does that, enabling
2861 cross-compilation.")
2862 (license license:expat))))
2864 (define-public go-github-com-mitchellh-mapstructure
2866 (name "go-github-com-mitchellh-mapstructure")
2867 (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0
2872 (url "https://github.com/mitchellh/mapstructure")
2873 (commit (string-append "v" version))))
2874 (file-name (git-file-name name version))
2877 "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"))))
2878 (build-system go-build-system)
2880 `(#:import-path "github.com/mitchellh/mapstructure"))
2881 (home-page "https://github.com/mitchellh/mapstructure")
2882 (synopsis "Go library for decoding generic map values")
2883 (description "Go library for decoding generic map values")
2884 (license license:expat)))
2886 (define-public go-github-com-mitchellh-reflectwalk
2888 (name "go-github-com-mitchellh-reflectwalk")
2893 (url "https://github.com/mitchellh/reflectwalk")
2894 (commit (string-append "v" version))))
2895 (file-name (git-file-name name version))
2898 "0pa6a3nhzwv5s5yqcmsmsfhdp5ggxsg2wa86f3akawxrhrkjarnx"))))
2899 (build-system go-build-system)
2901 `(#:import-path "github.com/mitchellh/reflectwalk"))
2902 (home-page "https://github.com/mitchellh/reflectwalk/")
2903 (synopsis "Walk a value in Go using reflection")
2904 (description "reflectwalk is a Go library for \"walking\" a value in Go
2905 using reflection, in the same way a directory tree can be \"walked\" on the
2906 file system. Walking a complex structure can allow you to do manipulations on
2907 unknown structures such as those decoded from JSON.")
2908 (license license:expat)))
2910 (define-public go-github-com-mitchellh-copystructure
2912 (name "go-github-com-mitchellh-copystructure")
2918 (url "https://github.com/mitchellh/copystructure")
2919 (commit (string-append "v" version))))
2920 (file-name (git-file-name name version))
2923 "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
2924 (build-system go-build-system)
2926 `(#:import-path "github.com/mitchellh/copystructure"))
2928 `(("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)))
2929 (home-page "https://github.com/mitchellh/copystructure")
2930 (synopsis "Go library for decoding deep copying values")
2931 (description "@code{copystructure} is a Go library for deep copying values
2934 This allows you to copy Go values that may contain reference values such as
2935 maps, slices, or pointers, and copy their data as well instead of just their
2937 (license license:expat)))
2939 (define-public go-github-com-multiformats-go-multiaddr
2940 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
2943 (name "go-github-com-multiformats-go-multiaddr")
2944 (version (git-version "1.3.0" revision commit))
2949 (url "https://github.com/multiformats/go-multiaddr")
2951 (file-name (git-file-name name version))
2954 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
2955 (build-system go-build-system)
2958 "github.com/multiformats/go-multiaddr"))
2960 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2961 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2962 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2963 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2964 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2965 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2966 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2967 (home-page "https://github.com/multiformats/go-multiaddr")
2968 (synopsis "Composable and future-proof network addresses")
2969 (description "Multiaddr is a standard way to represent addresses that
2973 @item Support any standard network protocols.
2974 @item Self-describe (include protocols).
2975 @item Have a binary packed format.
2976 @item Have a nice string representation.
2977 @item Encapsulate well.
2979 (license license:expat))))
2981 (define-public go-github-com-multiformats-go-multiaddr-net
2982 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
2985 (name "go-github-com-multiformats-go-multiaddr-net")
2986 (version (git-version "1.6.3" revision commit))
2991 (url "https://github.com/multiformats/go-multiaddr-net")
2993 (file-name (git-file-name name version))
2996 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
2997 (build-system go-build-system)
2999 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
3000 ;; TODO: Tests fail because they try to access the network.
3003 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
3004 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
3005 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3006 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3007 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3008 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3009 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3010 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3011 (home-page "https://github.com/multiformats/go-multiaddr-net")
3012 (synopsis "Multiaddress net tools")
3013 (description "This package provides Multiaddr specific versions of
3014 common functions in stdlib's @command{net} package. This means wrappers of
3015 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
3016 as conversion to and from @command{net.Addr}.")
3017 (license license:expat))))
3019 (define-public go-github-com-whyrusleeping-tar-utils
3020 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
3023 (name "go-github-com-whyrusleeping-tar-utils")
3024 (version (git-version "0.0.0" revision commit))
3029 (url "https://github.com/whyrusleeping/tar-utils")
3031 (file-name (git-file-name name version))
3034 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
3035 (build-system go-build-system)
3038 "github.com/whyrusleeping/tar-utils"))
3039 (home-page "https://github.com/whyrusleeping/tar-utils")
3040 (synopsis "Tar utilities extracted from go-ipfs codebase")
3041 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
3042 (license license:expat))))
3044 (define-public go-github-com-cheekybits-is
3045 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
3048 (name "go-github-com-cheekybits-is")
3049 (version (git-version "0.0.0" revision commit))
3054 (url "https://github.com/cheekybits/is")
3056 (file-name (git-file-name name version))
3059 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
3060 (build-system go-build-system)
3062 '(#:import-path "github.com/cheekybits/is"))
3063 (home-page "https://github.com/cheekybits/is")
3064 (synopsis "Mini testing helper for Go")
3065 (description "A mini testing helper for Go.
3068 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
3069 @item It plugs into existing Go toolchain (uses @command{testing.T}).
3070 @item It's obvious for newcomers.
3071 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
3072 - because testing panics is ugly.
3074 (license license:expat))))
3076 (define-public go-github-com-sabhiram-go-gitignore
3077 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
3080 (name "go-github-com-sabhiram-go-gitignore")
3081 (version (git-version "1.0.2" revision commit))
3086 (url "https://github.com/sabhiram/go-gitignore")
3088 (file-name (git-file-name name version))
3091 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
3092 (build-system go-build-system)
3095 "github.com/sabhiram/go-gitignore"))
3097 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3098 (home-page "https://github.com/sabhiram/go-gitignore")
3099 (synopsis "Gitignore parser for Go")
3100 (description "A @command{.gitignore} parser for Go.")
3101 (license license:expat))))
3103 (define-public go-github-com-urfave-cli
3105 (name "go-github-com-urfave-cli")
3111 (url "https://github.com/urfave/cli")
3112 (commit (string-append "v" version))))
3113 (file-name (git-file-name name version))
3116 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
3117 (build-system go-build-system)
3119 '(#:import-path "github.com/urfave/cli"))
3121 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
3122 (home-page "https://github.com/urfave/cli")
3123 (synopsis "Simple, fast, and fun package for building command line apps in Go")
3124 (description "@command{cli} is a simple, fast, and fun package for
3125 building command line apps in Go. The goal is to enable developers to write
3126 fast and distributable command line applications in an expressive way.")
3127 (license license:expat)))
3129 (define-public go-github-com-go-md2man
3131 (name "go-github-com-go-md2man")
3137 (url "https://github.com/cpuguy83/go-md2man")
3138 (commit (string-append "v" version))))
3139 (file-name (git-file-name name version))
3142 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
3143 (modules '((guix build utils)))
3145 (delete-file-recursively "vendor")
3147 (build-system go-build-system)
3149 '(#:import-path "github.com/cpuguy83/go-md2man"))
3151 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
3152 (home-page "https://github.com/cpuguy83/go-md2man")
3153 (synopsis "Convert markdown into roff")
3154 (description "Go-md2man is a Go program that converts markdown to roff for
3155 the purpose of building man pages.")
3156 (license license:expat)))
3158 (define-public go-github-com-russross-blackfriday
3160 (name "go-github-com-russross-blackfriday")
3166 (url "https://github.com/russross/blackfriday")
3167 (commit (string-append "v" version))))
3168 (file-name (git-file-name name version))
3171 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
3172 (build-system go-build-system)
3174 '(#:import-path "github.com/russross/blackfriday"))
3176 `(("go-github-com-shurcool-sanitized-anchor-name"
3177 ,go-github-com-shurcool-sanitized-anchor-name)))
3179 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
3180 (home-page "https://github.com/russross/blackfriday")
3181 (synopsis "Markdown processor in Go")
3182 (description "Blackfriday is a Markdown processor in Go.")
3183 (license license:bsd-2)))
3185 (define-public go-github-com-shurcool-sanitized-anchor-name
3187 (name "go-github-com-shurcool-sanitized-anchor-name")
3193 (url "https://github.com/shurcooL/sanitized_anchor_name")
3194 (commit (string-append "v" version))))
3195 (file-name (git-file-name name version))
3198 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
3199 (build-system go-build-system)
3201 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
3202 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
3203 (synopsis "Create sanitized anchor names")
3204 (description "This package provides a Go program for creating sanitized
3206 (license license:expat)))
3208 (define-public go-github-com-pmezard-go-difflib
3210 (name "go-github-com-pmezard-go-difflib")
3215 (url "https://github.com/pmezard/go-difflib")
3216 (commit (string-append "v" version))))
3217 (file-name (git-file-name name version))
3220 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
3221 (build-system go-build-system)
3223 '(#:import-path "github.com/pmezard/go-difflib/difflib"
3224 #:unpack-path "github.com/pmezard/go-difflib/"))
3225 (home-page "https://github.com/pmezard/go-difflib")
3226 (synopsis "Go diff implementation")
3227 (description "This package provides unified and context-aware diffs in Go.")
3228 (license license:bsd-3)))
3230 (define-public go-github-com-whyrusleeping-json-filter
3231 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
3234 (name "go-github-com-whyrusleeping-json-filter")
3235 (version (git-version "0.0.0" revision commit))
3240 (url "https://github.com/whyrusleeping/json-filter")
3242 (file-name (git-file-name name version))
3245 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
3246 (build-system go-build-system)
3249 "github.com/whyrusleeping/json-filter"))
3250 (home-page "https://github.com/whyrusleeping/json-filter")
3251 (synopsis "Library to query JSON objects marshalled into map[string]interface")
3252 (description "A library to query JSON objects marshalled into
3253 @command{map[string]interface{}}.")
3254 (license license:expat))))
3256 (define-public go-github-com-whyrusleeping-progmeter
3257 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
3260 (name "go-github-com-whyrusleeping-progmeter")
3261 (version (git-version "0.0.0" revision commit))
3266 (url "https://github.com/whyrusleeping/progmeter")
3268 (file-name (git-file-name name version))
3271 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
3272 (build-system go-build-system)
3275 "github.com/whyrusleeping/progmeter"))
3276 (home-page "https://github.com/whyrusleeping/progmeter")
3277 (synopsis "Progress meter for Go")
3278 (description "Progress meter for Go.")
3279 (license license:expat))))
3281 (define-public go-github-com-whyrusleeping-stump
3282 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
3285 (name "go-github-com-whyrusleeping-stump")
3286 (version (git-version "0.0.0" revision commit))
3291 (url "https://github.com/whyrusleeping/stump")
3293 (file-name (git-file-name name version))
3296 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
3297 (build-system go-build-system)
3299 '(#:import-path "github.com/whyrusleeping/stump"))
3300 (home-page "https://github.com/whyrusleeping/stump")
3301 (synopsis "Very basic logging package for Go")
3302 (description "A simple log library, for when you don't really care to
3303 have super fancy logs.")
3304 (license license:expat))))
3306 (define-public go-github-com-kr-fs
3307 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
3310 (name "go-github-com-kr-fs")
3311 (version (git-version "0.1.0" revision commit))
3316 (url "https://github.com/kr/fs")
3318 (file-name (git-file-name name version))
3321 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
3322 (build-system go-build-system)
3324 '(#:import-path "github.com/kr/fs"))
3325 (home-page "https://github.com/kr/fs")
3326 (synopsis "File-system-related functions for Go")
3328 "The fs package provides file-system-related Go functions.")
3329 (license license:bsd-3))))
3331 (define-public go-github-com-direnv-go-dotenv
3332 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
3335 (name "go-github-com-direnv-go-dotenv")
3336 (version (git-version "0.0.0" revision commit))
3341 (url "https://github.com/direnv/go-dotenv")
3343 (file-name (git-file-name name version))
3346 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
3347 (build-system go-build-system)
3349 '(#:import-path "github.com/direnv/go-dotenv"))
3350 (home-page "https://github.com/direnv/go-dotenv")
3351 (synopsis "Go dotenv parsing library")
3352 (description "This package provides a library for parsing the dotenv
3354 (license license:expat))))
3356 (define-public go-github-com-kr-pretty
3358 (name "go-github-com-kr-pretty")
3363 (url "https://github.com/kr/pretty")
3364 (commit (string-append "v" version))))
3365 (file-name (git-file-name name version))
3368 "1ywbfzz1h3a3qd8rpkiqwi1dm4w8ls9ijb4x1b7567grns9f0vnp"))))
3369 (build-system go-build-system)
3371 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
3373 '(#:import-path "github.com/kr/pretty"))
3374 (synopsis "A pretty printer for Go values")
3375 (description "This package provides a pretty printer for Go values.")
3376 (home-page "https://github.com/kr/pretty")
3377 (license license:expat)))
3379 (define-public go-github-com-kylelemons-godebug
3381 (name "go-github-com-kylelemons-godebug")
3387 (url "https://github.com/kylelemons/godebug")
3388 (commit (string-append "v" version))))
3389 (file-name (git-file-name name version))
3392 "0dkk3friykg8p6wgqryx6745ahhb9z1j740k7px9dac6v5xjp78c"))))
3393 (build-system go-build-system)
3395 '(#:import-path "github.com/kylelemons/godebug/diff"
3396 #:unpack-path "github.com/kylelemons/godebug"))
3397 (home-page "https://github.com/kylelemons/godebug")
3398 (synopsis "Pretty printer for Go values.")
3400 "This package will pretty print a compact representation of a Go data
3401 structure. It can also produce a much more verbose, one-item-per-line
3402 representation suitable for computing diffs.")
3403 (license license:asl2.0)))
3405 (define-public go-github-com-kr-text
3407 (name "go-github-com-kr-text")
3412 (url "https://github.com/kr/text")
3413 (commit (string-append "v" version))))
3414 (file-name (git-file-name name version))
3417 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
3418 (build-system go-build-system)
3420 '(#:import-path "github.com/kr/text"))
3421 (synopsis "Text formatting in Go")
3422 (description "This package provides a text formatting functions in Go.")
3423 (home-page "https://github.com/kr/text")
3424 (license license:expat)))
3426 (define-public go-golang-org-sql-mock
3427 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
3431 (name "go-golang-org-sql-mock")
3432 (version (git-version version revision commit))
3436 (url "https://github.com/DATA-DOG/go-sqlmock")
3438 (file-name (git-file-name name version))
3441 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
3442 (build-system go-build-system)
3444 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
3445 (synopsis "Mock library implementing @code{sql/driver}")
3446 (description "This library simulates SQL-driver behavior in tests
3447 without requiring a real database connection.")
3448 (home-page "https://github.com/DATA-DOG/go-sqlmock")
3449 (license license:expat))))
3451 (define-public go-golang-org-colorful
3453 (name "go-golang-org-colorful")
3458 (url "https://github.com/lucasb-eyer/go-colorful")
3459 (commit (string-append "v" version))))
3460 (file-name (git-file-name name version))
3463 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
3464 (build-system go-build-system)
3466 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
3468 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
3469 (synopsis "Convert between colorspaces and generate colors")
3470 (description "This package implements Go's @code{color.Color} interface
3471 and provides a means of converting colors stored as RGB to various
3473 (home-page "https://github.com/lucasb-eyer/go-colorful")
3474 (license license:expat)))
3476 (define-public go-github-com-gdamore-encoding
3478 (name "go-github-com-gdamore-encoding")
3484 (url "https://github.com/gdamore/encoding")
3485 (commit (string-append "v" version))))
3486 (file-name (git-file-name name version))
3489 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
3490 (build-system go-build-system)
3492 '(#:import-path "github.com/gdamore/encoding"))
3494 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3495 (home-page "https://github.com/gdamore/encoding")
3496 (synopsis "Provide encodings missing from Go")
3497 (description "This package provides useful encodings not included in the
3498 standard @code{Text} package, including some for dealing with I/O streams from
3499 non-UTF-friendly sources.")
3500 (license license:expat)))
3502 (define-public go-github-com-gdamore-tcell
3503 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
3507 (name "go-github-com-gdamore-tcell")
3508 (version (git-version version revision commit))
3513 (url "https://github.com/gdamore/tcell")
3515 (file-name (git-file-name name version))
3518 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
3519 (build-system go-build-system)
3521 `(#:import-path "github.com/gdamore/tcell"
3523 (modify-phases %standard-phases
3524 (add-before 'reset-gzip-timestamps 'make-files-writable
3525 (lambda* (#:key outputs #:allow-other-keys)
3526 ;; Make sure .gz files are writable so that the
3527 ;; 'reset-gzip-timestamps' phase can do its work.
3528 (let ((out (assoc-ref outputs "out")))
3529 (for-each make-file-writable
3530 (find-files out "\\.gz$"))
3533 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
3534 ("go-golang-org-colorful" ,go-golang-org-colorful)
3535 ("go-golang-org-x-text" ,go-golang-org-x-text)
3536 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
3537 (home-page "https://github.com/gdamore/tcell")
3538 (synopsis "Provide a cell-based view for text terminals")
3539 (description "This package includes a full parser and expander for
3540 terminfo capability strings to avoid hard-coding escape strings for
3541 formatting. It also favors portability, and includes support for all POSIX
3543 (license license:expat))))
3545 (define-public go-github-com-mattn-go-shellwords
3546 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
3550 (name "go-github-com-mattn-go-shellwords")
3551 (version (git-version version revision commit))
3556 (url "https://github.com/mattn/go-shellwords")
3558 (file-name (git-file-name name version))
3561 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
3562 (build-system go-build-system)
3564 `(#:import-path "github.com/mattn/go-shellwords"
3565 ;; TODO: can't make homeless-shelter:
3566 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
3567 ;; initialization failure: mkdir /homeless-shelter: permission denied
3569 ;; This doesn't seem to work:
3572 ;; (modify-phases %standard-phases
3574 ;; (lambda* (#:key import-path #:allow-other-keys)
3575 ;; (setenv "HOME" "/tmp")
3576 ;; (invoke "go" "test" import-path))))
3578 ;; TODO: There are also a couple of tests that have stymied Debian in
3579 ;; the past. They seem to work when run locally.
3583 (home-page "https://github.com/mattn/go-shellwords")
3584 (synopsis "Parse lines into shell words")
3585 (description "This package parses text into shell arguments. Based on
3586 the @code{cpan} module @code{Parse::CommandLine}.")
3587 (license license:expat))))
3589 (define-public go-github-com-burntsushi-locker
3590 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
3593 (name "go-github-com-burntsushi-locker")
3594 (version (git-version "0.0.0" revision commit))
3599 (url "https://github.com/BurntSushi/locker")
3601 (file-name (git-file-name name version))
3604 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
3605 (build-system go-build-system)
3607 '(#:import-path "github.com/BurntSushi/locker"))
3608 (home-page "https://github.com/BurntSushi/locker")
3609 (synopsis "Manage named ReadWrite mutexes in Go")
3610 (description "Golang package for conveniently using named read/write
3611 locks. These appear to be especially useful for synchronizing access to
3612 session based information in web applications.
3614 The common use case is to use the package level functions, which use a package
3615 level set of locks (safe to use from multiple goroutines
3616 simultaneously). However, you may also create a new separate set of locks
3619 All locks are implemented with read-write mutexes. To use them like a regular
3620 mutex, simply ignore the RLock/RUnlock functions.")
3621 (license license:unlicense))))
3623 (define-public go-github-com-marten-seemann-qtls
3625 (name "go-github-com-marten-seemann-qtls")
3630 (url "https://github.com/marten-seemann/qtls")
3631 (commit (string-append "v" version))))
3632 (file-name (git-file-name name version))
3635 "0dz60y98nm7l70hamq0v2vrs2dspyr5yqhnrds2dfh7hchxvq76j"))))
3636 (build-system go-build-system)
3638 '(#:import-path "github.com/marten-seemann/qtls"
3639 ;; The test suite requires networking.
3642 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3643 (synopsis "TLS 1.3 with QUIC in Go")
3644 (description "This package provides @code{qtls}, a QUIC-capable variant of
3645 the Go standard library's TLS 1.3 implementation.")
3646 (home-page "https://github.com/marten-seemann/qtls")
3647 (license license:bsd-3)))
3649 (define-public go-github-com-marten-seemann-chacha20
3651 (name "go-github-com-marten-seemann-chacha20")
3656 (url "https://github.com/marten-seemann/chacha20")
3657 (commit (string-append "v" version))))
3658 (file-name (git-file-name name version))
3661 "0x1j4cvbap45zk962qkjalc1h3axhzzdy9cdzhcjmprmm1ql4gjm"))))
3662 (build-system go-build-system)
3664 '(#:import-path "github.com/marten-seemann/chacha20"))
3665 (synopsis "ChaCha20 in Go")
3666 (description "This package is an external copy of the Go standard library's
3667 internal ChaCha20 package.")
3668 (home-page "https://github.com/marten-seemann/chacha20")
3669 (license license:bsd-3)))
3671 (define-public go-github-com-cheekybits-genny
3673 (name "go-github-com-cheekybits-genny")
3678 (url "https://github.com/cheekybits/genny")
3679 (commit (string-append "v" version))))
3680 (file-name (git-file-name name version))
3683 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
3684 (build-system go-build-system)
3686 '(#:import-path "github.com/cheekybits/genny"))
3688 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
3689 (synopsis "Generics for Go")
3690 (description "This package provides @code{genny}, a Go language
3691 implementation of generics.")
3692 (home-page "https://github.com/cheekybits/genny/")
3693 (license license:expat)))
3695 (define-public go-github-com-lucas-clemente-quic-go
3697 (name "go-github-com-lucas-clemente-quic-go")
3702 (url "https://github.com/lucas-clemente/quic-go")
3703 (commit (string-append "v" version))))
3704 (file-name (git-file-name name version))
3707 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
3708 (build-system go-build-system)
3710 '(#:import-path "github.com/lucas-clemente/quic-go"
3711 ;; XXX More packages required...
3714 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3715 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
3716 ("go-github-com-marten-seemann-chacha20" ,go-github-com-marten-seemann-chacha20)
3717 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
3718 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
3719 (synopsis "QUIC in Go")
3720 (description "This package provides a Go language implementation of the QUIC
3722 (home-page "https://github.com/lucas-clemente/quic-go")
3723 (license license:expat)))
3725 (define-public go-github-com-francoispqt-gojay
3727 (name "go-github-com-francoispqt-gojay")
3732 (url "https://github.com/francoispqt/gojay")
3733 (commit (string-append "v" version))))
3734 (file-name (git-file-name name version))
3737 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
3738 (build-system go-build-system)
3740 '(#:import-path "github.com/francoispqt/gojay"))
3742 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3743 (synopsis "JSON encoder/decoder with powerful stream API for Golang")
3744 (description "GoJay is a performant JSON encoder/decoder for Golang. It has
3745 a simple API and doesn't use reflection. It relies on small interfaces to
3746 decode/encode structures and slices.")
3747 (home-page "https://github.com/francoispqt/gojay")
3748 (license license:expat)))
3750 (define-public go-github-com-pkg-errors
3752 (name "go-github-com-pkg-errors")
3757 (url "https://github.com/pkg/errors")
3758 (commit (string-append "v" version))))
3759 (file-name (git-file-name name version))
3762 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
3763 (build-system go-build-system)
3765 `(#:import-path "github.com/pkg/errors"))
3766 (synopsis "Go error handling primitives")
3767 (description "This package provides @code{error}, which offers simple
3768 error handling primitives in Go.")
3769 (home-page "https://github.com/pkg/errors")
3770 (license license:bsd-2)))
3772 (define-public go-github-com-maruel-panicparse
3774 (name "go-github-com-maruel-panicparse")
3779 (url "https://github.com/maruel/panicparse")
3780 (commit (string-append "v" version))))
3781 (file-name (git-file-name name version))
3784 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
3785 (build-system go-build-system)
3787 '(#:import-path "github.com/maruel/panicparse"))
3788 (synopsis "Toolkit for parsing Go stack traces")
3789 (description "This package provides a toolkit for parsing Go language panic
3790 stack traces. It simplifies the traces to make salient information more visible
3791 and aid debugging.")
3792 (home-page "https://github.com/maruel/panicparse")
3793 (license license:asl2.0)))
3795 (define-public go-github-com-robfig-cron
3797 (name "go-github-com-robfig-cron")
3803 (url "https://github.com/robfig/cron")
3804 (commit (string-append "v" version))))
3805 (file-name (git-file-name name version))
3808 "1agzbw2dfk2d1mpmddr85s5vh6ygm8kqrvfg87i9d2wqnlsnliqm"))))
3809 (build-system go-build-system)
3811 `(#:import-path "github.com/robfig/cron"))
3812 (home-page "https://godoc.org/github.com/robfig/cron")
3813 (synopsis "Cron library for Go")
3814 (description "This package provides a cron library for Go. It implements
3815 a cron spec parser and job runner.")
3816 (license license:expat)))
3818 (define-public go-github-com-shirou-gopsutil
3819 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
3822 (name "go-github-com-shirou-gopsutil")
3823 (version (git-version "v2.19.7" revision commit))
3827 (url "https://github.com/shirou/gopsutil")
3828 (commit commit))) ; XXX
3829 (file-name (git-file-name name version))
3832 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
3833 (build-system go-build-system)
3835 '(#:import-path "github.com/shirou/gopsutil"))
3836 (synopsis "Process and system monitoring in Go")
3837 (description "This package provides a library for retrieving information
3838 on running processes and system utilization (CPU, memory, disks, network,
3840 (home-page "https://github.com/shirou/gopsutil")
3841 (license license:bsd-3))))
3843 (define-public go-github-com-danwakefield-fnmatch
3844 (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
3847 (name "go-github-com-danwakefield-fnmatch")
3848 (version (git-version "0.0.0" revision commit))
3853 (url "https://github.com/danwakefield/fnmatch")
3857 "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
3858 (file-name (git-file-name name version))))
3859 (build-system go-build-system)
3861 '(#:import-path "github.com/danwakefield/fnmatch"))
3862 (home-page "https://github.com/danwakefield/fnmatch")
3863 (synopsis "Updated clone of kballards golang fnmatch gist")
3864 (description "This package provides an updated clone of kballards golang
3865 fnmatch gist (https://gist.github.com/kballard/272720).")
3866 (license license:bsd-2))))
3868 (define-public go-github-com-ddevault-go-libvterm
3869 (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
3872 (name "go-github-com-ddevault-go-libvterm")
3873 (version (git-version "0.0.0" revision commit))
3878 (url "https://github.com/ddevault/go-libvterm")
3882 "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
3883 (file-name (git-file-name name version))))
3884 (build-system go-build-system)
3886 '(#:import-path "github.com/ddevault/go-libvterm"))
3888 `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
3889 (home-page "https://github.com/ddevault/go-libvterm")
3890 (synopsis "Go binding to libvterm")
3892 "This is a fork of another go-libvterm library for use with aerc.")
3893 (license license:expat))))
3895 (define-public go-github-com-emersion-go-imap
3897 (name "go-github-com-emersion-go-imap")
3903 (url "https://github.com/emersion/go-imap")
3904 (commit (string-append "v" version))))
3907 "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
3908 (file-name (git-file-name name version))))
3909 (build-system go-build-system)
3911 '(#:import-path "github.com/emersion/go-imap"))
3913 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3914 (home-page "https://github.com/emersion/go-imap")
3915 (synopsis "IMAP4rev1 library written in Go")
3916 (description "This package provides an IMAP4rev1 library written in Go. It
3917 can be used to build a client and/or a server.")
3918 (license license:expat)))
3920 (define-public go-github-com-emersion-go-sasl
3921 (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
3924 (name "go-github-com-emersion-go-sasl")
3925 (version (git-version "0.0.0" revision commit))
3930 (url "https://github.com/emersion/go-sasl")
3934 "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
3935 (file-name (git-file-name name version))))
3936 (build-system go-build-system)
3938 '(#:import-path "github.com/emersion/go-sasl"))
3939 (home-page "https://github.com/emersion/go-sasl")
3940 (synopsis "SASL library written in Go")
3941 (description "This package provides a SASL library written in Go.")
3942 (license license:expat))))
3944 (define-public go-github-com-emersion-go-imap-idle
3945 (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
3948 (name "go-github-com-emersion-go-imap-idle")
3949 (version (git-version "0.0.0" revision commit))
3954 (url "https://github.com/emersion/go-imap-idle")
3958 "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
3959 (file-name (git-file-name name version))))
3960 (build-system go-build-system)
3962 '(#:import-path "github.com/emersion/go-imap-idle"))
3964 `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
3965 ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
3966 ("go-golang-org-x-text" ,go-golang-org-x-text)))
3967 (home-page "https://github.com/emersion/go-imap-idle")
3968 (synopsis "IDLE extension for go-imap")
3969 (description "This package provides an IDLE extension for go-imap.")
3970 (license license:expat))))
3972 (define-public go-github-com-fatih-color
3974 (name "go-github-com-fatih-color")
3979 (url "https://github.com/fatih/color")
3980 (commit (string-append "v" version))))
3981 (file-name (git-file-name name version))
3984 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
3985 (build-system go-build-system)
3987 '(#:import-path "github.com/fatih/color"))
3988 (synopsis "Print colored text in Go")
3989 (description "This package provides an ANSI color package to output
3990 colorized or SGR defined output to the standard output.")
3991 (home-page "https://godoc.org/github.com/fatih/color")
3992 (license license:expat)))
3994 (define-public go-github-com-google-go-cmp-cmp
3996 (name "go-github-com-google-go-cmp-cmp")
4001 (url "https://github.com/google/go-cmp")
4002 (commit (string-append "v" version))))
4003 (file-name (git-file-name name version))
4006 "0qchy411jm9q2l9mf7x3ry2ycaqp9xdhf2nx14qrpzcxfigv2705"))))
4007 (build-system go-build-system)
4009 '(#:import-path "github.com/google/go-cmp/cmp"
4010 #:unpack-path "github.com/google/go-cmp"))
4012 `(("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)))
4013 (synopsis "Determine equality of values in Go")
4014 (description "This package provides a more powerful and safer
4015 alternative to @code{reflect.DeepEqual} for comparing whether two values
4016 are semantically equal in Go (for writing tests).")
4017 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
4018 (license license:asl2.0)))
4020 (define-public go-github-com-google-uuid
4022 (name "go-github-com-google-uuid")
4027 (url "https://github.com/google/uuid")
4028 (commit (string-append "v" version))))
4029 (file-name (git-file-name name version))
4032 "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb"))))
4033 (build-system go-build-system)
4035 '(#:import-path "github.com/google/uuid"))
4036 (home-page "https://github.com/google/uuid/")
4037 (synopsis "Generate and inspect UUIDs based on RFC 4122 and DCE 1.1")
4038 (description "The uuid package generates and inspects UUIDs based on RFC
4039 4122 and DCE 1.1: Authentication and Security Services.")
4040 (license license:bsd-3)))
4042 (define-public go-github-com-google-goterm
4043 (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
4046 (name "go-github-com-google-goterm")
4047 (version (git-version "0.0.1" revision commit))
4051 (url "https://github.com/google/goterm")
4053 (file-name (git-file-name name version))
4056 "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb"))))
4057 (build-system go-build-system)
4059 `(#:import-path "github.com/google/goterm/term"
4060 #:unpack-path "github.com/google/goterm"))
4061 (home-page "https://github.com/google/goterm/")
4062 (synopsis "PTY creation and termios get/set attributes")
4063 (description "The term package implements PTY creation and termios get/set
4064 attributes. It also contains some convenience functions for colors, SSH to
4065 and from termios translations, readCh, reading passwords, etc.")
4066 (license license:bsd-3))))
4068 (define-public go-github-com-google-go-querystring
4069 (let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests
4072 (name "go-github-com-google-go-querystring")
4077 (url "https://github.com/google/go-querystring")
4079 (file-name (git-file-name name version))
4082 "0mbx4jvf7nz4sk2fgqfq1llz4xb3vc4625b4x398mspr3a5077rs"))))
4083 (build-system go-build-system)
4085 `(#:import-path "github.com/google/go-querystring/query"
4086 #:unpack-path "github.com/google/go-querystring"))
4087 (home-page "https://github.com/google/go-querystring/")
4088 (synopsis "Library for encoding structs into URL query parameters")
4089 (description "@code{go-querystring} is Go library for encoding structs
4090 into URL query parameters.")
4091 (license license:bsd-3))))
4093 (define-public go-github-com-google-go-github
4095 (name "go-github-com-google-go-github")
4100 (url "https://github.com/google/go-github")
4101 (commit (string-append "v" version))))
4102 (file-name (git-file-name name version))
4105 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
4106 (build-system go-build-system)
4108 `(#:tests? #f ;application/octet-stream instead of text/plain
4109 #:import-path "github.com/google/go-github/v26/github"
4110 #:unpack-path "github.com/google/go-github/v26"))
4112 `(("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring)
4113 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4114 (home-page "https://github.com/google/go-github/")
4115 (synopsis "Client library for accessing the GitHub API v3")
4116 (description "@code{go-github} is a Go client library for accessing the
4118 (license license:bsd-3)))
4120 (define-public go-github-com-google-renameio
4122 (name "go-github-com-google-renameio")
4127 (url "https://github.com/google/renameio")
4128 (commit (string-append "v" version))))
4129 (file-name (git-file-name name version))
4132 "1ki2x5a9nrj17sn092d6n4zr29lfg5ydv4xz5cp58z6cw8ip43jx"))))
4133 (build-system go-build-system)
4135 `(#:import-path "github.com/google/renameio"))
4136 (home-page "https://github.com/google/renameio/")
4137 (synopsis "Atomically create or replace a file or symbolic link")
4138 (description "@code{renameio} Go package provides a way to atomically
4139 create or replace a file or symbolic link.")
4140 (license license:asl2.0)))
4142 (define-public go-golang.org-x-sync-errgroup
4143 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
4146 (name "go-golang.org-x-sync-errgroup")
4147 (version (git-version "0.0.0" revision commit))
4151 (url "https://go.googlesource.com/sync")
4153 (file-name (git-file-name name version))
4156 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
4157 (build-system go-build-system)
4159 '(#:import-path "golang.org/x/sync/errgroup"
4160 #:unpack-path "golang.org/x/sync"))
4161 (synopsis "Synchronization, error propagation, and Context cancellation
4162 for groups of goroutines working on subtasks of a common task.")
4163 (description "This package provides synchronization, error propagation,
4164 and Context cancellation for groups of goroutines working on subtasks of a
4166 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
4167 (license license:bsd-3))))
4169 (define (go-gotest-tools-source version sha256-base32-hash)
4173 (url "https://github.com/gotestyourself/gotest.tools")
4174 (commit (string-append "v" version))))
4175 (file-name (git-file-name "go-gotest-tools" version))
4177 (base32 sha256-base32-hash))))
4179 ;; Note that version 3.0.0 is incompatible to 2.3.0.
4180 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
4181 (define (go-gotest-tools-package suffix)
4183 (name (string-append "go-gotest-tools-"
4184 (string-replace-substring suffix "/" "-")))
4187 (go-gotest-tools-source version
4188 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
4189 (build-system go-build-system)
4191 `(#:import-path ,(string-append "gotest.tools/" suffix)
4192 #:unpack-path "gotest.tools"))
4193 (synopsis "@code{gotest-tools} part")
4194 (description "This package provides a part of @code{gotest-tools}.")
4195 (home-page "https://github.com/gotestyourself/gotest.tools")
4196 (license license:asl2.0)))
4198 (define-public go-gotest-tools-internal-format
4199 (package (inherit (go-gotest-tools-package "internal/format"))
4201 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4202 ("go-github-com-google-go-cmp-cmp"
4203 ,go-github-com-google-go-cmp-cmp)))
4204 (synopsis "Formats messages for use with gotest-tools")
4205 (description "This package provides a way to format messages for use
4206 with gotest-tools.")))
4208 (define-public go-gotest-tools-internal-difflib
4209 (package (inherit (go-gotest-tools-package "internal/difflib"))
4210 (synopsis "Differences for use with gotest-tools")
4211 (description "This package computes differences for use
4212 with gotest-tools.")))
4214 (define-public go-gotest-tools-internal-source
4215 (package (inherit (go-gotest-tools-package "internal/source"))
4217 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4218 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
4219 (synopsis "Source code AST formatters for gotest-tools")
4220 (description "This package provides source code AST formatters for
4223 (define-public go-gotest-tools-assert
4224 (package (inherit (go-gotest-tools-package "assert"))
4225 (name "go-gotest-tools-assert")
4227 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
4228 #:import-path "gotest.tools/assert"
4229 #:unpack-path "gotest.tools"))
4231 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
4233 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4234 ("go-github-com-google-go-cmp-cmp"
4235 ,go-github-com-google-go-cmp-cmp)))
4236 (synopsis "Compare values and fail a test when a comparison fails")
4237 (description "This package provides a way to compare values and fail a
4238 test when a comparison fails.")
4239 (home-page "https://github.com/gotestyourself/gotest.tools")
4240 (license license:asl2.0)))
4242 (define-public gotestsum
4249 (url "https://github.com/gotestyourself/gotestsum")
4250 (commit (string-append "v" version))))
4251 (file-name (git-file-name name version))
4254 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
4255 (build-system go-build-system)
4257 '(#:import-path "gotest.tools/gotestsum"))
4259 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
4260 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
4261 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4262 ("go-github-com-sirupsen-logrus"
4263 ,go-github-com-sirupsen-logrus)
4264 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
4265 ("go-github-com-jonboulle-clockwork"
4266 ,go-github-com-jonboulle-clockwork)
4267 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4268 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
4269 ("go-github-com-google-go-cmp-cmp"
4270 ,go-github-com-google-go-cmp-cmp)
4271 ;; TODO: This would be better as a propagated-input of
4272 ;; go-gotest-tools-assert, but that does not work for
4274 ("go-gotest-tools-internal-format"
4275 ,go-gotest-tools-internal-format)
4276 ("go-gotest-tools-internal-difflib"
4277 ,go-gotest-tools-internal-difflib)
4278 ("go-gotest-tools-internal-source"
4279 ,go-gotest-tools-internal-source)
4280 ("go-github-com-google-go-cmp-cmp"
4281 ,go-github-com-google-go-cmp-cmp)))
4282 (synopsis "Go test runner with output optimized for humans")
4283 (description "This package provides a @code{go test} runner with output
4284 optimized for humans, JUnit XML for CI integration, and a summary of the
4286 (home-page "https://github.com/gotestyourself/gotestsum")
4287 (license license:asl2.0)))
4289 (define-public go-github-com-golang-protobuf-proto
4291 (name "go-github-com-golang-protobuf-proto")
4296 (url "https://github.com/golang/protobuf")
4297 (commit (string-append "v" version))))
4298 (file-name (git-file-name name version))
4301 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
4302 (build-system go-build-system)
4304 '(#:import-path "github.com/golang/protobuf/proto"
4305 #:unpack-path "github.com/golang/protobuf"
4306 ;; Requires unpackaged golang.org/x/sync/errgroup
4308 (synopsis "Go support for Protocol Buffers")
4309 (description "This package provides Go support for the Protocol Buffers
4310 data serialization format.")
4311 (home-page "https://github.com/golang/protobuf")
4312 (license license:bsd-3)))
4314 (define-public go-github-com-mattn-go-zglob
4316 (name "go-github-com-mattn-go-zglob")
4321 (url "https://github.com/mattn/go-zglob")
4322 (commit (string-append "v" version))))
4323 (file-name (git-file-name name version))
4326 "1923lvakm66mzy62jmngdvcmbmiqclinsvnghs3907rgygnx1qc1"))))
4327 (build-system go-build-system)
4329 `(#:import-path "github.com/mattn/go-zglob"))
4330 (home-page "https://github.com/mattn/go-zglob")
4331 (synopsis "Glob library that descends into other directories")
4332 (description " A glob library that implements descending into other
4333 directories. It is optimized for filewalking. ")
4334 (license license:expat)))
4336 (define-public go-github-com-willf-bitset
4338 (name "go-github-com-willf-bitset")
4343 (url "https://github.com/willf/bitset")
4344 (commit (string-append "v" version))))
4345 (file-name (git-file-name name version))
4348 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
4349 (build-system go-build-system)
4351 '(#:import-path "github.com/willf/bitset"))
4352 (synopsis "Bitsets in Go")
4353 (description "This package provides a Go implementation of bitsets, which
4354 are a mapping between non-negative integers and boolean values focused on
4355 efficient space usage.")
4356 (home-page "https://github.com/willf/bitset")
4357 (license license:bsd-3)))
4359 (define-public go-github-com-willf-bloom
4361 (name "go-github-com-willf-bloom")
4366 (url "https://github.com/willf/bloom")
4367 (commit (string-append "v" version))))
4368 (file-name (git-file-name name version))
4371 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
4372 (build-system go-build-system)
4374 '(#:import-path "github.com/willf/bloom"
4376 (modify-phases %standard-phases
4377 (add-after 'unpack 'patch-import-path
4379 ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for
4380 ;; more information.
4381 ;; <https://github.com/spaolacci/murmur3/issues/29>
4382 (substitute* "src/github.com/willf/bloom/bloom.go"
4383 (("spaolacci") "twmb"))
4386 `(("go-github-com-twmb-murmur3" ,go-github-com-twmb-murmur3)
4387 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
4388 (synopsis "Bloom filters in Go")
4389 (description "This package provides a Go implementation of bloom filters,
4390 based on murmurhash.")
4391 (home-page "https://github.com/willf/bloom")
4392 (license license:bsd-2)))
4394 (define-public go-golang-org-rainycape-unidecode
4395 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
4398 (name "go-golang-org-rainycape-unidecode")
4399 (version (git-version "0.0.0" revision commit))
4403 (url "https://github.com/rainycape/unidecode")
4405 (file-name (string-append "go-golang-org-rainycape-unidecode-"
4406 version "-checkout"))
4409 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
4410 (build-system go-build-system)
4412 `(#:import-path "golang.org/rainycape/unidecode"))
4413 (home-page "https://github.com/rainycape/unidecode")
4414 (synopsis "Unicode transliterator in Golang")
4415 (description "Unicode transliterator in Golang - Replaces non-ASCII
4416 characters with their ASCII approximations.")
4417 (license license:asl2.0))))
4419 (define-public go-github-com-golang-freetype
4420 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
4423 (name "go-github-com-golang-freetype")
4424 (version (git-version "0.0.0" revision commit))
4428 (url "https://github.com/golang/freetype")
4430 (file-name (string-append "go-github-com-golang-freetype-"
4431 version "-checkout"))
4434 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
4435 (build-system go-build-system)
4437 `(#:import-path "github.com/golang/freetype"))
4439 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
4440 (home-page "https://github.com/golang/freetype")
4441 (synopsis "Freetype font rasterizer in the Go programming language")
4442 (description "The Freetype font rasterizer in the Go programming language.")
4443 (license (list license:freetype
4446 (define-public go-github-com-fogleman-gg
4448 (name "go-github-com-fogleman-gg")
4453 (url "https://github.com/fogleman/gg")
4454 (commit (string-append "v" version))))
4455 (file-name (git-file-name name version))
4458 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
4459 (build-system go-build-system)
4461 `(#:tests? #f ; Issue with test flags.
4462 #:import-path "github.com/fogleman/gg"))
4464 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
4465 (home-page "https://github.com/fogleman/gg")
4466 (synopsis "2D rendering in Go")
4467 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
4468 (license license:expat)))
4470 (define-public go-github-com-gedex-inflector
4471 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
4474 (name "go-github-com-gedex-inflector")
4475 (version (git-version "0.0.0" revision commit))
4479 (url "https://github.com/gedex/inflector")
4481 (file-name (string-append "go-github-com-gedex-inflector-"
4482 version "-checkout"))
4485 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
4486 (build-system go-build-system)
4488 `(#:import-path "github.com/gedex/inflector"))
4489 (home-page "https://github.com/gedex/inflector")
4490 (synopsis "Go library that pluralizes and singularizes English nouns")
4491 (description "Go library that pluralizes and singularizes English nouns.")
4492 (license license:bsd-2))))
4494 (define-public go-github-com-klauspost-cpuid
4496 (name "go-github-com-klauspost-cpuid")
4501 (url "https://github.com/klauspost/cpuid")
4502 (commit (string-append "v" version))))
4503 (file-name (git-file-name name version))
4506 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
4507 (build-system go-build-system)
4509 `(#:import-path "github.com/klauspost/cpuid"))
4510 (home-page "https://github.com/klauspost/cpuid")
4511 (synopsis "CPU feature identification for Go")
4512 (description "@code{cpuid} provides information about the CPU running the
4513 current program. CPU features are detected on startup, and kept for fast access
4514 through the life of the application. Currently x86 / x64 (AMD64) is supported,
4515 and no external C (cgo) code is used, which should make the library very eas
4517 (license license:expat)))
4519 (define-public go-github-com-pbnjay-memory
4520 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
4523 (name "go-github-com-pbnjay-memory")
4524 (version (git-version "0.0.0" revision commit))
4528 (url "https://github.com/pbnjay/memory")
4530 (file-name (string-append "go-github-com-pbnjay-memory-"
4531 version "-checkout"))
4534 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
4535 (build-system go-build-system)
4537 `(#:import-path "github.com/pbnjay/memory"))
4538 (home-page "https://github.com/gedex/inflector")
4539 (synopsis "Go library to report total system memory")
4540 (description "@code{memory} provides a single method reporting total
4541 physical system memory accessible to the kernel. It does not account for memory
4542 used by other processes.")
4543 (license license:bsd-3))))
4545 (define-public go-github-com-surge-glog
4546 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
4549 (name "go-github-com-surge-glog")
4550 (version (git-version "0.0.0" revision commit))
4554 (url "https://github.com/surge/glog")
4556 (file-name (string-append "go-github-com-surge-glog-"
4557 version "-checkout"))
4560 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
4561 (build-system go-build-system)
4563 `(#:import-path "github.com/surge/glog"))
4564 (home-page "https://github.com/surge/glog")
4565 (synopsis "Leveled execution logs for Go")
4566 (description "Leveled execution logs for Go.")
4567 (license license:asl2.0))))
4569 (define-public go-github-com-surgebase-porter2
4570 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
4573 (name "go-github-com-surgebase-porter2")
4574 (version (git-version "0.0.0" revision commit))
4578 (url "https://github.com/surgebase/porter2")
4580 (file-name (string-append "go-github-com-surgebase-porter2-"
4581 version "-checkout"))
4584 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
4585 (build-system go-build-system)
4587 `(#:import-path "github.com/surgebase/porter2"))
4589 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
4590 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
4591 (home-page "https://github.com/surgebase/porter2")
4592 (synopsis "Go library implementing english Porter2 stemmer")
4593 (description "Porter2 implements the
4594 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
4595 Porter2 stemmer}. It is written completely using finite state machines to do
4596 suffix comparison, rather than the string-based or tree-based approaches.")
4597 (license license:asl2.0))))
4599 (define-public go-github-com-masterminds-goutils
4601 (name "go-github-com-masterminds-goutils")
4606 (url "https://github.com/Masterminds/goutils")
4607 (commit (string-append "v" version))))
4608 (file-name (git-file-name name version))
4611 "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq"))))
4612 (build-system go-build-system)
4614 `(#:import-path "github.com/Masterminds/goutils"))
4615 (home-page "https://github.com/Masterminds/goutils/")
4616 (synopsis "Utility functions to manipulate strings")
4617 (description "GoUtils provides utility functions to manipulate strings in
4618 various ways. It is a Go implementation of some string manipulation libraries
4619 of Java Apache Commons.")
4620 (license license:asl2.0)))
4622 (define-public go-github-com-masterminds-semver
4624 (name "go-github-com-masterminds-semver")
4629 (url "https://github.com/Masterminds/semver")
4630 (commit (string-append "v" version))))
4631 (file-name (git-file-name name version))
4634 "1g1wizfdy29d02l9dh8gsb029yr4m4swp13swf0pnh9ryh5f1msz"))))
4635 (build-system go-build-system)
4637 `(#:import-path "github.com/Masterminds/semver"))
4638 (home-page "https://github.com/Masterminds/semver/")
4639 (synopsis "@code{semver} helps to work with semantic versions")
4640 (description "The semver package provides the ability to work with
4641 semantic versions. Specifically it provides the ability to:
4643 @item Parse semantic versions
4644 @item Sort semantic versions
4645 @item Check if a semantic version fits within a set of constraints
4646 @item Optionally work with a @code{v} prefix
4648 (license license:expat)))
4650 (define-public go-github-com-huandu-xstrings
4652 (name "go-github-com-huandu-xstrings")
4657 (url "https://github.com/huandu/xstrings")
4658 (commit (string-append "v" version))))
4659 (file-name (git-file-name name version))
4662 "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
4663 (build-system go-build-system)
4665 `(#:import-path "github.com/huandu/xstrings"))
4666 (home-page "https://github.com/huandu/xstrings/")
4667 (synopsis "Collection of string functions")
4668 (description "Go package xstrings is a collection of string functions,
4669 which are widely used in other languages but absent in Go package strings.")
4670 (license license:expat)))
4672 (define-public go-github-com-imdario-mergo
4674 (name "go-github-com-imdario-mergo")
4679 (url "https://github.com/imdario/mergo")
4680 (commit (string-append "v" version))))
4681 (file-name (git-file-name name version))
4684 "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
4685 (build-system go-build-system)
4687 `(#:import-path "github.com/imdario/mergo"))
4689 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
4690 (home-page "https://github.com/imdario/mergo/")
4691 (synopsis "Helper to merge structs and maps in Golang")
4692 (description "Helper to merge structs and maps in Golang. Useful for
4693 configuration default values, avoiding messy if-statements.
4695 Mergo merges same-type structs and maps by setting default values in
4696 zero-value fields. Mergo won't merge unexported (private) fields. It will do
4697 recursively any exported one. It also won't merge structs inside
4698 maps (because they are not addressable using Go reflection).")
4699 (license license:bsd-3)))
4701 (define-public go-github-com-masterminds-sprig
4703 (name "go-github-com-masterminds-sprig")
4708 (url "https://github.com/Masterminds/sprig")
4709 (commit (string-append "v" version))))
4710 (file-name (git-file-name name version))
4713 "0wwi8n2adjc5jlga25lqq0hrz4jcgd5vpll68y2dfji034caaq18"))))
4714 (build-system go-build-system)
4716 `(#:tests? #f ;network tests only
4717 #:import-path "github.com/Masterminds/sprig"))
4719 `(("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils)
4720 ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver)
4721 ("go-github-com-google-uuid" ,go-github-com-google-uuid)
4722 ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings)
4723 ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo)
4724 ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)
4725 ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure)
4726 ("go-github-com-spf13-cast" ,go-github-com-spf13-cast)
4727 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4728 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4729 (home-page "https://github.com/Masterminds/sprig/")
4730 (synopsis "Template functions for Go templates")
4731 (description "Sprig is a library that provides more than 100 commonly used
4732 template functions.")
4733 (license license:expat)))
4735 (define-public go-github-com-bmatcuk-doublestar
4737 (name "go-github-com-bmatcuk-doublestar")
4742 (url "https://github.com/bmatcuk/doublestar")
4743 (commit (string-append "v" version))))
4744 (file-name (git-file-name name version))
4747 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
4748 (build-system go-build-system)
4750 `(#:import-path "github.com/bmatcuk/doublestar"))
4751 (home-page "https://github.com/bmatcuk/doublestar/")
4752 (synopsis "Path pattern matching and globbing supporting doublestar")
4753 (description "@code{doublestar} is a Go implementation of path pattern
4754 matching and globbing with support for \"doublestar\" patterns.")
4755 (license license:expat)))
4757 (define-public go-github-com-dlclark-regexp2
4759 (name "go-github-com-dlclark-regexp2")
4764 (url "https://github.com/dlclark/regexp2")
4765 (commit (string-append "v" version))))
4766 (file-name (git-file-name name version))
4769 "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng"))))
4770 (build-system go-build-system)
4772 `(#:import-path "github.com/dlclark/regexp2"))
4773 (home-page "https://github.com/dlclark/regexp2/")
4774 (synopsis "Full featured regular expressions for Go")
4775 (description "Regexp2 is a feature-rich RegExp engine for Go.")
4776 (license license:expat)))
4778 (define-public go-github-com-alecthomas-colour
4780 (name "go-github-com-alecthomas-colour")
4785 (url "https://github.com/alecthomas/colour")
4786 (commit (string-append "v" version))))
4787 (file-name (git-file-name name version))
4790 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
4791 (build-system go-build-system)
4793 `(#:import-path "github.com/alecthomas/colour"))
4795 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
4796 (home-page "https://github.com/alecthomas/colour/")
4797 (synopsis "Colour terminal text for Go")
4798 (description "Package colour provides Quake-style colour formatting for
4801 The package level functions can be used to write to stdout (or strings or
4802 other files). If stdout is not a terminal, colour formatting will be
4804 (license license:expat)))
4806 (define-public go-github-com-alecthomas-repr
4807 (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
4810 (name "go-github-com-alecthomas-repr")
4811 (version (git-version "0.0.1" revision commit))
4815 (url "https://github.com/alecthomas/repr")
4817 (file-name (git-file-name name version))
4820 "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
4821 (build-system go-build-system)
4823 `(#:import-path "github.com/alecthomas/repr"))
4825 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4826 (home-page "https://github.com/alecthomas/repr/")
4827 (synopsis "Represent Go values in an almost direct form")
4828 (description "This package attempts to represent Go values in a form that
4829 can be used almost directly in Go source code.")
4830 (license license:expat))))
4832 (define-public go-github-com-sergi-go-diff
4834 (name "go-github-com-sergi-go-diff")
4839 (url "https://github.com/sergi/go-diff")
4840 (commit (string-append "v" version))))
4841 (file-name (git-file-name name version))
4844 "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
4845 (build-system go-build-system)
4847 `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
4848 #:unpack-path "github.com/sergi/go-diff"))
4850 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4851 (home-page "https://github.com/sergi/go-diff/")
4852 (synopsis "Algorithms to perform operations for synchronizing plain text")
4853 (description "@code{go-diff} offers algorithms to perform operations required for
4854 synchronizing plain text:
4856 @item compare two texts and return their differences
4857 @item perform fuzzy matching of text
4858 @item apply patches onto text
4860 (license license:expat)))
4862 (define-public go-github-com-alecthomas-assert
4863 (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
4866 (name "go-github-com-alecthomas-assert")
4867 (version (git-version "0.0.1" revision commit))
4871 (url "https://github.com/alecthomas/assert")
4873 (file-name (git-file-name name version))
4876 "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
4877 (build-system go-build-system)
4879 `(#:import-path "github.com/alecthomas/assert"))
4881 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4882 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4883 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4884 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4885 (home-page "https://github.com/alecthomas/assert/")
4886 (synopsis "Go assertion library")
4887 (description "Assertion library that:
4889 @item makes spotting differences in equality much easier
4890 @item uses repr and diffmatchpatch to display structural differences in colour
4891 @item aborts tests on first assertion failure
4893 (license license:expat))))
4895 (define-public go-github-com-alecthomas-chroma
4897 (name "go-github-com-alecthomas-chroma")
4902 (url "https://github.com/alecthomas/chroma")
4903 (commit (string-append "v" version))))
4904 (file-name (git-file-name name version))
4907 "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
4908 (build-system go-build-system)
4910 `(#:import-path "github.com/alecthomas/chroma"))
4912 `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
4913 ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
4914 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4915 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4916 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4917 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4918 (home-page "https://github.com/alecthomas/chroma/")
4919 (synopsis "General purpose syntax highlighter in pure Go")
4920 (description "Chroma takes source code and other structured text and
4921 converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
4922 (license license:expat)))
4924 (define-public go-github-com-andybalholm-cascadia
4926 (name "go-github-com-andybalholm-cascadia")
4931 (url "https://github.com/andybalholm/cascadia")
4932 (commit (string-append "v" version))))
4933 (file-name (git-file-name name version))
4936 "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc"))))
4937 (build-system go-build-system)
4939 `(#:import-path "github.com/andybalholm/cascadia"))
4941 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
4942 (home-page "https://github.com/andybalholm/cascadia/")
4943 (synopsis "CSS selectors for HTML")
4944 (description "The Cascadia package implements CSS selectors for use with
4945 the parse trees produced by the html package.")
4946 (license license:bsd-2)))
4948 (define-public go-github-com-puerkitobio-goquery
4950 (name "go-github-com-puerkitobio-goquery")
4955 (url "https://github.com/PuerkitoBio/goquery")
4956 (commit (string-append "v" version))))
4957 (file-name (git-file-name name version))
4960 "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx"))))
4961 (build-system go-build-system)
4963 `(#:import-path "github.com/PuerkitoBio/goquery"))
4965 `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4966 ("go-golang-org-x-net" ,go-golang-org-x-net)))
4967 (home-page "https://github.com/PuerkitoBio/goquery")
4968 (synopsis "Features similar to jQuery to the Go language")
4969 (description "@code{goquery} brings a syntax and a set of features similar
4970 to jQuery to the Go language.")
4971 (license license:bsd-3)))
4973 (define-public go-github-com-aymerick-douceur
4975 (name "go-github-com-aymerick-douceur")
4980 (url "https://github.com/aymerick/douceur/")
4981 (commit (string-append "v" version))))
4982 (file-name (git-file-name name version))
4985 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4986 (build-system go-build-system)
4988 `(#:import-path "github.com/aymerick/douceur"))
4990 `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
4991 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4992 ("go-golang-org-x-net" ,go-golang-org-x-net)
4993 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
4994 (home-page "https://github.com/aymerick/douceur/")
4995 (synopsis "CSS parser and inliner")
4996 (description "This package provides a CSS parser and inliner.")
4997 (license license:expat)))
4999 (define-public go-github-com-chris-ramon-douceur
5001 (name "go-github-com-chris-ramon-douceur")
5006 (url "https://github.com/chris-ramon/douceur")
5007 (commit (string-append "v" version))))
5008 (file-name (git-file-name name version))
5011 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
5012 (build-system go-build-system)
5014 `(#:import-path "github.com/chris-ramon/douceur"))
5016 `(("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5017 ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
5018 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
5019 ("go-golang-org-x-net" ,go-golang-org-x-net)
5020 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
5021 (home-page "https://github.com/chris-ramon/douceur/")
5022 (synopsis "CSS parser and inliner")
5023 (description "This package provides a CSS parser and inliner.")
5024 (license license:expat)))
5026 (define-public go-github-com-microcosm-cc-bluemonday
5028 (name "go-github-com-microcosm-cc-bluemonday")
5033 (url "https://github.com/microcosm-cc/bluemonday")
5034 (commit (string-append "v" version))))
5035 (file-name (git-file-name name version))
5038 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
5039 (build-system go-build-system)
5041 `(#:import-path "github.com/microcosm-cc/bluemonday"))
5043 `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5044 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5045 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5046 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5047 (home-page "https://github.com/microcosm-cc/bluemonday/")
5048 (synopsis "HTML sanitizer")
5049 (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
5050 (license license:bsd-3)))
5052 (define-public go-github-com-muesli-reflow-wordwrap
5054 (name "go-github-com-muesli-reflow-wordwrap")
5059 (url "https://github.com/muesli/reflow")
5060 (commit (string-append "v" version))))
5061 (file-name (git-file-name "go-github-com-muesli-reflow" version))
5064 "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
5065 (build-system go-build-system)
5067 `(#:import-path "github.com/muesli/reflow/wordwrap"
5068 #:unpack-path "github.com/muesli/reflow"))
5070 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5071 (home-page "https://github.com/muesli/reflow/")
5072 (synopsis "Collection of methods helping to transform blocks of text")
5073 (description "This package provides a collection of ANSI-aware methods and
5074 io.Writers helping you to transform blocks of text.")
5075 (license license:expat)))
5077 (define-public go-github-com-muesli-reflow-ansi
5079 (inherit go-github-com-muesli-reflow-wordwrap)
5080 (name "go-github-com-muesli-reflow-ansi")
5082 `(#:import-path "github.com/muesli/reflow/ansi"
5083 #:unpack-path "github.com/muesli/reflow"))))
5085 (define-public go-github-com-muesli-reflow-indent
5087 (inherit go-github-com-muesli-reflow-wordwrap)
5088 (name "go-github-com-muesli-reflow-indent")
5090 `(#:import-path "github.com/muesli/reflow/indent"
5091 #:unpack-path "github.com/muesli/reflow"))))
5093 (define-public go-github-com-muesli-reflow-padding
5095 (inherit go-github-com-muesli-reflow-wordwrap)
5096 (name "go-github-com-muesli-reflow-padding")
5098 `(#:import-path "github.com/muesli/reflow/padding"
5099 #:unpack-path "github.com/muesli/reflow"))))
5101 (define-public go-github-com-muesli-termenv
5103 (name "go-github-com-muesli-termenv")
5108 (url "https://github.com/muesli/termenv")
5109 (commit (string-append "v" version))))
5110 (file-name (git-file-name name version))
5113 "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
5114 (build-system go-build-system)
5116 `(#:import-path "github.com/muesli/termenv"))
5118 `(("go-github-com-google-goterm" ,go-github-com-google-goterm)
5119 ("go-golang-org-colorful" ,go-golang-org-colorful)
5120 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5121 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5122 (home-page "https://github.com/muesli/termenv/")
5123 (synopsis "Advanced styling options on the terminal")
5124 (description "termenv lets you safely use advanced styling options on the
5125 terminal. It gathers information about the terminal environment in terms of
5126 its ANSI and color support and offers you convenient methods to colorize and
5127 style your output, without you having to deal with all kinds of weird ANSI
5128 escape sequences and color conversions.")
5129 (license license:expat)))
5131 (define-public go-github-com-olekukonko-tablewriter
5133 (name "go-github-com-olekukonko-tablewriter")
5138 (url "https://github.com/olekukonko/tablewriter")
5139 (commit (string-append "v" version))))
5140 (file-name (git-file-name name version))
5143 "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x"))))
5144 (build-system go-build-system)
5146 `(#:import-path "github.com/olekukonko/tablewriter"))
5148 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5149 (home-page "https://github.com/olekukonko/tablewriter/")
5150 (synopsis "Generate ASCII table")
5151 (description "This package generates ASCII tables. Features:
5153 @item automatic Padding
5154 @item support Multiple Lines
5155 @item supports Alignment
5156 @item support Custom Separators
5157 @item automatic Alignment of numbers and percentage
5158 @item write directly to http , file etc via @code{io.Writer}
5159 @item read directly from CSV file
5160 @item optional row line via @code{SetRowLine}
5161 @item normalise table header
5162 @item make CSV Headers optional
5163 @item enable or disable table border
5164 @item set custom footer support
5165 @item optional identical cells merging
5166 @item set custom caption
5167 @item optional reflowing of paragrpahs in multi-line cells
5169 (license license:expat)))
5171 (define-public go-github-com-yuin-goldmark
5173 (name "go-github-com-yuin-goldmark")
5178 (url "https://github.com/yuin/goldmark")
5179 (commit (string-append "v" version))))
5180 (file-name (git-file-name name version))
5183 "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy"))))
5184 (build-system go-build-system)
5186 `(#:import-path "github.com/yuin/goldmark"))
5187 (home-page "https://github.com/yuin/goldmark/")
5188 (synopsis "Markdown parser")
5189 (description "This package provides a markdown parser.")
5190 (license license:expat)))
5192 (define-public go-github-com-charmbracelet-glamour
5194 (name "go-github-com-charmbracelet-glamour")
5199 (url "https://github.com/charmbracelet/glamour")
5200 (commit (string-append "v" version))))
5201 (file-name (git-file-name name version))
5204 "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
5205 (build-system go-build-system)
5207 `(#:import-path "github.com/charmbracelet/glamour"))
5209 `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
5210 ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
5211 ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
5212 ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
5213 ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5214 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5215 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5216 ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
5217 ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
5218 ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
5219 ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
5220 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
5221 ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
5222 ("go-github-com-google-goterm" ,go-github-com-google-goterm)
5223 ("go-golang-org-colorful" ,go-golang-org-colorful)
5224 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5225 ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
5226 ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
5227 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5228 (home-page "https://github.com/charmbracelet/glamour/")
5229 (synopsis "Write handsome command-line tools with glamour")
5230 (description "@code{glamour} lets you render markdown documents and
5231 templates on ANSI compatible terminals. You can create your own stylesheet or
5232 use one of our glamourous default themes.")
5233 (license license:expat)))
5235 (define-public go-github-com-coreos-go-semver
5237 (name "go-github-com-coreos-go-semver")
5242 (url "https://github.com/coreos/go-semver")
5243 (commit (string-append "v" version))))
5244 (file-name (git-file-name name version))
5247 "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9"))))
5248 (build-system go-build-system)
5250 `(#:import-path "github.com/coreos/go-semver"))
5251 (home-page "https://github.com/coreos/go-semver/")
5252 (synopsis "Semantic versioning library")
5253 (description "@code{go-semver} is a semantic versioning library for Go.
5254 It lets you parse and compare two semantic version strings.")
5255 (license license:asl2.0)))
5257 (define-public go-github-com-emirpasic-gods
5259 (name "go-github-com-emirpasic-gods")
5264 (url "https://github.com/emirpasic/gods")
5265 (commit (string-append "v" version))))
5266 (file-name (git-file-name name version))
5269 "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1"))))
5270 (build-system go-build-system)
5272 `(#:import-path "github.com/emirpasic/gods"
5273 ; Source-only package
5276 (modify-phases %standard-phases
5278 (home-page "https://github.com/emirpasic/gods/")
5279 (synopsis "Implementation of various data structures and algorithms in Go")
5280 (description "This package provides implementation of various data
5281 structures and algorithms in Go.")
5282 (license license:bsd-2)))
5284 (define-public go-gopkg-in-warnings
5286 (name "go-gopkg-in-warnings")
5291 (url "https://github.com/go-warnings/warnings")
5292 (commit (string-append "v" version))))
5293 (file-name (git-file-name name version))
5296 "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81"))))
5297 (build-system go-build-system)
5299 `(#:import-path "gopkg.in/warnings.v0"))
5300 (home-page "https://gopkg.in/warnings.v0")
5301 (synopsis "Error handling with non-fatal errors")
5302 (description "Package warnings implements error handling with non-fatal
5303 errors (warnings).")
5304 (license license:bsd-2)))
5306 (define-public go-github-com-go-git-gcfg
5308 (name "go-github-com-go-git-gcfg")
5313 (url "https://github.com/go-git/gcfg")
5314 (commit (string-append "v" version))))
5315 (file-name (git-file-name name version))
5318 "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83"))))
5320 `(#:import-path "github.com/go-git/gcfg"))
5322 `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings)
5323 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
5324 (build-system go-build-system)
5325 (home-page "https://github.com/go-git/gcfg/")
5326 (synopsis "Gcfg reads INI-style configuration files into Go structs")
5327 (description "Gcfg reads INI-style configuration files into Go structs.")
5328 (license license:bsd-3)))
5330 (define-public go-github-com-go-git-go-billy
5332 (name "go-github-com-go-git-go-billy")
5337 (url "https://github.com/go-git/go-billy")
5338 (commit (string-append "v" version))))
5339 (file-name (git-file-name name version))
5342 "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx"))))
5343 (build-system go-build-system)
5345 `(#:import-path "github.com/go-git/go-billy/v5"))
5347 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5348 (home-page "https://github.com/go-git/go-billy/")
5349 (synopsis "File system abstraction for Go")
5350 (description "Billy implements an interface based on the OS's standard
5351 library to develop applications without depending on the underlying storage.
5352 This makes it virtually free to implement mocks and testing over
5353 file system operations.")
5354 (license license:asl2.0)))
5356 (define-public go-github-com-jbenet-go-context
5357 (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
5360 (name "go-github-com-jbenet-go-context")
5361 (version (git-version "0.0.1" revision commit))
5365 (url "https://github.com/jbenet/go-context")
5367 (file-name (git-file-name name version))
5370 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
5371 (build-system go-build-system)
5373 `(#:import-path "github.com/jbenet/go-context"
5374 ; Source-only package
5377 (modify-phases %standard-phases
5379 (home-page "https://github.com/jbenet/go-context/")
5380 (synopsis "@code{jbenet's} context extensions")
5381 (description "This package provides @code{jbenet's} context
5383 (license license:expat))))
5385 (define-public go-github-com-kevinburke-ssh-config
5387 (name "go-github-com-kevinburke-ssh-config")
5392 (url "https://github.com/kevinburke/ssh_config")
5394 (file-name (git-file-name name version))
5397 "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f"))))
5399 `(#:import-path "github.com/kevinburke/ssh_config"))
5400 (build-system go-build-system)
5401 (home-page "https://github.com/kevinburke/ssh_config/")
5402 (synopsis "Parser for @file{ssh_config} files")
5403 (description "This is a Go parser for @file{ssh_config} files.
5404 Importantly, this parser attempts to preserve comments in a given file, so you
5405 can manipulate a @file{ssh_config} file from a program.")
5406 (license license:expat)))
5408 (define-public go-github-com-xanzy-ssh-agent
5410 (name "go-github-com-xanzy-ssh-agent")
5415 (url "https://github.com/xanzy/ssh-agent")
5416 (commit (string-append "v" version))))
5417 (file-name (git-file-name name version))
5420 "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
5421 (build-system go-build-system)
5423 `(#:import-path "github.com/xanzy/ssh-agent"))
5425 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
5426 (home-page "https://github.com/xanzy/ssh-agent/")
5427 (synopsis "Control ssh-agent from Go")
5428 (description "Package agent implements the ssh-agent protocol, and
5429 provides both a client and a server. The client can talk to a standard
5430 ssh-agent that uses UNIX sockets, and one could implement an alternative
5431 ssh-agent process using the sample server. ")
5432 (license license:asl2.0)))
5434 (define-public go-github-com-alcortesm-tgz
5435 (let ((commit "9c5fe88206d7765837fed3732a42ef88fc51f1a1")
5438 (name "go-github-com-alcortesm-tgz")
5439 (version (git-version "0.0.1" revision commit))
5443 (url "https://github.com/alcortesm/tgz")
5445 (file-name (git-file-name name version))
5448 "04dcwnz2c2i4wbq2vx3g2wrdgqpncr2r1h6p1k08rdwk4bq1h8c5"))
5449 (modules '((guix build utils)))
5452 (substitute* "tgz_test.go"
5454 (("t.Fatalf\\(\"%s: unexpected error extracting: %s\", err\\)")
5455 "t.Fatalf(\"%s: unexpected error extracting: %s\", com, err)"))
5457 (build-system go-build-system)
5459 `(#:import-path "github.com/alcortesm/tgz"
5461 (modify-phases %standard-phases
5462 (add-after 'unpack 'make-git-checkout-writable
5463 (lambda* (#:key outputs #:allow-other-keys)
5464 (for-each make-file-writable (find-files "."))
5465 (for-each make-file-writable (find-files (assoc-ref outputs "out")))
5467 (home-page "https://github.com/alcortesm/tgz/")
5468 (synopsis "Go library to extract tgz files to temporal directories")
5469 (description "This package provides a Go library to extract tgz files to
5470 temporal directories.")
5471 (license license:expat))))
5473 (define-public go-github-com-go-git-go-git-fixtures
5475 (name "go-github-com-go-git-go-git-fixtures")
5480 (url "https://github.com/go-git/go-git-fixtures")
5481 (commit (string-append "v" version))))
5482 (file-name (git-file-name name version))
5485 "002yb1s2mxq2xijkl39ip1iyc3l52k23ikyi9ijfl4bgqxy79ljg"))))
5486 (build-system go-build-system)
5488 `(#:import-path "github.com/go-git/go-git-fixtures/v4"
5490 (modify-phases %standard-phases
5491 (delete 'reset-gzip-timestamps))))
5493 `(("go-github-com-alcortesm-tgz" ,go-github-com-alcortesm-tgz)
5494 ("go-github-com-go-git-go-billy" ,go-github-com-go-git-go-billy)
5495 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
5496 ("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5497 (home-page "https://github.com/go-git/go-git-fixtures/")
5498 (synopsis "Fixtures used by @code{go-git}")
5499 (description "This package provides fixtures used by @code{go-git}.")
5500 (license license:asl2.0)))
5502 (define-public go-github-com-pkg-diff
5503 (let ((commit "531926345625d489a6b56f860a569e68245ace36")
5506 (name "go-github-com-pkg-diff")
5507 (version (git-version "0.0.1" revision commit))
5511 (url "https://github.com/pkg/diff")
5513 (file-name (git-file-name name version))
5516 "1770m7qhww6lm0wj1v3mhv6hwa2v92p4w2fqxj1xyrg5dd58d944"))))
5517 (build-system go-build-system)
5519 `(#:import-path "github.com/pkg/diff"))
5521 `(("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
5522 (home-page "https://github.com/pkg/diff/")
5523 (synopsis "Create and print diffs")
5525 "This package provides a Go library to create and print diffs.")
5526 (license license:bsd-3))))
5528 (define-public go-github-com-twpayne-go-shell
5530 (name "go-github-com-twpayne-go-shell")
5535 (url "https://github.com/twpayne/go-shell")
5536 (commit (string-append "v" version))))
5537 (file-name (git-file-name name version))
5540 "1hv0ggy3935iddjnmpp9vl0kqjknxpnbmm9w7xr3gds7fpbxz6yp"))))
5541 (build-system go-build-system)
5543 `(#:import-path "github.com/twpayne/go-shell"))
5544 (home-page "https://github.com/twpayne/go-shell/")
5545 (synopsis "Shell across multiple platforms")
5547 "Package @code{shell} returns a user's shell across multiple platforms.")
5548 (license license:expat)))
5550 (define-public go-github-com-twpayne-go-vfs
5552 (name "go-github-com-twpayne-go-vfs")
5557 (url "https://github.com/twpayne/go-vfs")
5558 (commit (string-append "v" version))))
5559 (file-name (git-file-name name version))
5562 "19dm3gi45znwaqbzxhwcgkiz8059bwa3ank80hc6qhdl579bpjnz"))))
5563 (build-system go-build-system)
5565 `(#:import-path "github.com/twpayne/go-vfs"))
5567 `(("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar)))
5568 (home-page "https://github.com/twpayne/go-vfs/")
5569 (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
5570 (description "Package @code{vfs} provides an abstraction of the @code{os}
5571 and @code{ioutil} packages that is easy to test.")
5572 (license license:expat)))
5574 (define-public go-github-com-twpayne-go-vfsafero
5576 (name "go-github-com-twpayne-go-vfsafero")
5581 (url "https://github.com/twpayne/go-vfsafero")
5582 (commit (string-append "v" version))))
5583 (file-name (git-file-name name version))
5586 "18jwxhlrjd06z8xzg9ij0irl4f79jfy5jpwiz6xqlhzb1fja19pw"))))
5587 (build-system go-build-system)
5589 `(#:import-path "github.com/twpayne/go-vfsafero"))
5591 `(("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)
5592 ("go-github-com-spf13-afero" ,go-github-com-spf13-afero)))
5593 (home-page "https://github.com/twpayne/go-vfsafero/")
5594 (synopsis "Compatibility later between @code{go-vfs} and @code{afero}")
5596 "Package @code{vfsafero} provides a compatibility later between
5597 @code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.")
5598 (license license:expat)))
5600 (define-public go-github-com-twpayne-go-xdg
5602 (name "go-github-com-twpayne-go-xdg")
5607 (url "https://github.com/twpayne/go-xdg")
5608 (commit (string-append "v" version))))
5609 (file-name (git-file-name name version))
5612 "0j8q7yzixs6jlaad0lpa8hs6b240gm2cmy0yxgnprrbpa0y2r7ln"))))
5613 (build-system go-build-system)
5615 `(#:import-path "github.com/twpayne/go-xdg/v3"))
5617 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
5618 ("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)))
5619 (home-page "https://github.com/twpayne/go-xdg/")
5620 (synopsis "Functions related to freedesktop.org")
5621 (description "Package @code{xdg} provides functions related to
5622 @uref{freedesktop.org}.")
5623 (license license:expat)))
5625 (define-public go-github-com-godbus-dbus
5627 (name "go-github-com-godbus-dbus")
5632 (url "https://github.com/godbus/dbus")
5633 (commit (string-append "v" version))))
5634 (file-name (git-file-name name version))
5637 "1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
5638 (build-system go-build-system)
5640 `(#:tests? #f ;no /var/run/dbus/system_bus_socket
5641 #:import-path "github.com/godbus/dbus"))
5643 `(("dbus" ,dbus))) ;dbus-launch
5644 (home-page "https://github.com/godbus/dbus/")
5645 (synopsis "Native Go client bindings for the D-Bus")
5646 (description "@code{dbus} is a library that implements native Go client
5647 bindings for the D-Bus message bus system.")
5648 (license license:bsd-2)))
5650 (define-public go-github-com-zalando-go-keyring
5652 (name "go-github-com-zalando-go-keyring")
5657 (url "https://github.com/zalando/go-keyring")
5658 (commit (string-append "v" version))))
5659 (file-name (git-file-name name version))
5662 "0kj54nkiyccy6m9iy9a53f6412a54xk96j88jaiq35yzdgfa4z3p"))))
5663 (build-system go-build-system)
5665 `(#:tests? #f ;XXX: Fix dbus tests
5666 #:import-path "github.com/zalando/go-keyring"))
5668 `(("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus)
5670 (home-page "https://github.com/zalando/go-keyring/")
5671 (synopsis "Library for working with system keyring")
5672 (description "@code{go-keyring} is a library for setting, getting and
5673 deleting secrets from the system keyring.")
5674 (license license:expat)))
5676 (define-public go-etcd-io-bbolt
5678 (name "go-etcd-io-bbolt")
5683 (url "https://github.com/etcd-io/bbolt")
5684 (commit (string-append "v" version))))
5685 (file-name (git-file-name name version))
5688 "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r"))))
5689 (build-system go-build-system)
5691 `(#:import-path "go.etcd.io/bbolt"))
5692 (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
5693 (synopsis "Low-level key/value store in Go")
5694 (description "This package implements a low-level key/value store in Go.")
5695 (license license:expat)))
5697 (define-public go-github-com-rogpeppe-go-internal
5699 (name "go-github-com-rogpeppe-go-internal")
5704 (url "https://github.com/rogpeppe/go-internal")
5705 (commit (string-append "v" version))))
5706 (file-name (git-file-name name version))
5709 "00j2vpp1bsggdvw1winkz23mg0q6drjiir5q0k49pmqx1sh7106l"))))
5710 (build-system go-build-system)
5712 `(#:import-path "github.com/rogpeppe/go-internal"
5713 ; Source-only package
5716 (modify-phases %standard-phases
5718 (home-page "https://github.com/rogpeppe/go-internal/")
5719 (synopsis "Internal packages from the Go standard library")
5720 (description "This repository factors out an opinionated selection of
5721 internal packages and functionality from the Go standard library. Currently
5722 this consists mostly of packages and testing code from within the Go tool
5725 Included are the following:
5727 @item dirhash: calculate hashes over directory trees the same way that the Go tool does.
5728 @item goproxytest: a GOPROXY implementation designed for test use.
5729 @item gotooltest: Use the Go tool inside test scripts (see testscript below)
5730 @item imports: list of known architectures and OSs, and support for reading import import statements.
5731 @item modfile: read and write go.mod files while preserving formatting and comments.
5732 @item module: module paths and versions.
5733 @item par: do work in parallel.
5734 @item semver: semantic version parsing.
5735 @item testenv: information on the current testing environment.
5736 @item testscript: script-based testing based on txtar files
5737 @item txtar: simple text-based file archives for testing.
5739 (license license:bsd-3)))
5741 (define-public gopkg-in-errgo-fmt-errors
5743 (name "gopkg-in-errgo-fmt-errors")
5748 (url "https://github.com/go-errgo/errgo")
5749 (commit (string-append "v" version))))
5750 (file-name (git-file-name name version))
5753 "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2"))))
5754 (build-system go-build-system)
5756 `(#:import-path "gopkg.in/errgo.v2/fmt/errors"
5758 ;; Source-only package
5760 (modify-phases %standard-phases
5762 (home-page "https://godoc.org/gopkg.in/errgo.v2")
5763 (synopsis "Functions that use the fmt package to format error messages")
5764 (description "This package is the same as @code{gopkg.in/errgo.v2/errors}
5765 except that it adds convenience functions that use the fmt package to format
5767 (license license:bsd-3)))
5769 (define-public go-github-com-arceliar-phony
5770 (let ((commit "d0c68492aca0bd4b5c5c8e0452c9b4c8af923eaf")
5773 (name "go-github-com-arceliar-phony")
5774 (version (git-version "0.0.0" revision commit))
5779 (url "https://github.com/Arceliar/phony")
5781 (file-name (git-file-name name version))
5784 "0876y0hlb1zh8hn0pxrb5zfdadvaqmqwlr66p19yl2a76galz992"))))
5786 '(#:import-path "github.com/Arceliar/phony"))
5787 (build-system go-build-system)
5788 (home-page "https://github.com/Arceliar/phony")
5789 (synopsis "Very minimal actor model library")
5790 (description "Phony is a very minimal actor model library for Go,
5791 inspired by the causal messaging system in the Pony programming language.")
5792 (license license:expat))))
5794 (define-public go-github-com-cheggaaa-pb
5796 (name "go-github-com-cheggaaa-pb")
5802 (url "https://github.com/cheggaaa/pb/")
5803 (commit (string-append "v" version))))
5804 (file-name (git-file-name name version))
5807 "0xhsv9yf3fz918ay6w0d87jnb3hk9vxvi16jk172kqq26x7jixd0"))))
5808 (build-system go-build-system)
5810 '(#:import-path "github.com/cheggaaa/pb/"))
5812 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
5813 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
5814 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
5815 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
5817 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
5818 (home-page "https://github.com/cheggaaa/pb/")
5819 (synopsis "Console progress bar for Go")
5820 (description "This package is a Go library that draws progress bars on
5822 (license license:bsd-3)))
5824 (define-public go-github-com-gologme-log
5825 ;; this is the same as v1.2.0, only the LICENSE file changed
5826 (let ((commit "720ba0b3ccf0a91bc6018c9967a2479f93f56a55"))
5828 (name "go-github-com-gologme-log")
5834 (url "https://github.com/gologme/log")
5836 (file-name (git-file-name name version))
5839 "0z3gs5ngv2jszp42ypp3ai0pn410v3b2m674g73ma7vsbn2yjk1n"))))
5840 (build-system go-build-system)
5842 '(#:import-path "github.com/gologme/log"))
5843 (home-page "https://github.com/gologme/log/")
5845 "Fork of the golang built in log package to add support for levels")
5846 (description "This package is a drop in replacement for the built-in Go
5847 log package. All the functionality of the built-in package still exists and
5848 is unchanged. This package contains a series of small enhancements and
5850 (license license:bsd-3))))
5852 (define-public go-github-com-frankban-quicktest
5854 (name "go-github-com-frankban-quicktest")
5860 (url "https://github.com/frankban/quicktest")
5861 (commit (string-append "v" version))))
5862 (file-name (git-file-name name version))
5865 "0b1b44b2hli2p969gqz30z8v9z6ahlklpqzi17nwk1lsjz9yv938"))))
5866 (build-system go-build-system)
5868 '(#:import-path "github.com/frankban/quicktest"))
5870 `(("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)
5871 ("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
5872 (home-page "https://github.com/frankban/quicktest")
5873 (synopsis "Quick helpers for testing Go applications")
5875 "Package quicktest provides a collection of Go helpers for writing
5877 (license license:expat)))
5879 (define-public go-github-com-bep-golibsass
5881 (name "go-github-com-bep-golibsass")
5887 (url "https://github.com/bep/golibsass")
5888 (commit (string-append "v" version))))
5889 (file-name (git-file-name name version))
5892 "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
5893 (modules '((guix build utils)))
5896 (delete-file-recursively "libsass_src")
5898 (build-system go-build-system)
5900 '(#:import-path "github.com/bep/golibsass/libsass"
5901 #:unpack-path "github.com/bep/golibsass"
5902 ;; The dev build tag modifies the build to link to system libsass
5903 ;; instead of including the bundled one (which we remove.)
5904 ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
5905 #:build-flags '("-tags" "dev")
5907 (modify-phases %standard-phases
5908 (add-before 'build 'generate-bindings
5909 ;; Generate bindings for system libsass, replacing the
5910 ;; pre-generated bindings.
5911 (lambda* (#:key inputs unpack-path #:allow-other-keys)
5912 (mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
5913 (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
5914 (substitute* (string-append "src/" unpack-path "/gen/main.go")
5915 (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
5916 (string-append "\"" libsass-src "\""))
5917 (("../../libsass_src/src/")
5919 (invoke "go" "generate" (string-append unpack-path "/gen"))
5922 (lambda* (#:key tests? import-path #:allow-other-keys)
5924 (invoke "go" "test" import-path "-tags" "dev"))
5927 `(("libsass" ,libsass)))
5929 `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
5930 ("libsass-src" ,(package-source libsass))))
5931 (home-page "https://github.com/bep/golibsass")
5932 (synopsis "Easy to use Go bindings for LibSass")
5934 "This package provides SCSS compiler support for Go applications.")
5935 (license license:expat)))
5937 (define-public go-github-com-hashicorp-go-syslog
5939 (name "go-github-com-hashicorp-go-syslog")
5945 (url "https://github.com/hashicorp/go-syslog")
5946 (commit (string-append "v" version))))
5947 (file-name (git-file-name name version))
5950 "09vccqggz212cg0jir6vv708d6mx0f9w5bxrcdah3h6chgmal6v1"))))
5951 (build-system go-build-system)
5953 '(#:import-path "github.com/hashicorp/go-syslog"))
5954 (home-page "https://github.com/hashicorp/go-syslog")
5955 (synopsis "Golang syslog wrapper, cross-compile friendly")
5956 (description "This package is a very simple wrapper around log/syslog")
5957 (license license:expat)))
5959 (define-public go-github-com-hjson-hjson-go
5961 (name "go-github-com-hjson-hjson-go")
5967 (url "https://github.com/hjson/hjson-go")
5968 (commit (string-append "v" version))))
5969 (file-name (git-file-name name version))
5972 "1dfdiahimg6z9idg8jiqxwnlwjnmasbjccx8gnag49cz4yfqskaz"))))
5973 (build-system go-build-system)
5975 '(#:import-path "github.com/hjson/hjson-go"))
5976 (home-page "https://hjson.org/")
5977 (synopsis "Human JSON implementation for Go")
5978 (description "Hjson is a syntax extension to JSON. It is intended to be
5979 used like a user interface for humans, to read and edit before passing the
5980 JSON data to the machine.")
5981 (license license:expat)))
5983 (define-public go-golang-zx2c4-com-wireguard
5985 (name "go-golang-zx2c4-com-wireguard")
5986 (version "0.0.20200320")
5990 ;; NOTE: module URL is a redirect
5991 ;; target: git.zx2c4.com/wireguard-go
5992 ;; source: golang.zx2c4.com/wireguard
5994 (url "https://git.zx2c4.com/wireguard-go/")
5995 (commit (string-append "v" version))))
5996 (file-name (git-file-name name version))
5999 "0fy4qsss3i3pkq1rpgjds4aipbwlh1dr9hbbf7jn2a1c63kfks0r"))))
6000 (build-system go-build-system)
6002 '(#:import-path "golang.zx2c4.com/wireguard"))
6004 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
6005 ("go-golang-org-x-net" ,go-golang-org-x-net)
6006 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
6007 ("go-golang-org-x-text" ,go-golang-org-x-text)))
6008 (home-page "https://git.zx2c4.com/wireguard")
6009 (synopsis "Implementation of WireGuard in Go")
6010 (description "This package is a Go Implementation of WireGuard.")
6011 (license license:expat)))
6013 (define-public go-github-com-kardianos-minwinsvc
6015 (name "go-github-com-kardianos-minwinsvc")
6021 (url "https://github.com/kardianos/minwinsvc")
6022 (commit (string-append "v" version))))
6023 (file-name (git-file-name name version))
6026 "0z941cxymkjcsj3p5l3g4wm2da3smz7iyqk2wbs5y8lmxd4kfzd8"))))
6027 (build-system go-build-system)
6029 '(#:import-path "github.com/kardianos/minwinsvc"))
6030 (home-page "https://github.com/kardianos/minwinsvc/")
6031 ;; some packages (Yggdrasil) need it to compile
6032 ;; it's a tiny package and it's easier to bundle it than to patch it out
6033 (synopsis "Minimal windows only service stub for Go")
6034 (description "Go programs designed to run from most *nix style operating
6035 systems can import this package to enable running programs as services without
6037 (license license:zlib)))