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 (ice-9 match)
62 #:use-module (srfi srfi-1))
64 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
65 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
66 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
67 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
68 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
69 ;; gccgo-5. Mips is not officially supported, but it should work if it is
75 ;; The C-language bootstrap of Go:
76 ;; https://golang.org/doc/install/source#go14
77 (version "1.4-bootstrap-20171003")
80 (uri (string-append "https://storage.googleapis.com/golang/"
81 name version ".tar.gz"))
84 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
85 (build-system gnu-build-system)
90 `(#:modules ((ice-9 match)
91 (guix build gnu-build-system)
94 #:tests? #f ; Tests are run by the all.bash script.
95 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
96 (%current-target-system)))
97 '(#:system "armhf-linux")
100 (modify-phases %standard-phases
102 (add-after 'patch-generated-file-shebangs 'chdir
106 (add-before 'build 'prebuild
107 (lambda* (#:key inputs outputs #:allow-other-keys)
108 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
109 (ld (string-append (assoc-ref inputs "libc") "/lib"))
110 (loader (car (find-files ld "^ld-linux.+")))
111 (net-base (assoc-ref inputs "net-base"))
113 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
114 (output (assoc-ref outputs "out")))
116 ;; Removing net/ tests, which fail when attempting to access
117 ;; network resources not present in the build container.
118 (for-each delete-file
119 '("net/multicast_test.go" "net/parse_test.go"
122 ;; Add libgcc to the RUNPATH.
123 (substitute* "cmd/go/build.go"
124 (("cgoldflags := \\[\\]string\\{\\}")
125 (string-append "cgoldflags := []string{"
126 "\"-rpath=" gcclib "\"}"))
127 (("ldflags := buildLdflags")
129 "ldflags := buildLdflags\n"
130 "ldflags = append(ldflags, \"-r\")\n"
131 "ldflags = append(ldflags, \"" gcclib "\")\n")))
133 (substitute* "os/os_test.go"
134 (("/usr/bin") (getcwd))
135 (("/bin/pwd") (which "pwd")))
137 ;; Disable failing tests: these tests attempt to access
138 ;; commands or network resources which are neither available or
139 ;; necessary for the build to succeed.
144 ((regex all before test_name)
145 (string-append before "Disabled" test_name)))))
146 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
147 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
148 ("os/os_test.go" "(.+)(TestHostname.+)")
149 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
151 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
152 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
153 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
154 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
155 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
156 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
157 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
158 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
159 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
161 (substitute* "net/lookup_unix.go"
162 (("/etc/protocols") (string-append net-base "/etc/protocols")))
163 (substitute* "time/zoneinfo_unix.go"
164 (("/usr/share/zoneinfo/") tzdata-path))
165 (substitute* (find-files "cmd" "asm.c")
166 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
170 (lambda* (#:key inputs outputs #:allow-other-keys)
171 ;; FIXME: Some of the .a files are not bit-reproducible.
172 (let* ((output (assoc-ref outputs "out")))
173 (setenv "CC" (which "gcc"))
174 (setenv "GOOS" "linux")
175 (setenv "GOROOT" (dirname (getcwd)))
176 (setenv "GOROOT_FINAL" output)
177 (setenv "GO14TESTS" "1")
178 (invoke "sh" "all.bash"))))
181 (lambda* (#:key outputs inputs #:allow-other-keys)
182 (let* ((output (assoc-ref outputs "out"))
183 (doc_out (assoc-ref outputs "doc"))
184 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
185 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
186 (tests (string-append
187 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
189 (copy-recursively "../test" (string-append tests "/test"))
190 (delete-file-recursively "../test")
192 (copy-recursively "../api" (string-append docs "/api"))
193 (delete-file-recursively "../api")
194 (copy-recursively "../doc" (string-append docs "/doc"))
195 (delete-file-recursively "../doc")
197 (for-each (lambda (file)
198 (let ((file (string-append "../" file)))
199 (install-file file docs)
201 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
202 "LICENSE" "VERSION" "robots.txt"))
203 (copy-recursively "../" output)
208 ("gcc:lib" ,(canonical-package gcc) "lib")))
210 `(("pkg-config" ,pkg-config)
212 ("net-base" ,net-base)
215 (home-page "https://golang.org/")
216 (synopsis "Compiler and libraries for Go, a statically-typed language")
217 (description "Go, also commonly referred to as golang, is an imperative
218 programming language designed primarily for systems programming. Go is a
219 compiled, statically typed language in the tradition of C and C++, but adds
220 garbage collection, various safety features, and concurrent programming features
221 in the style of communicating sequential processes (@dfn{CSP}).")
222 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
223 (license license:bsd-3)))
225 (define-public go-1.14
234 (url "https://github.com/golang/go")
235 (commit (string-append "go" version))))
236 (file-name (git-file-name name version))
239 "08bazglmqp123c9dgrxflvxd011xsqfxsgah2kzbvca0mhm6qcm3"))))
241 (substitute-keyword-arguments (package-arguments go-1.4)
243 (if (string-prefix? "aarch64-linux" (or (%current-system)
244 (%current-target-system)))
248 `(modify-phases ,phases
250 (lambda* (#:key inputs outputs #:allow-other-keys)
251 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
252 (ld (string-append (assoc-ref inputs "libc") "/lib"))
253 (loader (car (find-files ld "^ld-linux.+")))
254 (net-base (assoc-ref inputs "net-base"))
256 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
257 (output (assoc-ref outputs "out")))
259 ;; Having the patch in the 'patches' field of <origin> breaks
260 ;; the 'TestServeContent' test due to the fact that
261 ;; timestamps are reset. Thus, apply it from here.
262 (invoke "patch" "-p2" "--force" "-i"
263 (assoc-ref inputs "go-skip-gc-test.patch"))
265 ;; A side effect of these test scripts is testing
266 ;; cgo. Attempts at using cgo flags and directives with these
267 ;; scripts as specified here (https://golang.org/cmd/cgo/)
268 ;; have not worked. The tests continue to state that they can
269 ;; not find object files/headers despite being present.
272 '("cmd/go/testdata/script/mod_case_cgo.txt"
273 "cmd/go/testdata/script/list_find.txt"
274 "cmd/go/testdata/script/list_compiled_imports.txt"
275 "cmd/go/testdata/script/cgo_syso_issue29253.txt"
276 "cmd/go/testdata/script/cover_cgo.txt"
277 "cmd/go/testdata/script/cover_cgo_xtest.txt"
278 "cmd/go/testdata/script/cover_cgo_extra_test.txt"
279 "cmd/go/testdata/script/cover_cgo_extra_file.txt"))
281 (for-each make-file-writable (find-files "."))
283 (substitute* "os/os_test.go"
284 (("/usr/bin") (getcwd))
285 (("/bin/pwd") (which "pwd"))
286 (("/bin/sh") (which "sh")))
288 ;; Add libgcc to runpath
289 (substitute* "cmd/link/internal/ld/lib.go"
290 (("!rpath.set") "true"))
291 (substitute* "cmd/go/internal/work/gccgo.go"
292 (("cgoldflags := \\[\\]string\\{\\}")
293 (string-append "cgoldflags := []string{"
294 "\"-rpath=" gcclib "\""
298 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
299 (substitute* "cmd/go/internal/work/gc.go"
300 (("ldflags = setextld\\(ldflags, compiler\\)")
302 "ldflags = setextld(ldflags, compiler)\n"
303 "ldflags = append(ldflags, \"-r\")\n"
304 "ldflags = append(ldflags, \"" gcclib "\")\n")))
306 ;; Disable failing tests: these tests attempt to access
307 ;; commands or network resources which are neither available
308 ;; nor necessary for the build to succeed.
313 ((regex all before test_name)
314 (string-append before "Disabled" test_name)))))
315 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
316 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
317 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
318 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
319 ;; 127.0.0.1 doesn't exist
320 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
321 ;; 127.0.0.1 doesn't exist
322 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
323 ;; /etc/services doesn't exist
324 ("net/parse_test.go" "(.+)(TestReadLine.+)")
325 ("os/os_test.go" "(.+)(TestHostname.+)")
326 ;; The user's directory doesn't exist
327 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
328 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
329 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
330 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
331 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
332 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
333 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
334 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
335 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
336 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
337 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
338 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
339 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
340 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
341 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
342 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
343 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
344 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
345 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
346 ("syscall/exec_linux_test.go"
347 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
349 ;; These tests fail on aarch64-linux
350 (substitute* "cmd/dist/test.go"
351 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
353 ;; fix shebang for testar script
354 ;; note the target script is generated at build time.
355 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
356 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
358 (substitute* "net/lookup_unix.go"
359 (("/etc/protocols") (string-append net-base "/etc/protocols")))
360 (substitute* "net/port_unix.go"
361 (("/etc/services") (string-append net-base "/etc/services")))
362 (substitute* "time/zoneinfo_unix.go"
363 (("/usr/share/zoneinfo/") tzdata-path))
364 (substitute* (find-files "cmd" "\\.go")
365 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
367 (add-before 'build 'set-bootstrap-variables
368 (lambda* (#:key outputs inputs #:allow-other-keys)
369 ;; Tell the build system where to find the bootstrap Go.
370 (let ((go (assoc-ref inputs "go")))
371 (setenv "GOROOT_BOOTSTRAP" go)
372 (setenv "GOGC" "400")
375 (lambda* (#:key inputs outputs #:allow-other-keys)
376 ;; FIXME: Some of the .a files are not bit-reproducible.
377 (let* ((output (assoc-ref outputs "out")))
378 (setenv "CC" (which "gcc"))
379 (setenv "GOOS" "linux")
380 (setenv "GOROOT" (dirname (getcwd)))
381 (setenv "GOROOT_FINAL" output)
382 (setenv "CGO_ENABLED" "1")
383 (invoke "sh" "all.bash"))))
385 ;; TODO: Most of this could be factorized with Go 1.4.
386 (lambda* (#:key outputs #:allow-other-keys)
387 (let* ((output (assoc-ref outputs "out"))
388 (doc_out (assoc-ref outputs "doc"))
389 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
391 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
392 ;; Prevent installation of the build cache, which contains
393 ;; store references to most of the tools used to build Go and
394 ;; would unnecessarily increase the size of Go's closure if it
396 (delete-file-recursively "../pkg/obj")
399 (copy-recursively "../test" (string-append src "/test"))
400 (delete-file-recursively "../test")
402 (copy-recursively "../api" (string-append docs "/api"))
403 (delete-file-recursively "../api")
404 (copy-recursively "../doc" (string-append docs "/doc"))
405 (delete-file-recursively "../doc")
409 (let* ((filein (string-append "../" file))
410 (fileout (string-append docs "/" file)))
411 (copy-file filein fileout)
412 (delete-file filein)))
413 ;; Note the slightly different file names compared to 1.4.
414 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
415 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
417 (copy-recursively "../" output)
421 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
422 ,@(match (%current-system)
423 ((or "armhf-linux" "aarch64-linux")
424 `(("gold" ,binutils-gold)))
426 ,@(package-native-inputs go-1.4)))
427 (supported-systems %supported-systems)))
429 (define-public go go-1.14)
431 (define-public go-github-com-alsm-ioprogress
432 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
435 (name "go-github-com-alsm-ioprogress")
436 (version (git-version "0.0.0" revision commit))
440 (url "https://github.com/alsm/ioprogress")
442 (file-name (git-file-name name version))
445 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
446 (build-system go-build-system)
448 '(#:import-path "github.com/alsm/ioprogress"))
449 (synopsis "Textual progress bars in Go")
450 (description "@code{ioprogress} is a Go library with implementations of
451 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
452 case for these are for command-line applications but alternate progress bar
453 writers can be supplied for alternate environments.")
454 (home-page "https://github.com/alsm/ioprogress")
455 (license license:expat))))
457 (define-public go-github-com-aki237-nscjar
458 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
461 (name "go-github-com-aki237-nscjar")
462 (version (git-version "0.0.0" revision commit))
466 (url "https://github.com/aki237/nscjar")
468 (file-name (git-file-name name version))
471 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
472 (build-system go-build-system)
474 '(#:import-path "github.com/aki237/nscjar"))
475 (synopsis "Handle Netscape / Mozilla cookies")
476 (description "@code{nscjar} is a Go library used to parse and output
477 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
478 jar struct to manage the cookies added to the cookie jar.")
479 (home-page "https://github.com/aki237/nscjar")
480 (license license:expat))))
482 (define-public go-github.com-jessevdk-go-flags
484 (name "go-github.com-jessevdk-go-flags")
489 (url "https://github.com/jessevdk/go-flags")
490 (commit (string-append "v" version))))
491 (file-name (git-file-name name version))
494 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
495 (build-system go-build-system)
497 '(#:import-path "github.com/jessevdk/go-flags"))
498 (synopsis "Go library for parsing command line arguments")
500 "The @code{flags} package provides a command line option parser. The
501 functionality is similar to the go builtin @code{flag} package, but
502 @code{flags} provides more options and uses reflection to provide a succinct
503 way of specifying command line options.")
504 (home-page "https://github.com/jessevdk/go-flags")
505 (license license:bsd-3)))
507 (define-public go-gopkg.in-tomb.v2
508 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
511 (name "go-gopkg.in-tomb.v2")
512 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
516 (url "https://github.com/go-tomb/tomb")
518 (file-name (string-append name "-" version ".tar.gz"))
521 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
522 (build-system go-build-system)
524 '(#:import-path "gopkg.in/tomb.v2"
526 (modify-phases %standard-phases
527 (add-after 'unpack 'patch-source
529 ;; Add a missing % to fix the compilation of this test
530 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
531 (("t.Fatalf\\(`Killf\\(\"BO%s")
532 "t.Fatalf(`Killf(\"BO%%s"))
534 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
536 "The @code{tomb} package handles clean goroutine tracking and
538 (home-page "https://gopkg.in/tomb.v2")
539 (license license:bsd-3))))
541 (define-public go-github.com-jtolds-gls
543 (name "go-github.com-jtolds-gls")
548 (url "https://github.com/jtolds/gls")
549 (commit (string-append "v" version))))
550 (file-name (git-file-name name version))
553 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
554 (build-system go-build-system)
556 '(#:import-path "github.com/jtolds/gls"))
557 (synopsis "@code{gls} provides Goroutine local storage")
559 "The @code{gls} package provides a way to store a retrieve values
561 (home-page "https://github.com/jtolds/gls")
562 (license license:expat)))
564 (define-public go-github-com-saracen-walker
566 (name "go-github-com-saracen-walker")
572 (url "https://github.com/saracen/walker")
573 (commit (string-append "v" version))))
574 (file-name (git-file-name name version))
576 (base32 "1rq1lrp99lx7k1ysbfznn4c1iagnxdhb4lnnklsadnnzi3gvygqz"))))
577 (build-system go-build-system)
579 `(#:import-path "github.com/saracen/walker"))
581 `(("go-golang-org-x-sync" ,go-golang-org-x-sync)))
582 (home-page "https://github.com/saracen/walker")
583 (synopsis "Faster, parallel version of Go's filepath.Walk")
584 (license license:expat)
585 (description "The @code{walker} function is a faster, parallel version, of
586 @code{filepath.Walk}")))
588 (define-public go-github-com-tj-docopt
590 (name "go-github-com-tj-docopt")
595 (url "https://github.com/tj/docopt")
596 (commit (string-append "v" version))))
597 (file-name (git-file-name name version))
600 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
601 (build-system go-build-system)
603 '(#:import-path "github.com/tj/docopt"))
604 (synopsis "Go implementation of docopt")
606 "This library allows the user to define a command-line interface from a
607 program's help message rather than specifying it programmatically with
608 command-line parsers.")
609 (home-page "https://github.com/tj/docopt")
610 (license license:expat)))
612 (define-public go-github-com-hashicorp-hcl
613 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
616 (name "go-github-com-hashicorp-hcl")
617 (version (git-version "0.0.0" revision commit))
621 (url "https://github.com/hashicorp/hcl")
623 (file-name (git-file-name name version))
626 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
627 (build-system go-build-system)
630 #:import-path "github.com/hashicorp/hcl"))
631 (synopsis "Go implementation of HashiCorp Configuration Language")
633 "This package contains the main implementation of the @acronym{HCL,
634 HashiCorp Configuration Language}. HCL is designed to be a language for
635 expressing configuration which is easy for both humans and machines to read.")
636 (home-page "https://github.com/hashicorp/hcl")
637 (license license:mpl2.0))))
639 (define-public go-golang-org-x-tools
640 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
643 (name "go-golang-org-x-tools")
644 (version (git-version "0.1.3" revision commit))
648 (url "https://go.googlesource.com/tools")
650 (file-name (string-append "go.googlesource.com-tools-"
651 version "-checkout"))
654 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
655 (build-system go-build-system)
657 `(#:import-path "golang.org/x/tools"
658 ;; Source-only package
661 (modify-phases %standard-phases
662 ;; Source-only package
664 (synopsis "Tools that support the Go programming language")
665 (description "This package provides miscellaneous tools that support the
666 Go programming language.")
667 (home-page "https://go.googlesource.com/tools/")
668 (license license:bsd-3))))
670 (define-public go-golang-org-x-crypto
671 (let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
674 (name "go-golang-org-x-crypto")
675 (version (git-version "0.0.0" revision commit))
679 (url "https://go.googlesource.com/crypto")
681 (file-name (string-append "go.googlesource.com-crypto-"
682 version "-checkout"))
685 "1yvis6fqbsd7f356aqyi18f76vnwj3bry6mxqnkvshq4cwrf92il"))))
686 (build-system go-build-system)
688 '(#:import-path "golang.org/x/crypto"
689 ;; Source-only package
692 (modify-phases %standard-phases
693 ;; Source-only package
695 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
696 (lambda* (#:key outputs #:allow-other-keys)
698 (make-file-writable file))
700 (string-append (assoc-ref outputs "out")
701 "/src/golang.org/x/crypto/ed25519/testdata")
705 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
706 (synopsis "Supplementary cryptographic libraries in Go")
707 (description "This package provides supplementary cryptographic libraries
708 for the Go language.")
709 (home-page "https://go.googlesource.com/crypto/")
710 (license license:bsd-3))))
712 (define-public go-golang-org-x-net
713 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
716 (name "go-golang-org-x-net")
717 (version (git-version "0.0.0" revision commit))
721 (url "https://go.googlesource.com/net")
723 (file-name (git-file-name name version))
726 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
727 (build-system go-build-system)
729 `(#:import-path "golang.org/x/net"
730 ; Source-only package
733 (modify-phases %standard-phases
735 (synopsis "Go supplemental networking libraries")
736 (description "This package provides supplemental Go networking libraries.")
737 (home-page "https://go.googlesource.com/net")
738 (license license:bsd-3))))
740 (define-public go-golang-org-x-image
741 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
744 (name "go-golang-org-x-image")
745 (version (git-version "0.0.0" revision commit))
749 (url "https://go.googlesource.com/image")
751 (file-name (string-append "go.googlesource.com-image-"
752 version "-checkout"))
755 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
756 (build-system go-build-system)
758 `(#:import-path "golang.org/x/image"
759 ; Source-only package
762 (modify-phases %standard-phases
764 (home-page "https://go.googlesource.com/image")
765 (synopsis "Supplemental Go image libraries")
766 (description "This package provides supplemental Go libraries for image
768 (license license:bsd-3))))
770 (define-public go-golang-org-x-sync
771 (let ((commit "6e8e738ad208923de99951fe0b48239bfd864f28")
774 (name "go-golang-org-x-sync")
775 (version (git-version "0.0.0" revision commit))
779 (url "https://go.googlesource.com/sync")
781 (file-name (git-file-name name version))
784 "1avk27pszd5l5df6ff7j78wgla46ir1hhy2jwfl9a3c0ys602yx9"))))
785 (build-system go-build-system)
787 `(#:import-path "golang.org/x/sync"
789 ;; Source-only package
791 (modify-phases %standard-phases
793 (synopsis "Additional Go concurrency primitives")
794 (description "This package provides Go concurrency primitives in addition
795 to the ones provided by the language and “sync” and “sync/atomic”
797 (home-page "https://go.googlesource.com/sync/")
798 (license license:bsd-3))))
800 (define-public go-golang-org-x-sys
801 (let ((commit "05986578812163b26672dabd9b425240ae2bb0ad")
804 (name "go-golang-org-x-sys")
805 (version (git-version "0.0.0" revision commit))
809 (url "https://go.googlesource.com/sys")
811 (file-name (git-file-name name version))
814 "1q2rxb6z5l6pmlckjsz2l0b8lw7bqgk6frhzbmi1dv0y5irb2ka7"))))
815 (build-system go-build-system)
817 `(#:import-path "golang.org/x/sys"
818 ;; Source-only package
821 (modify-phases %standard-phases
823 (synopsis "Go support for low-level system interaction")
824 (description "This package provides supplemental libraries offering Go
825 support for low-level interaction with the operating system.")
826 (home-page "https://go.googlesource.com/sys")
827 (license license:bsd-3))))
829 (define-public go-golang-org-x-text
831 (name "go-golang-org-x-text")
836 (url "https://go.googlesource.com/text")
837 (commit (string-append "v" version))))
838 (file-name (string-append "go.googlesource.com-text-"
839 version "-checkout"))
842 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
843 (build-system go-build-system)
845 `(#:import-path "golang.org/x/text"
846 ; Source-only package
849 (modify-phases %standard-phases
851 (synopsis "Supplemental Go text processing libraries")
852 (description "This package provides supplemental Go libraries for text
854 (home-page "https://go.googlesource.com/text")
855 (license license:bsd-3)))
857 (define-public go-golang-org-x-time
858 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
861 (name "go-golang-org-x-time")
862 (version (git-version "0.0.0" revision commit))
866 (url "https://go.googlesource.com/time")
868 (file-name (git-file-name name version))
871 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
872 (build-system go-build-system)
874 `(#:import-path "golang.org/x/time"
875 ; Source-only package
878 (modify-phases %standard-phases
881 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
882 (synopsis "Supplemental Go time libraries")
883 (description "This package provides supplemental Go libraries related to
885 (home-page "https://godoc.org/golang.org/x/time/rate")
886 (license license:bsd-3))))
888 (define-public go-golang-org-x-oauth2
889 (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
892 (name "go-golang-org-x-oauth2")
893 (version (git-version "0.0.0" revision commit))
897 (url "https://go.googlesource.com/oauth2")
899 (file-name (string-append "go.googlesource.com-oauth2-"
900 version "-checkout"))
903 "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
904 (build-system go-build-system)
906 `(#:import-path "golang.org/x/oauth2"))
908 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
909 (home-page "https://go.googlesource.com/oauth2")
910 (synopsis "Client implementation of the OAuth 2.0 spec")
911 (description "This package contains a client implementation for OAuth 2.0
913 (license license:bsd-3))))
915 (define-public go-github-com-burntsushi-toml
917 (name "go-github-com-burntsushi-toml")
923 (url "https://github.com/BurntSushi/toml")
924 (commit (string-append "v" version))))
925 (file-name (git-file-name name version))
928 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
929 (build-system go-build-system)
931 '(#:import-path "github.com/BurntSushi/toml"))
932 (home-page "https://github.com/BurntSushi/toml")
933 (synopsis "Toml parser and encoder for Go")
934 (description "This package is toml parser and encoder for Go. The interface
935 is similar to Go's standard library @code{json} and @code{xml} package.")
936 (license license:expat)))
938 (define-public go-github-com-getsentry-raven-go
939 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
942 (name "go-github-com-getsentry-raven-go")
943 (version (git-version "0.2.0" revision commit))
948 (url "https://github.com/getsentry/raven-go")
950 (file-name (git-file-name name version))
953 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
954 (build-system go-build-system)
956 '(#:import-path "github.com/getsentry/raven-go"))
958 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
959 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
960 (home-page "https://github.com/getsentry/raven-go")
961 (synopsis "Sentry client in Go")
962 (description "This package is a Go client API for the Sentry event/error
964 (license license:bsd-3))))
966 (define-public go-github-com-hashicorp-go-version
968 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
971 (name "go-github-com-hashicorp-go-version")
972 (version (git-version "0.0.0" revision commit))
977 (url "https://github.com/hashicorp/go-version")
979 (file-name (git-file-name name version))
982 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
983 (build-system go-build-system)
985 '(#:import-path "github.com/hashicorp/go-version"))
987 "https://github.com/hashicorp/go-version")
988 (synopsis "Go library for parsing and verifying versions and version
990 (description "This package is a library for parsing versions and version
991 constraints, and verifying versions against a set of constraints. It can sort
992 a collection of versions properly, handles prerelease/beta versions, can
993 increment versions.")
994 (license license:mpl2.0))))
996 (define-public go-github-com-jpillora-backoff
998 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
1001 (name "go-github-com-jpillora-backoff")
1002 (version (git-version "0.0.0" revision commit))
1007 (url "https://github.com/jpillora/backoff")
1009 (file-name (git-file-name name version))
1012 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
1013 (build-system go-build-system)
1015 '(#:import-path "github.com/jpillora/backoff"))
1016 (home-page "https://github.com/jpillora/backoff")
1017 (synopsis "Simple exponential backoff counter in Go")
1018 (description "This package is a simple exponential backoff counter in
1020 (license license:expat))))
1022 (define-public go-github-com-stretchr-objx
1024 (name "go-github-com-stretchr-objx")
1030 (url "https://github.com/stretchr/objx")
1031 (commit (string-append "v" version))))
1032 (file-name (git-file-name name version))
1035 "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
1036 (build-system go-build-system)
1038 '(#:import-path "github.com/stretchr/objx"))
1039 (home-page "https://github.com/stretchr/objx")
1040 (synopsis "Go package for dealing with maps, slices, JSON and other data")
1041 (description "This package provides a Go library for dealing with maps,
1042 slices, JSON and other data.")
1043 (license license:expat)))
1045 (define-public go-github-com-stretchr-testify
1047 (name "go-github-com-stretchr-testify")
1053 (url "https://github.com/stretchr/testify")
1054 (commit (string-append "v" version))))
1055 (file-name (git-file-name name version))
1058 "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
1059 (build-system go-build-system)
1061 '(#:import-path "github.com/stretchr/testify"))
1063 `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1064 ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
1065 ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
1066 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1067 (home-page "https://github.com/stretchr/testify")
1068 (synopsis "Go helper library for tests and invariant checking")
1069 (description "This package provide many tools for testifying that your
1070 code will behave as you intend.
1074 @item Easy assertions
1076 @item HTTP response trapping
1077 @item Testing suite interfaces and functions.
1079 (license license:expat)))
1081 (define-public go-github-com-tevino-abool
1083 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
1086 (name "go-github-com-tevino-abool")
1087 (version (git-version "0.0.0" revision commit))
1092 (url "https://github.com/tevino/abool")
1094 (file-name (git-file-name name version))
1097 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
1098 (build-system go-build-system)
1100 '(#:import-path "github.com/tevino/abool"))
1101 (home-page "https://github.com/tevino/abool")
1102 (synopsis "Atomic boolean library for Go code")
1103 (description "This package is atomic boolean library for Go code,
1104 optimized for performance yet simple to use.")
1105 (license license:expat))))
1107 (define-public go-github-com-tv42-httpunix
1108 (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
1111 (name "go-github-com-tv42-httpunix")
1112 (version (git-version "0.0.0" revision commit))
1117 (url "https://github.com/tv42/httpunix.git")
1119 (file-name (git-file-name name version))
1121 (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
1122 (build-system go-build-system)
1124 '(#:import-path "github.com/tv42/httpunix"))
1125 (home-page "https://github.com/tv42/httpunix")
1126 (synopsis "Go library to talk HTTP over Unix domain sockets")
1127 (description "This package is a Go library to talk HTTP over Unix domain
1129 (license license:expat))))
1131 (define-public go-github-com-blang-semver
1132 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
1135 (name "go-github-com-blang-semver")
1136 (version (git-version "0.0.0" revision commit))
1141 (url "https://github.com/blang/semver")
1143 (file-name (git-file-name name version))
1146 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
1147 (build-system go-build-system)
1149 '(#:import-path "github.com/blang/semver"))
1150 (home-page "https://github.com/blang/semver")
1151 (synopsis "Semantic versioning library written in Go")
1152 (description "Semver is a library for Semantic versioning written in Go.")
1153 (license license:expat))))
1155 (define-public go-github-com-emicklei-go-restful
1156 (let ((commit "89ef8af493ab468a45a42bb0d89a06fccdd2fb22")
1159 (name "go-github-com-emicklei-go-restful")
1160 (version (git-version "0.0.0" revision commit))
1165 (url "https://github.com/emicklei/go-restful")
1167 (file-name (git-file-name name version))
1170 "0rrlfcfq80fkxifpih6bq31vavb5mf4530xz51pp9pq1mn2fzjfh"))))
1171 (build-system go-build-system)
1173 '(#:import-path "github.com/emicklei/go-restful"))
1174 (home-page "https://github.com/emicklei/go-restful")
1175 (synopsis "Build REST-style web services using Go")
1176 (description "This package provides @code{go-restful}, which helps
1177 developers to use @code{http} methods explicitly and in a way that's consistent
1178 with the HTTP protocol definition.")
1179 (license license:expat))))
1181 (define-public go-github-com-google-cadvisor
1182 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
1185 (name "go-github-com-google-cadvisor")
1186 (version (git-version "0.0.0" revision commit))
1191 (url "https://github.com/google/cadvisor")
1193 (file-name (git-file-name name version))
1196 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
1197 (build-system go-build-system)
1199 '(#:import-path "github.com/google/cadvisor"))
1200 (home-page "https://github.com/google/cadvisor")
1201 (synopsis "Analyze resource usage of running containers")
1202 (description "The package provides @code{cadvisor}, which provides
1203 information about the resource usage and performance characteristics of running
1205 (license license:asl2.0))))
1207 (define-public go-github-com-google-gofuzz
1208 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
1211 (name "go-github-com-google-gofuzz")
1212 (version (git-version "0.0.0" revision commit))
1217 (url "https://github.com/google/gofuzz")
1219 (file-name (git-file-name name version))
1222 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
1223 (build-system go-build-system)
1225 '(#:import-path "github.com/google/gofuzz"))
1226 (home-page "https://github.com/google/gofuzz")
1227 (synopsis "Fuzz testing library for Go")
1228 (description "Gofuzz is a library for populationg Go objects with random
1229 values for the purpose of fuzz testing.")
1230 (license license:asl2.0))))
1232 (define-public go-github-com-gorilla-css
1234 (name "go-github-com-gorilla-css")
1239 (url "https://github.com/gorilla/css")
1240 (commit (string-append "v" version))))
1241 (file-name (git-file-name name version))
1244 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
1245 (build-system go-build-system)
1247 `(#:import-path "github.com/gorilla/css/scanner"
1248 #:unpack-path "github.com/gorilla/css"))
1249 (home-page "https://github.com/gorilla/css/")
1250 (synopsis "CSS3 tokenizer")
1251 (description "This package provides a CSS3 tokenizer.")
1252 (license license:bsd-3)))
1254 (define-public go-github-com-gorilla-context
1255 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
1258 (name "go-github-com-gorilla-context")
1259 (version (git-version "0.0.0" revision commit))
1264 (url "https://github.com/gorilla/context")
1266 (file-name (git-file-name name version))
1269 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
1270 (build-system go-build-system)
1272 '(#:import-path "github.com/gorilla/context"))
1273 (home-page "https://github.com/gorilla/context")
1274 (synopsis "Go registry for request variables")
1275 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
1276 (license license:bsd-3))))
1278 (define-public go-github-com-gorilla-mux
1279 (let ((commit "599cba5e7b6137d46ddf58fb1765f5d928e69604")
1282 (name "go-github-com-gorilla-mux")
1283 (version (git-version "0.0.0" revision commit))
1288 (url "https://github.com/gorilla/mux")
1290 (file-name (git-file-name name version))
1293 "0wd6jjii1kg5s0nk3ri6gqriz6hbd6bbcn6x4jf8n7ncrb8qsxyz"))))
1294 (build-system go-build-system)
1296 '(#:import-path "github.com/gorilla/mux"))
1297 (home-page "https://github.com/gorilla/mux")
1298 (synopsis "URL router and dispatcher for Go")
1300 "Gorilla/Mux implements a request router and dispatcher for matching
1301 incoming requests with their respective handler.")
1302 (license license:bsd-3))))
1304 (define-public go-github-com-jonboulle-clockwork
1305 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
1308 (name "go-github-com-jonboulle-clockwork")
1309 (version (git-version "0.0.0" revision commit))
1314 (url "https://github.com/jonboulle/clockwork")
1316 (file-name (git-file-name name version))
1319 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
1320 (build-system go-build-system)
1322 '(#:import-path "github.com/jonboulle/clockwork"))
1323 (home-page "https://github.com/jonboulle/clockwork")
1324 (synopsis "Fake clock library for Go")
1326 "Replace uses of the @code{time} package with the
1327 @code{clockwork.Clock} interface instead.")
1328 (license license:asl2.0))))
1330 (define-public go-github-com-spf13-afero
1332 (name "go-github-com-spf13-afero")
1338 (url "https://github.com/spf13/afero")
1339 (commit (string-append "v" version))))
1340 (file-name (git-file-name name version))
1343 "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"))))
1344 (build-system go-build-system)
1346 `(#:import-path "github.com/spf13/afero"))
1348 `(("golang.org/x/text" ,go-golang-org-x-text)))
1349 (home-page "https://github.com/spf13/afero")
1350 (synopsis "File system abstraction for Go")
1352 "This package provides a file system abstraction for Go.")
1353 (license license:asl2.0)))
1355 (define-public go-github-com-spf13-cast
1357 (name "go-github-com-spf13-cast")
1363 (url "https://github.com/spf13/cast")
1364 (commit (string-append "v" version))))
1365 (file-name (git-file-name name version))
1368 "0lb84788glr0qzrq2ifi36rgvp96qrgywvxrr3ggq5hrbr38hgn1"))))
1369 (build-system go-build-system)
1371 `(#:import-path "github.com/spf13/cast"))
1373 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1374 (home-page "https://github.com/spf13/cast")
1375 (synopsis "Safe and easy casting from one type to another in Go")
1376 (description "Safe and easy casting from one type to another in Go")
1377 (license license:expat)))
1379 (define-public go-github-com-spf13-cobra
1381 (name "go-github-com-spf13-cobra")
1387 (url "https://github.com/spf13/cobra")
1388 (commit (string-append "v" version))))
1389 (file-name (git-file-name name version))
1392 "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h"))))
1393 (build-system go-build-system)
1395 `(#:import-path "github.com/spf13/cobra"))
1397 `(("github.com/spf13/pflag" ,go-github-com-spf13-pflag)))
1398 (home-page "https://github.com/spf13/cobra")
1399 (synopsis "Go library for creating CLI applications")
1400 (description "Cobra is both a library for creating powerful modern CLI
1401 applications as well as a program to generate applications and command files.")
1402 (license license:asl2.0)))
1404 (define-public go-github-com-spf13-jwalterweatherman
1406 (name "go-github-com-spf13-jwalterweatherman")
1412 (url "https://github.com/spf13/jwalterweatherman")
1413 (commit (string-append "v" version))))
1414 (file-name (git-file-name name version))
1417 "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"))))
1418 (build-system go-build-system)
1420 `(#:import-path "github.com/spf13/jwalterweatherman"))
1422 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1423 (home-page "https://github.com/spf13/jwalterweatherman")
1424 (synopsis "Go logging library")
1425 (description "Go logging library")
1426 (license license:expat)))
1428 (define-public go-github-com-spf13-pflag
1430 (name "go-github-com-spf13-pflag")
1436 (url "https://github.com/spf13/pflag")
1437 (commit (string-append "v" version))))
1438 (file-name (git-file-name name version))
1441 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
1442 (build-system go-build-system)
1444 '(#:import-path "github.com/spf13/pflag"))
1445 (home-page "https://github.com/spf13/pflag")
1446 (synopsis "Replacement for Go's @code{flag} package")
1448 "Pflag is library to replace Go's @code{flag} package. It implements
1449 POSIX/GNU-style command-line options with double hyphens. It is is compatible
1451 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
1452 GNU extensions} to the POSIX recommendations for command-line options.")
1453 (license license:bsd-3)))
1455 (define-public go-github-com-spf13-viper
1457 (name "go-github-com-spf13-viper")
1463 (url "https://github.com/spf13/viper")
1464 (commit (string-append "v" version))))
1465 (file-name (git-file-name name version))
1468 "099n2g7fg6r8hqyszqw2axr775qyhyvwhsykvgw0f0s16ql48h5c"))))
1469 (build-system go-build-system)
1471 '(#:import-path "github.com/spf13/viper"))
1473 `(("github.com/spf13/afero" ,go-github-com-spf13-afero)
1474 ("github.com/spf13/cast" ,go-github-com-spf13-cast)
1475 ("github.com/spf13/pflag" ,go-github-com-spf13-pflag)
1476 ("github.com/spf13/jwalterweatherman" ,go-github-com-spf13-jwalterweatherman)
1477 ("github.com/fsnotify/fsnotify" ,go-github-com-fsnotify-fsnotify)
1478 ("github.com/hashicorp/hcl" ,go-github-com-hashicorp-hcl)
1479 ("github.com/magiconair/properties" ,go-github-com-magiconair-properties)
1480 ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)
1481 ("github.com/pelletier/go-toml" ,go-github-com-pelletier-go-toml)
1482 ("github.com/subosito/gotenv" ,go-github-com-subosito-gotenv)
1484 ("gopkg.in/ini.v1" ,go-gopkg-in-ini-v1)
1485 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1487 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1488 (home-page "https://github.com/spf13/viper")
1489 (synopsis "Go configuration with fangs")
1491 "Viper is a complete configuration solution for Go applications including
1492 12-Factor apps. It is designed to work within an application, and can handle
1493 all types of configuration needs and formats.")
1494 (license license:expat)))
1496 (define-public go-github-com-fsnotify-fsnotify
1498 (name "go-github-com-fsnotify-fsnotify")
1504 (url "https://github.com/fsnotify/fsnotify")
1505 (commit (string-append "v" version))))
1506 (file-name (git-file-name name version))
1509 "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x"))))
1510 (build-system go-build-system)
1512 `(#:import-path "github.com/fsnotify/fsnotify"))
1514 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1515 (home-page "https://github.com/fsnotify/fsnotify")
1516 (synopsis "File system notifications for Go")
1517 (description "File system notifications for Go")
1518 (license license:bsd-3)))
1520 (define-public go-github-com-magiconair-properties
1522 (name "go-github-com-magiconair-properties")
1528 (url "https://github.com/magiconair/properties")
1529 (commit (string-append "v" version))))
1530 (file-name (git-file-name name version))
1533 "19zqw1x0w0crh8zc84yy82nkcc5yjz72gviaf2xjgfm5a8np7nyb"))))
1534 (build-system go-build-system)
1536 `(#:import-path "github.com/magiconair/properties"))
1537 (home-page "https://github.com/magiconair/properties")
1538 (synopsis "Java properties scanner for Go")
1539 (description "Java properties scanner for Go")
1540 (license license:bsd-2)))
1542 (define-public go-github-com-pelletier-go-toml
1544 (name "go-github-com-pelletier-go-toml")
1550 (url "https://github.com/pelletier/go-toml")
1551 (commit (string-append "v" version))))
1552 (file-name (git-file-name name version))
1555 "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y"))))
1556 (build-system go-build-system)
1558 `(#:import-path "github.com/pelletier/go-toml"))
1560 `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml)
1561 ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1562 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1563 (home-page "https://github.com/pelletier/go-toml")
1564 (synopsis "Go library for the TOML configuration language")
1565 (description "Go library for the TOML configuration language")
1566 (license license:expat)))
1568 (define-public go-github-com-subosito-gotenv
1570 (name "go-github-com-subosito-gotenv")
1576 (url "https://github.com/subosito/gotenv")
1577 (commit (string-append "v" version))))
1578 (file-name (git-file-name name version))
1581 "0mav91j7r4arjkpq5zcf9j74f6pww8ic53x43wy7kg3ibw31yjs5"))))
1582 (build-system go-build-system)
1584 `(#:import-path "github.com/subosito/gotenv"))
1586 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1587 (home-page "https://github.com/subosito/gotenv")
1588 (synopsis "Go library for loading environment variables from files")
1589 (description "Go library for loading environment variables from files")
1590 (license license:expat)))
1592 (define-public go-github-com-sirupsen-logrus
1594 (name "go-github-com-sirupsen-logrus")
1600 (url "https://github.com/sirupsen/logrus")
1601 (commit (string-append "v" version))))
1602 (file-name (git-file-name name version))
1605 "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz"))))
1606 (build-system go-build-system)
1608 `(("go-golang-org-x-crypto"
1609 ,go-golang-org-x-crypto)
1610 ("go-github-com-stretchr-testify"
1611 ,go-github-com-stretchr-testify)
1612 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1614 '(#:tests? #f ;FIXME missing dependencies
1615 #:import-path "github.com/sirupsen/logrus"))
1616 (home-page "https://github.com/sirupsen/logrus")
1617 (synopsis "Structured, pluggable logging for Go")
1618 (description "Logrus is a structured logger for Go, completely API
1619 compatible with the standard library logger.")
1620 (license license:expat)))
1622 (define-public go-github-com-rifflock-lfshook
1624 (name "go-github-com-rifflock-lfshook")
1629 (url "https://github.com/rifflock/lfshook")
1630 (commit (string-append "v" version))))
1631 (file-name (git-file-name name version))
1634 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
1635 (build-system go-build-system)
1637 `(#:import-path "github.com/rifflock/lfshook"))
1639 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
1640 (home-page "https://github.com/rifflock/lfshook")
1641 (synopsis "Local File System hook for Logrus logger")
1642 (description "This package provides a hook for Logrus to write directly to
1643 a file on the file system. The log levels are dynamic at instantiation of the
1644 hook, so it is capable of logging at some or all levels.")
1645 (license license:expat)))
1647 (define-public go-github-com-kardianos-osext
1648 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
1651 (name "go-github-com-kardianos-osext")
1652 (version (git-version "0.0.0" revision commit))
1656 (url "https://github.com/kardianos/osext")
1658 (file-name (git-file-name name version))
1661 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
1662 (build-system go-build-system)
1664 `(#:import-path "github.com/kardianos/osext"
1665 ;; The tests are flaky:
1666 ;; <https://github.com/kardianos/osext/issues/21>
1668 (synopsis "Find the running executable")
1669 (description "Osext provides a method for finding the current executable
1670 file that is running. This can be used for upgrading the current executable or
1671 finding resources located relative to the executable file.")
1672 (home-page "https://github.com/kardianos/osext")
1673 (license license:bsd-3))))
1675 (define-public go-github-com-ayufan-golang-kardianos-service
1676 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
1679 (name "go-github-com-ayufan-golang-kardianos-service")
1680 (version (git-version "0.0.0" revision commit))
1686 "https://github.com/ayufan/golang-kardianos-service.git")
1688 (file-name (git-file-name name version))
1691 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
1692 (build-system go-build-system)
1694 `(("go-github-com-kardianos-osext"
1695 ,go-github-com-kardianos-osext)))
1697 '(#:tests? #f ;FIXME tests fail: Service is not running.
1698 #:import-path "github.com/ayufan/golang-kardianos-service"))
1699 (home-page "https://github.com/ayufan/golang-kardianos-service")
1700 (synopsis "Go interface to a variety of service supervisors")
1701 (description "This package provides @code{service}, a Go module that can
1702 run programs as a service using a variety of supervisors, including systemd,
1703 SysVinit, and more.")
1704 (license license:zlib))))
1706 (define-public go-github-com-docker-distribution
1707 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
1710 (name "go-github-com-docker-distribution")
1711 (version (git-version "0.0.0" revision commit))
1713 ;; FIXME: This bundles many things, see
1714 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
1718 (url "https://github.com/docker/distribution")
1720 (file-name (git-file-name name version))
1723 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
1724 (build-system go-build-system)
1726 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
1727 ("go-github-com-sirupsen-logrus"
1728 ,go-github-com-sirupsen-logrus)
1729 ("go-golang-org-x-crypto"
1730 ,go-golang-org-x-crypto)))
1732 '(#:import-path "github.com/docker/distribution"
1734 (modify-phases %standard-phases
1735 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1736 (lambda* (#:key outputs #:allow-other-keys)
1738 (make-file-writable file))
1740 (assoc-ref outputs "out")
1744 "https://github.com/docker/distribution")
1745 (synopsis "This package is a Docker toolset to pack, ship, store, and
1747 (description "Docker Distribution is a Docker toolset to pack, ship,
1748 store, and deliver content. It contains Docker Registry 2.0 and libraries
1749 to interact with distribution components.")
1750 (license license:asl2.0))))
1752 (define-public go-github-com-docker-go-connections
1753 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
1756 (name "go-github-com-docker-go-connections")
1757 (version (git-version "0.0.0" revision commit))
1762 (url "https://github.com/docker/go-connections")
1764 (file-name (git-file-name name version))
1767 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
1768 (build-system go-build-system)
1770 '(#:import-path "github.com/docker/go-connections"))
1771 (home-page "https://github.com/docker/go-connections")
1772 (synopsis "Networking library for Go")
1774 "This package provides a library to work with network connections in
1775 the Go language. In particular it provides tools to deal with network address
1776 translation (NAT), proxies, sockets, and transport layer security (TLS).")
1777 (license license:asl2.0))))
1779 (define-public go-github-com-docker-machine
1780 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
1783 (name "go-github-com-docker-machine")
1784 (version (git-version "0.0.0" revision commit))
1789 (url "https://github.com/docker/machine")
1791 (file-name (git-file-name name version))
1794 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
1795 (build-system go-build-system)
1797 '(#:import-path "github.com/docker/machine"))
1798 (home-page "https://github.com/docker/machine")
1799 (synopsis "Machine management for a container-centric world")
1801 "@dfn{Machine} lets you create Docker hosts on your computer, on
1802 hosting providers, and inside your data center. It creates servers, installs
1803 Docker on them, then configures the Docker client to talk to them.")
1804 (license license:asl2.0))))
1806 (define-public go-github-com-gorhill-cronexpr
1807 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
1810 (name "go-github-com-gorhill-cronexpr")
1811 (version (git-version "0.0.0" revision commit))
1816 (url "https://github.com/gorhill/cronexpr")
1818 (file-name (git-file-name name version))
1821 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
1822 (build-system go-build-system)
1824 '(#:import-path "github.com/gorhill/cronexpr"))
1825 (home-page "https://github.com/gorhill/cronexpr")
1826 (synopsis "Cron expression parser in the Go language")
1828 "This package provides a cron expression parser in the Go language.
1829 Given a cron expression and a time stamp, you can get the next time stamp
1830 which satisfies the cron expression.")
1831 (license (list license:gpl3+
1834 (define-public go-gopkg-in-check-v1
1835 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
1838 (name "go-gopkg-in-check-v1")
1839 (version (git-version "1.0.0" revision commit))
1844 (url "https://github.com/go-check/check")
1846 (file-name (git-file-name name version))
1849 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
1850 (build-system go-build-system)
1852 '(#:import-path "gopkg.in/check.v1"))
1854 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
1855 (home-page "https://gopkg.in/check.v1")
1856 (synopsis "Test framework for the Go language")
1857 (description "This package provides a test library for the Go language.")
1858 (license license:asl2.0))))
1860 (define-public go-gopkg-in-ini-v1
1862 (name "go-gopkg-in-ini-v1")
1868 (url "https://github.com/go-ini/ini")
1869 (commit (string-append "v" version))))
1870 (file-name (git-file-name name version))
1873 "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5"))))
1874 (build-system go-build-system)
1876 '(#:import-path "gopkg.in/ini.v1"
1877 ;; Requires large unpackaged test framework
1879 (home-page "https://gopkg.in/ini.v1")
1880 (synopsis "Go library for ini files")
1881 (description "Go library for ini files")
1882 (license license:asl2.0)))
1884 (define-public go-gopkg-in-yaml-v2
1886 (name "go-gopkg-in-yaml-v2")
1892 (url "https://gopkg.in/yaml.v2.git")
1893 (commit (string-append "v" version))))
1894 (file-name (git-file-name name version))
1897 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
1898 (build-system go-build-system)
1900 '(#:import-path "gopkg.in/yaml.v2"))
1902 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
1903 (home-page "https://gopkg.in/yaml.v2")
1904 (synopsis "YAML reader and writer for the Go language")
1906 "This package provides a Go library for encode and decode YAML
1908 (license license:asl2.0)))
1910 (define-public go-github-com-mattn-go-isatty
1912 (name "go-github-com-mattn-go-isatty")
1918 (url "https://github.com/mattn/go-isatty")
1919 (commit (string-append "v" version))))
1920 (file-name (git-file-name name version))
1923 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
1924 (build-system go-build-system)
1926 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1928 '(#:import-path "github.com/mattn/go-isatty"))
1929 (home-page "https://github.com/mattn/go-isatty")
1930 (synopsis "Provide @code{isatty} for Golang")
1931 (description "This package provides @code{isatty}, a Go module that can
1932 tell you whether a file descriptor points to a terminal and the type of the
1934 (license license:expat)))
1936 (define-public go-github-com-mattn-go-colorable
1937 (let ((commit "efa589957cd060542a26d2dd7832fd6a6c6c3ade")
1940 (name "go-github-com-mattn-go-colorable")
1941 (version (git-version "0.0.0" revision commit))
1946 (url "https://github.com/mattn/go-colorable")
1948 (file-name (git-file-name name version))
1951 "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r"))))
1952 (build-system go-build-system)
1954 `(("go-github-com-mattn-go-isatty"
1955 ,go-github-com-mattn-go-isatty)))
1957 '(#:import-path "github.com/mattn/go-colorable"))
1958 (home-page "https://github.com/mattn/go-colorable")
1959 (synopsis "Handle ANSI color escapes on Windows")
1960 (description "This package provides @code{colorable}, a module that
1961 makes it possible to handle ANSI color escapes on Windows.")
1962 (license license:expat))))
1964 (define-public go-github-com-mattn-go-pointer
1965 (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
1968 (name "go-github-com-mattn-go-pointer")
1969 (version (git-version "0.0.0" revision commit))
1974 (url "https://github.com/mattn/go-pointer")
1978 "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
1979 (file-name (git-file-name name version))))
1980 (build-system go-build-system)
1982 '(#:import-path "github.com/mattn/go-pointer"))
1983 (home-page "https://github.com/mattn/go-pointer")
1984 (synopsis "Utility for cgo")
1986 "This package allows for a cgo argument to be passed a Go pointer.")
1987 (license license:expat))))
1989 (define-public go-github-com-mgutz-ansi
1990 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
1993 (name "go-github-com-mgutz-ansi")
1994 (version (git-version "0.0.0" revision commit))
2000 "https://github.com/mgutz/ansi")
2002 (file-name (git-file-name name version))
2005 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
2006 (build-system go-build-system)
2008 `(("go-github-com-mattn-go-isatty"
2009 ,go-github-com-mattn-go-isatty)
2010 ("go-github-com-mattn-go-colorable"
2011 ,go-github-com-mattn-go-colorable)))
2013 '(#:import-path "github.com/mgutz/ansi"))
2014 (home-page "https://github.com/mgutz/ansi")
2015 (synopsis "Small, fast library to create ANSI colored strings and codes")
2016 (description "This package provides @code{ansi}, a Go module that can
2017 generate ANSI colored strings.")
2018 (license license:expat))))
2020 (define-public go-github-com-aarzilli-golua
2021 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
2024 (name "go-github-com-aarzilli-golua")
2025 (version (git-version "0.0.0" revision commit))
2031 "https://github.com/aarzilli/golua")
2033 (file-name (git-file-name name version))
2036 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
2037 (build-system go-build-system)
2038 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2039 ;; when this package required as input for another one, it will have to
2040 ;; be built again. Thus its CGO requirements must be made available in
2041 ;; the environment, that is, they must be propagated.
2045 `(#:unpack-path "github.com/aarzilli/golua"
2046 #:import-path "github.com/aarzilli/golua/lua"
2048 (modify-phases %standard-phases
2049 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
2050 ;; command line argument, go-1.10+ does not re-use the produced pkg
2051 ;; for dependencies, which means we would need to propagate the
2052 ;; same "-tags" argument to all golua referrers. A substitution is
2053 ;; more convenient here. We also need to propagate the lua
2054 ;; dependency to make it available to referrers.
2055 (add-after 'unpack 'fix-lua-ldflags
2057 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
2058 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
2059 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
2060 (home-page "https://github.com/aarzilli/golua")
2061 (synopsis "Go Bindings for the Lua C API")
2062 (description "This package provides @code{lua}, a Go module that can
2063 run a Lua virtual machine.")
2064 (license license:expat))))
2066 (define-public go-gitlab-com-ambrevar-golua-unicode
2067 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
2070 (name "go-gitlab-com-ambrevar-golua-unicode")
2071 (version (git-version "0.0.0" revision commit))
2077 "https://gitlab.com/ambrevar/golua")
2079 (file-name (git-file-name name version))
2082 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
2083 (build-system go-build-system)
2086 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2088 `(#:unpack-path "gitlab.com/ambrevar/golua"
2089 #:import-path "gitlab.com/ambrevar/golua/unicode"
2091 (modify-phases %standard-phases
2093 (lambda* (#:key import-path #:allow-other-keys)
2094 (setenv "USER" "homeless-dude")
2095 (invoke "go" "test" import-path))))))
2096 (home-page "https://gitlab.com/ambrevar/golua")
2097 (synopsis "Add Unicode support to Golua")
2098 (description "This extension to Arzilli's Golua adds Unicode support to
2099 all functions from the Lua string library. Lua patterns are replaced by Go
2100 regexps. This breaks compatibility with Lua, but Unicode support breaks it
2101 anyways and Go regexps are more powerful.")
2102 (license license:expat))))
2104 (define-public go-github-com-yookoala-realpath
2105 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
2108 (name "go-github-com-yookoala-realpath")
2109 (version (git-version "0.0.0" revision commit))
2115 "https://github.com/yookoala/realpath")
2117 (file-name (git-file-name name version))
2120 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
2121 (build-system go-build-system)
2123 `(#:import-path "github.com/yookoala/realpath"))
2124 (home-page "https://github.com/yookoala/realpath")
2125 (synopsis "@code{realpath} for Golang")
2126 (description "This package provides @code{realpath}, a Go module that
2127 when provided with a valid relative path / alias path, it will return you with
2128 a string of its real absolute path in the system.")
2129 (license license:expat))))
2131 (define-public go-gitlab-com-ambrevar-damerau
2132 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
2135 (name "go-gitlab-com-ambrevar-damerau")
2136 (version (git-version "0.0.0" revision commit))
2142 "https://gitlab.com/ambrevar/damerau")
2144 (file-name (git-file-name name version))
2147 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
2148 (build-system go-build-system)
2150 `(#:import-path "gitlab.com/ambrevar/damerau"))
2151 (home-page "https://gitlab.com/ambrevar/damerau")
2152 (synopsis "Damerau-Levenshtein distance for Golang")
2153 (description "This is a spelling corrector implementing the
2154 Damerau-Levenshtein distance. Takes a string value input from the user.
2155 Looks for an identical word on a list of words, if none is found, look for a
2157 (license license:expat))))
2159 (define-public go-github-com-stevedonovan-luar
2160 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
2163 (name "go-github-com-stevedonovan-luar")
2164 (version (git-version "0.0.0" revision commit))
2170 "https://github.com/stevedonovan/luar")
2172 (file-name (git-file-name name version))
2175 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
2176 (build-system go-build-system)
2178 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2180 `(#:tests? #f ; Upstream tests are broken.
2181 #:import-path "github.com/stevedonovan/luar"))
2182 (home-page "https://github.com/stevedonovan/luar")
2183 (synopsis "Lua reflection bindings for Go")
2184 (description "Luar is designed to make using Lua from Go more
2185 convenient. Go structs, slices and maps can be automatically converted to Lua
2186 tables and vice-versa. The resulting conversion can either be a copy or a
2187 proxy. In the latter case, any change made to the result will reflect on the
2190 Any Go function can be made available to Lua scripts, without having to write
2193 Luar support cyclic structures (lists, etc.).
2195 User-defined types can be made available to Lua as well: their exported
2196 methods can be called and usual operations such as indexing or arithmetic can
2198 (license license:expat))))
2200 (define-public go-github-com-michiwend-golang-pretty
2201 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
2204 (name "go-github-com-michiwend-golang-pretty")
2205 (version (git-version "0.0.0" revision commit))
2211 "https://github.com/michiwend/golang-pretty")
2213 (file-name (git-file-name name version))
2216 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
2217 (build-system go-build-system)
2219 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
2221 `(#:tests? #f ; Upstream tests seem to be broken.
2222 #:import-path "github.com/michiwend/golang-pretty"))
2223 (home-page "https://github.com/michiwend/golang-pretty")
2224 (synopsis "Pretty printing for Go values")
2225 (description "Package @code{pretty} provides pretty-printing for Go
2226 values. This is useful during debugging, to avoid wrapping long output lines
2229 It provides a function, @code{Formatter}, that can be used with any function
2230 that accepts a format string. It also provides convenience wrappers for
2231 functions in packages @code{fmt} and @code{log}.")
2232 (license license:expat))))
2234 (define-public go-github-com-michiwend-gomusicbrainz
2235 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
2238 (name "go-github-com-michiwend-gomusicbrainz")
2239 (version (git-version "0.0.0" revision commit))
2245 "https://github.com/michiwend/gomusicbrainz")
2247 (file-name (git-file-name name version))
2250 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
2251 (build-system go-build-system)
2253 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
2254 ("go-github-com-kr-text" ,go-github-com-kr-text)))
2256 `(#:import-path "github.com/michiwend/gomusicbrainz"))
2257 (home-page "https://github.com/michiwend/gomusicbrainz")
2258 (synopsis "MusicBrainz WS2 client library for Golang")
2259 (description "Currently GoMusicBrainz provides methods to perform search
2260 and lookup requests. Browse requests are not supported yet.")
2261 (license license:expat))))
2263 (define-public go-github-com-wtolson-go-taglib
2264 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
2267 (name "go-github-com-wtolson-go-taglib")
2268 (version (git-version "0.0.0" revision commit))
2274 "https://github.com/wtolson/go-taglib")
2276 (file-name (git-file-name name version))
2279 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
2280 (build-system go-build-system)
2281 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2282 ;; when this package required as input for another one, it will have to
2283 ;; be built again. Thus its CGO requirements must be made available in
2284 ;; the environment, that is, they must be propagated.
2286 `(("pkg-config" ,pkg-config)
2287 ("taglib" ,taglib)))
2289 `(#:import-path "github.com/wtolson/go-taglib"
2290 ;; Tests don't pass "vet" on Go since 1.11. See
2291 ;; https://github.com/wtolson/go-taglib/issues/12.
2293 (modify-phases %standard-phases
2295 (lambda* (#:key import-path #:allow-other-keys)
2299 (home-page "https://github.com/wtolson/go-taglib")
2300 (synopsis "Go wrapper for taglib")
2301 (description "Go wrapper for taglib")
2302 (license license:unlicense))))
2304 (define-public go-github-com-gogo-protobuf
2306 (name "go-github-com-gogo-protobuf")
2311 (url "https://github.com/gogo/protobuf")
2312 (commit (string-append "v" version))))
2313 (file-name (git-file-name name version))
2316 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
2317 (build-system go-build-system)
2319 `(#:import-path "github.com/gogo/protobuf"
2320 ; Source-only package
2323 (modify-phases %standard-phases
2325 (synopsis "Protocol Buffers for Go with Gadgets")
2326 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
2327 generation features. This code generation is used to achieve:
2329 @item fast marshalling and unmarshalling
2330 @item more canonical Go structures
2331 @item goprotobuf compatibility
2332 @item less typing by optionally generating extra helper code
2333 @item peace of mind by optionally generating test and benchmark code
2334 @item other serialization formats
2336 (home-page "https://github.com/gogo/protobuf")
2337 (license license:bsd-3)))
2339 (define-public go-github-com-libp2p-go-flow-metrics
2340 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
2343 (name "go-github-com-libp2p-go-flow-metrics")
2344 (version (git-version "0.2.0" revision commit))
2349 (url "https://github.com/libp2p/go-flow-metrics")
2351 (file-name (git-file-name name version))
2354 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
2355 (build-system go-build-system)
2357 `(#:import-path "github.com/libp2p/go-flow-metrics"
2358 ;; TODO: Tests hang.
2361 "https://github.com/libp2p/go-flow-metrics")
2362 (synopsis "Simple library for tracking flow metrics")
2363 (description "A simple alternative to rcrowley's @command{go-metrics}
2364 that's a lot faster (and only does simple bandwidth metrics).")
2365 (license license:expat))))
2367 (define-public go-github-com-davecgh-go-spew
2369 (name "go-github-com-davecgh-go-spew")
2375 (url "https://github.com/davecgh/go-spew")
2376 (commit (string-append "v" version))))
2377 (file-name (git-file-name name version))
2380 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
2381 (build-system go-build-system)
2383 '(#:unpack-path "github.com/davecgh/go-spew"
2384 #:import-path "github.com/davecgh/go-spew/spew"))
2385 (home-page "https://github.com/davecgh/go-spew")
2386 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
2387 (description "Package @command{spew} implements a deep pretty printer
2388 for Go data structures to aid in debugging.
2390 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
2393 @item Pointers are dereferenced and followed.
2394 @item Circular data structures are detected and handled properly.
2395 @item Custom Stringer/error interfaces are optionally invoked, including on
2397 @item Custom types which only implement the Stringer/error interfaces via a
2398 pointer receiver are optionally invoked when passing non-pointer variables.
2399 @item Byte arrays and slices are dumped like the hexdump -C command which
2400 includes offsets, byte values in hex, and ASCII output (only when using Dump
2403 (license license:isc)))
2405 (define-public go-github-com-btcsuite-btclog
2406 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
2409 (name "go-github-com-btcsuite-btclog")
2410 (version (git-version "0.0.3" revision commit))
2415 (url "https://github.com/btcsuite/btclog")
2417 (file-name (git-file-name name version))
2420 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
2421 (build-system go-build-system)
2423 '(#:import-path "github.com/btcsuite/btclog"))
2424 (home-page "https://github.com/btcsuite/btclog")
2425 (synopsis "Subsystem aware logger for Go")
2426 (description "Package @command{btclog} defines a logger interface and
2427 provides a default implementation of a subsystem-aware leveled logger
2428 implementing the same interface.")
2429 (license license:isc))))
2431 (define-public go-github-com-btcsuite-btcd-btcec
2432 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
2435 (name "go-github-com-btcsuite-btcd-btcec")
2436 (version (git-version "0.12.0-beta" revision commit))
2441 (url "https://github.com/btcsuite/btcd")
2443 (file-name (git-file-name name version))
2446 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
2447 (build-system go-build-system)
2449 '(#:unpack-path "github.com/btcsuite/btcd"
2450 #:import-path "github.com/btcsuite/btcd/btcec"))
2452 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
2453 (home-page "https://github.com/btcsuite/btcd")
2454 (synopsis "Elliptic curve cryptography to work with Bitcoin")
2455 (description "Package @command{btcec} implements elliptic curve
2456 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
2457 designed so that it may be used with the standard crypto/ecdsa packages
2458 provided with Go. A comprehensive suite of test is provided to ensure proper
2459 functionality. Package @command{btcec} was originally based on work from
2460 ThePiachu which is licensed under the same terms as Go, but it has
2461 significantly diverged since then. The @command{btcsuite} developers original
2462 is licensed under the liberal ISC license.
2464 Although this package was primarily written for btcd, it has intentionally
2465 been designed so it can be used as a standalone package for any projects
2466 needing to use secp256k1 elliptic curve cryptography.")
2467 (license license:isc))))
2469 (define-public go-github-com-minio-sha256-simd
2471 (name "go-github-com-minio-sha256-simd")
2477 (url "https://github.com/minio/sha256-simd")
2478 (commit (string-append "v" version))))
2479 (file-name (git-file-name name version))
2482 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
2483 (build-system go-build-system)
2485 '(#:import-path "github.com/minio/sha256-simd"))
2486 (home-page "https://github.com/minio/sha256-simd")
2487 (synopsis "Accelerate SHA256 computations in pure Go")
2488 (description "Accelerate SHA256 computations in pure Go using AVX512 and
2489 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
2490 improvement (over 3 GB/s per core) in comparison to AVX2.
2492 This package is designed as a replacement for @command{crypto/sha256}. For
2493 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
2494 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
2495 of the SHA2 instructions resulting in a massive performance improvement.
2497 This package uses Golang assembly. The AVX512 version is based on the Intel's
2498 \"multi-buffer crypto library for IPSec\" whereas the other Intel
2499 implementations are described in \"Fast SHA-256 Implementations on Intel
2500 Architecture Processors\" by J. Guilford et al.")
2501 (license license:asl2.0)))
2503 (define-public go-github-com-libp2p-go-libp2p-crypto
2504 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
2507 (name "go-github-com-libp2p-go-libp2p-crypto")
2508 (version (git-version "2.0.1" revision commit))
2513 (url "https://github.com/libp2p/go-libp2p-crypto")
2515 (file-name (git-file-name name version))
2518 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
2519 (build-system go-build-system)
2521 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
2523 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2524 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2525 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2526 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
2528 "https://github.com/libp2p/go-libp2p-crypto")
2529 (synopsis "Various cryptographic utilities used by IPFS")
2530 (description "Various cryptographic utilities used by IPFS")
2531 (license license:expat))))
2533 (define-public go-github-com-mr-tron-base58
2534 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
2537 (name "go-github-com-mr-tron-base58")
2538 (version (git-version "1.1.0" revision commit))
2543 (url "https://github.com/mr-tron/base58")
2545 (file-name (git-file-name name version))
2548 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
2549 (build-system go-build-system)
2551 `(#:unpack-path "github.com/mr-tron/base58"
2552 #:import-path "github.com/mr-tron/base58/base58"))
2553 (home-page "https://github.com/mr-tron/base58")
2554 (synopsis "Fast implementation of base58 encoding on Golang")
2555 (description "Fast implementation of base58 encoding on Golang. A
2556 trivial @command{big.Int} encoding benchmark results in 6 times faster
2557 encoding and 8 times faster decoding.")
2558 (license license:expat))))
2560 (define-public go-github-com-gxed-hashland-keccakpg
2561 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
2564 (name "go-github-com-gxed-hashland-keccakpg")
2565 (version (git-version "0.0.0" revision commit))
2570 (url "https://github.com/gxed/hashland")
2572 (file-name (git-file-name name version))
2575 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
2576 (build-system go-build-system)
2578 '(#:unpack-path "github.com/gxed/hashland"
2579 #:import-path "github.com/gxed/hashland/keccakpg"))
2580 (home-page "https://github.com/gxed/hashland")
2581 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
2582 (description "Package @command{keccak} implements the Keccak (SHA-3)
2583 hash algorithm. See http://keccak.noekeon.org.")
2584 (license license:expat))))
2586 (define-public go-github-com-minio-blake2b-simd
2587 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
2590 (name "go-github-com-minio-blake2b-simd")
2591 (version (git-version "0.0.0" revision commit))
2596 (url "https://github.com/minio/blake2b-simd")
2598 (file-name (git-file-name name version))
2601 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
2602 (build-system go-build-system)
2604 '(#:import-path "github.com/minio/blake2b-simd"))
2605 (home-page "https://github.com/minio/blake2b-simd")
2606 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
2607 (description "This package was initially based on the pure go BLAKE2b
2608 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
2609 optimized BLAKE2 implementation (which in turn is based on the official
2610 implementation. It does so by using Go's Assembler for amd64 architectures
2611 with a golang only fallback for other architectures.
2613 In addition to AVX there is also support for AVX2 as well as SSE. Best
2614 performance is obtained with AVX2 which gives roughly a 4X performance
2615 increase approaching hashing speeds of 1GB/sec on a single core.")
2616 (license license:asl2.0))))
2618 (define-public go-github-com-spaolacci-murmur3
2620 (name "go-github-com-spaolacci-murmur3")
2626 (url "https://github.com/spaolacci/murmur3")
2627 (commit (string-append "v" version))))
2628 (file-name (git-file-name name version))
2631 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
2632 (build-system go-build-system)
2634 '(#:import-path "github.com/spaolacci/murmur3"))
2635 (home-page "https://github.com/spaolacci/murmur3")
2636 (synopsis "Native MurmurHash3 Go implementation")
2637 (description "Native Go implementation of Austin Appleby's third MurmurHash
2638 revision (aka MurmurHash3).
2640 Reference algorithm has been slightly hacked as to support the streaming mode
2641 required by Go's standard Hash interface.")
2642 (license license:bsd-3)))
2644 (define-public go-github-com-twmb-murmur3
2646 (name "go-github-com-twmb-murmur3")
2652 (url "https://github.com/twmb/murmur3")
2653 (commit (string-append "v" version))))
2654 (file-name (git-file-name name version))
2657 "00riapwkyf23l5wyis47mbr8rwr4yrjw491jfc30wpzs111c1gyy"))))
2658 (build-system go-build-system)
2660 '(#:import-path "github.com/twmb/murmur3"))
2661 (home-page "https://github.com/twmb/murmur3")
2662 (synopsis "Native MurmurHash3 Go implementation")
2663 (description "Native Go implementation of Austin Appleby's third
2664 MurmurHash revision (aka MurmurHash3).
2666 Reference algorithm has been slightly hacked as to support the streaming mode
2667 required by Go's standard Hash interface.")
2668 (license license:bsd-3)))
2670 (define-public go-github-com-multiformats-go-multihash
2671 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
2674 (name "go-github-com-multiformats-go-multihash")
2675 (version (git-version "1.0.8" revision commit))
2680 (url "https://github.com/multiformats/go-multihash")
2682 (file-name (git-file-name name version))
2685 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
2686 (build-system go-build-system)
2688 '(#:import-path "github.com/multiformats/go-multihash"))
2690 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2691 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2692 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2693 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2694 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2695 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2696 (home-page "https://github.com/multiformats/go-multihash")
2697 (synopsis "Multihash implementation in Go")
2698 (description "Multihash implementation in Go.")
2699 (license license:expat))))
2701 (define-public go-github-com-libp2p-go-libp2p-peer
2702 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
2705 (name "go-github-com-libp2p-go-libp2p-peer")
2706 (version (git-version "2.3.8" revision commit))
2711 (url "https://github.com/libp2p/go-libp2p-peer")
2713 (file-name (git-file-name name version))
2716 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
2717 (build-system go-build-system)
2719 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
2721 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2722 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2723 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2724 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2725 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2726 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2727 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2728 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2729 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2730 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2731 (home-page "https://github.com/libp2p/go-libp2p-peer")
2732 (synopsis "PKI based identities for use in go-libp2p")
2733 (description "PKI based identities for use in @command{go-libp2p}.")
2734 (license license:expat))))
2736 (define-public go-github-com-libp2p-go-libp2p-protocol
2737 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
2740 (name "go-github-com-libp2p-go-libp2p-protocol")
2741 (version (git-version "1.0.0" revision commit))
2746 (url "https://github.com/libp2p/go-libp2p-protocol")
2748 (file-name (git-file-name name version))
2751 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
2752 (build-system go-build-system)
2755 "github.com/libp2p/go-libp2p-protocol"))
2756 (home-page "https://github.com/libp2p/go-libp2p-protocol")
2757 (synopsis "Type for protocol strings in Golang")
2758 (description "Just a type for protocol strings. Nothing more.")
2759 (license license:expat))))
2761 (define-public go-github-com-libp2p-go-libp2p-metrics
2762 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
2765 (name "go-github-com-libp2p-go-libp2p-metrics")
2766 (version (git-version "2.1.6" revision commit))
2771 (url "https://github.com/libp2p/go-libp2p-metrics")
2773 (file-name (git-file-name name version))
2776 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
2777 (build-system go-build-system)
2779 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
2781 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
2782 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
2783 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
2784 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2785 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2786 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2787 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2788 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2789 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2790 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2791 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2792 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2793 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2794 (home-page "https://github.com/libp2p/go-libp2p-metrics")
2795 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
2796 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
2797 statistics for wrapped connections.")
2798 (license license:expat))))
2800 (define-public go-github-com-mitchellh-go-homedir
2801 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
2804 (name "go-github-com-mitchellh-go-homedir")
2805 (version (git-version "1.0.0" revision commit))
2810 (url "https://github.com/mitchellh/go-homedir")
2812 (file-name (git-file-name name version))
2815 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
2816 (build-system go-build-system)
2818 (quote (#:import-path "github.com/mitchellh/go-homedir"
2819 ;; TODO: Tests fail because it tries to access home.
2821 (home-page "https://github.com/mitchellh/go-homedir")
2822 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
2823 (description "This is a Go library for detecting the user's home
2824 directory without the use of @command{cgo}, so the library can be used in
2825 cross-compilation environments.
2827 Usage is simple, just call homedir.Dir() to get the home directory for a user,
2828 and homedir.Expand() to expand the @command{~} in a path to the home
2831 Why not just use @command{os/user}? The built-in @command{os/user} package
2832 requires cgo on Darwin systems. This means that any Go code that uses that
2833 package cannot cross compile. But 99% of the time the use for
2834 @command{os/user} is just to retrieve the home directory, which we can do for
2835 the current user without cgo. This library does that, enabling
2836 cross-compilation.")
2837 (license license:expat))))
2839 (define-public go-github-com-mitchellh-mapstructure
2841 (name "go-github-com-mitchellh-mapstructure")
2842 (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0
2847 (url "https://github.com/mitchellh/mapstructure")
2848 (commit (string-append "v" version))))
2849 (file-name (git-file-name name version))
2852 "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"))))
2853 (build-system go-build-system)
2855 `(#:import-path "github.com/mitchellh/mapstructure"))
2856 (home-page "https://github.com/mitchellh/mapstructure")
2857 (synopsis "Go library for decoding generic map values")
2858 (description "Go library for decoding generic map values")
2859 (license license:expat)))
2861 (define-public go-github-com-mitchellh-reflectwalk
2863 (name "go-github-com-mitchellh-reflectwalk")
2868 (url "https://github.com/mitchellh/reflectwalk")
2869 (commit (string-append "v" version))))
2870 (file-name (git-file-name name version))
2873 "0pa6a3nhzwv5s5yqcmsmsfhdp5ggxsg2wa86f3akawxrhrkjarnx"))))
2874 (build-system go-build-system)
2876 `(#:import-path "github.com/mitchellh/reflectwalk"))
2877 (home-page "https://github.com/mitchellh/reflectwalk/")
2878 (synopsis "Walk a value in Go using reflection")
2879 (description "reflectwalk is a Go library for \"walking\" a value in Go
2880 using reflection, in the same way a directory tree can be \"walked\" on the
2881 file system. Walking a complex structure can allow you to do manipulations on
2882 unknown structures such as those decoded from JSON.")
2883 (license license:expat)))
2885 (define-public go-github-com-mitchellh-copystructure
2887 (name "go-github-com-mitchellh-copystructure")
2893 (url "https://github.com/mitchellh/copystructure")
2894 (commit (string-append "v" version))))
2895 (file-name (git-file-name name version))
2898 "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
2899 (build-system go-build-system)
2901 `(#:import-path "github.com/mitchellh/copystructure"))
2903 `(("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)))
2904 (home-page "https://github.com/mitchellh/copystructure")
2905 (synopsis "Go library for decoding deep copying values")
2906 (description "@code{copystructure} is a Go library for deep copying values
2909 This allows you to copy Go values that may contain reference values such as
2910 maps, slices, or pointers, and copy their data as well instead of just their
2912 (license license:expat)))
2914 (define-public go-github-com-multiformats-go-multiaddr
2915 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
2918 (name "go-github-com-multiformats-go-multiaddr")
2919 (version (git-version "1.3.0" revision commit))
2924 (url "https://github.com/multiformats/go-multiaddr")
2926 (file-name (git-file-name name version))
2929 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
2930 (build-system go-build-system)
2933 "github.com/multiformats/go-multiaddr"))
2935 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2936 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2937 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2938 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2939 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2940 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2941 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2942 (home-page "https://github.com/multiformats/go-multiaddr")
2943 (synopsis "Composable and future-proof network addresses")
2944 (description "Multiaddr is a standard way to represent addresses that
2948 @item Support any standard network protocols.
2949 @item Self-describe (include protocols).
2950 @item Have a binary packed format.
2951 @item Have a nice string representation.
2952 @item Encapsulate well.
2954 (license license:expat))))
2956 (define-public go-github-com-multiformats-go-multiaddr-net
2957 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
2960 (name "go-github-com-multiformats-go-multiaddr-net")
2961 (version (git-version "1.6.3" revision commit))
2966 (url "https://github.com/multiformats/go-multiaddr-net")
2968 (file-name (git-file-name name version))
2971 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
2972 (build-system go-build-system)
2974 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
2975 ;; TODO: Tests fail because they try to access the network.
2978 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
2979 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2980 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2981 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2982 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2983 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2984 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2985 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2986 (home-page "https://github.com/multiformats/go-multiaddr-net")
2987 (synopsis "Multiaddress net tools")
2988 (description "This package provides Multiaddr specific versions of
2989 common functions in stdlib's @command{net} package. This means wrappers of
2990 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
2991 as conversion to and from @command{net.Addr}.")
2992 (license license:expat))))
2994 (define-public go-github-com-whyrusleeping-tar-utils
2995 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
2998 (name "go-github-com-whyrusleeping-tar-utils")
2999 (version (git-version "0.0.0" revision commit))
3004 (url "https://github.com/whyrusleeping/tar-utils")
3006 (file-name (git-file-name name version))
3009 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
3010 (build-system go-build-system)
3013 "github.com/whyrusleeping/tar-utils"))
3014 (home-page "https://github.com/whyrusleeping/tar-utils")
3015 (synopsis "Tar utilities extracted from go-ipfs codebase")
3016 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
3017 (license license:expat))))
3019 (define-public go-github-com-cheekybits-is
3020 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
3023 (name "go-github-com-cheekybits-is")
3024 (version (git-version "0.0.0" revision commit))
3029 (url "https://github.com/cheekybits/is")
3031 (file-name (git-file-name name version))
3034 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
3035 (build-system go-build-system)
3037 '(#:import-path "github.com/cheekybits/is"))
3038 (home-page "https://github.com/cheekybits/is")
3039 (synopsis "Mini testing helper for Go")
3040 (description "A mini testing helper for Go.
3043 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
3044 @item It plugs into existing Go toolchain (uses @command{testing.T}).
3045 @item It's obvious for newcomers.
3046 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
3047 - because testing panics is ugly.
3049 (license license:expat))))
3051 (define-public go-github-com-sabhiram-go-gitignore
3052 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
3055 (name "go-github-com-sabhiram-go-gitignore")
3056 (version (git-version "1.0.2" revision commit))
3061 (url "https://github.com/sabhiram/go-gitignore")
3063 (file-name (git-file-name name version))
3066 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
3067 (build-system go-build-system)
3070 "github.com/sabhiram/go-gitignore"))
3072 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3073 (home-page "https://github.com/sabhiram/go-gitignore")
3074 (synopsis "Gitignore parser for Go")
3075 (description "A @command{.gitignore} parser for Go.")
3076 (license license:expat))))
3078 (define-public go-github-com-urfave-cli
3080 (name "go-github-com-urfave-cli")
3086 (url "https://github.com/urfave/cli")
3087 (commit (string-append "v" version))))
3088 (file-name (git-file-name name version))
3091 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
3092 (build-system go-build-system)
3094 '(#:import-path "github.com/urfave/cli"))
3096 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
3097 (home-page "https://github.com/urfave/cli")
3098 (synopsis "Simple, fast, and fun package for building command line apps in Go")
3099 (description "@command{cli} is a simple, fast, and fun package for
3100 building command line apps in Go. The goal is to enable developers to write
3101 fast and distributable command line applications in an expressive way.")
3102 (license license:expat)))
3104 (define-public go-github-com-go-md2man
3106 (name "go-github-com-go-md2man")
3112 (url "https://github.com/cpuguy83/go-md2man")
3113 (commit (string-append "v" version))))
3114 (file-name (git-file-name name version))
3117 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
3118 (modules '((guix build utils)))
3120 (delete-file-recursively "vendor")
3122 (build-system go-build-system)
3124 '(#:import-path "github.com/cpuguy83/go-md2man"))
3126 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
3127 (home-page "https://github.com/cpuguy83/go-md2man")
3128 (synopsis "Convert markdown into roff")
3129 (description "Go-md2man is a Go program that converts markdown to roff for
3130 the purpose of building man pages.")
3131 (license license:expat)))
3133 (define-public go-github-com-russross-blackfriday
3135 (name "go-github-com-russross-blackfriday")
3141 (url "https://github.com/russross/blackfriday")
3142 (commit (string-append "v" version))))
3143 (file-name (git-file-name name version))
3146 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
3147 (build-system go-build-system)
3149 '(#:import-path "github.com/russross/blackfriday"))
3151 `(("go-github-com-shurcool-sanitized-anchor-name"
3152 ,go-github-com-shurcool-sanitized-anchor-name)))
3154 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
3155 (home-page "https://github.com/russross/blackfriday")
3156 (synopsis "Markdown processor in Go")
3157 (description "Blackfriday is a Markdown processor in Go.")
3158 (license license:bsd-2)))
3160 (define-public go-github-com-shurcool-sanitized-anchor-name
3162 (name "go-github-com-shurcool-sanitized-anchor-name")
3168 (url "https://github.com/shurcooL/sanitized_anchor_name")
3169 (commit (string-append "v" version))))
3170 (file-name (git-file-name name version))
3173 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
3174 (build-system go-build-system)
3176 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
3177 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
3178 (synopsis "Create sanitized anchor names")
3179 (description "This package provides a Go program for creating sanitized
3181 (license license:expat)))
3183 (define-public go-github-com-pmezard-go-difflib
3185 (name "go-github-com-pmezard-go-difflib")
3190 (url "https://github.com/pmezard/go-difflib")
3191 (commit (string-append "v" version))))
3192 (file-name (git-file-name name version))
3195 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
3196 (build-system go-build-system)
3198 '(#:import-path "github.com/pmezard/go-difflib/difflib"
3199 #:unpack-path "github.com/pmezard/go-difflib/"))
3200 (home-page "https://github.com/pmezard/go-difflib")
3201 (synopsis "Go diff implementation")
3202 (description "This package provides unified and context-aware diffs in Go.")
3203 (license license:bsd-3)))
3205 (define-public go-github-com-whyrusleeping-json-filter
3206 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
3209 (name "go-github-com-whyrusleeping-json-filter")
3210 (version (git-version "0.0.0" revision commit))
3215 (url "https://github.com/whyrusleeping/json-filter")
3217 (file-name (git-file-name name version))
3220 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
3221 (build-system go-build-system)
3224 "github.com/whyrusleeping/json-filter"))
3225 (home-page "https://github.com/whyrusleeping/json-filter")
3226 (synopsis "Library to query JSON objects marshalled into map[string]interface")
3227 (description "A library to query JSON objects marshalled into
3228 @command{map[string]interface{}}.")
3229 (license license:expat))))
3231 (define-public go-github-com-whyrusleeping-progmeter
3232 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
3235 (name "go-github-com-whyrusleeping-progmeter")
3236 (version (git-version "0.0.0" revision commit))
3241 (url "https://github.com/whyrusleeping/progmeter")
3243 (file-name (git-file-name name version))
3246 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
3247 (build-system go-build-system)
3250 "github.com/whyrusleeping/progmeter"))
3251 (home-page "https://github.com/whyrusleeping/progmeter")
3252 (synopsis "Progress meter for Go")
3253 (description "Progress meter for Go.")
3254 (license license:expat))))
3256 (define-public go-github-com-whyrusleeping-stump
3257 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
3260 (name "go-github-com-whyrusleeping-stump")
3261 (version (git-version "0.0.0" revision commit))
3266 (url "https://github.com/whyrusleeping/stump")
3268 (file-name (git-file-name name version))
3271 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
3272 (build-system go-build-system)
3274 '(#:import-path "github.com/whyrusleeping/stump"))
3275 (home-page "https://github.com/whyrusleeping/stump")
3276 (synopsis "Very basic logging package for Go")
3277 (description "A simple log library, for when you don't really care to
3278 have super fancy logs.")
3279 (license license:expat))))
3281 (define-public go-github-com-kr-fs
3282 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
3285 (name "go-github-com-kr-fs")
3286 (version (git-version "0.1.0" revision commit))
3291 (url "https://github.com/kr/fs")
3293 (file-name (git-file-name name version))
3296 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
3297 (build-system go-build-system)
3299 '(#:import-path "github.com/kr/fs"))
3300 (home-page "https://github.com/kr/fs")
3301 (synopsis "File-system-related functions for Go")
3303 "The fs package provides file-system-related Go functions.")
3304 (license license:bsd-3))))
3306 (define-public go-github-com-direnv-go-dotenv
3307 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
3310 (name "go-github-com-direnv-go-dotenv")
3311 (version (git-version "0.0.0" revision commit))
3316 (url "https://github.com/direnv/go-dotenv")
3318 (file-name (git-file-name name version))
3321 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
3322 (build-system go-build-system)
3324 '(#:import-path "github.com/direnv/go-dotenv"))
3325 (home-page "https://github.com/direnv/go-dotenv")
3326 (synopsis "Go dotenv parsing library")
3327 (description "This package provides a library for parsing the dotenv
3329 (license license:expat))))
3331 (define-public go-github-com-kr-pretty
3333 (name "go-github-com-kr-pretty")
3338 (url "https://github.com/kr/pretty")
3339 (commit (string-append "v" version))))
3340 (file-name (git-file-name name version))
3343 "1ywbfzz1h3a3qd8rpkiqwi1dm4w8ls9ijb4x1b7567grns9f0vnp"))))
3344 (build-system go-build-system)
3346 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
3348 '(#:import-path "github.com/kr/pretty"))
3349 (synopsis "A pretty printer for Go values")
3350 (description "This package provides a pretty printer for Go values.")
3351 (home-page "https://github.com/kr/pretty")
3352 (license license:expat)))
3354 (define-public go-github-com-kylelemons-godebug
3356 (name "go-github-com-kylelemons-godebug")
3362 (url "https://github.com/kylelemons/godebug")
3363 (commit (string-append "v" version))))
3364 (file-name (git-file-name name version))
3367 "0dkk3friykg8p6wgqryx6745ahhb9z1j740k7px9dac6v5xjp78c"))))
3368 (build-system go-build-system)
3370 '(#:import-path "github.com/kylelemons/godebug/diff"
3371 #:unpack-path "github.com/kylelemons/godebug"))
3372 (home-page "https://github.com/kylelemons/godebug")
3373 (synopsis "Pretty printer for Go values.")
3375 "This package will pretty print a compact representation of a Go data
3376 structure. It can also produce a much more verbose, one-item-per-line
3377 representation suitable for computing diffs.")
3378 (license license:asl2.0)))
3380 (define-public go-github-com-kr-text
3382 (name "go-github-com-kr-text")
3387 (url "https://github.com/kr/text")
3388 (commit (string-append "v" version))))
3389 (file-name (git-file-name name version))
3392 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
3393 (build-system go-build-system)
3395 '(#:import-path "github.com/kr/text"))
3396 (synopsis "Text formatting in Go")
3397 (description "This package provides a text formatting functions in Go.")
3398 (home-page "https://github.com/kr/text")
3399 (license license:expat)))
3401 (define-public go-golang-org-sql-mock
3402 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
3406 (name "go-golang-org-sql-mock")
3407 (version (git-version version revision commit))
3411 (url "https://github.com/DATA-DOG/go-sqlmock")
3413 (file-name (git-file-name name version))
3416 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
3417 (build-system go-build-system)
3419 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
3420 (synopsis "Mock library implementing @code{sql/driver}")
3421 (description "This library simulates SQL-driver behavior in tests
3422 without requiring a real database connection.")
3423 (home-page "https://github.com/DATA-DOG/go-sqlmock")
3424 (license license:expat))))
3426 (define-public go-golang-org-colorful
3428 (name "go-golang-org-colorful")
3433 (url "https://github.com/lucasb-eyer/go-colorful")
3434 (commit (string-append "v" version))))
3435 (file-name (git-file-name name version))
3438 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
3439 (build-system go-build-system)
3441 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
3443 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
3444 (synopsis "Convert between colorspaces and generate colors")
3445 (description "This package implements Go's @code{color.Color} interface
3446 and provides a means of converting colors stored as RGB to various
3448 (home-page "https://github.com/lucasb-eyer/go-colorful")
3449 (license license:expat)))
3451 (define-public go-github-com-gdamore-encoding
3453 (name "go-github-com-gdamore-encoding")
3459 (url "https://github.com/gdamore/encoding")
3460 (commit (string-append "v" version))))
3461 (file-name (git-file-name name version))
3464 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
3465 (build-system go-build-system)
3467 '(#:import-path "github.com/gdamore/encoding"))
3469 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3470 (home-page "https://github.com/gdamore/encoding")
3471 (synopsis "Provide encodings missing from Go")
3472 (description "This package provides useful encodings not included in the
3473 standard @code{Text} package, including some for dealing with I/O streams from
3474 non-UTF-friendly sources.")
3475 (license license:expat)))
3477 (define-public go-github-com-gdamore-tcell
3478 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
3482 (name "go-github-com-gdamore-tcell")
3483 (version (git-version version revision commit))
3488 (url "https://github.com/gdamore/tcell")
3490 (file-name (git-file-name name version))
3493 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
3494 (build-system go-build-system)
3496 `(#:import-path "github.com/gdamore/tcell"
3498 (modify-phases %standard-phases
3499 (add-before 'reset-gzip-timestamps 'make-files-writable
3500 (lambda* (#:key outputs #:allow-other-keys)
3501 ;; Make sure .gz files are writable so that the
3502 ;; 'reset-gzip-timestamps' phase can do its work.
3503 (let ((out (assoc-ref outputs "out")))
3504 (for-each make-file-writable
3505 (find-files out "\\.gz$"))
3508 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
3509 ("go-golang-org-colorful" ,go-golang-org-colorful)
3510 ("go-golang-org-x-text" ,go-golang-org-x-text)
3511 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
3512 (home-page "https://github.com/gdamore/tcell")
3513 (synopsis "Provide a cell-based view for text terminals")
3514 (description "This package includes a full parser and expander for
3515 terminfo capability strings to avoid hard-coding escape strings for
3516 formatting. It also favors portability, and includes support for all POSIX
3518 (license license:expat))))
3520 (define-public go-github-com-mattn-go-shellwords
3521 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
3525 (name "go-github-com-mattn-go-shellwords")
3526 (version (git-version version revision commit))
3531 (url "https://github.com/mattn/go-shellwords")
3533 (file-name (git-file-name name version))
3536 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
3537 (build-system go-build-system)
3539 `(#:import-path "github.com/mattn/go-shellwords"
3540 ;; TODO: can't make homeless-shelter:
3541 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
3542 ;; initialization failure: mkdir /homeless-shelter: permission denied
3544 ;; This doesn't seem to work:
3547 ;; (modify-phases %standard-phases
3549 ;; (lambda* (#:key import-path #:allow-other-keys)
3550 ;; (setenv "HOME" "/tmp")
3551 ;; (invoke "go" "test" import-path))))
3553 ;; TODO: There are also a couple of tests that have stymied Debian in
3554 ;; the past. They seem to work when run locally.
3558 (home-page "https://github.com/mattn/go-shellwords")
3559 (synopsis "Parse lines into shell words")
3560 (description "This package parses text into shell arguments. Based on
3561 the @code{cpan} module @code{Parse::CommandLine}.")
3562 (license license:expat))))
3564 (define-public go-github-com-burntsushi-locker
3565 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
3568 (name "go-github-com-burntsushi-locker")
3569 (version (git-version "0.0.0" revision commit))
3574 (url "https://github.com/BurntSushi/locker")
3576 (file-name (git-file-name name version))
3579 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
3580 (build-system go-build-system)
3582 '(#:import-path "github.com/BurntSushi/locker"))
3583 (home-page "https://github.com/BurntSushi/locker")
3584 (synopsis "Manage named ReadWrite mutexes in Go")
3585 (description "Golang package for conveniently using named read/write
3586 locks. These appear to be especially useful for synchronizing access to
3587 session based information in web applications.
3589 The common use case is to use the package level functions, which use a package
3590 level set of locks (safe to use from multiple goroutines
3591 simultaneously). However, you may also create a new separate set of locks
3594 All locks are implemented with read-write mutexes. To use them like a regular
3595 mutex, simply ignore the RLock/RUnlock functions.")
3596 (license license:unlicense))))
3598 (define-public go-github-com-marten-seemann-qtls
3600 (name "go-github-com-marten-seemann-qtls")
3605 (url "https://github.com/marten-seemann/qtls")
3606 (commit (string-append "v" version))))
3607 (file-name (git-file-name name version))
3610 "0dz60y98nm7l70hamq0v2vrs2dspyr5yqhnrds2dfh7hchxvq76j"))))
3611 (build-system go-build-system)
3613 '(#:import-path "github.com/marten-seemann/qtls"
3614 ;; The test suite requires networking.
3617 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3618 (synopsis "TLS 1.3 with QUIC in Go")
3619 (description "This package provides @code{qtls}, a QUIC-capable variant of
3620 the Go standard library's TLS 1.3 implementation.")
3621 (home-page "https://github.com/marten-seemann/qtls")
3622 (license license:bsd-3)))
3624 (define-public go-github-com-marten-seemann-chacha20
3626 (name "go-github-com-marten-seemann-chacha20")
3631 (url "https://github.com/marten-seemann/chacha20")
3632 (commit (string-append "v" version))))
3633 (file-name (git-file-name name version))
3636 "0x1j4cvbap45zk962qkjalc1h3axhzzdy9cdzhcjmprmm1ql4gjm"))))
3637 (build-system go-build-system)
3639 '(#:import-path "github.com/marten-seemann/chacha20"))
3640 (synopsis "ChaCha20 in Go")
3641 (description "This package is an external copy of the Go standard library's
3642 internal ChaCha20 package.")
3643 (home-page "https://github.com/marten-seemann/chacha20")
3644 (license license:bsd-3)))
3646 (define-public go-github-com-cheekybits-genny
3648 (name "go-github-com-cheekybits-genny")
3653 (url "https://github.com/cheekybits/genny")
3654 (commit (string-append "v" version))))
3655 (file-name (git-file-name name version))
3658 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
3659 (build-system go-build-system)
3661 '(#:import-path "github.com/cheekybits/genny"))
3663 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
3664 (synopsis "Generics for Go")
3665 (description "This package provides @code{genny}, a Go language
3666 implementation of generics.")
3667 (home-page "https://github.com/cheekybits/genny/")
3668 (license license:expat)))
3670 (define-public go-github-com-lucas-clemente-quic-go
3672 (name "go-github-com-lucas-clemente-quic-go")
3677 (url "https://github.com/lucas-clemente/quic-go")
3678 (commit (string-append "v" version))))
3679 (file-name (git-file-name name version))
3682 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
3683 (build-system go-build-system)
3685 '(#:import-path "github.com/lucas-clemente/quic-go"
3686 ;; XXX More packages required...
3689 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3690 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
3691 ("go-github-com-marten-seemann-chacha20" ,go-github-com-marten-seemann-chacha20)
3692 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
3693 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
3694 (synopsis "QUIC in Go")
3695 (description "This package provides a Go language implementation of the QUIC
3697 (home-page "https://github.com/lucas-clemente/quic-go")
3698 (license license:expat)))
3700 (define-public go-github-com-francoispqt-gojay
3702 (name "go-github-com-francoispqt-gojay")
3707 (url "https://github.com/francoispqt/gojay")
3708 (commit (string-append "v" version))))
3709 (file-name (git-file-name name version))
3712 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
3713 (build-system go-build-system)
3715 '(#:import-path "github.com/francoispqt/gojay"))
3717 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3718 (synopsis "JSON encoder/decoder with powerful stream API for Golang")
3719 (description "GoJay is a performant JSON encoder/decoder for Golang. It has
3720 a simple API and doesn't use reflection. It relies on small interfaces to
3721 decode/encode structures and slices.")
3722 (home-page "https://github.com/francoispqt/gojay")
3723 (license license:expat)))
3725 (define-public go-github-com-pkg-errors
3727 (name "go-github-com-pkg-errors")
3732 (url "https://github.com/pkg/errors")
3733 (commit (string-append "v" version))))
3734 (file-name (git-file-name name version))
3737 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
3738 (build-system go-build-system)
3740 `(#:import-path "github.com/pkg/errors"))
3741 (synopsis "Go error handling primitives")
3742 (description "This package provides @code{error}, which offers simple
3743 error handling primitives in Go.")
3744 (home-page "https://github.com/pkg/errors")
3745 (license license:bsd-2)))
3747 (define-public go-github-com-maruel-panicparse
3749 (name "go-github-com-maruel-panicparse")
3754 (url "https://github.com/maruel/panicparse")
3755 (commit (string-append "v" version))))
3756 (file-name (git-file-name name version))
3759 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
3760 (build-system go-build-system)
3762 '(#:import-path "github.com/maruel/panicparse"))
3763 (synopsis "Toolkit for parsing Go stack traces")
3764 (description "This package provides a toolkit for parsing Go language panic
3765 stack traces. It simplifies the traces to make salient information more visible
3766 and aid debugging.")
3767 (home-page "https://github.com/maruel/panicparse")
3768 (license license:asl2.0)))
3770 (define-public go-github-com-robfig-cron
3772 (name "go-github-com-robfig-cron")
3778 (url "https://github.com/robfig/cron")
3779 (commit (string-append "v" version))))
3780 (file-name (git-file-name name version))
3783 "1agzbw2dfk2d1mpmddr85s5vh6ygm8kqrvfg87i9d2wqnlsnliqm"))))
3784 (build-system go-build-system)
3786 `(#:import-path "github.com/robfig/cron"))
3787 (home-page "https://godoc.org/github.com/robfig/cron")
3788 (synopsis "Cron library for Go")
3789 (description "This package provides a cron library for Go. It implements
3790 a cron spec parser and job runner.")
3791 (license license:expat)))
3793 (define-public go-github-com-shirou-gopsutil
3794 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
3797 (name "go-github-com-shirou-gopsutil")
3798 (version (git-version "v2.19.7" revision commit))
3802 (url "https://github.com/shirou/gopsutil")
3803 (commit commit))) ; XXX
3804 (file-name (git-file-name name version))
3807 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
3808 (build-system go-build-system)
3810 '(#:import-path "github.com/shirou/gopsutil"))
3811 (synopsis "Process and system monitoring in Go")
3812 (description "This package provides a library for retrieving information
3813 on running processes and system utilization (CPU, memory, disks, network,
3815 (home-page "https://github.com/shirou/gopsutil")
3816 (license license:bsd-3))))
3818 (define-public go-github-com-danwakefield-fnmatch
3819 (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
3822 (name "go-github-com-danwakefield-fnmatch")
3823 (version (git-version "0.0.0" revision commit))
3828 (url "https://github.com/danwakefield/fnmatch")
3832 "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
3833 (file-name (git-file-name name version))))
3834 (build-system go-build-system)
3836 '(#:import-path "github.com/danwakefield/fnmatch"))
3837 (home-page "https://github.com/danwakefield/fnmatch")
3838 (synopsis "Updated clone of kballards golang fnmatch gist")
3839 (description "This package provides an updated clone of kballards golang
3840 fnmatch gist (https://gist.github.com/kballard/272720).")
3841 (license license:bsd-2))))
3843 (define-public go-github-com-ddevault-go-libvterm
3844 (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
3847 (name "go-github-com-ddevault-go-libvterm")
3848 (version (git-version "0.0.0" revision commit))
3853 (url "https://github.com/ddevault/go-libvterm")
3857 "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
3858 (file-name (git-file-name name version))))
3859 (build-system go-build-system)
3861 '(#:import-path "github.com/ddevault/go-libvterm"))
3863 `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
3864 (home-page "https://github.com/ddevault/go-libvterm")
3865 (synopsis "Go binding to libvterm")
3867 "This is a fork of another go-libvterm library for use with aerc.")
3868 (license license:expat))))
3870 (define-public go-github-com-emersion-go-imap
3872 (name "go-github-com-emersion-go-imap")
3878 (url "https://github.com/emersion/go-imap")
3879 (commit (string-append "v" version))))
3882 "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
3883 (file-name (git-file-name name version))))
3884 (build-system go-build-system)
3886 '(#:import-path "github.com/emersion/go-imap"))
3888 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3889 (home-page "https://github.com/emersion/go-imap")
3890 (synopsis "IMAP4rev1 library written in Go")
3891 (description "This package provides an IMAP4rev1 library written in Go. It
3892 can be used to build a client and/or a server.")
3893 (license license:expat)))
3895 (define-public go-github-com-emersion-go-sasl
3896 (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
3899 (name "go-github-com-emersion-go-sasl")
3900 (version (git-version "0.0.0" revision commit))
3905 (url "https://github.com/emersion/go-sasl")
3909 "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
3910 (file-name (git-file-name name version))))
3911 (build-system go-build-system)
3913 '(#:import-path "github.com/emersion/go-sasl"))
3914 (home-page "https://github.com/emersion/go-sasl")
3915 (synopsis "SASL library written in Go")
3916 (description "This package provides a SASL library written in Go.")
3917 (license license:expat))))
3919 (define-public go-github-com-emersion-go-imap-idle
3920 (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
3923 (name "go-github-com-emersion-go-imap-idle")
3924 (version (git-version "0.0.0" revision commit))
3929 (url "https://github.com/emersion/go-imap-idle")
3933 "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
3934 (file-name (git-file-name name version))))
3935 (build-system go-build-system)
3937 '(#:import-path "github.com/emersion/go-imap-idle"))
3939 `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
3940 ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
3941 ("go-golang-org-x-text" ,go-golang-org-x-text)))
3942 (home-page "https://github.com/emersion/go-imap-idle")
3943 (synopsis "IDLE extension for go-imap")
3944 (description "This package provides an IDLE extension for go-imap.")
3945 (license license:expat))))
3947 (define-public go-github-com-fatih-color
3949 (name "go-github-com-fatih-color")
3954 (url "https://github.com/fatih/color")
3955 (commit (string-append "v" version))))
3956 (file-name (git-file-name name version))
3959 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
3960 (build-system go-build-system)
3962 '(#:import-path "github.com/fatih/color"))
3963 (synopsis "Print colored text in Go")
3964 (description "This package provides an ANSI color package to output
3965 colorized or SGR defined output to the standard output.")
3966 (home-page "https://godoc.org/github.com/fatih/color")
3967 (license license:expat)))
3969 (define-public go-github-com-google-go-cmp-cmp
3971 (name "go-github-com-google-go-cmp-cmp")
3976 (url "https://github.com/google/go-cmp")
3977 (commit (string-append "v" version))))
3978 (file-name (git-file-name name version))
3981 "1caw49i0plkjxir7kdf5qhwls3krqwfmi7g4h392rdfwi3kfahx1"))))
3982 (build-system go-build-system)
3984 '(#:import-path "github.com/google/go-cmp/cmp"
3985 #:unpack-path "github.com/google/go-cmp"))
3986 (synopsis "Determine equality of values in Go")
3987 (description "This package provides a more powerful and safer
3988 alternative to @code{reflect.DeepEqual} for comparing whether two values
3989 are semantically equal in Go (for writing tests).")
3990 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
3991 (license license:asl2.0)))
3993 (define-public go-github-com-google-uuid
3995 (name "go-github-com-google-uuid")
4000 (url "https://github.com/google/uuid")
4001 (commit (string-append "v" version))))
4002 (file-name (git-file-name name version))
4005 "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb"))))
4006 (build-system go-build-system)
4008 '(#:import-path "github.com/google/uuid"))
4009 (home-page "https://github.com/google/uuid/")
4010 (synopsis "Generate and inspect UUIDs based on RFC 4122 and DCE 1.1")
4011 (description "The uuid package generates and inspects UUIDs based on RFC
4012 4122 and DCE 1.1: Authentication and Security Services.")
4013 (license license:bsd-3)))
4015 (define-public go-github-com-google-goterm
4016 (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
4019 (name "go-github-com-google-goterm")
4020 (version (git-version "0.0.1" revision commit))
4024 (url "https://github.com/google/goterm")
4026 (file-name (git-file-name name version))
4029 "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb"))))
4030 (build-system go-build-system)
4032 `(#:import-path "github.com/google/goterm/term"
4033 #:unpack-path "github.com/google/goterm"))
4034 (home-page "https://github.com/google/goterm/")
4035 (synopsis "PTY creation and termios get/set attributes")
4036 (description "The term package implements PTY creation and termios get/set
4037 attributes. It also contains some convenience functions for colors, SSH to
4038 and from termios translations, readCh, reading passwords, etc.")
4039 (license license:bsd-3))))
4041 (define-public go-github-com-google-go-querystring
4042 (let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests
4045 (name "go-github-com-google-go-querystring")
4050 (url "https://github.com/google/go-querystring")
4052 (file-name (git-file-name name version))
4055 "0mbx4jvf7nz4sk2fgqfq1llz4xb3vc4625b4x398mspr3a5077rs"))))
4056 (build-system go-build-system)
4058 `(#:import-path "github.com/google/go-querystring/query"
4059 #:unpack-path "github.com/google/go-querystring"))
4060 (home-page "https://github.com/google/go-querystring/")
4061 (synopsis "Library for encoding structs into URL query parameters")
4062 (description "@code{go-querystring} is Go library for encoding structs
4063 into URL query parameters.")
4064 (license license:bsd-3))))
4066 (define-public go-github-com-google-go-github
4068 (name "go-github-com-google-go-github")
4073 (url "https://github.com/google/go-github")
4074 (commit (string-append "v" version))))
4075 (file-name (git-file-name name version))
4078 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
4079 (build-system go-build-system)
4081 `(#:tests? #f ;application/octet-stream instead of text/plain
4082 #:import-path "github.com/google/go-github/v26/github"
4083 #:unpack-path "github.com/google/go-github/v26"))
4085 `(("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring)
4086 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4087 (home-page "https://github.com/google/go-github/")
4088 (synopsis "Client library for accessing the GitHub API v3")
4089 (description "@code{go-github} is a Go client library for accessing the
4091 (license license:bsd-3)))
4093 (define-public go-github-com-google-renameio
4095 (name "go-github-com-google-renameio")
4100 (url "https://github.com/google/renameio")
4101 (commit (string-append "v" version))))
4102 (file-name (git-file-name name version))
4105 "1ki2x5a9nrj17sn092d6n4zr29lfg5ydv4xz5cp58z6cw8ip43jx"))))
4106 (build-system go-build-system)
4108 `(#:import-path "github.com/google/renameio"))
4109 (home-page "https://github.com/google/renameio/")
4110 (synopsis "Atomically create or replace a file or symbolic link")
4111 (description "@code{renameio} Go package provides a way to atomically
4112 create or replace a file or symbolic link.")
4113 (license license:asl2.0)))
4115 (define-public go-golang.org-x-sync-errgroup
4116 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
4119 (name "go-golang.org-x-sync-errgroup")
4120 (version (git-version "0.0.0" revision commit))
4124 (url "https://go.googlesource.com/sync")
4126 (file-name (git-file-name name version))
4129 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
4130 (build-system go-build-system)
4132 '(#:import-path "golang.org/x/sync/errgroup"
4133 #:unpack-path "golang.org/x/sync"))
4134 (synopsis "Synchronization, error propagation, and Context cancellation
4135 for groups of goroutines working on subtasks of a common task.")
4136 (description "This package provides synchronization, error propagation,
4137 and Context cancellation for groups of goroutines working on subtasks of a
4139 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
4140 (license license:bsd-3))))
4142 (define (go-gotest-tools-source version sha256-base32-hash)
4146 (url "https://github.com/gotestyourself/gotest.tools")
4147 (commit (string-append "v" version))))
4148 (file-name (git-file-name "go-gotest-tools" version))
4150 (base32 sha256-base32-hash))))
4152 ;; Note that version 3.0.0 is incompatible to 2.3.0.
4153 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
4154 (define (go-gotest-tools-package suffix)
4156 (name (string-append "go-gotest-tools-"
4157 (string-replace-substring suffix "/" "-")))
4160 (go-gotest-tools-source version
4161 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
4162 (build-system go-build-system)
4164 `(#:import-path ,(string-append "gotest.tools/" suffix)
4165 #:unpack-path "gotest.tools"))
4166 (synopsis "@code{gotest-tools} part")
4167 (description "This package provides a part of @code{gotest-tools}.")
4168 (home-page "https://github.com/gotestyourself/gotest.tools")
4169 (license license:asl2.0)))
4171 (define-public go-gotest-tools-internal-format
4172 (package (inherit (go-gotest-tools-package "internal/format"))
4174 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4175 ("go-github-com-google-go-cmp-cmp"
4176 ,go-github-com-google-go-cmp-cmp)))
4177 (synopsis "Formats messages for use with gotest-tools")
4178 (description "This package provides a way to format messages for use
4179 with gotest-tools.")))
4181 (define-public go-gotest-tools-internal-difflib
4182 (package (inherit (go-gotest-tools-package "internal/difflib"))
4183 (synopsis "Differences for use with gotest-tools")
4184 (description "This package computes differences for use
4185 with gotest-tools.")))
4187 (define-public go-gotest-tools-internal-source
4188 (package (inherit (go-gotest-tools-package "internal/source"))
4190 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4191 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
4192 (synopsis "Source code AST formatters for gotest-tools")
4193 (description "This package provides source code AST formatters for
4196 (define-public go-gotest-tools-assert
4197 (package (inherit (go-gotest-tools-package "assert"))
4198 (name "go-gotest-tools-assert")
4200 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
4201 #:import-path "gotest.tools/assert"
4202 #:unpack-path "gotest.tools"))
4204 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
4206 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4207 ("go-github-com-google-go-cmp-cmp"
4208 ,go-github-com-google-go-cmp-cmp)))
4209 (synopsis "Compare values and fail a test when a comparison fails")
4210 (description "This package provides a way to compare values and fail a
4211 test when a comparison fails.")
4212 (home-page "https://github.com/gotestyourself/gotest.tools")
4213 (license license:asl2.0)))
4215 (define-public gotestsum
4222 (url "https://github.com/gotestyourself/gotestsum")
4223 (commit (string-append "v" version))))
4224 (file-name (git-file-name name version))
4227 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
4228 (build-system go-build-system)
4230 '(#:import-path "gotest.tools/gotestsum"))
4232 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
4233 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
4234 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4235 ("go-github-com-sirupsen-logrus"
4236 ,go-github-com-sirupsen-logrus)
4237 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
4238 ("go-github-com-jonboulle-clockwork"
4239 ,go-github-com-jonboulle-clockwork)
4240 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4241 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
4242 ("go-github-com-google-go-cmp-cmp"
4243 ,go-github-com-google-go-cmp-cmp)
4244 ;; TODO: This would be better as a propagated-input of
4245 ;; go-gotest-tools-assert, but that does not work for
4247 ("go-gotest-tools-internal-format"
4248 ,go-gotest-tools-internal-format)
4249 ("go-gotest-tools-internal-difflib"
4250 ,go-gotest-tools-internal-difflib)
4251 ("go-gotest-tools-internal-source"
4252 ,go-gotest-tools-internal-source)
4253 ("go-github-com-google-go-cmp-cmp"
4254 ,go-github-com-google-go-cmp-cmp)))
4255 (synopsis "Go test runner with output optimized for humans")
4256 (description "This package provides a @code{go test} runner with output
4257 optimized for humans, JUnit XML for CI integration, and a summary of the
4259 (home-page "https://github.com/gotestyourself/gotestsum")
4260 (license license:asl2.0)))
4262 (define-public go-github-com-golang-protobuf-proto
4264 (name "go-github-com-golang-protobuf-proto")
4269 (url "https://github.com/golang/protobuf")
4270 (commit (string-append "v" version))))
4271 (file-name (git-file-name name version))
4274 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
4275 (build-system go-build-system)
4277 '(#:import-path "github.com/golang/protobuf/proto"
4278 #:unpack-path "github.com/golang/protobuf"
4279 ;; Requires unpackaged golang.org/x/sync/errgroup
4281 (synopsis "Go support for Protocol Buffers")
4282 (description "This package provides Go support for the Protocol Buffers
4283 data serialization format.")
4284 (home-page "https://github.com/golang/protobuf")
4285 (license license:bsd-3)))
4287 (define-public go-github-com-mattn-go-zglob
4289 (name "go-github-com-mattn-go-zglob")
4294 (url "https://github.com/mattn/go-zglob")
4295 (commit (string-append "v" version))))
4296 (file-name (git-file-name name version))
4299 "1923lvakm66mzy62jmngdvcmbmiqclinsvnghs3907rgygnx1qc1"))))
4300 (build-system go-build-system)
4302 `(#:import-path "github.com/mattn/go-zglob"))
4303 (home-page "https://github.com/mattn/go-zglob")
4304 (synopsis "Glob library that descends into other directories")
4305 (description " A glob library that implements descending into other
4306 directories. It is optimized for filewalking. ")
4307 (license license:expat)))
4309 (define-public go-github-com-willf-bitset
4311 (name "go-github-com-willf-bitset")
4316 (url "https://github.com/willf/bitset")
4317 (commit (string-append "v" version))))
4318 (file-name (git-file-name name version))
4321 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
4322 (build-system go-build-system)
4324 '(#:import-path "github.com/willf/bitset"))
4325 (synopsis "Bitsets in Go")
4326 (description "This package provides a Go implementation of bitsets, which
4327 are a mapping between non-negative integers and boolean values focused on
4328 efficient space usage.")
4329 (home-page "https://github.com/willf/bitset")
4330 (license license:bsd-3)))
4332 (define-public go-github-com-willf-bloom
4334 (name "go-github-com-willf-bloom")
4339 (url "https://github.com/willf/bloom")
4340 (commit (string-append "v" version))))
4341 (file-name (git-file-name name version))
4344 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
4345 (build-system go-build-system)
4347 '(#:import-path "github.com/willf/bloom"
4349 (modify-phases %standard-phases
4350 (add-after 'unpack 'patch-import-path
4352 ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for
4353 ;; more information.
4354 ;; <https://github.com/spaolacci/murmur3/issues/29>
4355 (substitute* "src/github.com/willf/bloom/bloom.go"
4356 (("spaolacci") "twmb"))
4359 `(("go-github-com-twmb-murmur3" ,go-github-com-twmb-murmur3)
4360 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
4361 (synopsis "Bloom filters in Go")
4362 (description "This package provides a Go implementation of bloom filters,
4363 based on murmurhash.")
4364 (home-page "https://github.com/willf/bloom")
4365 (license license:bsd-2)))
4367 (define-public go-golang-org-rainycape-unidecode
4368 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
4371 (name "go-golang-org-rainycape-unidecode")
4372 (version (git-version "0.0.0" revision commit))
4376 (url "https://github.com/rainycape/unidecode")
4378 (file-name (string-append "go-golang-org-rainycape-unidecode-"
4379 version "-checkout"))
4382 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
4383 (build-system go-build-system)
4385 `(#:import-path "golang.org/rainycape/unidecode"))
4386 (home-page "https://github.com/rainycape/unidecode")
4387 (synopsis "Unicode transliterator in Golang")
4388 (description "Unicode transliterator in Golang - Replaces non-ASCII
4389 characters with their ASCII approximations.")
4390 (license license:asl2.0))))
4392 (define-public go-github-com-golang-freetype
4393 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
4396 (name "go-github-com-golang-freetype")
4397 (version (git-version "0.0.0" revision commit))
4401 (url "https://github.com/golang/freetype")
4403 (file-name (string-append "go-github-com-golang-freetype-"
4404 version "-checkout"))
4407 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
4408 (build-system go-build-system)
4410 `(#:import-path "github.com/golang/freetype"))
4412 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
4413 (home-page "https://github.com/golang/freetype")
4414 (synopsis "Freetype font rasterizer in the Go programming language")
4415 (description "The Freetype font rasterizer in the Go programming language.")
4416 (license (list license:freetype
4419 (define-public go-github-com-fogleman-gg
4421 (name "go-github-com-fogleman-gg")
4426 (url "https://github.com/fogleman/gg")
4427 (commit (string-append "v" version))))
4428 (file-name (git-file-name name version))
4431 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
4432 (build-system go-build-system)
4434 `(#:tests? #f ; Issue with test flags.
4435 #:import-path "github.com/fogleman/gg"))
4437 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
4438 (home-page "https://github.com/fogleman/gg")
4439 (synopsis "2D rendering in Go")
4440 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
4441 (license license:expat)))
4443 (define-public go-github-com-gedex-inflector
4444 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
4447 (name "go-github-com-gedex-inflector")
4448 (version (git-version "0.0.0" revision commit))
4452 (url "https://github.com/gedex/inflector")
4454 (file-name (string-append "go-github-com-gedex-inflector-"
4455 version "-checkout"))
4458 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
4459 (build-system go-build-system)
4461 `(#:import-path "github.com/gedex/inflector"))
4462 (home-page "https://github.com/gedex/inflector")
4463 (synopsis "Go library that pluralizes and singularizes English nouns")
4464 (description "Go library that pluralizes and singularizes English nouns.")
4465 (license license:bsd-2))))
4467 (define-public go-github-com-klauspost-cpuid
4469 (name "go-github-com-klauspost-cpuid")
4474 (url "https://github.com/klauspost/cpuid")
4475 (commit (string-append "v" version))))
4476 (file-name (git-file-name name version))
4479 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
4480 (build-system go-build-system)
4482 `(#:import-path "github.com/klauspost/cpuid"))
4483 (home-page "https://github.com/klauspost/cpuid")
4484 (synopsis "CPU feature identification for Go")
4485 (description "@code{cpuid} provides information about the CPU running the
4486 current program. CPU features are detected on startup, and kept for fast access
4487 through the life of the application. Currently x86 / x64 (AMD64) is supported,
4488 and no external C (cgo) code is used, which should make the library very eas
4490 (license license:expat)))
4492 (define-public go-github-com-pbnjay-memory
4493 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
4496 (name "go-github-com-pbnjay-memory")
4497 (version (git-version "0.0.0" revision commit))
4501 (url "https://github.com/pbnjay/memory")
4503 (file-name (string-append "go-github-com-pbnjay-memory-"
4504 version "-checkout"))
4507 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
4508 (build-system go-build-system)
4510 `(#:import-path "github.com/pbnjay/memory"))
4511 (home-page "https://github.com/gedex/inflector")
4512 (synopsis "Go library to report total system memory")
4513 (description "@code{memory} provides a single method reporting total
4514 physical system memory accessible to the kernel. It does not account for memory
4515 used by other processes.")
4516 (license license:bsd-3))))
4518 (define-public go-github-com-surge-glog
4519 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
4522 (name "go-github-com-surge-glog")
4523 (version (git-version "0.0.0" revision commit))
4527 (url "https://github.com/surge/glog")
4529 (file-name (string-append "go-github-com-surge-glog-"
4530 version "-checkout"))
4533 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
4534 (build-system go-build-system)
4536 `(#:import-path "github.com/surge/glog"))
4537 (home-page "https://github.com/surge/glog")
4538 (synopsis "Leveled execution logs for Go")
4539 (description "Leveled execution logs for Go.")
4540 (license license:asl2.0))))
4542 (define-public go-github-com-surgebase-porter2
4543 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
4546 (name "go-github-com-surgebase-porter2")
4547 (version (git-version "0.0.0" revision commit))
4551 (url "https://github.com/surgebase/porter2")
4553 (file-name (string-append "go-github-com-surgebase-porter2-"
4554 version "-checkout"))
4557 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
4558 (build-system go-build-system)
4560 `(#:import-path "github.com/surgebase/porter2"))
4562 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
4563 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
4564 (home-page "https://github.com/surgebase/porter2")
4565 (synopsis "Go library implementing english Porter2 stemmer")
4566 (description "Porter2 implements the
4567 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
4568 Porter2 stemmer}. It is written completely using finite state machines to do
4569 suffix comparison, rather than the string-based or tree-based approaches.")
4570 (license license:asl2.0))))
4572 (define-public go-github-com-masterminds-goutils
4574 (name "go-github-com-masterminds-goutils")
4579 (url "https://github.com/Masterminds/goutils")
4580 (commit (string-append "v" version))))
4581 (file-name (git-file-name name version))
4584 "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq"))))
4585 (build-system go-build-system)
4587 `(#:import-path "github.com/Masterminds/goutils"))
4588 (home-page "https://github.com/Masterminds/goutils/")
4589 (synopsis "Utility functions to manipulate strings")
4590 (description "GoUtils provides utility functions to manipulate strings in
4591 various ways. It is a Go implementation of some string manipulation libraries
4592 of Java Apache Commons.")
4593 (license license:asl2.0)))
4595 (define-public go-github-com-masterminds-semver
4597 (name "go-github-com-masterminds-semver")
4602 (url "https://github.com/Masterminds/semver")
4603 (commit (string-append "v" version))))
4604 (file-name (git-file-name name version))
4607 "1g1wizfdy29d02l9dh8gsb029yr4m4swp13swf0pnh9ryh5f1msz"))))
4608 (build-system go-build-system)
4610 `(#:import-path "github.com/Masterminds/semver"))
4611 (home-page "https://github.com/Masterminds/semver/")
4612 (synopsis "@code{semver} helps to work with semantic versions")
4613 (description "The semver package provides the ability to work with
4614 semantic versions. Specifically it provides the ability to:
4616 @item Parse semantic versions
4617 @item Sort semantic versions
4618 @item Check if a semantic version fits within a set of constraints
4619 @item Optionally work with a @code{v} prefix
4621 (license license:expat)))
4623 (define-public go-github-com-huandu-xstrings
4625 (name "go-github-com-huandu-xstrings")
4630 (url "https://github.com/huandu/xstrings")
4631 (commit (string-append "v" version))))
4632 (file-name (git-file-name name version))
4635 "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
4636 (build-system go-build-system)
4638 `(#:import-path "github.com/huandu/xstrings"))
4639 (home-page "https://github.com/huandu/xstrings/")
4640 (synopsis "Collection of string functions")
4641 (description "Go package xstrings is a collection of string functions,
4642 which are widely used in other languages but absent in Go package strings.")
4643 (license license:expat)))
4645 (define-public go-github-com-imdario-mergo
4647 (name "go-github-com-imdario-mergo")
4652 (url "https://github.com/imdario/mergo")
4653 (commit (string-append "v" version))))
4654 (file-name (git-file-name name version))
4657 "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
4658 (build-system go-build-system)
4660 `(#:import-path "github.com/imdario/mergo"))
4662 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
4663 (home-page "https://github.com/imdario/mergo/")
4664 (synopsis "Helper to merge structs and maps in Golang")
4665 (description "Helper to merge structs and maps in Golang. Useful for
4666 configuration default values, avoiding messy if-statements.
4668 Mergo merges same-type structs and maps by setting default values in
4669 zero-value fields. Mergo won't merge unexported (private) fields. It will do
4670 recursively any exported one. It also won't merge structs inside
4671 maps (because they are not addressable using Go reflection).")
4672 (license license:bsd-3)))
4674 (define-public go-github-com-masterminds-sprig
4676 (name "go-github-com-masterminds-sprig")
4681 (url "https://github.com/Masterminds/sprig")
4682 (commit (string-append "v" version))))
4683 (file-name (git-file-name name version))
4686 "0wwi8n2adjc5jlga25lqq0hrz4jcgd5vpll68y2dfji034caaq18"))))
4687 (build-system go-build-system)
4689 `(#:tests? #f ;network tests only
4690 #:import-path "github.com/Masterminds/sprig"))
4692 `(("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils)
4693 ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver)
4694 ("go-github-com-google-uuid" ,go-github-com-google-uuid)
4695 ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings)
4696 ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo)
4697 ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)
4698 ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure)
4699 ("go-github-com-spf13-cast" ,go-github-com-spf13-cast)
4700 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4701 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4702 (home-page "https://github.com/Masterminds/sprig/")
4703 (synopsis "Template functions for Go templates")
4704 (description "Sprig is a library that provides more than 100 commonly used
4705 template functions.")
4706 (license license:expat)))
4708 (define-public go-github-com-bmatcuk-doublestar
4710 (name "go-github-com-bmatcuk-doublestar")
4715 (url "https://github.com/bmatcuk/doublestar")
4716 (commit (string-append "v" version))))
4717 (file-name (git-file-name name version))
4720 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
4721 (build-system go-build-system)
4723 `(#:import-path "github.com/bmatcuk/doublestar"))
4724 (home-page "https://github.com/bmatcuk/doublestar/")
4725 (synopsis "Path pattern matching and globbing supporting doublestar")
4726 (description "@code{doublestar} is a Go implementation of path pattern
4727 matching and globbing with support for \"doublestar\" patterns.")
4728 (license license:expat)))
4730 (define-public go-github-com-dlclark-regexp2
4732 (name "go-github-com-dlclark-regexp2")
4737 (url "https://github.com/dlclark/regexp2")
4738 (commit (string-append "v" version))))
4739 (file-name (git-file-name name version))
4742 "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng"))))
4743 (build-system go-build-system)
4745 `(#:import-path "github.com/dlclark/regexp2"))
4746 (home-page "https://github.com/dlclark/regexp2/")
4747 (synopsis "Full featured regular expressions for Go")
4748 (description "Regexp2 is a feature-rich RegExp engine for Go.")
4749 (license license:expat)))
4751 (define-public go-github-com-alecthomas-colour
4753 (name "go-github-com-alecthomas-colour")
4758 (url "https://github.com/alecthomas/colour")
4759 (commit (string-append "v" version))))
4760 (file-name (git-file-name name version))
4763 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
4764 (build-system go-build-system)
4766 `(#:import-path "github.com/alecthomas/colour"))
4768 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
4769 (home-page "https://github.com/alecthomas/colour/")
4770 (synopsis "Colour terminal text for Go")
4771 (description "Package colour provides Quake-style colour formatting for
4774 The package level functions can be used to write to stdout (or strings or
4775 other files). If stdout is not a terminal, colour formatting will be
4777 (license license:expat)))
4779 (define-public go-github-com-alecthomas-repr
4780 (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
4783 (name "go-github-com-alecthomas-repr")
4784 (version (git-version "0.0.1" revision commit))
4788 (url "https://github.com/alecthomas/repr")
4790 (file-name (git-file-name name version))
4793 "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
4794 (build-system go-build-system)
4796 `(#:import-path "github.com/alecthomas/repr"))
4798 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4799 (home-page "https://github.com/alecthomas/repr/")
4800 (synopsis "Represent Go values in an almost direct form")
4801 (description "This package attempts to represent Go values in a form that
4802 can be used almost directly in Go source code.")
4803 (license license:expat))))
4805 (define-public go-github-com-sergi-go-diff
4807 (name "go-github-com-sergi-go-diff")
4812 (url "https://github.com/sergi/go-diff")
4813 (commit (string-append "v" version))))
4814 (file-name (git-file-name name version))
4817 "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
4818 (build-system go-build-system)
4820 `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
4821 #:unpack-path "github.com/sergi/go-diff"))
4823 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4824 (home-page "https://github.com/sergi/go-diff/")
4825 (synopsis "Algorithms to perform operations for synchronizing plain text")
4826 (description "@code{go-diff} offers algorithms to perform operations required for
4827 synchronizing plain text:
4829 @item compare two texts and return their differences
4830 @item perform fuzzy matching of text
4831 @item apply patches onto text
4833 (license license:expat)))
4835 (define-public go-github-com-alecthomas-assert
4836 (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
4839 (name "go-github-com-alecthomas-assert")
4840 (version (git-version "0.0.1" revision commit))
4844 (url "https://github.com/alecthomas/assert")
4846 (file-name (git-file-name name version))
4849 "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
4850 (build-system go-build-system)
4852 `(#:import-path "github.com/alecthomas/assert"))
4854 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4855 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4856 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4857 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4858 (home-page "https://github.com/alecthomas/assert/")
4859 (synopsis "Go assertion library")
4860 (description "Assertion library that:
4862 @item makes spotting differences in equality much easier
4863 @item uses repr and diffmatchpatch to display structural differences in colour
4864 @item aborts tests on first assertion failure
4866 (license license:expat))))
4868 (define-public go-github-com-alecthomas-chroma
4870 (name "go-github-com-alecthomas-chroma")
4875 (url "https://github.com/alecthomas/chroma")
4876 (commit (string-append "v" version))))
4877 (file-name (git-file-name name version))
4880 "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
4881 (build-system go-build-system)
4883 `(#:import-path "github.com/alecthomas/chroma"))
4885 `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
4886 ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
4887 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4888 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4889 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4890 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4891 (home-page "https://github.com/alecthomas/chroma/")
4892 (synopsis "General purpose syntax highlighter in pure Go")
4893 (description "Chroma takes source code and other structured text and
4894 converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
4895 (license license:expat)))
4897 (define-public go-github-com-andybalholm-cascadia
4899 (name "go-github-com-andybalholm-cascadia")
4904 (url "https://github.com/andybalholm/cascadia")
4905 (commit (string-append "v" version))))
4906 (file-name (git-file-name name version))
4909 "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc"))))
4910 (build-system go-build-system)
4912 `(#:import-path "github.com/andybalholm/cascadia"))
4914 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
4915 (home-page "https://github.com/andybalholm/cascadia/")
4916 (synopsis "CSS selectors for HTML")
4917 (description "The Cascadia package implements CSS selectors for use with
4918 the parse trees produced by the html package.")
4919 (license license:bsd-2)))
4921 (define-public go-github-com-puerkitobio-goquery
4923 (name "go-github-com-puerkitobio-goquery")
4928 (url "https://github.com/PuerkitoBio/goquery")
4929 (commit (string-append "v" version))))
4930 (file-name (git-file-name name version))
4933 "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx"))))
4934 (build-system go-build-system)
4936 `(#:import-path "github.com/PuerkitoBio/goquery"))
4938 `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4939 ("go-golang-org-x-net" ,go-golang-org-x-net)))
4940 (home-page "https://github.com/PuerkitoBio/goquery")
4941 (synopsis "Features similar to jQuery to the Go language")
4942 (description "@code{goquery} brings a syntax and a set of features similar
4943 to jQuery to the Go language.")
4944 (license license:bsd-3)))
4946 (define-public go-github-com-aymerick-douceur
4948 (name "go-github-com-aymerick-douceur")
4953 (url "https://github.com/aymerick/douceur/")
4954 (commit (string-append "v" version))))
4955 (file-name (git-file-name name version))
4958 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4959 (build-system go-build-system)
4961 `(#:import-path "github.com/aymerick/douceur"))
4963 `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
4964 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4965 ("go-golang-org-x-net" ,go-golang-org-x-net)
4966 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
4967 (home-page "https://github.com/aymerick/douceur/")
4968 (synopsis "CSS parser and inliner")
4969 (description "This package provides a CSS parser and inliner.")
4970 (license license:expat)))
4972 (define-public go-github-com-chris-ramon-douceur
4974 (name "go-github-com-chris-ramon-douceur")
4979 (url "https://github.com/chris-ramon/douceur")
4980 (commit (string-append "v" version))))
4981 (file-name (git-file-name name version))
4984 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4985 (build-system go-build-system)
4987 `(#:import-path "github.com/chris-ramon/douceur"))
4989 `(("go-github-com-aymerick-douceur" ,go-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/chris-ramon/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-microcosm-cc-bluemonday
5001 (name "go-github-com-microcosm-cc-bluemonday")
5006 (url "https://github.com/microcosm-cc/bluemonday")
5007 (commit (string-append "v" version))))
5008 (file-name (git-file-name name version))
5011 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
5012 (build-system go-build-system)
5014 `(#:import-path "github.com/microcosm-cc/bluemonday"))
5016 `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5017 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5018 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5019 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5020 (home-page "https://github.com/microcosm-cc/bluemonday/")
5021 (synopsis "HTML sanitizer")
5022 (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
5023 (license license:bsd-3)))
5025 (define-public go-github-com-muesli-reflow-wordwrap
5027 (name "go-github-com-muesli-reflow-wordwrap")
5032 (url "https://github.com/muesli/reflow")
5033 (commit (string-append "v" version))))
5034 (file-name (git-file-name "go-github-com-muesli-reflow" version))
5037 "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
5038 (build-system go-build-system)
5040 `(#:import-path "github.com/muesli/reflow/wordwrap"
5041 #:unpack-path "github.com/muesli/reflow"))
5043 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5044 (home-page "https://github.com/muesli/reflow/")
5045 (synopsis "Collection of methods helping to transform blocks of text")
5046 (description "This package provides a collection of ANSI-aware methods and
5047 io.Writers helping you to transform blocks of text.")
5048 (license license:expat)))
5050 (define-public go-github-com-muesli-reflow-ansi
5052 (inherit go-github-com-muesli-reflow-wordwrap)
5053 (name "go-github-com-muesli-reflow-ansi")
5055 `(#:import-path "github.com/muesli/reflow/ansi"
5056 #:unpack-path "github.com/muesli/reflow"))))
5058 (define-public go-github-com-muesli-reflow-indent
5060 (inherit go-github-com-muesli-reflow-wordwrap)
5061 (name "go-github-com-muesli-reflow-indent")
5063 `(#:import-path "github.com/muesli/reflow/indent"
5064 #:unpack-path "github.com/muesli/reflow"))))
5066 (define-public go-github-com-muesli-reflow-padding
5068 (inherit go-github-com-muesli-reflow-wordwrap)
5069 (name "go-github-com-muesli-reflow-padding")
5071 `(#:import-path "github.com/muesli/reflow/padding"
5072 #:unpack-path "github.com/muesli/reflow"))))
5074 (define-public go-github-com-muesli-termenv
5076 (name "go-github-com-muesli-termenv")
5081 (url "https://github.com/muesli/termenv")
5082 (commit (string-append "v" version))))
5083 (file-name (git-file-name name version))
5086 "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
5087 (build-system go-build-system)
5089 `(#:import-path "github.com/muesli/termenv"))
5091 `(("go-github-com-google-goterm" ,go-github-com-google-goterm)
5092 ("go-golang-org-colorful" ,go-golang-org-colorful)
5093 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5094 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5095 (home-page "https://github.com/muesli/termenv/")
5096 (synopsis "Advanced styling options on the terminal")
5097 (description "termenv lets you safely use advanced styling options on the
5098 terminal. It gathers information about the terminal environment in terms of
5099 its ANSI and color support and offers you convenient methods to colorize and
5100 style your output, without you having to deal with all kinds of weird ANSI
5101 escape sequences and color conversions.")
5102 (license license:expat)))
5104 (define-public go-github-com-olekukonko-tablewriter
5106 (name "go-github-com-olekukonko-tablewriter")
5111 (url "https://github.com/olekukonko/tablewriter")
5112 (commit (string-append "v" version))))
5113 (file-name (git-file-name name version))
5116 "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x"))))
5117 (build-system go-build-system)
5119 `(#:import-path "github.com/olekukonko/tablewriter"))
5121 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5122 (home-page "https://github.com/olekukonko/tablewriter/")
5123 (synopsis "Generate ASCII table")
5124 (description "This package allows to generate ASCII table. Features:
5126 @item automatic Padding
5127 @item support Multiple Lines
5128 @item supports Alignment
5129 @item support Custom Separators
5130 @item automatic Alignment of numbers and percentage
5131 @item write directly to http , file etc via @code{io.Writer}
5132 @item read directly from CSV file
5133 @item optional row line via @code{SetRowLine}
5134 @item normalise table header
5135 @item make CSV Headers optional
5136 @item enable or disable table border
5137 @item set custom footer support
5138 @item optional identical cells merging
5139 @item set custom caption
5140 @item optional reflowing of paragrpahs in multi-line cells
5142 (license license:expat)))
5144 (define-public go-github-com-yuin-goldmark
5146 (name "go-github-com-yuin-goldmark")
5151 (url "https://github.com/yuin/goldmark")
5152 (commit (string-append "v" version))))
5153 (file-name (git-file-name name version))
5156 "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy"))))
5157 (build-system go-build-system)
5159 `(#:import-path "github.com/yuin/goldmark"))
5160 (home-page "https://github.com/yuin/goldmark/")
5161 (synopsis "Markdown parser")
5162 (description "This package provides a markdown parser.")
5163 (license license:expat)))
5165 (define-public go-github-com-charmbracelet-glamour
5167 (name "go-github-com-charmbracelet-glamour")
5172 (url "https://github.com/charmbracelet/glamour")
5173 (commit (string-append "v" version))))
5174 (file-name (git-file-name name version))
5177 "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
5178 (build-system go-build-system)
5180 `(#:import-path "github.com/charmbracelet/glamour"))
5182 `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
5183 ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
5184 ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
5185 ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
5186 ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5187 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5188 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5189 ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
5190 ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
5191 ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
5192 ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
5193 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
5194 ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
5195 ("go-github-com-google-goterm" ,go-github-com-google-goterm)
5196 ("go-golang-org-colorful" ,go-golang-org-colorful)
5197 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5198 ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
5199 ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
5200 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5201 (home-page "https://github.com/charmbracelet/glamour/")
5202 (synopsis "Write handsome command-line tools with glamour")
5203 (description "@code{glamour} lets you render markdown documents and
5204 templates on ANSI compatible terminals. You can create your own stylesheet or
5205 use one of our glamourous default themes.")
5206 (license license:expat)))
5208 (define-public go-github-com-coreos-go-semver
5210 (name "go-github-com-coreos-go-semver")
5215 (url "https://github.com/coreos/go-semver")
5216 (commit (string-append "v" version))))
5217 (file-name (git-file-name name version))
5220 "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9"))))
5221 (build-system go-build-system)
5223 `(#:import-path "github.com/coreos/go-semver"))
5224 (home-page "https://github.com/coreos/go-semver/")
5225 (synopsis "Semantic versioning library")
5226 (description "@code{go-semver} is a semantic versioning library for Go.
5227 It lets you parse and compare two semantic version strings.")
5228 (license license:asl2.0)))
5230 (define-public go-github-com-emirpasic-gods
5232 (name "go-github-com-emirpasic-gods")
5237 (url "https://github.com/emirpasic/gods")
5238 (commit (string-append "v" version))))
5239 (file-name (git-file-name name version))
5242 "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1"))))
5243 (build-system go-build-system)
5245 `(#:import-path "github.com/emirpasic/gods"
5246 ; Source-only package
5249 (modify-phases %standard-phases
5251 (home-page "https://github.com/emirpasic/gods/")
5252 (synopsis "Implementation of various data structures and algorithms in Go")
5253 (description "This package provides implementation of various data
5254 structures and algorithms in Go.")
5255 (license license:bsd-2)))
5257 (define-public go-gopkg-in-warnings
5259 (name "go-gopkg-in-warnings")
5264 (url "https://github.com/go-warnings/warnings")
5265 (commit (string-append "v" version))))
5266 (file-name (git-file-name name version))
5269 "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81"))))
5270 (build-system go-build-system)
5272 `(#:import-path "gopkg.in/warnings.v0"))
5273 (home-page "https://gopkg.in/warnings.v0")
5274 (synopsis "Error handling with non-fatal errors")
5275 (description "Package warnings implements error handling with non-fatal
5276 errors (warnings).")
5277 (license license:bsd-2)))
5279 (define-public go-github-com-go-git-gcfg
5281 (name "go-github-com-go-git-gcfg")
5286 (url "https://github.com/go-git/gcfg")
5287 (commit (string-append "v" version))))
5288 (file-name (git-file-name name version))
5291 "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83"))))
5293 `(#:import-path "github.com/go-git/gcfg"))
5295 `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings)
5296 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
5297 (build-system go-build-system)
5298 (home-page "https://github.com/go-git/gcfg/")
5299 (synopsis "Gcfg reads INI-style configuration files into Go structs")
5300 (description "Gcfg reads INI-style configuration files into Go structs.")
5301 (license license:bsd-3)))
5303 (define-public go-github-com-go-git-go-billy
5305 (name "go-github-com-go-git-go-billy")
5310 (url "https://github.com/go-git/go-billy")
5311 (commit (string-append "v" version))))
5312 (file-name (git-file-name name version))
5315 "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx"))))
5316 (build-system go-build-system)
5318 `(#:import-path "github.com/go-git/go-billy/v5"))
5320 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5321 (home-page "https://github.com/go-git/go-billy/")
5322 (synopsis "File system abstraction for Go")
5323 (description "Billy implements an interface based on the OS's standard
5324 library to develop applications without depending on the underlying storage.
5325 This makes it virtually free to implement mocks and testing over
5326 file system operations.")
5327 (license license:asl2.0)))
5329 (define-public go-github-com-jbenet-go-context
5330 (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
5333 (name "go-github-com-jbenet-go-context")
5334 (version (git-version "0.0.1" revision commit))
5338 (url "https://github.com/jbenet/go-context")
5340 (file-name (git-file-name name version))
5343 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
5344 (build-system go-build-system)
5346 `(#:import-path "github.com/jbenet/go-context"
5347 ; Source-only package
5350 (modify-phases %standard-phases
5352 (home-page "https://github.com/jbenet/go-context/")
5353 (synopsis "@code{jbenet's} context extensions")
5354 (description "This package provides @code{jbenet's} context
5356 (license license:expat))))
5358 (define-public go-github-com-kevinburke-ssh-config
5360 (name "go-github-com-kevinburke-ssh-config")
5365 (url "https://github.com/kevinburke/ssh_config")
5367 (file-name (git-file-name name version))
5370 "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f"))))
5372 `(#:import-path "github.com/kevinburke/ssh_config"))
5373 (build-system go-build-system)
5374 (home-page "https://github.com/kevinburke/ssh_config/")
5375 (synopsis "Parser for @file{ssh_config} files")
5376 (description "This is a Go parser for @file{ssh_config} files.
5377 Importantly, this parser attempts to preserve comments in a given file, so you
5378 can manipulate a @file{ssh_config} file from a program.")
5379 (license license:expat)))
5381 (define-public go-github-com-xanzy-ssh-agent
5383 (name "go-github-com-xanzy-ssh-agent")
5388 (url "https://github.com/xanzy/ssh-agent")
5389 (commit (string-append "v" version))))
5390 (file-name (git-file-name name version))
5393 "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
5394 (build-system go-build-system)
5396 `(#:import-path "github.com/xanzy/ssh-agent"))
5398 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
5399 (home-page "https://github.com/xanzy/ssh-agent/")
5400 (synopsis "Control ssh-agent from Go")
5401 (description "Package agent implements the ssh-agent protocol, and
5402 provides both a client and a server. The client can talk to a standard
5403 ssh-agent that uses UNIX sockets, and one could implement an alternative
5404 ssh-agent process using the sample server. ")
5405 (license license:asl2.0)))
5407 (define-public go-github-com-alcortesm-tgz
5408 (let ((commit "9c5fe88206d7765837fed3732a42ef88fc51f1a1")
5411 (name "go-github-com-alcortesm-tgz")
5412 (version (git-version "0.0.1" revision commit))
5416 (url "https://github.com/alcortesm/tgz")
5418 (file-name (git-file-name name version))
5421 "04dcwnz2c2i4wbq2vx3g2wrdgqpncr2r1h6p1k08rdwk4bq1h8c5"))
5422 (modules '((guix build utils)))
5425 (substitute* "tgz_test.go"
5427 (("t.Fatalf\\(\"%s: unexpected error extracting: %s\", err\\)")
5428 "t.Fatalf(\"%s: unexpected error extracting: %s\", com, err)"))
5430 (build-system go-build-system)
5432 `(#:import-path "github.com/alcortesm/tgz"
5434 (modify-phases %standard-phases
5435 (add-after 'unpack 'make-git-checkout-writable
5436 (lambda* (#:key outputs #:allow-other-keys)
5437 (for-each make-file-writable (find-files "."))
5438 (for-each make-file-writable (find-files (assoc-ref outputs "out")))
5440 (home-page "https://github.com/alcortesm/tgz/")
5441 (synopsis "Go library to extract tgz files to temporal directories")
5442 (description "This package provides a Go library to extract tgz files to
5443 temporal directories.")
5444 (license license:expat))))
5446 (define-public go-github-com-go-git-go-git-fixtures
5448 (name "go-github-com-go-git-go-git-fixtures")
5453 (url "https://github.com/go-git/go-git-fixtures")
5454 (commit (string-append "v" version))))
5455 (file-name (git-file-name name version))
5458 "002yb1s2mxq2xijkl39ip1iyc3l52k23ikyi9ijfl4bgqxy79ljg"))))
5459 (build-system go-build-system)
5461 `(#:import-path "github.com/go-git/go-git-fixtures/v4"
5463 (modify-phases %standard-phases
5464 (delete 'reset-gzip-timestamps))))
5466 `(("go-github-com-alcortesm-tgz" ,go-github-com-alcortesm-tgz)
5467 ("go-github-com-go-git-go-billy" ,go-github-com-go-git-go-billy)
5468 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
5469 ("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5470 (home-page "https://github.com/go-git/go-git-fixtures/")
5471 (synopsis "Fixtures used by @code{go-git}")
5472 (description "This package provides fixtures used by @code{go-git}.")
5473 (license license:asl2.0)))
5475 (define-public go-github-com-pkg-diff
5476 (let ((commit "531926345625d489a6b56f860a569e68245ace36")
5479 (name "go-github-com-pkg-diff")
5480 (version (git-version "0.0.1" revision commit))
5484 (url "https://github.com/pkg/diff")
5486 (file-name (git-file-name name version))
5489 "1770m7qhww6lm0wj1v3mhv6hwa2v92p4w2fqxj1xyrg5dd58d944"))))
5490 (build-system go-build-system)
5492 `(#:import-path "github.com/pkg/diff"))
5494 `(("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
5495 (home-page "https://github.com/pkg/diff/")
5496 (synopsis "Create and print diffs")
5498 "This package provides a Go library to create and print diffs.")
5499 (license license:bsd-3))))
5501 (define-public go-github-com-twpayne-go-shell
5503 (name "go-github-com-twpayne-go-shell")
5508 (url "https://github.com/twpayne/go-shell")
5509 (commit (string-append "v" version))))
5510 (file-name (git-file-name name version))
5513 "1hv0ggy3935iddjnmpp9vl0kqjknxpnbmm9w7xr3gds7fpbxz6yp"))))
5514 (build-system go-build-system)
5516 `(#:import-path "github.com/twpayne/go-shell"))
5517 (home-page "https://github.com/twpayne/go-shell/")
5518 (synopsis "Shell across multiple platforms")
5520 "Package @code{shell} returns a user's shell across multiple platforms.")
5521 (license license:expat)))
5523 (define-public go-github-com-twpayne-go-vfs
5525 (name "go-github-com-twpayne-go-vfs")
5530 (url "https://github.com/twpayne/go-vfs")
5531 (commit (string-append "v" version))))
5532 (file-name (git-file-name name version))
5535 "19dm3gi45znwaqbzxhwcgkiz8059bwa3ank80hc6qhdl579bpjnz"))))
5536 (build-system go-build-system)
5538 `(#:import-path "github.com/twpayne/go-vfs"))
5540 `(("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar)))
5541 (home-page "https://github.com/twpayne/go-vfs/")
5542 (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
5543 (description "Package @code{vfs} provides an abstraction of the @code{os}
5544 and @code{ioutil} packages that is easy to test.")
5545 (license license:expat)))
5547 (define-public go-github-com-twpayne-go-vfsafero
5549 (name "go-github-com-twpayne-go-vfsafero")
5554 (url "https://github.com/twpayne/go-vfsafero")
5555 (commit (string-append "v" version))))
5556 (file-name (git-file-name name version))
5559 "18jwxhlrjd06z8xzg9ij0irl4f79jfy5jpwiz6xqlhzb1fja19pw"))))
5560 (build-system go-build-system)
5562 `(#:import-path "github.com/twpayne/go-vfsafero"))
5564 `(("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)
5565 ("go-github-com-spf13-afero" ,go-github-com-spf13-afero)))
5566 (home-page "https://github.com/twpayne/go-vfsafero/")
5567 (synopsis "Compatibility later between @code{go-vfs} and @code{afero}")
5569 "Package @code{vfsafero} provides a compatibility later between
5570 @code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.")
5571 (license license:expat)))
5573 (define-public go-github-com-twpayne-go-xdg
5575 (name "go-github-com-twpayne-go-xdg")
5580 (url "https://github.com/twpayne/go-xdg")
5581 (commit (string-append "v" version))))
5582 (file-name (git-file-name name version))
5585 "0j8q7yzixs6jlaad0lpa8hs6b240gm2cmy0yxgnprrbpa0y2r7ln"))))
5586 (build-system go-build-system)
5588 `(#:import-path "github.com/twpayne/go-xdg/v3"))
5590 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
5591 ("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)))
5592 (home-page "https://github.com/twpayne/go-xdg/")
5593 (synopsis "Functions related to freedesktop.org")
5594 (description "Package @code{xdg} provides functions related to
5595 @uref{freedesktop.org}.")
5596 (license license:expat)))
5598 (define-public go-github-com-godbus-dbus
5600 (name "go-github-com-godbus-dbus")
5605 (url "https://github.com/godbus/dbus")
5606 (commit (string-append "v" version))))
5607 (file-name (git-file-name name version))
5610 "1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
5611 (build-system go-build-system)
5613 `(#:tests? #f ;no /var/run/dbus/system_bus_socket
5614 #:import-path "github.com/godbus/dbus"))
5616 `(("dbus" ,dbus))) ;dbus-launch
5617 (home-page "https://github.com/godbus/dbus/")
5618 (synopsis "Native Go client bindings for the D-Bus")
5619 (description "@code{dbus} is a library that implements native Go client
5620 bindings for the D-Bus message bus system.")
5621 (license license:bsd-2)))
5623 (define-public go-github-com-zalando-go-keyring
5625 (name "go-github-com-zalando-go-keyring")
5630 (url "https://github.com/zalando/go-keyring")
5631 (commit (string-append "v" version))))
5632 (file-name (git-file-name name version))
5635 "0kj54nkiyccy6m9iy9a53f6412a54xk96j88jaiq35yzdgfa4z3p"))))
5636 (build-system go-build-system)
5638 `(#:tests? #f ;XXX: Fix dbus tests
5639 #:import-path "github.com/zalando/go-keyring"))
5641 `(("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus)
5643 (home-page "https://github.com/zalando/go-keyring/")
5644 (synopsis "Library for working with system keyring")
5645 (description "@code{go-keyring} is a library for setting, getting and
5646 deleting secrets from the system keyring.")
5647 (license license:expat)))
5649 (define-public go-etcd-io-bbolt
5651 (name "go-etcd-io-bbolt")
5656 (url "https://github.com/etcd-io/bbolt")
5657 (commit (string-append "v" version))))
5658 (file-name (git-file-name name version))
5661 "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r"))))
5662 (build-system go-build-system)
5664 `(#:import-path "go.etcd.io/bbolt"))
5665 (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
5666 (synopsis "Low-level key/value store in Go")
5667 (description "This package implements a low-level key/value store in Go.")
5668 (license license:expat)))
5670 (define-public go-github-com-rogpeppe-go-internal
5672 (name "go-github-com-rogpeppe-go-internal")
5677 (url "https://github.com/rogpeppe/go-internal")
5678 (commit (string-append "v" version))))
5679 (file-name (git-file-name name version))
5682 "00j2vpp1bsggdvw1winkz23mg0q6drjiir5q0k49pmqx1sh7106l"))))
5683 (build-system go-build-system)
5685 `(#:import-path "github.com/rogpeppe/go-internal"
5686 ; Source-only package
5689 (modify-phases %standard-phases
5691 (home-page "https://github.com/rogpeppe/go-internal/")
5692 (synopsis "Internal packages from the Go standard library")
5693 (description "This repository factors out an opinionated selection of
5694 internal packages and functionality from the Go standard library. Currently
5695 this consists mostly of packages and testing code from within the Go tool
5698 Included are the following:
5700 @item dirhash: calculate hashes over directory trees the same way that the Go tool does.
5701 @item goproxytest: a GOPROXY implementation designed for test use.
5702 @item gotooltest: Use the Go tool inside test scripts (see testscript below)
5703 @item imports: list of known architectures and OSs, and support for reading import import statements.
5704 @item modfile: read and write go.mod files while preserving formatting and comments.
5705 @item module: module paths and versions.
5706 @item par: do work in parallel.
5707 @item semver: semantic version parsing.
5708 @item testenv: information on the current testing environment.
5709 @item testscript: script-based testing based on txtar files
5710 @item txtar: simple text-based file archives for testing.
5712 (license license:bsd-3)))
5714 (define-public gopkg-in-errgo-fmt-errors
5716 (name "gopkg-in-errgo-fmt-errors")
5721 (url "https://github.com/go-errgo/errgo")
5722 (commit (string-append "v" version))))
5723 (file-name (git-file-name name version))
5726 "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2"))))
5727 (build-system go-build-system)
5729 `(#:import-path "gopkg.in/errgo.v2/fmt/errors"
5731 ;; Source-only package
5733 (modify-phases %standard-phases
5735 (home-page "https://godoc.org/gopkg.in/errgo.v2")
5736 (synopsis "Functions that use the fmt package to format error messages")
5737 (description "This package is the same as @code{gopkg.in/errgo.v2/errors}
5738 except that it adds convenience functions that use the fmt package to format
5740 (license license:bsd-3)))
5742 (define-public go-github-com-arceliar-phony
5743 (let ((commit "d0c68492aca0bd4b5c5c8e0452c9b4c8af923eaf")
5746 (name "go-github-com-arceliar-phony")
5747 (version (git-version "0.0.0" revision commit))
5752 (url "https://github.com/Arceliar/phony")
5754 (file-name (git-file-name name version))
5757 "0876y0hlb1zh8hn0pxrb5zfdadvaqmqwlr66p19yl2a76galz992"))))
5759 '(#:import-path "github.com/Arceliar/phony"))
5760 (build-system go-build-system)
5761 (home-page "https://github.com/Arceliar/phony")
5762 (synopsis "Very minimal actor model library")
5763 (description "Phony is a very minimal actor model library for Go,
5764 inspired by the causal messaging system in the Pony programming language.")
5765 (license license:expat))))