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>
23 ;;; This file is part of GNU Guix.
25 ;;; GNU Guix is free software; you can redistribute it and/or modify it
26 ;;; under the terms of the GNU General Public License as published by
27 ;;; the Free Software Foundation; either version 3 of the License, or (at
28 ;;; your option) any later version.
30 ;;; GNU Guix is distributed in the hope that it will be useful, but
31 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
32 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 ;;; GNU General Public License for more details.
35 ;;; You should have received a copy of the GNU General Public License
36 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
38 (define-module (gnu packages golang)
39 #:use-module ((guix licenses) #:prefix license:)
40 #:use-module (guix utils)
41 #:use-module (guix download)
42 #:use-module (guix git-download)
43 #:use-module (guix packages)
44 #:use-module (guix build-system gnu)
45 #:use-module (guix build-system trivial)
46 #:use-module (guix build-system go)
47 #:use-module (gnu packages)
48 #:use-module (gnu packages admin)
49 #:use-module (gnu packages gcc)
50 #:use-module (gnu packages glib)
51 #:use-module (gnu packages base)
52 #:use-module (gnu packages perl)
53 #:use-module (gnu packages pkg-config)
54 #:use-module (gnu packages pcre)
55 #:use-module (gnu packages lua)
56 #:use-module (gnu packages mp3)
57 #:use-module (gnu packages textutils)
58 #:use-module (gnu packages tls)
59 #:use-module (ice-9 match)
60 #:use-module (srfi srfi-1))
62 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
63 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
64 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
65 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
66 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
67 ;; gccgo-5. Mips is not officially supported, but it should work if it is
73 ;; The C-language bootstrap of Go:
74 ;; https://golang.org/doc/install/source#go14
75 (version "1.4-bootstrap-20171003")
78 (uri (string-append "https://storage.googleapis.com/golang/"
79 name version ".tar.gz"))
82 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
83 (build-system gnu-build-system)
88 `(#:modules ((ice-9 match)
89 (guix build gnu-build-system)
92 #:tests? #f ; Tests are run by the all.bash script.
93 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
94 (%current-target-system)))
95 '(#:system "armhf-linux")
98 (modify-phases %standard-phases
100 (add-after 'patch-generated-file-shebangs 'chdir
104 (add-before 'build 'prebuild
105 (lambda* (#:key inputs outputs #:allow-other-keys)
106 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
107 (ld (string-append (assoc-ref inputs "libc") "/lib"))
108 (loader (car (find-files ld "^ld-linux.+")))
109 (net-base (assoc-ref inputs "net-base"))
111 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
112 (output (assoc-ref outputs "out")))
114 ;; Removing net/ tests, which fail when attempting to access
115 ;; network resources not present in the build container.
116 (for-each delete-file
117 '("net/multicast_test.go" "net/parse_test.go"
120 ;; Add libgcc to the RUNPATH.
121 (substitute* "cmd/go/build.go"
122 (("cgoldflags := \\[\\]string\\{\\}")
123 (string-append "cgoldflags := []string{"
124 "\"-rpath=" gcclib "\"}"))
125 (("ldflags := buildLdflags")
127 "ldflags := buildLdflags\n"
128 "ldflags = append(ldflags, \"-r\")\n"
129 "ldflags = append(ldflags, \"" gcclib "\")\n")))
131 (substitute* "os/os_test.go"
132 (("/usr/bin") (getcwd))
133 (("/bin/pwd") (which "pwd")))
135 ;; Disable failing tests: these tests attempt to access
136 ;; commands or network resources which are neither available or
137 ;; necessary for the build to succeed.
142 ((regex all before test_name)
143 (string-append before "Disabled" test_name)))))
144 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
145 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
146 ("os/os_test.go" "(.+)(TestHostname.+)")
147 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
149 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
150 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
151 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
152 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
153 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
154 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
155 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
156 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
157 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
159 (substitute* "net/lookup_unix.go"
160 (("/etc/protocols") (string-append net-base "/etc/protocols")))
161 (substitute* "time/zoneinfo_unix.go"
162 (("/usr/share/zoneinfo/") tzdata-path))
163 (substitute* (find-files "cmd" "asm.c")
164 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
168 (lambda* (#:key inputs outputs #:allow-other-keys)
169 ;; FIXME: Some of the .a files are not bit-reproducible.
170 (let* ((output (assoc-ref outputs "out")))
171 (setenv "CC" (which "gcc"))
172 (setenv "GOOS" "linux")
173 (setenv "GOROOT" (dirname (getcwd)))
174 (setenv "GOROOT_FINAL" output)
175 (setenv "GO14TESTS" "1")
176 (invoke "sh" "all.bash"))))
179 (lambda* (#:key outputs inputs #:allow-other-keys)
180 (let* ((output (assoc-ref outputs "out"))
181 (doc_out (assoc-ref outputs "doc"))
182 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
183 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
184 (tests (string-append
185 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
187 (copy-recursively "../test" (string-append tests "/test"))
188 (delete-file-recursively "../test")
190 (copy-recursively "../api" (string-append docs "/api"))
191 (delete-file-recursively "../api")
192 (copy-recursively "../doc" (string-append docs "/doc"))
193 (delete-file-recursively "../doc")
195 (for-each (lambda (file)
196 (let ((file (string-append "../" file)))
197 (install-file file docs)
199 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
200 "LICENSE" "VERSION" "robots.txt"))
201 (copy-recursively "../" output)
206 ("gcc:lib" ,(canonical-package gcc) "lib")))
208 `(("pkg-config" ,pkg-config)
210 ("net-base" ,net-base)
213 (home-page "https://golang.org/")
214 (synopsis "Compiler and libraries for Go, a statically-typed language")
215 (description "Go, also commonly referred to as golang, is an imperative
216 programming language designed primarily for systems programming. Go is a
217 compiled, statically typed language in the tradition of C and C++, but adds
218 garbage collection, various safety features, and concurrent programming features
219 in the style of communicating sequential processes (@dfn{CSP}).")
220 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
221 (license license:bsd-3)))
223 (define-public go-1.14
232 (url "https://github.com/golang/go")
233 (commit (string-append "go" version))))
234 (file-name (git-file-name name version))
237 "08bazglmqp123c9dgrxflvxd011xsqfxsgah2kzbvca0mhm6qcm3"))))
239 (substitute-keyword-arguments (package-arguments go-1.4)
241 (if (string-prefix? "aarch64-linux" (or (%current-system)
242 (%current-target-system)))
246 `(modify-phases ,phases
248 (lambda* (#:key inputs outputs #:allow-other-keys)
249 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
250 (ld (string-append (assoc-ref inputs "libc") "/lib"))
251 (loader (car (find-files ld "^ld-linux.+")))
252 (net-base (assoc-ref inputs "net-base"))
254 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
255 (output (assoc-ref outputs "out")))
257 ;; Having the patch in the 'patches' field of <origin> breaks
258 ;; the 'TestServeContent' test due to the fact that
259 ;; timestamps are reset. Thus, apply it from here.
260 (invoke "patch" "-p2" "--force" "-i"
261 (assoc-ref inputs "go-skip-gc-test.patch"))
263 ;; A side effect of these test scripts is testing
264 ;; cgo. Attempts at using cgo flags and directives with these
265 ;; scripts as specified here (https://golang.org/cmd/cgo/)
266 ;; have not worked. The tests continue to state that they can
267 ;; not find object files/headers despite being present.
270 '("cmd/go/testdata/script/mod_case_cgo.txt"
271 "cmd/go/testdata/script/list_find.txt"
272 "cmd/go/testdata/script/list_compiled_imports.txt"
273 "cmd/go/testdata/script/cgo_syso_issue29253.txt"
274 "cmd/go/testdata/script/cover_cgo.txt"
275 "cmd/go/testdata/script/cover_cgo_xtest.txt"
276 "cmd/go/testdata/script/cover_cgo_extra_test.txt"
277 "cmd/go/testdata/script/cover_cgo_extra_file.txt"))
279 (for-each make-file-writable (find-files "."))
281 (substitute* "os/os_test.go"
282 (("/usr/bin") (getcwd))
283 (("/bin/pwd") (which "pwd"))
284 (("/bin/sh") (which "sh")))
286 ;; Add libgcc to runpath
287 (substitute* "cmd/link/internal/ld/lib.go"
288 (("!rpath.set") "true"))
289 (substitute* "cmd/go/internal/work/gccgo.go"
290 (("cgoldflags := \\[\\]string\\{\\}")
291 (string-append "cgoldflags := []string{"
292 "\"-rpath=" gcclib "\""
296 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
297 (substitute* "cmd/go/internal/work/gc.go"
298 (("ldflags = setextld\\(ldflags, compiler\\)")
300 "ldflags = setextld(ldflags, compiler)\n"
301 "ldflags = append(ldflags, \"-r\")\n"
302 "ldflags = append(ldflags, \"" gcclib "\")\n")))
304 ;; Disable failing tests: these tests attempt to access
305 ;; commands or network resources which are neither available
306 ;; nor necessary for the build to succeed.
311 ((regex all before test_name)
312 (string-append before "Disabled" test_name)))))
313 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
314 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
315 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
316 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
317 ;; 127.0.0.1 doesn't exist
318 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
319 ;; 127.0.0.1 doesn't exist
320 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
321 ;; /etc/services doesn't exist
322 ("net/parse_test.go" "(.+)(TestReadLine.+)")
323 ("os/os_test.go" "(.+)(TestHostname.+)")
324 ;; The user's directory doesn't exist
325 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
326 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
327 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
328 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
329 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
330 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
331 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
332 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
333 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
334 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
335 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
336 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
337 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
338 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
339 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
340 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
341 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
342 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
343 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
344 ("syscall/exec_linux_test.go"
345 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
347 ;; These tests fail on aarch64-linux
348 (substitute* "cmd/dist/test.go"
349 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
351 ;; fix shebang for testar script
352 ;; note the target script is generated at build time.
353 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
354 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
356 (substitute* "net/lookup_unix.go"
357 (("/etc/protocols") (string-append net-base "/etc/protocols")))
358 (substitute* "net/port_unix.go"
359 (("/etc/services") (string-append net-base "/etc/services")))
360 (substitute* "time/zoneinfo_unix.go"
361 (("/usr/share/zoneinfo/") tzdata-path))
362 (substitute* (find-files "cmd" "\\.go")
363 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
365 (add-before 'build 'set-bootstrap-variables
366 (lambda* (#:key outputs inputs #:allow-other-keys)
367 ;; Tell the build system where to find the bootstrap Go.
368 (let ((go (assoc-ref inputs "go")))
369 (setenv "GOROOT_BOOTSTRAP" go)
370 (setenv "GOGC" "400")
373 (lambda* (#:key inputs outputs #:allow-other-keys)
374 ;; FIXME: Some of the .a files are not bit-reproducible.
375 (let* ((output (assoc-ref outputs "out")))
376 (setenv "CC" (which "gcc"))
377 (setenv "GOOS" "linux")
378 (setenv "GOROOT" (dirname (getcwd)))
379 (setenv "GOROOT_FINAL" output)
380 (setenv "CGO_ENABLED" "1")
381 (invoke "sh" "all.bash"))))
383 ;; TODO: Most of this could be factorized with Go 1.4.
384 (lambda* (#:key outputs #:allow-other-keys)
385 (let* ((output (assoc-ref outputs "out"))
386 (doc_out (assoc-ref outputs "doc"))
387 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
389 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
390 ;; Prevent installation of the build cache, which contains
391 ;; store references to most of the tools used to build Go and
392 ;; would unnecessarily increase the size of Go's closure if it
394 (delete-file-recursively "../pkg/obj")
397 (copy-recursively "../test" (string-append src "/test"))
398 (delete-file-recursively "../test")
400 (copy-recursively "../api" (string-append docs "/api"))
401 (delete-file-recursively "../api")
402 (copy-recursively "../doc" (string-append docs "/doc"))
403 (delete-file-recursively "../doc")
407 (let* ((filein (string-append "../" file))
408 (fileout (string-append docs "/" file)))
409 (copy-file filein fileout)
410 (delete-file filein)))
411 ;; Note the slightly different file names compared to 1.4.
412 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
413 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
415 (copy-recursively "../" output)
419 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
420 ,@(match (%current-system)
421 ((or "armhf-linux" "aarch64-linux")
422 `(("gold" ,binutils-gold)))
424 ,@(package-native-inputs go-1.4)))
425 (supported-systems %supported-systems)))
427 (define-public go go-1.14)
429 (define-public go-github-com-alsm-ioprogress
430 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
433 (name "go-github-com-alsm-ioprogress")
434 (version (git-version "0.0.0" revision commit))
438 (url "https://github.com/alsm/ioprogress")
440 (file-name (git-file-name name version))
443 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
444 (build-system go-build-system)
446 '(#:import-path "github.com/alsm/ioprogress"))
447 (synopsis "Textual progress bars in Go")
448 (description "@code{ioprogress} is a Go library with implementations of
449 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
450 case for these are for command-line applications but alternate progress bar
451 writers can be supplied for alternate environments.")
452 (home-page "https://github.com/alsm/ioprogress")
453 (license license:expat))))
455 (define-public go-github-com-aki237-nscjar
456 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
459 (name "go-github-com-aki237-nscjar")
460 (version (git-version "0.0.0" revision commit))
464 (url "https://github.com/aki237/nscjar")
466 (file-name (git-file-name name version))
469 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
470 (build-system go-build-system)
472 '(#:import-path "github.com/aki237/nscjar"))
473 (synopsis "Handle Netscape / Mozilla cookies")
474 (description "@code{nscjar} is a Go library used to parse and output
475 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
476 jar struct to manage the cookies added to the cookie jar.")
477 (home-page "https://github.com/aki237/nscjar")
478 (license license:expat))))
480 (define-public go-github.com-jessevdk-go-flags
482 (name "go-github.com-jessevdk-go-flags")
487 (url "https://github.com/jessevdk/go-flags")
488 (commit (string-append "v" version))))
489 (file-name (git-file-name name version))
492 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
493 (build-system go-build-system)
495 '(#:import-path "github.com/jessevdk/go-flags"))
496 (synopsis "Go library for parsing command line arguments")
498 "The @code{flags} package provides a command line option parser. The
499 functionality is similar to the go builtin @code{flag} package, but
500 @code{flags} provides more options and uses reflection to provide a succinct
501 way of specifying command line options.")
502 (home-page "https://github.com/jessevdk/go-flags")
503 (license license:bsd-3)))
505 (define-public go-gopkg.in-tomb.v2
506 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
509 (name "go-gopkg.in-tomb.v2")
510 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
514 (url "https://github.com/go-tomb/tomb")
516 (file-name (string-append name "-" version ".tar.gz"))
519 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
520 (build-system go-build-system)
522 '(#:import-path "gopkg.in/tomb.v2"
524 (modify-phases %standard-phases
525 (add-after 'unpack 'patch-source
527 ;; Add a missing % to fix the compilation of this test
528 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
529 (("t.Fatalf\\(`Killf\\(\"BO%s")
530 "t.Fatalf(`Killf(\"BO%%s"))
532 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
534 "The @code{tomb} package handles clean goroutine tracking and
536 (home-page "https://gopkg.in/tomb.v2")
537 (license license:bsd-3))))
539 (define-public go-github.com-jtolds-gls
541 (name "go-github.com-jtolds-gls")
546 (url "https://github.com/jtolds/gls")
547 (commit (string-append "v" version))))
548 (file-name (git-file-name name version))
551 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
552 (build-system go-build-system)
554 '(#:import-path "github.com/jtolds/gls"))
555 (synopsis "@code{gls} provides Goroutine local storage")
557 "The @code{gls} package provides a way to store a retrieve values
559 (home-page "https://github.com/jtolds/gls")
560 (license license:expat)))
562 (define-public go-github-com-tj-docopt
564 (name "go-github-com-tj-docopt")
569 (url "https://github.com/tj/docopt")
570 (commit (string-append "v" version))))
571 (file-name (git-file-name name version))
574 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
575 (build-system go-build-system)
577 '(#:import-path "github.com/tj/docopt"))
578 (synopsis "Go implementation of docopt")
580 "This library allows the user to define a command-line interface from a
581 program's help message rather than specifying it programmatically with
582 command-line parsers.")
583 (home-page "https://github.com/tj/docopt")
584 (license license:expat)))
586 (define-public go-github-com-hashicorp-hcl
587 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
590 (name "go-github-com-hashicorp-hcl")
591 (version (git-version "0.0.0" revision commit))
595 (url "https://github.com/hashicorp/hcl")
597 (file-name (git-file-name name version))
600 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
601 (build-system go-build-system)
604 #:import-path "github.com/hashicorp/hcl"))
605 (synopsis "Go implementation of HashiCorp Configuration Language")
607 "This package contains the main implementation of the @acronym{HCL,
608 HashiCorp Configuration Language}. HCL is designed to be a language for
609 expressing configuration which is easy for both humans and machines to read.")
610 (home-page "https://github.com/hashicorp/hcl")
611 (license license:mpl2.0))))
613 (define-public go-golang-org-x-tools
614 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
617 (name "go-golang-org-x-tools")
618 (version (git-version "0.1.3" revision commit))
622 (url "https://go.googlesource.com/tools")
624 (file-name (string-append "go.googlesource.com-tools-"
625 version "-checkout"))
628 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
629 (build-system go-build-system)
631 `(#:import-path "golang.org/x/tools"
632 ;; Source-only package
635 (modify-phases %standard-phases
636 ;; Source-only package
638 (synopsis "Tools that support the Go programming language")
639 (description "This package provides miscellaneous tools that support the
640 Go programming language.")
641 (home-page "https://go.googlesource.com/tools/")
642 (license license:bsd-3))))
644 (define-public go-golang-org-x-crypto
645 (let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
648 (name "go-golang-org-x-crypto")
649 (version (git-version "0.0.0" revision commit))
653 (url "https://go.googlesource.com/crypto")
655 (file-name (string-append "go.googlesource.com-crypto-"
656 version "-checkout"))
659 "1yvis6fqbsd7f356aqyi18f76vnwj3bry6mxqnkvshq4cwrf92il"))))
660 (build-system go-build-system)
662 '(#:import-path "golang.org/x/crypto"
663 ;; Source-only package
666 (modify-phases %standard-phases
667 ;; Source-only package
669 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
670 (lambda* (#:key outputs #:allow-other-keys)
672 (make-file-writable file))
674 (string-append (assoc-ref outputs "out")
675 "/src/golang.org/x/crypto/ed25519/testdata")
679 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
680 (synopsis "Supplementary cryptographic libraries in Go")
681 (description "This package provides supplementary cryptographic libraries
682 for the Go language.")
683 (home-page "https://go.googlesource.com/crypto/")
684 (license license:bsd-3))))
686 (define-public go-golang-org-x-net
687 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
690 (name "go-golang-org-x-net")
691 (version (git-version "0.0.0" revision commit))
695 (url "https://go.googlesource.com/net")
697 (file-name (git-file-name name version))
700 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
701 (build-system go-build-system)
703 `(#:import-path "golang.org/x/net"
704 ; Source-only package
707 (modify-phases %standard-phases
709 (synopsis "Go supplemental networking libraries")
710 (description "This package provides supplemental Go networking libraries.")
711 (home-page "https://go.googlesource.com/net")
712 (license license:bsd-3))))
714 (define-public go-golang-org-x-image
715 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
718 (name "go-golang-org-x-image")
719 (version (git-version "0.0.0" revision commit))
723 (url "https://go.googlesource.com/image")
725 (file-name (string-append "go.googlesource.com-image-"
726 version "-checkout"))
729 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
730 (build-system go-build-system)
732 `(#:import-path "golang.org/x/image"
733 ; Source-only package
736 (modify-phases %standard-phases
738 (home-page "https://go.googlesource.com/image")
739 (synopsis "Supplemental Go image libraries")
740 (description "This package provides supplemental Go libraries for image
742 (license license:bsd-3))))
744 (define-public go-golang-org-x-sync
745 (let ((commit "6e8e738ad208923de99951fe0b48239bfd864f28")
748 (name "go-golang-org-x-sync")
749 (version (git-version "0.0.0" revision commit))
753 (url "https://go.googlesource.com/sync")
755 (file-name (git-file-name name version))
758 "1avk27pszd5l5df6ff7j78wgla46ir1hhy2jwfl9a3c0ys602yx9"))))
759 (build-system go-build-system)
761 `(#:import-path "golang.org/x/sync"
763 ;; Source-only package
765 (modify-phases %standard-phases
767 (synopsis "Additional Go concurrency primitives")
768 (description "This package provides Go concurrency primitives in addition
769 to the ones provided by the language and “sync” and “sync/atomic”
771 (home-page "https://go.googlesource.com/sync/")
772 (license license:bsd-3))))
774 (define-public go-golang-org-x-sys
775 (let ((commit "c709ea063b76879dc9915358f55d4d77c16ab6d5")
778 (name "go-golang-org-x-sys")
779 (version (git-version "0.0.0" revision commit))
783 (url "https://go.googlesource.com/sys")
785 (file-name (git-file-name name version))
788 "15nq53a6kcqchng4j0d1pjw0m6hny6126nhjdwqw5n9dzh6a226d"))))
789 (build-system go-build-system)
791 `(#:import-path "golang.org/x/sys"
792 ;; Source-only package
795 (modify-phases %standard-phases
797 (synopsis "Go support for low-level system interaction")
798 (description "This package provides supplemental libraries offering Go
799 support for low-level interaction with the operating system.")
800 (home-page "https://go.googlesource.com/sys")
801 (license license:bsd-3))))
803 (define-public go-golang-org-x-text
805 (name "go-golang-org-x-text")
810 (url "https://go.googlesource.com/text")
811 (commit (string-append "v" version))))
812 (file-name (string-append "go.googlesource.com-text-"
813 version "-checkout"))
816 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
817 (build-system go-build-system)
819 `(#:import-path "golang.org/x/text"
820 ; Source-only package
823 (modify-phases %standard-phases
825 (synopsis "Supplemental Go text processing libraries")
826 (description "This package provides supplemental Go libraries for text
828 (home-page "https://go.googlesource.com/text")
829 (license license:bsd-3)))
831 (define-public go-golang-org-x-time
832 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
835 (name "go-golang-org-x-time")
836 (version (git-version "0.0.0" revision commit))
840 (url "https://go.googlesource.com/time")
842 (file-name (git-file-name name version))
845 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
846 (build-system go-build-system)
848 `(#:import-path "golang.org/x/time"
849 ; Source-only package
852 (modify-phases %standard-phases
855 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
856 (synopsis "Supplemental Go time libraries")
857 (description "This package provides supplemental Go libraries related to
859 (home-page "https://godoc.org/golang.org/x/time/rate")
860 (license license:bsd-3))))
862 (define-public go-golang-org-x-oauth2
863 (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
866 (name "go-golang-org-x-oauth2")
867 (version (git-version "0.0.0" revision commit))
871 (url "https://go.googlesource.com/oauth2")
873 (file-name (string-append "go.googlesource.com-oauth2-"
874 version "-checkout"))
877 "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
878 (build-system go-build-system)
880 `(#:import-path "golang.org/x/oauth2"))
882 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
883 (home-page "https://go.googlesource.com/oauth2")
884 (synopsis "Client implementation of the OAuth 2.0 spec")
885 (description "This package contains a client implementation for OAuth 2.0
887 (license license:bsd-3))))
889 (define-public go-github-com-burntsushi-toml
891 (name "go-github-com-burntsushi-toml")
897 (url "https://github.com/BurntSushi/toml")
898 (commit (string-append "v" version))))
899 (file-name (git-file-name name version))
902 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
903 (build-system go-build-system)
905 '(#:import-path "github.com/BurntSushi/toml"))
906 (home-page "https://github.com/BurntSushi/toml")
907 (synopsis "Toml parser and encoder for Go")
908 (description "This package is toml parser and encoder for Go. The interface
909 is similar to Go's standard library @code{json} and @code{xml} package.")
910 (license license:expat)))
912 (define-public go-github-com-getsentry-raven-go
913 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
916 (name "go-github-com-getsentry-raven-go")
917 (version (git-version "0.2.0" revision commit))
922 (url "https://github.com/getsentry/raven-go")
924 (file-name (git-file-name name version))
927 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
928 (build-system go-build-system)
930 '(#:import-path "github.com/getsentry/raven-go"))
932 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
933 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
934 (home-page "https://github.com/getsentry/raven-go")
935 (synopsis "Sentry client in Go")
936 (description "This package is a Go client API for the Sentry event/error
938 (license license:bsd-3))))
940 (define-public go-github-com-hashicorp-go-version
942 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
945 (name "go-github-com-hashicorp-go-version")
946 (version (git-version "0.0.0" revision commit))
951 (url "https://github.com/hashicorp/go-version")
953 (file-name (git-file-name name version))
956 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
957 (build-system go-build-system)
959 '(#:import-path "github.com/hashicorp/go-version"))
961 "https://github.com/hashicorp/go-version")
962 (synopsis "Go library for parsing and verifying versions and version
964 (description "This package is a library for parsing versions and version
965 constraints, and verifying versions against a set of constraints. It can sort
966 a collection of versions properly, handles prerelease/beta versions, can
967 increment versions.")
968 (license license:mpl2.0))))
970 (define-public go-github-com-jpillora-backoff
972 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
975 (name "go-github-com-jpillora-backoff")
976 (version (git-version "0.0.0" revision commit))
981 (url "https://github.com/jpillora/backoff")
983 (file-name (git-file-name name version))
986 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
987 (build-system go-build-system)
989 '(#:import-path "github.com/jpillora/backoff"))
990 (home-page "https://github.com/jpillora/backoff")
991 (synopsis "Simple exponential backoff counter in Go")
992 (description "This package is a simple exponential backoff counter in
994 (license license:expat))))
996 (define-public go-github-com-stretchr-objx
998 (name "go-github-com-stretchr-objx")
1004 (url "https://github.com/stretchr/objx")
1005 (commit (string-append "v" version))))
1006 (file-name (git-file-name name version))
1009 "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
1010 (build-system go-build-system)
1012 '(#:import-path "github.com/stretchr/objx"))
1013 (home-page "https://github.com/stretchr/objx")
1014 (synopsis "Go package for dealing with maps, slices, JSON and other data")
1015 (description "This package provides a Go library for dealing with maps,
1016 slices, JSON and other data.")
1017 (license license:expat)))
1019 (define-public go-github-com-stretchr-testify
1021 (name "go-github-com-stretchr-testify")
1027 (url "https://github.com/stretchr/testify")
1028 (commit (string-append "v" version))))
1029 (file-name (git-file-name name version))
1032 "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
1033 (build-system go-build-system)
1035 '(#:import-path "github.com/stretchr/testify"))
1037 `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1038 ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
1039 ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
1040 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1041 (home-page "https://github.com/stretchr/testify")
1042 (synopsis "Go helper library for tests and invariant checking")
1043 (description "This package provide many tools for testifying that your
1044 code will behave as you intend.
1048 @item Easy assertions
1050 @item HTTP response trapping
1051 @item Testing suite interfaces and functions.
1053 (license license:expat)))
1055 (define-public go-github-com-tevino-abool
1057 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
1060 (name "go-github-com-tevino-abool")
1061 (version (git-version "0.0.0" revision commit))
1066 (url "https://github.com/tevino/abool")
1068 (file-name (git-file-name name version))
1071 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
1072 (build-system go-build-system)
1074 '(#:import-path "github.com/tevino/abool"))
1075 (home-page "https://github.com/tevino/abool")
1076 (synopsis "Atomic boolean library for Go code")
1077 (description "This package is atomic boolean library for Go code,
1078 optimized for performance yet simple to use.")
1079 (license license:expat))))
1081 (define-public go-github-com-tv42-httpunix
1082 (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
1085 (name "go-github-com-tv42-httpunix")
1086 (version (git-version "0.0.0" revision commit))
1091 (url "https://github.com/tv42/httpunix.git")
1093 (file-name (git-file-name name version))
1095 (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
1096 (build-system go-build-system)
1098 '(#:import-path "github.com/tv42/httpunix"))
1099 (home-page "https://github.com/tv42/httpunix")
1100 (synopsis "Go library to talk HTTP over Unix domain sockets")
1101 (description "This package is a Go library to talk HTTP over Unix domain
1103 (license license:expat))))
1105 (define-public go-github-com-blang-semver
1106 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
1109 (name "go-github-com-blang-semver")
1110 (version (git-version "0.0.0" revision commit))
1115 (url "https://github.com/blang/semver")
1117 (file-name (git-file-name name version))
1120 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
1121 (build-system go-build-system)
1123 '(#:import-path "github.com/blang/semver"))
1124 (home-page "https://github.com/blang/semver")
1125 (synopsis "Semantic versioning library written in Go")
1126 (description "Semver is a library for Semantic versioning written in Go.")
1127 (license license:expat))))
1129 (define-public go-github-com-emicklei-go-restful
1130 (let ((commit "89ef8af493ab468a45a42bb0d89a06fccdd2fb22")
1133 (name "go-github-com-emicklei-go-restful")
1134 (version (git-version "0.0.0" revision commit))
1139 (url "https://github.com/emicklei/go-restful")
1141 (file-name (git-file-name name version))
1144 "0rrlfcfq80fkxifpih6bq31vavb5mf4530xz51pp9pq1mn2fzjfh"))))
1145 (build-system go-build-system)
1147 '(#:import-path "github.com/emicklei/go-restful"))
1148 (home-page "https://github.com/emicklei/go-restful")
1149 (synopsis "Build REST-style web services using Go")
1150 (description "This package provides @code{go-restful}, which helps
1151 developers to use @code{http} methods explicitly and in a way that's consistent
1152 with the HTTP protocol definition.")
1153 (license license:expat))))
1155 (define-public go-github-com-google-cadvisor
1156 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
1159 (name "go-github-com-google-cadvisor")
1160 (version (git-version "0.0.0" revision commit))
1165 (url "https://github.com/google/cadvisor")
1167 (file-name (git-file-name name version))
1170 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
1171 (build-system go-build-system)
1173 '(#:import-path "github.com/google/cadvisor"))
1174 (home-page "https://github.com/google/cadvisor")
1175 (synopsis "Analyze resource usage of running containers")
1176 (description "The package provides @code{cadvisor}, which provides
1177 information about the resource usage and performance characteristics of running
1179 (license license:asl2.0))))
1181 (define-public go-github-com-google-gofuzz
1182 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
1185 (name "go-github-com-google-gofuzz")
1186 (version (git-version "0.0.0" revision commit))
1191 (url "https://github.com/google/gofuzz")
1193 (file-name (git-file-name name version))
1196 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
1197 (build-system go-build-system)
1199 '(#:import-path "github.com/google/gofuzz"))
1200 (home-page "https://github.com/google/gofuzz")
1201 (synopsis "Fuzz testing library for Go")
1202 (description "Gofuzz is a library for populationg Go objects with random
1203 values for the purpose of fuzz testing.")
1204 (license license:asl2.0))))
1206 (define-public go-github-com-gorilla-css
1208 (name "go-github-com-gorilla-css")
1213 (url "https://github.com/gorilla/css")
1214 (commit (string-append "v" version))))
1215 (file-name (git-file-name name version))
1218 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
1219 (build-system go-build-system)
1221 `(#:import-path "github.com/gorilla/css/scanner"
1222 #:unpack-path "github.com/gorilla/css"))
1223 (home-page "https://github.com/gorilla/css/")
1224 (synopsis "CSS3 tokenizer")
1225 (description "This package provides a CSS3 tokenizer.")
1226 (license license:bsd-3)))
1228 (define-public go-github-com-gorilla-context
1229 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
1232 (name "go-github-com-gorilla-context")
1233 (version (git-version "0.0.0" revision commit))
1238 (url "https://github.com/gorilla/context")
1240 (file-name (git-file-name name version))
1243 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
1244 (build-system go-build-system)
1246 '(#:import-path "github.com/gorilla/context"))
1247 (home-page "https://github.com/gorilla/context")
1248 (synopsis "Go registry for request variables")
1249 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
1250 (license license:bsd-3))))
1252 (define-public go-github-com-gorilla-mux
1253 (let ((commit "599cba5e7b6137d46ddf58fb1765f5d928e69604")
1256 (name "go-github-com-gorilla-mux")
1257 (version (git-version "0.0.0" revision commit))
1262 (url "https://github.com/gorilla/mux")
1264 (file-name (git-file-name name version))
1267 "0wd6jjii1kg5s0nk3ri6gqriz6hbd6bbcn6x4jf8n7ncrb8qsxyz"))))
1268 (build-system go-build-system)
1270 '(#:import-path "github.com/gorilla/mux"))
1271 (home-page "https://github.com/gorilla/mux")
1272 (synopsis "URL router and dispatcher for Go")
1274 "Gorilla/Mux implements a request router and dispatcher for matching
1275 incoming requests with their respective handler.")
1276 (license license:bsd-3))))
1278 (define-public go-github-com-jonboulle-clockwork
1279 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
1282 (name "go-github-com-jonboulle-clockwork")
1283 (version (git-version "0.0.0" revision commit))
1288 (url "https://github.com/jonboulle/clockwork")
1290 (file-name (git-file-name name version))
1293 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
1294 (build-system go-build-system)
1296 '(#:import-path "github.com/jonboulle/clockwork"))
1297 (home-page "https://github.com/jonboulle/clockwork")
1298 (synopsis "Fake clock library for Go")
1300 "Replace uses of the @code{time} package with the
1301 @code{clockwork.Clock} interface instead.")
1302 (license license:asl2.0))))
1304 (define-public go-github-com-spf13-afero
1306 (name "go-github-com-spf13-afero")
1312 (url "https://github.com/spf13/afero")
1313 (commit (string-append "v" version))))
1314 (file-name (git-file-name name version))
1317 "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"))))
1318 (build-system go-build-system)
1320 `(#:import-path "github.com/spf13/afero"))
1322 `(("golang.org/x/text" ,go-golang-org-x-text)))
1323 (home-page "https://github.com/spf13/afero")
1324 (synopsis "File system abstraction for Go")
1326 "This package provides a file system abstraction for Go.")
1327 (license license:asl2.0)))
1329 (define-public go-github-com-spf13-cast
1331 (name "go-github-com-spf13-cast")
1337 (url "https://github.com/spf13/cast")
1338 (commit (string-append "v" version))))
1339 (file-name (git-file-name name version))
1342 "0lb84788glr0qzrq2ifi36rgvp96qrgywvxrr3ggq5hrbr38hgn1"))))
1343 (build-system go-build-system)
1345 `(#:import-path "github.com/spf13/cast"))
1347 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1348 (home-page "https://github.com/spf13/cast")
1349 (synopsis "Safe and easy casting from one type to another in Go")
1350 (description "Safe and easy casting from one type to another in Go")
1351 (license license:expat)))
1353 (define-public go-github-com-spf13-cobra
1355 (name "go-github-com-spf13-cobra")
1361 (url "https://github.com/spf13/cobra")
1362 (commit (string-append "v" version))))
1363 (file-name (git-file-name name version))
1366 "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h"))))
1367 (build-system go-build-system)
1369 `(#:import-path "github.com/spf13/cobra"))
1371 `(("github.com/spf13/pflag" ,go-github-com-spf13-pflag)))
1372 (home-page "https://github.com/spf13/cobra")
1373 (synopsis "Go library for creating CLI applications")
1374 (description "Cobra is both a library for creating powerful modern CLI
1375 applications as well as a program to generate applications and command files.")
1376 (license license:asl2.0)))
1378 (define-public go-github-com-spf13-jwalterweatherman
1380 (name "go-github-com-spf13-jwalterweatherman")
1386 (url "https://github.com/spf13/jwalterweatherman")
1387 (commit (string-append "v" version))))
1388 (file-name (git-file-name name version))
1391 "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"))))
1392 (build-system go-build-system)
1394 `(#:import-path "github.com/spf13/jwalterweatherman"))
1396 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1397 (home-page "https://github.com/spf13/jwalterweatherman")
1398 (synopsis "Go logging library")
1399 (description "Go logging library")
1400 (license license:expat)))
1402 (define-public go-github-com-spf13-pflag
1404 (name "go-github-com-spf13-pflag")
1410 (url "https://github.com/spf13/pflag")
1411 (commit (string-append "v" version))))
1412 (file-name (git-file-name name version))
1415 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
1416 (build-system go-build-system)
1418 '(#:import-path "github.com/spf13/pflag"))
1419 (home-page "https://github.com/spf13/pflag")
1420 (synopsis "Replacement for Go's @code{flag} package")
1422 "Pflag is library to replace Go's @code{flag} package. It implements
1423 POSIX/GNU-style command-line options with double hyphens. It is is compatible
1425 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
1426 GNU extensions} to the POSIX recommendations for command-line options.")
1427 (license license:bsd-3)))
1429 (define-public go-github-com-spf13-viper
1431 (name "go-github-com-spf13-viper")
1437 (url "https://github.com/spf13/viper")
1438 (commit (string-append "v" version))))
1439 (file-name (git-file-name name version))
1442 "099n2g7fg6r8hqyszqw2axr775qyhyvwhsykvgw0f0s16ql48h5c"))))
1443 (build-system go-build-system)
1445 '(#:import-path "github.com/spf13/viper"))
1447 `(("github.com/spf13/afero" ,go-github-com-spf13-afero)
1448 ("github.com/spf13/cast" ,go-github-com-spf13-cast)
1449 ("github.com/spf13/pflag" ,go-github-com-spf13-pflag)
1450 ("github.com/spf13/jwalterweatherman" ,go-github-com-spf13-jwalterweatherman)
1451 ("github.com/fsnotify/fsnotify" ,go-github-com-fsnotify-fsnotify)
1452 ("github.com/hashicorp/hcl" ,go-github-com-hashicorp-hcl)
1453 ("github.com/magiconair/properties" ,go-github-com-magiconair-properties)
1454 ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)
1455 ("github.com/pelletier/go-toml" ,go-github-com-pelletier-go-toml)
1456 ("github.com/subosito/gotenv" ,go-github-com-subosito-gotenv)
1458 ("gopkg.in/ini.v1" ,go-gopkg-in-ini-v1)
1459 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1461 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1462 (home-page "https://github.com/spf13/viper")
1463 (synopsis "Go configuration with fangs")
1465 "Viper is a complete configuration solution for Go applications including
1466 12-Factor apps. It is designed to work within an application, and can handle
1467 all types of configuration needs and formats.")
1468 (license license:expat)))
1470 (define-public go-github-com-fsnotify-fsnotify
1472 (name "go-github-com-fsnotify-fsnotify")
1478 (url "https://github.com/fsnotify/fsnotify")
1479 (commit (string-append "v" version))))
1480 (file-name (git-file-name name version))
1483 "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x"))))
1484 (build-system go-build-system)
1486 `(#:import-path "github.com/fsnotify/fsnotify"))
1488 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1489 (home-page "https://github.com/fsnotify/fsnotify")
1490 (synopsis "File system notifications for Go")
1491 (description "File system notifications for Go")
1492 (license license:bsd-3)))
1494 (define-public go-github-com-magiconair-properties
1496 (name "go-github-com-magiconair-properties")
1502 (url "https://github.com/magiconair/properties")
1503 (commit (string-append "v" version))))
1504 (file-name (git-file-name name version))
1507 "19zqw1x0w0crh8zc84yy82nkcc5yjz72gviaf2xjgfm5a8np7nyb"))))
1508 (build-system go-build-system)
1510 `(#:import-path "github.com/magiconair/properties"))
1511 (home-page "https://github.com/magiconair/properties")
1512 (synopsis "Java properties scanner for Go")
1513 (description "Java properties scanner for Go")
1514 (license license:bsd-2)))
1516 (define-public go-github-com-pelletier-go-toml
1518 (name "go-github-com-pelletier-go-toml")
1524 (url "https://github.com/pelletier/go-toml")
1525 (commit (string-append "v" version))))
1526 (file-name (git-file-name name version))
1529 "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y"))))
1530 (build-system go-build-system)
1532 `(#:import-path "github.com/pelletier/go-toml"))
1534 `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml)
1535 ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1536 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1537 (home-page "https://github.com/pelletier/go-toml")
1538 (synopsis "Go library for the TOML configuration language")
1539 (description "Go library for the TOML configuration language")
1540 (license license:expat)))
1542 (define-public go-github-com-subosito-gotenv
1544 (name "go-github-com-subosito-gotenv")
1550 (url "https://github.com/subosito/gotenv")
1551 (commit (string-append "v" version))))
1552 (file-name (git-file-name name version))
1555 "0mav91j7r4arjkpq5zcf9j74f6pww8ic53x43wy7kg3ibw31yjs5"))))
1556 (build-system go-build-system)
1558 `(#:import-path "github.com/subosito/gotenv"))
1560 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1561 (home-page "https://github.com/subosito/gotenv")
1562 (synopsis "Go library for loading environment variables from files")
1563 (description "Go library for loading environment variables from files")
1564 (license license:expat)))
1566 (define-public go-github-com-sirupsen-logrus
1568 (name "go-github-com-sirupsen-logrus")
1574 (url "https://github.com/sirupsen/logrus")
1575 (commit (string-append "v" version))))
1576 (file-name (git-file-name name version))
1579 "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz"))))
1580 (build-system go-build-system)
1582 `(("go-golang-org-x-crypto"
1583 ,go-golang-org-x-crypto)
1584 ("go-github-com-stretchr-testify"
1585 ,go-github-com-stretchr-testify)
1586 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1588 '(#:tests? #f ;FIXME missing dependencies
1589 #:import-path "github.com/sirupsen/logrus"))
1590 (home-page "https://github.com/sirupsen/logrus")
1591 (synopsis "Structured, pluggable logging for Go")
1592 (description "Logrus is a structured logger for Go, completely API
1593 compatible with the standard library logger.")
1594 (license license:expat)))
1596 (define-public go-github-com-rifflock-lfshook
1598 (name "go-github-com-rifflock-lfshook")
1603 (url "https://github.com/rifflock/lfshook")
1604 (commit (string-append "v" version))))
1605 (file-name (git-file-name name version))
1608 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
1609 (build-system go-build-system)
1611 `(#:import-path "github.com/rifflock/lfshook"))
1613 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
1614 (home-page "https://github.com/rifflock/lfshook")
1615 (synopsis "Local File System hook for Logrus logger")
1616 (description "This package provides a hook for Logrus to write directly to
1617 a file on the file system. The log levels are dynamic at instantiation of the
1618 hook, so it is capable of logging at some or all levels.")
1619 (license license:expat)))
1621 (define-public go-github-com-kardianos-osext
1622 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
1625 (name "go-github-com-kardianos-osext")
1626 (version (git-version "0.0.0" revision commit))
1630 (url "https://github.com/kardianos/osext")
1632 (file-name (git-file-name name version))
1635 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
1636 (build-system go-build-system)
1638 `(#:import-path "github.com/kardianos/osext"
1639 ;; The tests are flaky:
1640 ;; <https://github.com/kardianos/osext/issues/21>
1642 (synopsis "Find the running executable")
1643 (description "Osext provides a method for finding the current executable
1644 file that is running. This can be used for upgrading the current executable or
1645 finding resources located relative to the executable file.")
1646 (home-page "https://github.com/kardianos/osext")
1647 (license license:bsd-3))))
1649 (define-public go-github-com-ayufan-golang-kardianos-service
1650 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
1653 (name "go-github-com-ayufan-golang-kardianos-service")
1654 (version (git-version "0.0.0" revision commit))
1660 "https://github.com/ayufan/golang-kardianos-service.git")
1662 (file-name (git-file-name name version))
1665 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
1666 (build-system go-build-system)
1668 `(("go-github-com-kardianos-osext"
1669 ,go-github-com-kardianos-osext)))
1671 '(#:tests? #f ;FIXME tests fail: Service is not running.
1672 #:import-path "github.com/ayufan/golang-kardianos-service"))
1673 (home-page "https://github.com/ayufan/golang-kardianos-service")
1674 (synopsis "Go interface to a variety of service supervisors")
1675 (description "This package provides @code{service}, a Go module that can
1676 run programs as a service using a variety of supervisors, including systemd,
1677 SysVinit, and more.")
1678 (license license:zlib))))
1680 (define-public go-github-com-docker-distribution
1681 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
1684 (name "go-github-com-docker-distribution")
1685 (version (git-version "0.0.0" revision commit))
1687 ;; FIXME: This bundles many things, see
1688 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
1692 (url "https://github.com/docker/distribution")
1694 (file-name (git-file-name name version))
1697 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
1698 (build-system go-build-system)
1700 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
1701 ("go-github-com-sirupsen-logrus"
1702 ,go-github-com-sirupsen-logrus)
1703 ("go-golang-org-x-crypto"
1704 ,go-golang-org-x-crypto)))
1706 '(#:import-path "github.com/docker/distribution"
1708 (modify-phases %standard-phases
1709 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1710 (lambda* (#:key outputs #:allow-other-keys)
1712 (make-file-writable file))
1714 (assoc-ref outputs "out")
1718 "https://github.com/docker/distribution")
1719 (synopsis "This package is a Docker toolset to pack, ship, store, and
1721 (description "Docker Distribution is a Docker toolset to pack, ship,
1722 store, and deliver content. It contains Docker Registry 2.0 and libraries
1723 to interact with distribution components.")
1724 (license license:asl2.0))))
1726 (define-public go-github-com-docker-go-connections
1727 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
1730 (name "go-github-com-docker-go-connections")
1731 (version (git-version "0.0.0" revision commit))
1736 (url "https://github.com/docker/go-connections")
1738 (file-name (git-file-name name version))
1741 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
1742 (build-system go-build-system)
1744 '(#:import-path "github.com/docker/go-connections"))
1745 (home-page "https://github.com/docker/go-connections")
1746 (synopsis "Networking library for Go")
1748 "This package provides a library to work with network connections in
1749 the Go language. In particular it provides tools to deal with network address
1750 translation (NAT), proxies, sockets, and transport layer security (TLS).")
1751 (license license:asl2.0))))
1753 (define-public go-github-com-docker-machine
1754 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
1757 (name "go-github-com-docker-machine")
1758 (version (git-version "0.0.0" revision commit))
1763 (url "https://github.com/docker/machine")
1765 (file-name (git-file-name name version))
1768 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
1769 (build-system go-build-system)
1771 '(#:import-path "github.com/docker/machine"))
1772 (home-page "https://github.com/docker/machine")
1773 (synopsis "Machine management for a container-centric world")
1775 "@dfn{Machine} lets you create Docker hosts on your computer, on
1776 hosting providers, and inside your data center. It creates servers, installs
1777 Docker on them, then configures the Docker client to talk to them.")
1778 (license license:asl2.0))))
1780 (define-public go-github-com-gorhill-cronexpr
1781 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
1784 (name "go-github-com-gorhill-cronexpr")
1785 (version (git-version "0.0.0" revision commit))
1790 (url "https://github.com/gorhill/cronexpr")
1792 (file-name (git-file-name name version))
1795 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
1796 (build-system go-build-system)
1798 '(#:import-path "github.com/gorhill/cronexpr"))
1799 (home-page "https://github.com/gorhill/cronexpr")
1800 (synopsis "Cron expression parser in the Go language")
1802 "This package provides a cron expression parser in the Go language.
1803 Given a cron expression and a time stamp, you can get the next time stamp
1804 which satisfies the cron expression.")
1805 (license (list license:gpl3+
1808 (define-public go-gopkg-in-check-v1
1809 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
1812 (name "go-gopkg-in-check-v1")
1813 (version (git-version "1.0.0" revision commit))
1818 (url "https://github.com/go-check/check")
1820 (file-name (git-file-name name version))
1823 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
1824 (build-system go-build-system)
1826 '(#:import-path "gopkg.in/check.v1"))
1828 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
1829 (home-page "https://gopkg.in/check.v1")
1830 (synopsis "Test framework for the Go language")
1831 (description "This package provides a test library for the Go language.")
1832 (license license:asl2.0))))
1834 (define-public go-gopkg-in-ini-v1
1836 (name "go-gopkg-in-ini-v1")
1842 (url "https://github.com/go-ini/ini")
1843 (commit (string-append "v" version))))
1844 (file-name (git-file-name name version))
1847 "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5"))))
1848 (build-system go-build-system)
1850 '(#:import-path "gopkg.in/ini.v1"
1851 ;; Requires large unpackaged test framework
1853 (home-page "https://gopkg.in/ini.v1")
1854 (synopsis "Go library for ini files")
1855 (description "Go library for ini files")
1856 (license license:asl2.0)))
1858 (define-public go-gopkg-in-yaml-v2
1860 (name "go-gopkg-in-yaml-v2")
1866 (url "https://gopkg.in/yaml.v2.git")
1867 (commit (string-append "v" version))))
1868 (file-name (git-file-name name version))
1871 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
1872 (build-system go-build-system)
1874 '(#:import-path "gopkg.in/yaml.v2"))
1876 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
1877 (home-page "https://gopkg.in/yaml.v2")
1878 (synopsis "YAML reader and writer for the Go language")
1880 "This package provides a Go library for encode and decode YAML
1882 (license license:asl2.0)))
1884 (define-public go-github-com-mattn-go-isatty
1886 (name "go-github-com-mattn-go-isatty")
1892 (url "https://github.com/mattn/go-isatty")
1893 (commit (string-append "v" version))))
1894 (file-name (git-file-name name version))
1897 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
1898 (build-system go-build-system)
1900 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1902 '(#:import-path "github.com/mattn/go-isatty"))
1903 (home-page "https://github.com/mattn/go-isatty")
1904 (synopsis "Provide @code{isatty} for Golang")
1905 (description "This package provides @code{isatty}, a Go module that can
1906 tell you whether a file descriptor points to a terminal and the type of the
1908 (license license:expat)))
1910 (define-public go-github-com-mattn-go-colorable
1911 (let ((commit "efa589957cd060542a26d2dd7832fd6a6c6c3ade")
1914 (name "go-github-com-mattn-go-colorable")
1915 (version (git-version "0.0.0" revision commit))
1920 (url "https://github.com/mattn/go-colorable")
1922 (file-name (git-file-name name version))
1925 "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r"))))
1926 (build-system go-build-system)
1928 `(("go-github-com-mattn-go-isatty"
1929 ,go-github-com-mattn-go-isatty)))
1931 '(#:import-path "github.com/mattn/go-colorable"))
1932 (home-page "https://github.com/mattn/go-colorable")
1933 (synopsis "Handle ANSI color escapes on Windows")
1934 (description "This package provides @code{colorable}, a module that
1935 makes it possible to handle ANSI color escapes on Windows.")
1936 (license license:expat))))
1938 (define-public go-github-com-mattn-go-pointer
1939 (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
1942 (name "go-github-com-mattn-go-pointer")
1943 (version (git-version "0.0.0" revision commit))
1948 (url "https://github.com/mattn/go-pointer")
1952 "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
1953 (file-name (git-file-name name version))))
1954 (build-system go-build-system)
1956 '(#:import-path "github.com/mattn/go-pointer"))
1957 (home-page "https://github.com/mattn/go-pointer")
1958 (synopsis "Utility for cgo")
1960 "This package allows for a cgo argument to be passed a Go pointer.")
1961 (license license:expat))))
1963 (define-public go-github-com-mgutz-ansi
1964 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
1967 (name "go-github-com-mgutz-ansi")
1968 (version (git-version "0.0.0" revision commit))
1974 "https://github.com/mgutz/ansi")
1976 (file-name (git-file-name name version))
1979 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
1980 (build-system go-build-system)
1982 `(("go-github-com-mattn-go-isatty"
1983 ,go-github-com-mattn-go-isatty)
1984 ("go-github-com-mattn-go-colorable"
1985 ,go-github-com-mattn-go-colorable)))
1987 '(#:import-path "github.com/mgutz/ansi"))
1988 (home-page "https://github.com/mgutz/ansi")
1989 (synopsis "Small, fast library to create ANSI colored strings and codes")
1990 (description "This package provides @code{ansi}, a Go module that can
1991 generate ANSI colored strings.")
1992 (license license:expat))))
1994 (define-public go-github-com-aarzilli-golua
1995 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
1998 (name "go-github-com-aarzilli-golua")
1999 (version (git-version "0.0.0" revision commit))
2005 "https://github.com/aarzilli/golua")
2007 (file-name (git-file-name name version))
2010 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
2011 (build-system go-build-system)
2012 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2013 ;; when this package required as input for another one, it will have to
2014 ;; be built again. Thus its CGO requirements must be made available in
2015 ;; the environment, that is, they must be propagated.
2019 `(#:unpack-path "github.com/aarzilli/golua"
2020 #:import-path "github.com/aarzilli/golua/lua"
2022 (modify-phases %standard-phases
2023 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
2024 ;; command line argument, go-1.10+ does not re-use the produced pkg
2025 ;; for dependencies, which means we would need to propagate the
2026 ;; same "-tags" argument to all golua referrers. A substitution is
2027 ;; more convenient here. We also need to propagate the lua
2028 ;; dependency to make it available to referrers.
2029 (add-after 'unpack 'fix-lua-ldflags
2031 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
2032 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
2033 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
2034 (home-page "https://github.com/aarzilli/golua")
2035 (synopsis "Go Bindings for the Lua C API")
2036 (description "This package provides @code{lua}, a Go module that can
2037 run a Lua virtual machine.")
2038 (license license:expat))))
2040 (define-public go-gitlab-com-ambrevar-golua-unicode
2041 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
2044 (name "go-gitlab-com-ambrevar-golua-unicode")
2045 (version (git-version "0.0.0" revision commit))
2051 "https://gitlab.com/ambrevar/golua")
2053 (file-name (git-file-name name version))
2056 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
2057 (build-system go-build-system)
2060 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2062 `(#:unpack-path "gitlab.com/ambrevar/golua"
2063 #:import-path "gitlab.com/ambrevar/golua/unicode"
2065 (modify-phases %standard-phases
2067 (lambda* (#:key import-path #:allow-other-keys)
2068 (setenv "USER" "homeless-dude")
2069 (invoke "go" "test" import-path))))))
2070 (home-page "https://gitlab.com/ambrevar/golua")
2071 (synopsis "Add Unicode support to Golua")
2072 (description "This extension to Arzilli's Golua adds Unicode support to
2073 all functions from the Lua string library. Lua patterns are replaced by Go
2074 regexps. This breaks compatibility with Lua, but Unicode support breaks it
2075 anyways and Go regexps are more powerful.")
2076 (license license:expat))))
2078 (define-public go-github-com-yookoala-realpath
2079 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
2082 (name "go-github-com-yookoala-realpath")
2083 (version (git-version "0.0.0" revision commit))
2089 "https://github.com/yookoala/realpath")
2091 (file-name (git-file-name name version))
2094 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
2095 (build-system go-build-system)
2097 `(#:import-path "github.com/yookoala/realpath"))
2098 (home-page "https://github.com/yookoala/realpath")
2099 (synopsis "@code{realpath} for Golang")
2100 (description "This package provides @code{realpath}, a Go module that
2101 when provided with a valid relative path / alias path, it will return you with
2102 a string of its real absolute path in the system.")
2103 (license license:expat))))
2105 (define-public go-gitlab-com-ambrevar-damerau
2106 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
2109 (name "go-gitlab-com-ambrevar-damerau")
2110 (version (git-version "0.0.0" revision commit))
2116 "https://gitlab.com/ambrevar/damerau")
2118 (file-name (git-file-name name version))
2121 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
2122 (build-system go-build-system)
2124 `(#:import-path "gitlab.com/ambrevar/damerau"))
2125 (home-page "https://gitlab.com/ambrevar/damerau")
2126 (synopsis "Damerau-Levenshtein distance for Golang")
2127 (description "This is a spelling corrector implementing the
2128 Damerau-Levenshtein distance. Takes a string value input from the user.
2129 Looks for an identical word on a list of words, if none is found, look for a
2131 (license license:expat))))
2133 (define-public go-github-com-stevedonovan-luar
2134 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
2137 (name "go-github-com-stevedonovan-luar")
2138 (version (git-version "0.0.0" revision commit))
2144 "https://github.com/stevedonovan/luar")
2146 (file-name (git-file-name name version))
2149 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
2150 (build-system go-build-system)
2152 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2154 `(#:tests? #f ; Upstream tests are broken.
2155 #:import-path "github.com/stevedonovan/luar"))
2156 (home-page "https://github.com/stevedonovan/luar")
2157 (synopsis "Lua reflection bindings for Go")
2158 (description "Luar is designed to make using Lua from Go more
2159 convenient. Go structs, slices and maps can be automatically converted to Lua
2160 tables and vice-versa. The resulting conversion can either be a copy or a
2161 proxy. In the latter case, any change made to the result will reflect on the
2164 Any Go function can be made available to Lua scripts, without having to write
2167 Luar support cyclic structures (lists, etc.).
2169 User-defined types can be made available to Lua as well: their exported
2170 methods can be called and usual operations such as indexing or arithmetic can
2172 (license license:expat))))
2174 (define-public go-github-com-michiwend-golang-pretty
2175 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
2178 (name "go-github-com-michiwend-golang-pretty")
2179 (version (git-version "0.0.0" revision commit))
2185 "https://github.com/michiwend/golang-pretty")
2187 (file-name (git-file-name name version))
2190 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
2191 (build-system go-build-system)
2193 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
2195 `(#:tests? #f ; Upstream tests seem to be broken.
2196 #:import-path "github.com/michiwend/golang-pretty"))
2197 (home-page "https://github.com/michiwend/golang-pretty")
2198 (synopsis "Pretty printing for Go values")
2199 (description "Package @code{pretty} provides pretty-printing for Go
2200 values. This is useful during debugging, to avoid wrapping long output lines
2203 It provides a function, @code{Formatter}, that can be used with any function
2204 that accepts a format string. It also provides convenience wrappers for
2205 functions in packages @code{fmt} and @code{log}.")
2206 (license license:expat))))
2208 (define-public go-github-com-michiwend-gomusicbrainz
2209 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
2212 (name "go-github-com-michiwend-gomusicbrainz")
2213 (version (git-version "0.0.0" revision commit))
2219 "https://github.com/michiwend/gomusicbrainz")
2221 (file-name (git-file-name name version))
2224 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
2225 (build-system go-build-system)
2227 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
2228 ("go-github-com-kr-text" ,go-github-com-kr-text)))
2230 `(#:import-path "github.com/michiwend/gomusicbrainz"))
2231 (home-page "https://github.com/michiwend/gomusicbrainz")
2232 (synopsis "MusicBrainz WS2 client library for Golang")
2233 (description "Currently GoMusicBrainz provides methods to perform search
2234 and lookup requests. Browse requests are not supported yet.")
2235 (license license:expat))))
2237 (define-public go-github-com-wtolson-go-taglib
2238 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
2241 (name "go-github-com-wtolson-go-taglib")
2242 (version (git-version "0.0.0" revision commit))
2248 "https://github.com/wtolson/go-taglib")
2250 (file-name (git-file-name name version))
2253 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
2254 (build-system go-build-system)
2255 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2256 ;; when this package required as input for another one, it will have to
2257 ;; be built again. Thus its CGO requirements must be made available in
2258 ;; the environment, that is, they must be propagated.
2260 `(("pkg-config" ,pkg-config)
2261 ("taglib" ,taglib)))
2263 `(#:import-path "github.com/wtolson/go-taglib"
2264 ;; Tests don't pass "vet" on Go since 1.11. See
2265 ;; https://github.com/wtolson/go-taglib/issues/12.
2267 (modify-phases %standard-phases
2269 (lambda* (#:key import-path #:allow-other-keys)
2273 (home-page "https://github.com/wtolson/go-taglib")
2274 (synopsis "Go wrapper for taglib")
2275 (description "Go wrapper for taglib")
2276 (license license:unlicense))))
2278 (define-public go-github-com-gogo-protobuf
2280 (name "go-github-com-gogo-protobuf")
2285 (url "https://github.com/gogo/protobuf")
2286 (commit (string-append "v" version))))
2287 (file-name (git-file-name name version))
2290 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
2291 (build-system go-build-system)
2293 `(#:import-path "github.com/gogo/protobuf"
2294 ; Source-only package
2297 (modify-phases %standard-phases
2299 (synopsis "Protocol Buffers for Go with Gadgets")
2300 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
2301 generation features. This code generation is used to achieve:
2303 @item fast marshalling and unmarshalling
2304 @item more canonical Go structures
2305 @item goprotobuf compatibility
2306 @item less typing by optionally generating extra helper code
2307 @item peace of mind by optionally generating test and benchmark code
2308 @item other serialization formats
2310 (home-page "https://github.com/gogo/protobuf")
2311 (license license:bsd-3)))
2313 (define-public go-github-com-libp2p-go-flow-metrics
2314 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
2317 (name "go-github-com-libp2p-go-flow-metrics")
2318 (version (git-version "0.2.0" revision commit))
2323 (url "https://github.com/libp2p/go-flow-metrics")
2325 (file-name (git-file-name name version))
2328 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
2329 (build-system go-build-system)
2331 `(#:import-path "github.com/libp2p/go-flow-metrics"
2332 ;; TODO: Tests hang.
2335 "https://github.com/libp2p/go-flow-metrics")
2336 (synopsis "Simple library for tracking flow metrics")
2337 (description "A simple alternative to rcrowley's @command{go-metrics}
2338 that's a lot faster (and only does simple bandwidth metrics).")
2339 (license license:expat))))
2341 (define-public go-github-com-davecgh-go-spew
2343 (name "go-github-com-davecgh-go-spew")
2349 (url "https://github.com/davecgh/go-spew")
2350 (commit (string-append "v" version))))
2351 (file-name (git-file-name name version))
2354 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
2355 (build-system go-build-system)
2357 '(#:unpack-path "github.com/davecgh/go-spew"
2358 #:import-path "github.com/davecgh/go-spew/spew"))
2359 (home-page "https://github.com/davecgh/go-spew")
2360 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
2361 (description "Package @command{spew} implements a deep pretty printer
2362 for Go data structures to aid in debugging.
2364 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
2367 @item Pointers are dereferenced and followed.
2368 @item Circular data structures are detected and handled properly.
2369 @item Custom Stringer/error interfaces are optionally invoked, including on
2371 @item Custom types which only implement the Stringer/error interfaces via a
2372 pointer receiver are optionally invoked when passing non-pointer variables.
2373 @item Byte arrays and slices are dumped like the hexdump -C command which
2374 includes offsets, byte values in hex, and ASCII output (only when using Dump
2377 (license license:isc)))
2379 (define-public go-github-com-btcsuite-btclog
2380 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
2383 (name "go-github-com-btcsuite-btclog")
2384 (version (git-version "0.0.3" revision commit))
2389 (url "https://github.com/btcsuite/btclog")
2391 (file-name (git-file-name name version))
2394 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
2395 (build-system go-build-system)
2397 '(#:import-path "github.com/btcsuite/btclog"))
2398 (home-page "https://github.com/btcsuite/btclog")
2399 (synopsis "Subsystem aware logger for Go")
2400 (description "Package @command{btclog} defines a logger interface and
2401 provides a default implementation of a subsystem-aware leveled logger
2402 implementing the same interface.")
2403 (license license:isc))))
2405 (define-public go-github-com-btcsuite-btcd-btcec
2406 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
2409 (name "go-github-com-btcsuite-btcd-btcec")
2410 (version (git-version "0.12.0-beta" revision commit))
2415 (url "https://github.com/btcsuite/btcd")
2417 (file-name (git-file-name name version))
2420 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
2421 (build-system go-build-system)
2423 '(#:unpack-path "github.com/btcsuite/btcd"
2424 #:import-path "github.com/btcsuite/btcd/btcec"))
2426 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
2427 (home-page "https://github.com/btcsuite/btcd")
2428 (synopsis "Elliptic curve cryptography to work with Bitcoin")
2429 (description "Package @command{btcec} implements elliptic curve
2430 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
2431 designed so that it may be used with the standard crypto/ecdsa packages
2432 provided with Go. A comprehensive suite of test is provided to ensure proper
2433 functionality. Package @command{btcec} was originally based on work from
2434 ThePiachu which is licensed under the same terms as Go, but it has
2435 significantly diverged since then. The @command{btcsuite} developers original
2436 is licensed under the liberal ISC license.
2438 Although this package was primarily written for btcd, it has intentionally
2439 been designed so it can be used as a standalone package for any projects
2440 needing to use secp256k1 elliptic curve cryptography.")
2441 (license license:isc))))
2443 (define-public go-github-com-minio-sha256-simd
2445 (name "go-github-com-minio-sha256-simd")
2451 (url "https://github.com/minio/sha256-simd")
2452 (commit (string-append "v" version))))
2453 (file-name (git-file-name name version))
2456 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
2457 (build-system go-build-system)
2459 '(#:import-path "github.com/minio/sha256-simd"))
2460 (home-page "https://github.com/minio/sha256-simd")
2461 (synopsis "Accelerate SHA256 computations in pure Go")
2462 (description "Accelerate SHA256 computations in pure Go using AVX512 and
2463 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
2464 improvement (over 3 GB/s per core) in comparison to AVX2.
2466 This package is designed as a replacement for @command{crypto/sha256}. For
2467 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
2468 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
2469 of the SHA2 instructions resulting in a massive performance improvement.
2471 This package uses Golang assembly. The AVX512 version is based on the Intel's
2472 \"multi-buffer crypto library for IPSec\" whereas the other Intel
2473 implementations are described in \"Fast SHA-256 Implementations on Intel
2474 Architecture Processors\" by J. Guilford et al.")
2475 (license license:asl2.0)))
2477 (define-public go-github-com-libp2p-go-libp2p-crypto
2478 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
2481 (name "go-github-com-libp2p-go-libp2p-crypto")
2482 (version (git-version "2.0.1" revision commit))
2487 (url "https://github.com/libp2p/go-libp2p-crypto")
2489 (file-name (git-file-name name version))
2492 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
2493 (build-system go-build-system)
2495 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
2497 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2498 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2499 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2500 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
2502 "https://github.com/libp2p/go-libp2p-crypto")
2503 (synopsis "Various cryptographic utilities used by IPFS")
2504 (description "Various cryptographic utilities used by IPFS")
2505 (license license:expat))))
2507 (define-public go-github-com-mr-tron-base58
2508 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
2511 (name "go-github-com-mr-tron-base58")
2512 (version (git-version "1.1.0" revision commit))
2517 (url "https://github.com/mr-tron/base58")
2519 (file-name (git-file-name name version))
2522 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
2523 (build-system go-build-system)
2525 `(#:unpack-path "github.com/mr-tron/base58"
2526 #:import-path "github.com/mr-tron/base58/base58"))
2527 (home-page "https://github.com/mr-tron/base58")
2528 (synopsis "Fast implementation of base58 encoding on Golang")
2529 (description "Fast implementation of base58 encoding on Golang. A
2530 trivial @command{big.Int} encoding benchmark results in 6 times faster
2531 encoding and 8 times faster decoding.")
2532 (license license:expat))))
2534 (define-public go-github-com-gxed-hashland-keccakpg
2535 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
2538 (name "go-github-com-gxed-hashland-keccakpg")
2539 (version (git-version "0.0.0" revision commit))
2544 (url "https://github.com/gxed/hashland")
2546 (file-name (git-file-name name version))
2549 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
2550 (build-system go-build-system)
2552 '(#:unpack-path "github.com/gxed/hashland"
2553 #:import-path "github.com/gxed/hashland/keccakpg"))
2554 (home-page "https://github.com/gxed/hashland")
2555 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
2556 (description "Package @command{keccak} implements the Keccak (SHA-3)
2557 hash algorithm. See http://keccak.noekeon.org.")
2558 (license license:expat))))
2560 (define-public go-github-com-minio-blake2b-simd
2561 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
2564 (name "go-github-com-minio-blake2b-simd")
2565 (version (git-version "0.0.0" revision commit))
2570 (url "https://github.com/minio/blake2b-simd")
2572 (file-name (git-file-name name version))
2575 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
2576 (build-system go-build-system)
2578 '(#:import-path "github.com/minio/blake2b-simd"))
2579 (home-page "https://github.com/minio/blake2b-simd")
2580 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
2581 (description "This package was initially based on the pure go BLAKE2b
2582 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
2583 optimized BLAKE2 implementation (which in turn is based on the official
2584 implementation. It does so by using Go's Assembler for amd64 architectures
2585 with a golang only fallback for other architectures.
2587 In addition to AVX there is also support for AVX2 as well as SSE. Best
2588 performance is obtained with AVX2 which gives roughly a 4X performance
2589 increase approaching hashing speeds of 1GB/sec on a single core.")
2590 (license license:asl2.0))))
2592 (define-public go-github-com-spaolacci-murmur3
2594 (name "go-github-com-spaolacci-murmur3")
2600 (url "https://github.com/spaolacci/murmur3")
2601 (commit (string-append "v" version))))
2602 (file-name (git-file-name name version))
2605 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
2606 (build-system go-build-system)
2608 '(#:import-path "github.com/spaolacci/murmur3"))
2609 (home-page "https://github.com/spaolacci/murmur3")
2610 (synopsis "Native MurmurHash3 Go implementation")
2611 (description "Native Go implementation of Austin Appleby's third MurmurHash
2612 revision (aka MurmurHash3).
2614 Reference algorithm has been slightly hacked as to support the streaming mode
2615 required by Go's standard Hash interface.")
2616 (license license:bsd-3)))
2618 (define-public go-github-com-twmb-murmur3
2620 (name "go-github-com-twmb-murmur3")
2626 (url "https://github.com/twmb/murmur3")
2627 (commit (string-append "v" version))))
2628 (file-name (git-file-name name version))
2631 "00riapwkyf23l5wyis47mbr8rwr4yrjw491jfc30wpzs111c1gyy"))))
2632 (build-system go-build-system)
2634 '(#:import-path "github.com/twmb/murmur3"))
2635 (home-page "https://github.com/twmb/murmur3")
2636 (synopsis "Native MurmurHash3 Go implementation")
2637 (description "Native Go implementation of Austin Appleby's third
2638 MurmurHash 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-multiformats-go-multihash
2645 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
2648 (name "go-github-com-multiformats-go-multihash")
2649 (version (git-version "1.0.8" revision commit))
2654 (url "https://github.com/multiformats/go-multihash")
2656 (file-name (git-file-name name version))
2659 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
2660 (build-system go-build-system)
2662 '(#:import-path "github.com/multiformats/go-multihash"))
2664 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2665 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2666 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2667 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2668 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2669 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2670 (home-page "https://github.com/multiformats/go-multihash")
2671 (synopsis "Multihash implementation in Go")
2672 (description "Multihash implementation in Go.")
2673 (license license:expat))))
2675 (define-public go-github-com-libp2p-go-libp2p-peer
2676 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
2679 (name "go-github-com-libp2p-go-libp2p-peer")
2680 (version (git-version "2.3.8" revision commit))
2685 (url "https://github.com/libp2p/go-libp2p-peer")
2687 (file-name (git-file-name name version))
2690 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
2691 (build-system go-build-system)
2693 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
2695 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2696 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2697 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2698 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2699 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2700 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2701 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2702 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2703 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2704 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2705 (home-page "https://github.com/libp2p/go-libp2p-peer")
2706 (synopsis "PKI based identities for use in go-libp2p")
2707 (description "PKI based identities for use in @command{go-libp2p}.")
2708 (license license:expat))))
2710 (define-public go-github-com-libp2p-go-libp2p-protocol
2711 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
2714 (name "go-github-com-libp2p-go-libp2p-protocol")
2715 (version (git-version "1.0.0" revision commit))
2720 (url "https://github.com/libp2p/go-libp2p-protocol")
2722 (file-name (git-file-name name version))
2725 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
2726 (build-system go-build-system)
2729 "github.com/libp2p/go-libp2p-protocol"))
2730 (home-page "https://github.com/libp2p/go-libp2p-protocol")
2731 (synopsis "Type for protocol strings in Golang")
2732 (description "Just a type for protocol strings. Nothing more.")
2733 (license license:expat))))
2735 (define-public go-github-com-libp2p-go-libp2p-metrics
2736 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
2739 (name "go-github-com-libp2p-go-libp2p-metrics")
2740 (version (git-version "2.1.6" revision commit))
2745 (url "https://github.com/libp2p/go-libp2p-metrics")
2747 (file-name (git-file-name name version))
2750 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
2751 (build-system go-build-system)
2753 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
2755 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
2756 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
2757 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
2758 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2759 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2760 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2761 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2762 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2763 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2764 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2765 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2766 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2767 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2768 (home-page "https://github.com/libp2p/go-libp2p-metrics")
2769 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
2770 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
2771 statistics for wrapped connections.")
2772 (license license:expat))))
2774 (define-public go-github-com-mitchellh-go-homedir
2775 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
2778 (name "go-github-com-mitchellh-go-homedir")
2779 (version (git-version "1.0.0" revision commit))
2784 (url "https://github.com/mitchellh/go-homedir")
2786 (file-name (git-file-name name version))
2789 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
2790 (build-system go-build-system)
2792 (quote (#:import-path "github.com/mitchellh/go-homedir"
2793 ;; TODO: Tests fail because it tries to access home.
2795 (home-page "https://github.com/mitchellh/go-homedir")
2796 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
2797 (description "This is a Go library for detecting the user's home
2798 directory without the use of @command{cgo}, so the library can be used in
2799 cross-compilation environments.
2801 Usage is simple, just call homedir.Dir() to get the home directory for a user,
2802 and homedir.Expand() to expand the @command{~} in a path to the home
2805 Why not just use @command{os/user}? The built-in @command{os/user} package
2806 requires cgo on Darwin systems. This means that any Go code that uses that
2807 package cannot cross compile. But 99% of the time the use for
2808 @command{os/user} is just to retrieve the home directory, which we can do for
2809 the current user without cgo. This library does that, enabling
2810 cross-compilation.")
2811 (license license:expat))))
2813 (define-public go-github-com-mitchellh-mapstructure
2815 (name "go-github-com-mitchellh-mapstructure")
2816 (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0
2821 (url "https://github.com/mitchellh/mapstructure")
2822 (commit (string-append "v" version))))
2823 (file-name (git-file-name name version))
2826 "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"))))
2827 (build-system go-build-system)
2829 `(#:import-path "github.com/mitchellh/mapstructure"))
2830 (home-page "https://github.com/mitchellh/mapstructure")
2831 (synopsis "Go library for decoding generic map values")
2832 (description "Go library for decoding generic map values")
2833 (license license:expat)))
2835 (define-public go-github-com-mitchellh-reflectwalk
2837 (name "go-github-com-mitchellh-reflectwalk")
2842 (url "https://github.com/mitchellh/reflectwalk")
2843 (commit (string-append "v" version))))
2844 (file-name (git-file-name name version))
2847 "0pa6a3nhzwv5s5yqcmsmsfhdp5ggxsg2wa86f3akawxrhrkjarnx"))))
2848 (build-system go-build-system)
2850 `(#:import-path "github.com/mitchellh/reflectwalk"))
2851 (home-page "https://github.com/mitchellh/reflectwalk/")
2852 (synopsis "Walk a value in Go using reflection")
2853 (description "reflectwalk is a Go library for \"walking\" a value in Go
2854 using reflection, in the same way a directory tree can be \"walked\" on the
2855 file system. Walking a complex structure can allow you to do manipulations on
2856 unknown structures such as those decoded from JSON.")
2857 (license license:expat)))
2859 (define-public go-github-com-mitchellh-copystructure
2861 (name "go-github-com-mitchellh-copystructure")
2867 (url "https://github.com/mitchellh/copystructure")
2868 (commit (string-append "v" version))))
2869 (file-name (git-file-name name version))
2872 "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
2873 (build-system go-build-system)
2875 `(#:import-path "github.com/mitchellh/copystructure"))
2877 `(("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)))
2878 (home-page "https://github.com/mitchellh/copystructure")
2879 (synopsis "Go library for decoding deep copying values")
2880 (description "@code{copystructure} is a Go library for deep copying values
2883 This allows you to copy Go values that may contain reference values such as
2884 maps, slices, or pointers, and copy their data as well instead of just their
2886 (license license:expat)))
2888 (define-public go-github-com-multiformats-go-multiaddr
2889 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
2892 (name "go-github-com-multiformats-go-multiaddr")
2893 (version (git-version "1.3.0" revision commit))
2898 (url "https://github.com/multiformats/go-multiaddr")
2900 (file-name (git-file-name name version))
2903 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
2904 (build-system go-build-system)
2907 "github.com/multiformats/go-multiaddr"))
2909 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2910 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2911 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2912 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2913 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2914 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2915 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2916 (home-page "https://github.com/multiformats/go-multiaddr")
2917 (synopsis "Composable and future-proof network addresses")
2918 (description "Multiaddr is a standard way to represent addresses that
2922 @item Support any standard network protocols.
2923 @item Self-describe (include protocols).
2924 @item Have a binary packed format.
2925 @item Have a nice string representation.
2926 @item Encapsulate well.
2928 (license license:expat))))
2930 (define-public go-github-com-multiformats-go-multiaddr-net
2931 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
2934 (name "go-github-com-multiformats-go-multiaddr-net")
2935 (version (git-version "1.6.3" revision commit))
2940 (url "https://github.com/multiformats/go-multiaddr-net")
2942 (file-name (git-file-name name version))
2945 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
2946 (build-system go-build-system)
2948 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
2949 ;; TODO: Tests fail because they try to access the network.
2952 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
2953 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2954 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2955 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2956 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2957 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2958 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2959 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2960 (home-page "https://github.com/multiformats/go-multiaddr-net")
2961 (synopsis "Multiaddress net tools")
2962 (description "This package provides Multiaddr specific versions of
2963 common functions in stdlib's @command{net} package. This means wrappers of
2964 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
2965 as conversion to and from @command{net.Addr}.")
2966 (license license:expat))))
2968 (define-public go-github-com-whyrusleeping-tar-utils
2969 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
2972 (name "go-github-com-whyrusleeping-tar-utils")
2973 (version (git-version "0.0.0" revision commit))
2978 (url "https://github.com/whyrusleeping/tar-utils")
2980 (file-name (git-file-name name version))
2983 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
2984 (build-system go-build-system)
2987 "github.com/whyrusleeping/tar-utils"))
2988 (home-page "https://github.com/whyrusleeping/tar-utils")
2989 (synopsis "Tar utilities extracted from go-ipfs codebase")
2990 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
2991 (license license:expat))))
2993 (define-public go-github-com-cheekybits-is
2994 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
2997 (name "go-github-com-cheekybits-is")
2998 (version (git-version "0.0.0" revision commit))
3003 (url "https://github.com/cheekybits/is")
3005 (file-name (git-file-name name version))
3008 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
3009 (build-system go-build-system)
3011 '(#:import-path "github.com/cheekybits/is"))
3012 (home-page "https://github.com/cheekybits/is")
3013 (synopsis "Mini testing helper for Go")
3014 (description "A mini testing helper for Go.
3017 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
3018 @item It plugs into existing Go toolchain (uses @command{testing.T}).
3019 @item It's obvious for newcomers.
3020 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
3021 - because testing panics is ugly.
3023 (license license:expat))))
3025 (define-public go-github-com-sabhiram-go-gitignore
3026 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
3029 (name "go-github-com-sabhiram-go-gitignore")
3030 (version (git-version "1.0.2" revision commit))
3035 (url "https://github.com/sabhiram/go-gitignore")
3037 (file-name (git-file-name name version))
3040 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
3041 (build-system go-build-system)
3044 "github.com/sabhiram/go-gitignore"))
3046 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3047 (home-page "https://github.com/sabhiram/go-gitignore")
3048 (synopsis "Gitignore parser for Go")
3049 (description "A @command{.gitignore} parser for Go.")
3050 (license license:expat))))
3052 (define-public go-github-com-urfave-cli
3054 (name "go-github-com-urfave-cli")
3060 (url "https://github.com/urfave/cli")
3061 (commit (string-append "v" version))))
3062 (file-name (git-file-name name version))
3065 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
3066 (build-system go-build-system)
3068 '(#:import-path "github.com/urfave/cli"))
3070 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
3071 (home-page "https://github.com/urfave/cli")
3072 (synopsis "Simple, fast, and fun package for building command line apps in Go")
3073 (description "@command{cli} is a simple, fast, and fun package for
3074 building command line apps in Go. The goal is to enable developers to write
3075 fast and distributable command line applications in an expressive way.")
3076 (license license:expat)))
3078 (define-public go-github-com-go-md2man
3080 (name "go-github-com-go-md2man")
3086 (url "https://github.com/cpuguy83/go-md2man")
3087 (commit (string-append "v" version))))
3088 (file-name (git-file-name name version))
3091 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
3092 (modules '((guix build utils)))
3094 (delete-file-recursively "vendor")
3096 (build-system go-build-system)
3098 '(#:import-path "github.com/cpuguy83/go-md2man"))
3100 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
3101 (home-page "https://github.com/cpuguy83/go-md2man")
3102 (synopsis "Convert markdown into roff")
3103 (description "Go-md2man is a Go program that converts markdown to roff for
3104 the purpose of building man pages.")
3105 (license license:expat)))
3107 (define-public go-github-com-russross-blackfriday
3109 (name "go-github-com-russross-blackfriday")
3115 (url "https://github.com/russross/blackfriday")
3116 (commit (string-append "v" version))))
3117 (file-name (git-file-name name version))
3120 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
3121 (build-system go-build-system)
3123 '(#:import-path "github.com/russross/blackfriday"))
3125 `(("go-github-com-shurcool-sanitized-anchor-name"
3126 ,go-github-com-shurcool-sanitized-anchor-name)))
3128 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
3129 (home-page "https://github.com/russross/blackfriday")
3130 (synopsis "Markdown processor in Go")
3131 (description "Blackfriday is a Markdown processor in Go.")
3132 (license license:bsd-2)))
3134 (define-public go-github-com-shurcool-sanitized-anchor-name
3136 (name "go-github-com-shurcool-sanitized-anchor-name")
3142 (url "https://github.com/shurcooL/sanitized_anchor_name")
3143 (commit (string-append "v" version))))
3144 (file-name (git-file-name name version))
3147 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
3148 (build-system go-build-system)
3150 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
3151 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
3152 (synopsis "Create sanitized anchor names")
3153 (description "This package provides a Go program for creating sanitized
3155 (license license:expat)))
3157 (define-public go-github-com-pmezard-go-difflib
3159 (name "go-github-com-pmezard-go-difflib")
3164 (url "https://github.com/pmezard/go-difflib")
3165 (commit (string-append "v" version))))
3166 (file-name (git-file-name name version))
3169 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
3170 (build-system go-build-system)
3172 '(#:import-path "github.com/pmezard/go-difflib/difflib"
3173 #:unpack-path "github.com/pmezard/go-difflib/"))
3174 (home-page "https://github.com/pmezard/go-difflib")
3175 (synopsis "Go diff implementation")
3176 (description "This package provides unified and context-aware diffs in Go.")
3177 (license license:bsd-3)))
3179 (define-public go-github-com-whyrusleeping-json-filter
3180 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
3183 (name "go-github-com-whyrusleeping-json-filter")
3184 (version (git-version "0.0.0" revision commit))
3189 (url "https://github.com/whyrusleeping/json-filter")
3191 (file-name (git-file-name name version))
3194 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
3195 (build-system go-build-system)
3198 "github.com/whyrusleeping/json-filter"))
3199 (home-page "https://github.com/whyrusleeping/json-filter")
3200 (synopsis "Library to query JSON objects marshalled into map[string]interface")
3201 (description "A library to query JSON objects marshalled into
3202 @command{map[string]interface{}}.")
3203 (license license:expat))))
3205 (define-public go-github-com-whyrusleeping-progmeter
3206 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
3209 (name "go-github-com-whyrusleeping-progmeter")
3210 (version (git-version "0.0.0" revision commit))
3215 (url "https://github.com/whyrusleeping/progmeter")
3217 (file-name (git-file-name name version))
3220 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
3221 (build-system go-build-system)
3224 "github.com/whyrusleeping/progmeter"))
3225 (home-page "https://github.com/whyrusleeping/progmeter")
3226 (synopsis "Progress meter for Go")
3227 (description "Progress meter for Go.")
3228 (license license:expat))))
3230 (define-public go-github-com-whyrusleeping-stump
3231 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
3234 (name "go-github-com-whyrusleeping-stump")
3235 (version (git-version "0.0.0" revision commit))
3240 (url "https://github.com/whyrusleeping/stump")
3242 (file-name (git-file-name name version))
3245 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
3246 (build-system go-build-system)
3248 '(#:import-path "github.com/whyrusleeping/stump"))
3249 (home-page "https://github.com/whyrusleeping/stump")
3250 (synopsis "Very basic logging package for Go")
3251 (description "A simple log library, for when you don't really care to
3252 have super fancy logs.")
3253 (license license:expat))))
3255 (define-public go-github-com-kr-fs
3256 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
3259 (name "go-github-com-kr-fs")
3260 (version (git-version "0.1.0" revision commit))
3265 (url "https://github.com/kr/fs")
3267 (file-name (git-file-name name version))
3270 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
3271 (build-system go-build-system)
3273 '(#:import-path "github.com/kr/fs"))
3274 (home-page "https://github.com/kr/fs")
3275 (synopsis "File-system-related functions for Go")
3277 "The fs package provides file-system-related Go functions.")
3278 (license license:bsd-3))))
3280 (define-public go-github-com-direnv-go-dotenv
3281 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
3284 (name "go-github-com-direnv-go-dotenv")
3285 (version (git-version "0.0.0" revision commit))
3290 (url "https://github.com/direnv/go-dotenv")
3292 (file-name (git-file-name name version))
3295 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
3296 (build-system go-build-system)
3298 '(#:import-path "github.com/direnv/go-dotenv"))
3299 (home-page "https://github.com/direnv/go-dotenv")
3300 (synopsis "Go dotenv parsing library")
3301 (description "This package provides a library for parsing the dotenv
3303 (license license:expat))))
3305 (define-public go-github-com-kr-pretty
3307 (name "go-github-com-kr-pretty")
3312 (url "https://github.com/kr/pretty")
3313 (commit (string-append "v" version))))
3314 (file-name (git-file-name name version))
3317 "1ywbfzz1h3a3qd8rpkiqwi1dm4w8ls9ijb4x1b7567grns9f0vnp"))))
3318 (build-system go-build-system)
3320 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
3322 '(#:import-path "github.com/kr/pretty"))
3323 (synopsis "A pretty printer for Go values")
3324 (description "This package provides a pretty printer for Go values.")
3325 (home-page "https://github.com/kr/pretty")
3326 (license license:expat)))
3328 (define-public go-github-com-kr-text
3330 (name "go-github-com-kr-text")
3335 (url "https://github.com/kr/text")
3336 (commit (string-append "v" version))))
3337 (file-name (git-file-name name version))
3340 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
3341 (build-system go-build-system)
3343 '(#:import-path "github.com/kr/text"))
3344 (synopsis "Text formatting in Go")
3345 (description "This package provides a text formatting functions in Go.")
3346 (home-page "https://github.com/kr/text")
3347 (license license:expat)))
3349 (define-public go-golang-org-sql-mock
3350 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
3354 (name "go-golang-org-sql-mock")
3355 (version (git-version version revision commit))
3359 (url "https://github.com/DATA-DOG/go-sqlmock")
3361 (file-name (git-file-name name version))
3364 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
3365 (build-system go-build-system)
3367 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
3368 (synopsis "Mock library implementing @code{sql/driver}")
3369 (description "This library simulates SQL-driver behavior in tests
3370 without requiring a real database connection.")
3371 (home-page "https://github.com/DATA-DOG/go-sqlmock")
3372 (license license:expat))))
3374 (define-public go-golang-org-colorful
3376 (name "go-golang-org-colorful")
3381 (url "https://github.com/lucasb-eyer/go-colorful")
3382 (commit (string-append "v" version))))
3383 (file-name (git-file-name name version))
3386 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
3387 (build-system go-build-system)
3389 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
3391 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
3392 (synopsis "Convert between colorspaces and generate colors")
3393 (description "This package implements Go's @code{color.Color} interface
3394 and provides a means of converting colors stored as RGB to various
3396 (home-page "https://github.com/lucasb-eyer/go-colorful")
3397 (license license:expat)))
3399 (define-public go-github-com-gdamore-encoding
3401 (name "go-github-com-gdamore-encoding")
3407 (url "https://github.com/gdamore/encoding")
3408 (commit (string-append "v" version))))
3409 (file-name (git-file-name name version))
3412 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
3413 (build-system go-build-system)
3415 '(#:import-path "github.com/gdamore/encoding"))
3417 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3418 (home-page "https://github.com/gdamore/encoding")
3419 (synopsis "Provide encodings missing from Go")
3420 (description "This package provides useful encodings not included in the
3421 standard @code{Text} package, including some for dealing with I/O streams from
3422 non-UTF-friendly sources.")
3423 (license license:expat)))
3425 (define-public go-github-com-gdamore-tcell
3426 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
3430 (name "go-github-com-gdamore-tcell")
3431 (version (git-version version revision commit))
3436 (url "https://github.com/gdamore/tcell")
3438 (file-name (git-file-name name version))
3441 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
3442 (build-system go-build-system)
3444 `(#:import-path "github.com/gdamore/tcell"
3446 (modify-phases %standard-phases
3447 (add-before 'reset-gzip-timestamps 'make-files-writable
3448 (lambda* (#:key outputs #:allow-other-keys)
3449 ;; Make sure .gz files are writable so that the
3450 ;; 'reset-gzip-timestamps' phase can do its work.
3451 (let ((out (assoc-ref outputs "out")))
3452 (for-each make-file-writable
3453 (find-files out "\\.gz$"))
3456 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
3457 ("go-golang-org-colorful" ,go-golang-org-colorful)
3458 ("go-golang-org-x-text" ,go-golang-org-x-text)
3459 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
3460 (home-page "https://github.com/gdamore/tcell")
3461 (synopsis "Provide a cell-based view for text terminals")
3462 (description "This package includes a full parser and expander for
3463 terminfo capability strings to avoid hard-coding escape strings for
3464 formatting. It also favors portability, and includes support for all POSIX
3466 (license license:expat))))
3468 (define-public go-github-com-mattn-go-shellwords
3469 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
3473 (name "go-github-com-mattn-go-shellwords")
3474 (version (git-version version revision commit))
3479 (url "https://github.com/mattn/go-shellwords")
3481 (file-name (git-file-name name version))
3484 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
3485 (build-system go-build-system)
3487 `(#:import-path "github.com/mattn/go-shellwords"
3488 ;; TODO: can't make homeless-shelter:
3489 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
3490 ;; initialization failure: mkdir /homeless-shelter: permission denied
3492 ;; This doesn't seem to work:
3495 ;; (modify-phases %standard-phases
3497 ;; (lambda* (#:key import-path #:allow-other-keys)
3498 ;; (setenv "HOME" "/tmp")
3499 ;; (invoke "go" "test" import-path))))
3501 ;; TODO: There are also a couple of tests that have stymied Debian in
3502 ;; the past. They seem to work when run locally.
3506 (home-page "https://github.com/mattn/go-shellwords")
3507 (synopsis "Parse lines into shell words")
3508 (description "This package parses text into shell arguments. Based on
3509 the @code{cpan} module @code{Parse::CommandLine}.")
3510 (license license:expat))))
3512 (define-public go-github-com-burntsushi-locker
3513 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
3516 (name "go-github-com-burntsushi-locker")
3517 (version (git-version "0.0.0" revision commit))
3522 (url "https://github.com/BurntSushi/locker")
3524 (file-name (git-file-name name version))
3527 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
3528 (build-system go-build-system)
3530 '(#:import-path "github.com/BurntSushi/locker"))
3531 (home-page "https://github.com/BurntSushi/locker")
3532 (synopsis "Manage named ReadWrite mutexes in Go")
3533 (description "Golang package for conveniently using named read/write
3534 locks. These appear to be especially useful for synchronizing access to
3535 session based information in web applications.
3537 The common use case is to use the package level functions, which use a package
3538 level set of locks (safe to use from multiple goroutines
3539 simultaneously). However, you may also create a new separate set of locks
3542 All locks are implemented with read-write mutexes. To use them like a regular
3543 mutex, simply ignore the RLock/RUnlock functions.")
3544 (license license:unlicense))))
3546 (define-public go-github-com-marten-seemann-qtls
3548 (name "go-github-com-marten-seemann-qtls")
3553 (url "https://github.com/marten-seemann/qtls")
3554 (commit (string-append "v" version))))
3555 (file-name (git-file-name name version))
3558 "0dz60y98nm7l70hamq0v2vrs2dspyr5yqhnrds2dfh7hchxvq76j"))))
3559 (build-system go-build-system)
3561 '(#:import-path "github.com/marten-seemann/qtls"
3562 ;; The test suite requires networking.
3565 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3566 (synopsis "TLS 1.3 with QUIC in Go")
3567 (description "This package provides @code{qtls}, a QUIC-capable variant of
3568 the Go standard library's TLS 1.3 implementation.")
3569 (home-page "https://github.com/marten-seemann/qtls")
3570 (license license:bsd-3)))
3572 (define-public go-github-com-marten-seemann-chacha20
3574 (name "go-github-com-marten-seemann-chacha20")
3579 (url "https://github.com/marten-seemann/chacha20")
3580 (commit (string-append "v" version))))
3581 (file-name (git-file-name name version))
3584 "0x1j4cvbap45zk962qkjalc1h3axhzzdy9cdzhcjmprmm1ql4gjm"))))
3585 (build-system go-build-system)
3587 '(#:import-path "github.com/marten-seemann/chacha20"))
3588 (synopsis "ChaCha20 in Go")
3589 (description "This package is an external copy of the Go standard library's
3590 internal ChaCha20 package.")
3591 (home-page "https://github.com/marten-seemann/chacha20")
3592 (license license:bsd-3)))
3594 (define-public go-github-com-cheekybits-genny
3596 (name "go-github-com-cheekybits-genny")
3601 (url "https://github.com/cheekybits/genny")
3602 (commit (string-append "v" version))))
3603 (file-name (git-file-name name version))
3606 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
3607 (build-system go-build-system)
3609 '(#:import-path "github.com/cheekybits/genny"))
3611 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
3612 (synopsis "Generics for Go")
3613 (description "This package provides @code{genny}, a Go language
3614 implementation of generics.")
3615 (home-page "https://github.com/cheekybits/genny/")
3616 (license license:expat)))
3618 (define-public go-github-com-lucas-clemente-quic-go
3620 (name "go-github-com-lucas-clemente-quic-go")
3625 (url "https://github.com/lucas-clemente/quic-go")
3626 (commit (string-append "v" version))))
3627 (file-name (git-file-name name version))
3630 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
3631 (build-system go-build-system)
3633 '(#:import-path "github.com/lucas-clemente/quic-go"
3634 ;; XXX More packages required...
3637 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3638 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
3639 ("go-github-com-marten-seemann-chacha20" ,go-github-com-marten-seemann-chacha20)
3640 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
3641 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
3642 (synopsis "QUIC in Go")
3643 (description "This package provides a Go language implementation of the QUIC
3645 (home-page "https://github.com/lucas-clemente/quic-go")
3646 (license license:expat)))
3648 (define-public go-github-com-francoispqt-gojay
3650 (name "go-github-com-francoispqt-gojay")
3655 (url "https://github.com/francoispqt/gojay")
3656 (commit (string-append "v" version))))
3657 (file-name (git-file-name name version))
3660 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
3661 (build-system go-build-system)
3663 '(#:import-path "github.com/francoispqt/gojay"))
3665 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3666 (synopsis "JSON encoder/decoder with powerful stream API for Golang")
3667 (description "GoJay is a performant JSON encoder/decoder for Golang. It has
3668 a simple API and doesn't use reflection. It relies on small interfaces to
3669 decode/encode structures and slices.")
3670 (home-page "https://github.com/francoispqt/gojay")
3671 (license license:expat)))
3673 (define-public go-github-com-pkg-errors
3675 (name "go-github-com-pkg-errors")
3680 (url "https://github.com/pkg/errors")
3681 (commit (string-append "v" version))))
3682 (file-name (git-file-name name version))
3685 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
3686 (build-system go-build-system)
3688 `(#:import-path "github.com/pkg/errors"))
3689 (synopsis "Go error handling primitives")
3690 (description "This package provides @code{error}, which offers simple
3691 error handling primitives in Go.")
3692 (home-page "https://github.com/pkg/errors")
3693 (license license:bsd-2)))
3695 (define-public go-github-com-maruel-panicparse
3697 (name "go-github-com-maruel-panicparse")
3702 (url "https://github.com/maruel/panicparse")
3703 (commit (string-append "v" version))))
3704 (file-name (git-file-name name version))
3707 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
3708 (build-system go-build-system)
3710 '(#:import-path "github.com/maruel/panicparse"))
3711 (synopsis "Toolkit for parsing Go stack traces")
3712 (description "This package provides a toolkit for parsing Go language panic
3713 stack traces. It simplifies the traces to make salient information more visible
3714 and aid debugging.")
3715 (home-page "https://github.com/maruel/panicparse")
3716 (license license:asl2.0)))
3718 (define-public go-github-com-robfig-cron
3720 (name "go-github-com-robfig-cron")
3726 (url "https://github.com/robfig/cron")
3727 (commit (string-append "v" version))))
3728 (file-name (git-file-name name version))
3731 "1agzbw2dfk2d1mpmddr85s5vh6ygm8kqrvfg87i9d2wqnlsnliqm"))))
3732 (build-system go-build-system)
3734 `(#:import-path "github.com/robfig/cron"))
3735 (home-page "https://godoc.org/github.com/robfig/cron")
3736 (synopsis "Cron library for Go")
3737 (description "This package provides a cron library for Go. It implements
3738 a cron spec parser and job runner.")
3739 (license license:expat)))
3741 (define-public go-github-com-shirou-gopsutil
3742 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
3745 (name "go-github-com-shirou-gopsutil")
3746 (version (git-version "v2.19.7" revision commit))
3750 (url "https://github.com/shirou/gopsutil")
3751 (commit commit))) ; XXX
3752 (file-name (git-file-name name version))
3755 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
3756 (build-system go-build-system)
3758 '(#:import-path "github.com/shirou/gopsutil"))
3759 (synopsis "Process and system monitoring in Go")
3760 (description "This package provides a library for retrieving information
3761 on running processes and system utilization (CPU, memory, disks, network,
3763 (home-page "https://github.com/shirou/gopsutil")
3764 (license license:bsd-3))))
3766 (define-public go-github-com-danwakefield-fnmatch
3767 (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
3770 (name "go-github-com-danwakefield-fnmatch")
3771 (version (git-version "0.0.0" revision commit))
3776 (url "https://github.com/danwakefield/fnmatch")
3780 "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
3781 (file-name (git-file-name name version))))
3782 (build-system go-build-system)
3784 '(#:import-path "github.com/danwakefield/fnmatch"))
3785 (home-page "https://github.com/danwakefield/fnmatch")
3786 (synopsis "Updated clone of kballards golang fnmatch gist")
3787 (description "This package provides an updated clone of kballards golang
3788 fnmatch gist (https://gist.github.com/kballard/272720).")
3789 (license license:bsd-2))))
3791 (define-public go-github-com-ddevault-go-libvterm
3792 (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
3795 (name "go-github-com-ddevault-go-libvterm")
3796 (version (git-version "0.0.0" revision commit))
3801 (url "https://github.com/ddevault/go-libvterm")
3805 "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
3806 (file-name (git-file-name name version))))
3807 (build-system go-build-system)
3809 '(#:import-path "github.com/ddevault/go-libvterm"))
3811 `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
3812 (home-page "https://github.com/ddevault/go-libvterm")
3813 (synopsis "Go binding to libvterm")
3815 "This is a fork of another go-libvterm library for use with aerc.")
3816 (license license:expat))))
3818 (define-public go-github-com-emersion-go-imap
3820 (name "go-github-com-emersion-go-imap")
3826 (url "https://github.com/emersion/go-imap")
3827 (commit (string-append "v" version))))
3830 "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
3831 (file-name (git-file-name name version))))
3832 (build-system go-build-system)
3834 '(#:import-path "github.com/emersion/go-imap"))
3836 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3837 (home-page "https://github.com/emersion/go-imap")
3838 (synopsis "IMAP4rev1 library written in Go")
3839 (description "This package provides an IMAP4rev1 library written in Go. It
3840 can be used to build a client and/or a server.")
3841 (license license:expat)))
3843 (define-public go-github-com-emersion-go-sasl
3844 (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
3847 (name "go-github-com-emersion-go-sasl")
3848 (version (git-version "0.0.0" revision commit))
3853 (url "https://github.com/emersion/go-sasl")
3857 "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
3858 (file-name (git-file-name name version))))
3859 (build-system go-build-system)
3861 '(#:import-path "github.com/emersion/go-sasl"))
3862 (home-page "https://github.com/emersion/go-sasl")
3863 (synopsis "SASL library written in Go")
3864 (description "This package provides a SASL library written in Go.")
3865 (license license:expat))))
3867 (define-public go-github-com-emersion-go-imap-idle
3868 (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
3871 (name "go-github-com-emersion-go-imap-idle")
3872 (version (git-version "0.0.0" revision commit))
3877 (url "https://github.com/emersion/go-imap-idle")
3881 "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
3882 (file-name (git-file-name name version))))
3883 (build-system go-build-system)
3885 '(#:import-path "github.com/emersion/go-imap-idle"))
3887 `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
3888 ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
3889 ("go-golang-org-x-text" ,go-golang-org-x-text)))
3890 (home-page "https://github.com/emersion/go-imap-idle")
3891 (synopsis "IDLE extension for go-imap")
3892 (description "This package provides an IDLE extension for go-imap.")
3893 (license license:expat))))
3895 (define-public go-github-com-fatih-color
3897 (name "go-github-com-fatih-color")
3902 (url "https://github.com/fatih/color")
3903 (commit (string-append "v" version))))
3904 (file-name (git-file-name name version))
3907 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
3908 (build-system go-build-system)
3910 '(#:import-path "github.com/fatih/color"))
3911 (synopsis "Print colored text in Go")
3912 (description "This package provides an ANSI color package to output
3913 colorized or SGR defined output to the standard output.")
3914 (home-page "https://godoc.org/github.com/fatih/color")
3915 (license license:expat)))
3917 (define-public go-github-com-google-go-cmp-cmp
3919 (name "go-github-com-google-go-cmp-cmp")
3924 (url "https://github.com/google/go-cmp")
3925 (commit (string-append "v" version))))
3926 (file-name (git-file-name name version))
3929 "1caw49i0plkjxir7kdf5qhwls3krqwfmi7g4h392rdfwi3kfahx1"))))
3930 (build-system go-build-system)
3932 '(#:import-path "github.com/google/go-cmp/cmp"
3933 #:unpack-path "github.com/google/go-cmp"))
3934 (synopsis "Determine equality of values in Go")
3935 (description "This package provides a more powerful and safer
3936 alternative to @code{reflect.DeepEqual} for comparing whether two values
3937 are semantically equal in Go (for writing tests).")
3938 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
3939 (license license:asl2.0)))
3941 (define-public go-github-com-google-uuid
3943 (name "go-github-com-google-uuid")
3948 (url "https://github.com/google/uuid")
3949 (commit (string-append "v" version))))
3950 (file-name (git-file-name name version))
3953 "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb"))))
3954 (build-system go-build-system)
3956 '(#:import-path "github.com/google/uuid"))
3957 (home-page "https://github.com/google/uuid/")
3958 (synopsis "Generate and inspect UUIDs based on RFC 4122 and DCE 1.1")
3959 (description "The uuid package generates and inspects UUIDs based on RFC
3960 4122 and DCE 1.1: Authentication and Security Services.")
3961 (license license:bsd-3)))
3963 (define-public go-github-com-google-goterm
3964 (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
3967 (name "go-github-com-google-goterm")
3968 (version (git-version "0.0.1" revision commit))
3972 (url "https://github.com/google/goterm")
3974 (file-name (git-file-name name version))
3977 "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb"))))
3978 (build-system go-build-system)
3980 `(#:import-path "github.com/google/goterm/term"
3981 #:unpack-path "github.com/google/goterm"))
3982 (home-page "https://github.com/google/goterm/")
3983 (synopsis "PTY creation and termios get/set attributes")
3984 (description "The term package implements PTY creation and termios get/set
3985 attributes. It also contains some convenience functions for colors, SSH to
3986 and from termios translations, readCh, reading passwords, etc.")
3987 (license license:bsd-3))))
3989 (define-public go-github-com-google-go-querystring
3990 (let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests
3993 (name "go-github-com-google-go-querystring")
3998 (url "https://github.com/google/go-querystring")
4000 (file-name (git-file-name name version))
4003 "0mbx4jvf7nz4sk2fgqfq1llz4xb3vc4625b4x398mspr3a5077rs"))))
4004 (build-system go-build-system)
4006 `(#:import-path "github.com/google/go-querystring/query"
4007 #:unpack-path "github.com/google/go-querystring"))
4008 (home-page "https://github.com/google/go-querystring/")
4009 (synopsis "Library for encoding structs into URL query parameters")
4010 (description "@code{go-querystring} is Go library for encoding structs
4011 into URL query parameters.")
4012 (license license:bsd-3))))
4014 (define-public go-github-com-google-go-github
4016 (name "go-github-com-google-go-github")
4021 (url "https://github.com/google/go-github")
4022 (commit (string-append "v" version))))
4023 (file-name (git-file-name name version))
4026 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
4027 (build-system go-build-system)
4029 `(#:tests? #f ;application/octet-stream instead of text/plain
4030 #:import-path "github.com/google/go-github/v26/github"
4031 #:unpack-path "github.com/google/go-github/v26"))
4033 `(("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring)
4034 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4035 (home-page "https://github.com/google/go-github/")
4036 (synopsis "Client library for accessing the GitHub API v3")
4037 (description "@code{go-github} is a Go client library for accessing the
4039 (license license:bsd-3)))
4041 (define-public go-github-com-google-renameio
4043 (name "go-github-com-google-renameio")
4048 (url "https://github.com/google/renameio")
4049 (commit (string-append "v" version))))
4050 (file-name (git-file-name name version))
4053 "1ki2x5a9nrj17sn092d6n4zr29lfg5ydv4xz5cp58z6cw8ip43jx"))))
4054 (build-system go-build-system)
4056 `(#:import-path "github.com/google/renameio"))
4057 (home-page "https://github.com/google/renameio/")
4058 (synopsis "Atomically create or replace a file or symbolic link")
4059 (description "@code{renameio} Go package provides a way to atomically
4060 create or replace a file or symbolic link.")
4061 (license license:asl2.0)))
4063 (define-public go-golang.org-x-sync-errgroup
4064 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
4067 (name "go-golang.org-x-sync-errgroup")
4068 (version (git-version "0.0.0" revision commit))
4072 (url "https://go.googlesource.com/sync")
4074 (file-name (git-file-name name version))
4077 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
4078 (build-system go-build-system)
4080 '(#:import-path "golang.org/x/sync/errgroup"
4081 #:unpack-path "golang.org/x/sync"))
4082 (synopsis "Synchronization, error propagation, and Context cancellation
4083 for groups of goroutines working on subtasks of a common task.")
4084 (description "This package provides synchronization, error propagation,
4085 and Context cancellation for groups of goroutines working on subtasks of a
4087 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
4088 (license license:bsd-3))))
4090 (define (go-gotest-tools-source version sha256-base32-hash)
4094 (url "https://github.com/gotestyourself/gotest.tools")
4095 (commit (string-append "v" version))))
4096 (file-name (git-file-name "go-gotest-tools" version))
4098 (base32 sha256-base32-hash))))
4100 ;; Note that version 3.0.0 is incompatible to 2.3.0.
4101 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
4102 (define (go-gotest-tools-package suffix)
4104 (name (string-append "go-gotest-tools-"
4105 (string-replace-substring suffix "/" "-")))
4108 (go-gotest-tools-source version
4109 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
4110 (build-system go-build-system)
4112 `(#:import-path ,(string-append "gotest.tools/" suffix)
4113 #:unpack-path "gotest.tools"))
4114 (synopsis "@code{gotest-tools} part")
4115 (description "This package provides a part of @code{gotest-tools}.")
4116 (home-page "https://github.com/gotestyourself/gotest.tools")
4117 (license license:asl2.0)))
4119 (define-public go-gotest-tools-internal-format
4120 (package (inherit (go-gotest-tools-package "internal/format"))
4122 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4123 ("go-github-com-google-go-cmp-cmp"
4124 ,go-github-com-google-go-cmp-cmp)))
4125 (synopsis "Formats messages for use with gotest-tools")
4126 (description "This package provides a way to format messages for use
4127 with gotest-tools.")))
4129 (define-public go-gotest-tools-internal-difflib
4130 (package (inherit (go-gotest-tools-package "internal/difflib"))
4131 (synopsis "Differences for use with gotest-tools")
4132 (description "This package computes differences for use
4133 with gotest-tools.")))
4135 (define-public go-gotest-tools-internal-source
4136 (package (inherit (go-gotest-tools-package "internal/source"))
4138 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4139 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
4140 (synopsis "Source code AST formatters for gotest-tools")
4141 (description "This package provides source code AST formatters for
4144 (define-public go-gotest-tools-assert
4145 (package (inherit (go-gotest-tools-package "assert"))
4146 (name "go-gotest-tools-assert")
4148 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
4149 #:import-path "gotest.tools/assert"
4150 #:unpack-path "gotest.tools"))
4152 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
4154 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4155 ("go-github-com-google-go-cmp-cmp"
4156 ,go-github-com-google-go-cmp-cmp)))
4157 (synopsis "Compare values and fail a test when a comparison fails")
4158 (description "This package provides a way to compare values and fail a
4159 test when a comparison fails.")
4160 (home-page "https://github.com/gotestyourself/gotest.tools")
4161 (license license:asl2.0)))
4163 (define-public gotestsum
4170 (url "https://github.com/gotestyourself/gotestsum")
4171 (commit (string-append "v" version))))
4172 (file-name (git-file-name name version))
4175 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
4176 (build-system go-build-system)
4178 '(#:import-path "gotest.tools/gotestsum"))
4180 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
4181 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
4182 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4183 ("go-github-com-sirupsen-logrus"
4184 ,go-github-com-sirupsen-logrus)
4185 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
4186 ("go-github-com-jonboulle-clockwork"
4187 ,go-github-com-jonboulle-clockwork)
4188 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4189 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
4190 ("go-github-com-google-go-cmp-cmp"
4191 ,go-github-com-google-go-cmp-cmp)
4192 ;; TODO: This would be better as a propagated-input of
4193 ;; go-gotest-tools-assert, but that does not work for
4195 ("go-gotest-tools-internal-format"
4196 ,go-gotest-tools-internal-format)
4197 ("go-gotest-tools-internal-difflib"
4198 ,go-gotest-tools-internal-difflib)
4199 ("go-gotest-tools-internal-source"
4200 ,go-gotest-tools-internal-source)
4201 ("go-github-com-google-go-cmp-cmp"
4202 ,go-github-com-google-go-cmp-cmp)))
4203 (synopsis "Go test runner with output optimized for humans")
4204 (description "This package provides a @code{go test} runner with output
4205 optimized for humans, JUnit XML for CI integration, and a summary of the
4207 (home-page "https://github.com/gotestyourself/gotestsum")
4208 (license license:asl2.0)))
4210 (define-public go-github-com-golang-protobuf-proto
4212 (name "go-github-com-golang-protobuf-proto")
4217 (url "https://github.com/golang/protobuf")
4218 (commit (string-append "v" version))))
4219 (file-name (git-file-name name version))
4222 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
4223 (build-system go-build-system)
4225 '(#:import-path "github.com/golang/protobuf/proto"
4226 #:unpack-path "github.com/golang/protobuf"
4227 ;; Requires unpackaged golang.org/x/sync/errgroup
4229 (synopsis "Go support for Protocol Buffers")
4230 (description "This package provides Go support for the Protocol Buffers
4231 data serialization format.")
4232 (home-page "https://github.com/golang/protobuf")
4233 (license license:bsd-3)))
4235 (define-public go-github-com-mattn-go-zglob
4237 (name "go-github-com-mattn-go-zglob")
4242 (url "https://github.com/mattn/go-zglob")
4243 (commit (string-append "v" version))))
4244 (file-name (git-file-name name version))
4247 "1923lvakm66mzy62jmngdvcmbmiqclinsvnghs3907rgygnx1qc1"))))
4248 (build-system go-build-system)
4250 `(#:import-path "github.com/mattn/go-zglob"))
4251 (home-page "https://github.com/mattn/go-zglob")
4252 (synopsis "Glob library that descends into other directories")
4253 (description " A glob library that implements descending into other
4254 directories. It is optimized for filewalking. ")
4255 (license license:expat)))
4257 (define-public go-github-com-willf-bitset
4259 (name "go-github-com-willf-bitset")
4264 (url "https://github.com/willf/bitset")
4265 (commit (string-append "v" version))))
4266 (file-name (git-file-name name version))
4269 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
4270 (build-system go-build-system)
4272 '(#:import-path "github.com/willf/bitset"))
4273 (synopsis "Bitsets in Go")
4274 (description "This package provides a Go implementation of bitsets, which
4275 are a mapping between non-negative integers and boolean values focused on
4276 efficient space usage.")
4277 (home-page "https://github.com/willf/bitset")
4278 (license license:bsd-3)))
4280 (define-public go-github-com-willf-bloom
4282 (name "go-github-com-willf-bloom")
4287 (url "https://github.com/willf/bloom")
4288 (commit (string-append "v" version))))
4289 (file-name (git-file-name name version))
4292 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
4293 (build-system go-build-system)
4295 '(#:import-path "github.com/willf/bloom"
4297 (modify-phases %standard-phases
4298 (add-after 'unpack 'patch-import-path
4300 ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for
4301 ;; more information.
4302 ;; <https://github.com/spaolacci/murmur3/issues/29>
4303 (substitute* "src/github.com/willf/bloom/bloom.go"
4304 (("spaolacci") "twmb"))
4307 `(("go-github-com-twmb-murmur3" ,go-github-com-twmb-murmur3)
4308 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
4309 (synopsis "Bloom filters in Go")
4310 (description "This package provides a Go implementation of bloom filters,
4311 based on murmurhash.")
4312 (home-page "https://github.com/willf/bloom")
4313 (license license:bsd-2)))
4315 (define-public go-golang-org-rainycape-unidecode
4316 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
4319 (name "go-golang-org-rainycape-unidecode")
4320 (version (git-version "0.0.0" revision commit))
4324 (url "https://github.com/rainycape/unidecode")
4326 (file-name (string-append "go-golang-org-rainycape-unidecode-"
4327 version "-checkout"))
4330 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
4331 (build-system go-build-system)
4333 `(#:import-path "golang.org/rainycape/unidecode"))
4334 (home-page "https://github.com/rainycape/unidecode")
4335 (synopsis "Unicode transliterator in Golang")
4336 (description "Unicode transliterator in Golang - Replaces non-ASCII
4337 characters with their ASCII approximations.")
4338 (license license:asl2.0))))
4340 (define-public go-github-com-golang-freetype
4341 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
4344 (name "go-github-com-golang-freetype")
4345 (version (git-version "0.0.0" revision commit))
4349 (url "https://github.com/golang/freetype")
4351 (file-name (string-append "go-github-com-golang-freetype-"
4352 version "-checkout"))
4355 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
4356 (build-system go-build-system)
4358 `(#:import-path "github.com/golang/freetype"))
4360 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
4361 (home-page "https://github.com/golang/freetype")
4362 (synopsis "Freetype font rasterizer in the Go programming language")
4363 (description "The Freetype font rasterizer in the Go programming language.")
4364 (license (list license:freetype
4367 (define-public go-github-com-fogleman-gg
4369 (name "go-github-com-fogleman-gg")
4374 (url "https://github.com/fogleman/gg")
4375 (commit (string-append "v" version))))
4376 (file-name (git-file-name name version))
4379 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
4380 (build-system go-build-system)
4382 `(#:tests? #f ; Issue with test flags.
4383 #:import-path "github.com/fogleman/gg"))
4385 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
4386 (home-page "https://github.com/fogleman/gg")
4387 (synopsis "2D rendering in Go")
4388 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
4389 (license license:expat)))
4391 (define-public go-github-com-gedex-inflector
4392 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
4395 (name "go-github-com-gedex-inflector")
4396 (version (git-version "0.0.0" revision commit))
4400 (url "https://github.com/gedex/inflector")
4402 (file-name (string-append "go-github-com-gedex-inflector-"
4403 version "-checkout"))
4406 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
4407 (build-system go-build-system)
4409 `(#:import-path "github.com/gedex/inflector"))
4410 (home-page "https://github.com/gedex/inflector")
4411 (synopsis "Go library that pluralizes and singularizes English nouns")
4412 (description "Go library that pluralizes and singularizes English nouns.")
4413 (license license:bsd-2))))
4415 (define-public go-github-com-klauspost-cpuid
4417 (name "go-github-com-klauspost-cpuid")
4422 (url "https://github.com/klauspost/cpuid")
4423 (commit (string-append "v" version))))
4424 (file-name (git-file-name name version))
4427 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
4428 (build-system go-build-system)
4430 `(#:import-path "github.com/klauspost/cpuid"))
4431 (home-page "https://github.com/klauspost/cpuid")
4432 (synopsis "CPU feature identification for Go")
4433 (description "@code{cpuid} provides information about the CPU running the
4434 current program. CPU features are detected on startup, and kept for fast access
4435 through the life of the application. Currently x86 / x64 (AMD64) is supported,
4436 and no external C (cgo) code is used, which should make the library very eas
4438 (license license:expat)))
4440 (define-public go-github-com-pbnjay-memory
4441 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
4444 (name "go-github-com-pbnjay-memory")
4445 (version (git-version "0.0.0" revision commit))
4449 (url "https://github.com/pbnjay/memory")
4451 (file-name (string-append "go-github-com-pbnjay-memory-"
4452 version "-checkout"))
4455 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
4456 (build-system go-build-system)
4458 `(#:import-path "github.com/pbnjay/memory"))
4459 (home-page "https://github.com/gedex/inflector")
4460 (synopsis "Go library to report total system memory")
4461 (description "@code{memory} provides a single method reporting total
4462 physical system memory accessible to the kernel. It does not account for memory
4463 used by other processes.")
4464 (license license:bsd-3))))
4466 (define-public go-github-com-surge-glog
4467 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
4470 (name "go-github-com-surge-glog")
4471 (version (git-version "0.0.0" revision commit))
4475 (url "https://github.com/surge/glog")
4477 (file-name (string-append "go-github-com-surge-glog-"
4478 version "-checkout"))
4481 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
4482 (build-system go-build-system)
4484 `(#:import-path "github.com/surge/glog"))
4485 (home-page "https://github.com/surge/glog")
4486 (synopsis "Leveled execution logs for Go")
4487 (description "Leveled execution logs for Go.")
4488 (license license:asl2.0))))
4490 (define-public go-github-com-surgebase-porter2
4491 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
4494 (name "go-github-com-surgebase-porter2")
4495 (version (git-version "0.0.0" revision commit))
4499 (url "https://github.com/surgebase/porter2")
4501 (file-name (string-append "go-github-com-surgebase-porter2-"
4502 version "-checkout"))
4505 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
4506 (build-system go-build-system)
4508 `(#:import-path "github.com/surgebase/porter2"))
4510 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
4511 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
4512 (home-page "https://github.com/surgebase/porter2")
4513 (synopsis "Go library implementing english Porter2 stemmer")
4514 (description "Porter2 implements the
4515 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
4516 Porter2 stemmer}. It is written completely using finite state machines to do
4517 suffix comparison, rather than the string-based or tree-based approaches.")
4518 (license license:asl2.0))))
4520 (define-public go-github-com-masterminds-goutils
4522 (name "go-github-com-masterminds-goutils")
4527 (url "https://github.com/Masterminds/goutils")
4528 (commit (string-append "v" version))))
4529 (file-name (git-file-name name version))
4532 "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq"))))
4533 (build-system go-build-system)
4535 `(#:import-path "github.com/Masterminds/goutils"))
4536 (home-page "https://github.com/Masterminds/goutils/")
4537 (synopsis "Utility functions to manipulate strings")
4538 (description "GoUtils provides utility functions to manipulate strings in
4539 various ways. It is a Go implementation of some string manipulation libraries
4540 of Java Apache Commons.")
4541 (license license:asl2.0)))
4543 (define-public go-github-com-masterminds-semver
4545 (name "go-github-com-masterminds-semver")
4550 (url "https://github.com/Masterminds/semver")
4551 (commit (string-append "v" version))))
4552 (file-name (git-file-name name version))
4555 "1g1wizfdy29d02l9dh8gsb029yr4m4swp13swf0pnh9ryh5f1msz"))))
4556 (build-system go-build-system)
4558 `(#:import-path "github.com/Masterminds/semver"))
4559 (home-page "https://github.com/Masterminds/semver/")
4560 (synopsis "@code{semver} helps to work with semantic versions")
4561 (description "The semver package provides the ability to work with
4562 semantic versions. Specifically it provides the ability to:
4564 @item Parse semantic versions
4565 @item Sort semantic versions
4566 @item Check if a semantic version fits within a set of constraints
4567 @item Optionally work with a @code{v} prefix
4569 (license license:expat)))
4571 (define-public go-github-com-huandu-xstrings
4573 (name "go-github-com-huandu-xstrings")
4578 (url "https://github.com/huandu/xstrings")
4579 (commit (string-append "v" version))))
4580 (file-name (git-file-name name version))
4583 "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
4584 (build-system go-build-system)
4586 `(#:import-path "github.com/huandu/xstrings"))
4587 (home-page "https://github.com/huandu/xstrings/")
4588 (synopsis "Collection of string functions")
4589 (description "Go package xstrings is a collection of string functions,
4590 which are widely used in other languages but absent in Go package strings.")
4591 (license license:expat)))
4593 (define-public go-github-com-imdario-mergo
4595 (name "go-github-com-imdario-mergo")
4600 (url "https://github.com/imdario/mergo")
4601 (commit (string-append "v" version))))
4602 (file-name (git-file-name name version))
4605 "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
4606 (build-system go-build-system)
4608 `(#:import-path "github.com/imdario/mergo"))
4610 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
4611 (home-page "https://github.com/imdario/mergo/")
4612 (synopsis "Helper to merge structs and maps in Golang")
4613 (description "Helper to merge structs and maps in Golang. Useful for
4614 configuration default values, avoiding messy if-statements.
4616 Mergo merges same-type structs and maps by setting default values in
4617 zero-value fields. Mergo won't merge unexported (private) fields. It will do
4618 recursively any exported one. It also won't merge structs inside
4619 maps (because they are not addressable using Go reflection).")
4620 (license license:bsd-3)))
4622 (define-public go-github-com-masterminds-sprig
4624 (name "go-github-com-masterminds-sprig")
4629 (url "https://github.com/Masterminds/sprig")
4630 (commit (string-append "v" version))))
4631 (file-name (git-file-name name version))
4634 "0wwi8n2adjc5jlga25lqq0hrz4jcgd5vpll68y2dfji034caaq18"))))
4635 (build-system go-build-system)
4637 `(#:tests? #f ;network tests only
4638 #:import-path "github.com/Masterminds/sprig"))
4640 `(("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils)
4641 ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver)
4642 ("go-github-com-google-uuid" ,go-github-com-google-uuid)
4643 ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings)
4644 ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo)
4645 ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)
4646 ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure)
4647 ("go-github-com-spf13-cast" ,go-github-com-spf13-cast)
4648 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4649 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4650 (home-page "https://github.com/Masterminds/sprig/")
4651 (synopsis "Template functions for Go templates")
4652 (description "Sprig is a library that provides more than 100 commonly used
4653 template functions.")
4654 (license license:expat)))
4656 (define-public go-github-com-bmatcuk-doublestar
4658 (name "go-github-com-bmatcuk-doublestar")
4663 (url "https://github.com/bmatcuk/doublestar")
4664 (commit (string-append "v" version))))
4665 (file-name (git-file-name name version))
4668 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
4669 (build-system go-build-system)
4671 `(#:import-path "github.com/bmatcuk/doublestar"))
4672 (home-page "https://github.com/bmatcuk/doublestar/")
4673 (synopsis "Path pattern matching and globbing supporting doublestar")
4674 (description "@code{doublestar} is a Go implementation of path pattern
4675 matching and globbing with support for \"doublestar\" patterns.")
4676 (license license:expat)))
4678 (define-public go-github-com-dlclark-regexp2
4680 (name "go-github-com-dlclark-regexp2")
4685 (url "https://github.com/dlclark/regexp2")
4686 (commit (string-append "v" version))))
4687 (file-name (git-file-name name version))
4690 "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng"))))
4691 (build-system go-build-system)
4693 `(#:import-path "github.com/dlclark/regexp2"))
4694 (home-page "https://github.com/dlclark/regexp2/")
4695 (synopsis "Full featured regular expressions for Go")
4696 (description "Regexp2 is a feature-rich RegExp engine for Go.")
4697 (license license:expat)))
4699 (define-public go-github-com-alecthomas-colour
4701 (name "go-github-com-alecthomas-colour")
4706 (url "https://github.com/alecthomas/colour")
4707 (commit (string-append "v" version))))
4708 (file-name (git-file-name name version))
4711 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
4712 (build-system go-build-system)
4714 `(#:import-path "github.com/alecthomas/colour"))
4716 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
4717 (home-page "https://github.com/alecthomas/colour/")
4718 (synopsis "Colour terminal text for Go")
4719 (description "Package colour provides Quake-style colour formatting for
4722 The package level functions can be used to write to stdout (or strings or
4723 other files). If stdout is not a terminal, colour formatting will be
4725 (license license:expat)))
4727 (define-public go-github-com-alecthomas-repr
4728 (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
4731 (name "go-github-com-alecthomas-repr")
4732 (version (git-version "0.0.1" revision commit))
4736 (url "https://github.com/alecthomas/repr")
4738 (file-name (git-file-name name version))
4741 "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
4742 (build-system go-build-system)
4744 `(#:import-path "github.com/alecthomas/repr"))
4746 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4747 (home-page "https://github.com/alecthomas/repr/")
4748 (synopsis "Represent Go values in an almost direct form")
4749 (description "This package attempts to represent Go values in a form that
4750 can be used almost directly in Go source code.")
4751 (license license:expat))))
4753 (define-public go-github-com-sergi-go-diff
4755 (name "go-github-com-sergi-go-diff")
4760 (url "https://github.com/sergi/go-diff")
4761 (commit (string-append "v" version))))
4762 (file-name (git-file-name name version))
4765 "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
4766 (build-system go-build-system)
4768 `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
4769 #:unpack-path "github.com/sergi/go-diff"))
4771 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4772 (home-page "https://github.com/sergi/go-diff/")
4773 (synopsis "Algorithms to perform operations for synchronizing plain text")
4774 (description "@code{go-diff} offers algorithms to perform operations required for
4775 synchronizing plain text:
4777 @item compare two texts and return their differences
4778 @item perform fuzzy matching of text
4779 @item apply patches onto text
4781 (license license:expat)))
4783 (define-public go-github-com-alecthomas-assert
4784 (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
4787 (name "go-github-com-alecthomas-assert")
4788 (version (git-version "0.0.1" revision commit))
4792 (url "https://github.com/alecthomas/assert")
4794 (file-name (git-file-name name version))
4797 "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
4798 (build-system go-build-system)
4800 `(#:import-path "github.com/alecthomas/assert"))
4802 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4803 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4804 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4805 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4806 (home-page "https://github.com/alecthomas/assert/")
4807 (synopsis "Go assertion library")
4808 (description "Assertion library that:
4810 @item makes spotting differences in equality much easier
4811 @item uses repr and diffmatchpatch to display structural differences in colour
4812 @item aborts tests on first assertion failure
4814 (license license:expat))))
4816 (define-public go-github-com-alecthomas-chroma
4818 (name "go-github-com-alecthomas-chroma")
4823 (url "https://github.com/alecthomas/chroma")
4824 (commit (string-append "v" version))))
4825 (file-name (git-file-name name version))
4828 "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
4829 (build-system go-build-system)
4831 `(#:import-path "github.com/alecthomas/chroma"))
4833 `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
4834 ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
4835 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4836 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4837 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4838 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4839 (home-page "https://github.com/alecthomas/chroma/")
4840 (synopsis "General purpose syntax highlighter in pure Go")
4841 (description "Chroma takes source code and other structured text and
4842 converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
4843 (license license:expat)))
4845 (define-public go-github-com-andybalholm-cascadia
4847 (name "go-github-com-andybalholm-cascadia")
4852 (url "https://github.com/andybalholm/cascadia")
4853 (commit (string-append "v" version))))
4854 (file-name (git-file-name name version))
4857 "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc"))))
4858 (build-system go-build-system)
4860 `(#:import-path "github.com/andybalholm/cascadia"))
4862 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
4863 (home-page "https://github.com/andybalholm/cascadia/")
4864 (synopsis "CSS selectors for HTML")
4865 (description "The Cascadia package implements CSS selectors for use with
4866 the parse trees produced by the html package.")
4867 (license license:bsd-2)))
4869 (define-public go-github-com-puerkitobio-goquery
4871 (name "go-github-com-puerkitobio-goquery")
4876 (url "https://github.com/PuerkitoBio/goquery")
4877 (commit (string-append "v" version))))
4878 (file-name (git-file-name name version))
4881 "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx"))))
4882 (build-system go-build-system)
4884 `(#:import-path "github.com/PuerkitoBio/goquery"))
4886 `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4887 ("go-golang-org-x-net" ,go-golang-org-x-net)))
4888 (home-page "https://github.com/PuerkitoBio/goquery")
4889 (synopsis "Features similar to jQuery to the Go language")
4890 (description "@code{goquery} brings a syntax and a set of features similar
4891 to jQuery to the Go language.")
4892 (license license:bsd-3)))
4894 (define-public go-github-com-aymerick-douceur
4896 (name "go-github-com-aymerick-douceur")
4901 (url "https://github.com/aymerick/douceur/")
4902 (commit (string-append "v" version))))
4903 (file-name (git-file-name name version))
4906 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4907 (build-system go-build-system)
4909 `(#:import-path "github.com/aymerick/douceur"))
4911 `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
4912 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4913 ("go-golang-org-x-net" ,go-golang-org-x-net)
4914 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
4915 (home-page "https://github.com/aymerick/douceur/")
4916 (synopsis "CSS parser and inliner")
4917 (description "This package provides a CSS parser and inliner.")
4918 (license license:expat)))
4920 (define-public go-github-com-chris-ramon-douceur
4922 (name "go-github-com-chris-ramon-douceur")
4927 (url "https://github.com/chris-ramon/douceur")
4928 (commit (string-append "v" version))))
4929 (file-name (git-file-name name version))
4932 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4933 (build-system go-build-system)
4935 `(#:import-path "github.com/chris-ramon/douceur"))
4937 `(("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
4938 ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
4939 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4940 ("go-golang-org-x-net" ,go-golang-org-x-net)
4941 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
4942 (home-page "https://github.com/chris-ramon/douceur/")
4943 (synopsis "CSS parser and inliner")
4944 (description "This package provides a CSS parser and inliner.")
4945 (license license:expat)))
4947 (define-public go-github-com-microcosm-cc-bluemonday
4949 (name "go-github-com-microcosm-cc-bluemonday")
4954 (url "https://github.com/microcosm-cc/bluemonday")
4955 (commit (string-append "v" version))))
4956 (file-name (git-file-name name version))
4959 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
4960 (build-system go-build-system)
4962 `(#:import-path "github.com/microcosm-cc/bluemonday"))
4964 `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
4965 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
4966 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
4967 ("go-golang-org-x-net" ,go-golang-org-x-net)))
4968 (home-page "https://github.com/microcosm-cc/bluemonday/")
4969 (synopsis "HTML sanitizer")
4970 (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
4971 (license license:bsd-3)))
4973 (define-public go-github-com-muesli-reflow-wordwrap
4975 (name "go-github-com-muesli-reflow-wordwrap")
4980 (url "https://github.com/muesli/reflow")
4981 (commit (string-append "v" version))))
4982 (file-name (git-file-name "go-github-com-muesli-reflow" version))
4985 "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
4986 (build-system go-build-system)
4988 `(#:import-path "github.com/muesli/reflow/wordwrap"
4989 #:unpack-path "github.com/muesli/reflow"))
4991 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
4992 (home-page "https://github.com/muesli/reflow/")
4993 (synopsis "Collection of methods helping to transform blocks of text")
4994 (description "This package provides a collection of ANSI-aware methods and
4995 io.Writers helping you to transform blocks of text.")
4996 (license license:expat)))
4998 (define-public go-github-com-muesli-reflow-ansi
5000 (inherit go-github-com-muesli-reflow-wordwrap)
5001 (name "go-github-com-muesli-reflow-ansi")
5003 `(#:import-path "github.com/muesli/reflow/ansi"
5004 #:unpack-path "github.com/muesli/reflow"))))
5006 (define-public go-github-com-muesli-reflow-indent
5008 (inherit go-github-com-muesli-reflow-wordwrap)
5009 (name "go-github-com-muesli-reflow-indent")
5011 `(#:import-path "github.com/muesli/reflow/indent"
5012 #:unpack-path "github.com/muesli/reflow"))))
5014 (define-public go-github-com-muesli-reflow-padding
5016 (inherit go-github-com-muesli-reflow-wordwrap)
5017 (name "go-github-com-muesli-reflow-padding")
5019 `(#:import-path "github.com/muesli/reflow/padding"
5020 #:unpack-path "github.com/muesli/reflow"))))
5022 (define-public go-github-com-muesli-termenv
5024 (name "go-github-com-muesli-termenv")
5029 (url "https://github.com/muesli/termenv")
5030 (commit (string-append "v" version))))
5031 (file-name (git-file-name name version))
5034 "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
5035 (build-system go-build-system)
5037 `(#:import-path "github.com/muesli/termenv"))
5039 `(("go-github-com-google-goterm" ,go-github-com-google-goterm)
5040 ("go-golang-org-colorful" ,go-golang-org-colorful)
5041 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5042 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5043 (home-page "https://github.com/muesli/termenv/")
5044 (synopsis "Advanced styling options on the terminal")
5045 (description "termenv lets you safely use advanced styling options on the
5046 terminal. It gathers information about the terminal environment in terms of
5047 its ANSI and color support and offers you convenient methods to colorize and
5048 style your output, without you having to deal with all kinds of weird ANSI
5049 escape sequences and color conversions.")
5050 (license license:expat)))
5052 (define-public go-github-com-olekukonko-tablewriter
5054 (name "go-github-com-olekukonko-tablewriter")
5059 (url "https://github.com/olekukonko/tablewriter")
5060 (commit (string-append "v" version))))
5061 (file-name (git-file-name name version))
5064 "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x"))))
5065 (build-system go-build-system)
5067 `(#:import-path "github.com/olekukonko/tablewriter"))
5069 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5070 (home-page "https://github.com/olekukonko/tablewriter/")
5071 (synopsis "Generate ASCII table")
5072 (description "This package allows to generate ASCII table. Features:
5074 @item automatic Padding
5075 @item support Multiple Lines
5076 @item supports Alignment
5077 @item support Custom Separators
5078 @item automatic Alignment of numbers and percentage
5079 @item write directly to http , file etc via @code{io.Writer}
5080 @item read directly from CSV file
5081 @item optional row line via @code{SetRowLine}
5082 @item normalise table header
5083 @item make CSV Headers optional
5084 @item enable or disable table border
5085 @item set custom footer support
5086 @item optional identical cells merging
5087 @item set custom caption
5088 @item optional reflowing of paragrpahs in multi-line cells
5090 (license license:expat)))
5092 (define-public go-github-com-yuin-goldmark
5094 (name "go-github-com-yuin-goldmark")
5099 (url "https://github.com/yuin/goldmark")
5100 (commit (string-append "v" version))))
5101 (file-name (git-file-name name version))
5104 "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy"))))
5105 (build-system go-build-system)
5107 `(#:import-path "github.com/yuin/goldmark"))
5108 (home-page "https://github.com/yuin/goldmark/")
5109 (synopsis "Markdown parser")
5110 (description "This package provides a markdown parser.")
5111 (license license:expat)))
5113 (define-public go-github-com-charmbracelet-glamour
5115 (name "go-github-com-charmbracelet-glamour")
5120 (url "https://github.com/charmbracelet/glamour")
5121 (commit (string-append "v" version))))
5122 (file-name (git-file-name name version))
5125 "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
5126 (build-system go-build-system)
5128 `(#:import-path "github.com/charmbracelet/glamour"))
5130 `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
5131 ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
5132 ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
5133 ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
5134 ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5135 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5136 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5137 ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
5138 ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
5139 ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
5140 ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
5141 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
5142 ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
5143 ("go-github-com-google-goterm" ,go-github-com-google-goterm)
5144 ("go-golang-org-colorful" ,go-golang-org-colorful)
5145 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5146 ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
5147 ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
5148 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5149 (home-page "https://github.com/charmbracelet/glamour/")
5150 (synopsis "Write handsome command-line tools with glamour")
5151 (description "@code{glamour} lets you render markdown documents and
5152 templates on ANSI compatible terminals. You can create your own stylesheet or
5153 use one of our glamourous default themes.")
5154 (license license:expat)))
5156 (define-public go-github-com-coreos-go-semver
5158 (name "go-github-com-coreos-go-semver")
5163 (url "https://github.com/coreos/go-semver")
5164 (commit (string-append "v" version))))
5165 (file-name (git-file-name name version))
5168 "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9"))))
5169 (build-system go-build-system)
5171 `(#:import-path "github.com/coreos/go-semver"))
5172 (home-page "https://github.com/coreos/go-semver/")
5173 (synopsis "Semantic versioning library")
5174 (description "@code{go-semver} is a semantic versioning library for Go.
5175 It lets you parse and compare two semantic version strings.")
5176 (license license:asl2.0)))
5178 (define-public go-github-com-emirpasic-gods
5180 (name "go-github-com-emirpasic-gods")
5185 (url "https://github.com/emirpasic/gods")
5186 (commit (string-append "v" version))))
5187 (file-name (git-file-name name version))
5190 "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1"))))
5191 (build-system go-build-system)
5193 `(#:import-path "github.com/emirpasic/gods"
5194 ; Source-only package
5197 (modify-phases %standard-phases
5199 (home-page "https://github.com/emirpasic/gods/")
5200 (synopsis "Implementation of various data structures and algorithms in Go")
5201 (description "This package provides implementation of various data
5202 structures and algorithms in Go.")
5203 (license license:bsd-2)))
5205 (define-public go-gopkg-in-warnings
5207 (name "go-gopkg-in-warnings")
5212 (url "https://github.com/go-warnings/warnings")
5213 (commit (string-append "v" version))))
5214 (file-name (git-file-name name version))
5217 "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81"))))
5218 (build-system go-build-system)
5220 `(#:import-path "gopkg.in/warnings.v0"))
5221 (home-page "https://gopkg.in/warnings.v0")
5222 (synopsis "Error handling with non-fatal errors")
5223 (description "Package warnings implements error handling with non-fatal
5224 errors (warnings).")
5225 (license license:bsd-2)))
5227 (define-public go-github-com-go-git-gcfg
5229 (name "go-github-com-go-git-gcfg")
5234 (url "https://github.com/go-git/gcfg")
5235 (commit (string-append "v" version))))
5236 (file-name (git-file-name name version))
5239 "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83"))))
5241 `(#:import-path "github.com/go-git/gcfg"))
5243 `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings)
5244 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
5245 (build-system go-build-system)
5246 (home-page "https://github.com/go-git/gcfg/")
5247 (synopsis "Gcfg reads INI-style configuration files into Go structs")
5248 (description "Gcfg reads INI-style configuration files into Go structs.")
5249 (license license:bsd-3)))
5251 (define-public go-github-com-go-git-go-billy
5253 (name "go-github-com-go-git-go-billy")
5258 (url "https://github.com/go-git/go-billy")
5259 (commit (string-append "v" version))))
5260 (file-name (git-file-name name version))
5263 "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx"))))
5264 (build-system go-build-system)
5266 `(#:import-path "github.com/go-git/go-billy/v5"))
5268 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5269 (home-page "https://github.com/go-git/go-billy/")
5270 (synopsis "File system abstraction for Go")
5271 (description "Billy implements an interface based on the OS's standard
5272 library to develop applications without depending on the underlying storage.
5273 This makes it virtually free to implement mocks and testing over
5274 file system operations.")
5275 (license license:asl2.0)))
5277 (define-public go-github-com-jbenet-go-context
5278 (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
5281 (name "go-github-com-jbenet-go-context")
5282 (version (git-version "0.0.1" revision commit))
5286 (url "https://github.com/jbenet/go-context")
5288 (file-name (git-file-name name version))
5291 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
5292 (build-system go-build-system)
5294 `(#:import-path "github.com/jbenet/go-context"
5295 ; Source-only package
5298 (modify-phases %standard-phases
5300 (home-page "https://github.com/jbenet/go-context/")
5301 (synopsis "@code{jbenet's} context extensions")
5302 (description "This package provides @code{jbenet's} context
5304 (license license:expat))))
5306 (define-public go-github-com-kevinburke-ssh-config
5308 (name "go-github-com-kevinburke-ssh-config")
5313 (url "https://github.com/kevinburke/ssh_config")
5315 (file-name (git-file-name name version))
5318 "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f"))))
5320 `(#:import-path "github.com/kevinburke/ssh_config"))
5321 (build-system go-build-system)
5322 (home-page "https://github.com/kevinburke/ssh_config/")
5323 (synopsis "Parser for @file{ssh_config} files")
5324 (description "This is a Go parser for @file{ssh_config} files.
5325 Importantly, this parser attempts to preserve comments in a given file, so you
5326 can manipulate a @file{ssh_config} file from a program.")
5327 (license license:expat)))
5329 (define-public go-github-com-xanzy-ssh-agent
5331 (name "go-github-com-xanzy-ssh-agent")
5336 (url "https://github.com/xanzy/ssh-agent")
5337 (commit (string-append "v" version))))
5338 (file-name (git-file-name name version))
5341 "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
5342 (build-system go-build-system)
5344 `(#:import-path "github.com/xanzy/ssh-agent"))
5346 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
5347 (home-page "https://github.com/xanzy/ssh-agent/")
5348 (synopsis "Control ssh-agent from Go")
5349 (description "Package agent implements the ssh-agent protocol, and
5350 provides both a client and a server. The client can talk to a standard
5351 ssh-agent that uses UNIX sockets, and one could implement an alternative
5352 ssh-agent process using the sample server. ")
5353 (license license:asl2.0)))
5355 (define-public go-github-com-alcortesm-tgz
5356 (let ((commit "9c5fe88206d7765837fed3732a42ef88fc51f1a1")
5359 (name "go-github-com-alcortesm-tgz")
5360 (version (git-version "0.0.1" revision commit))
5364 (url "https://github.com/alcortesm/tgz")
5366 (file-name (git-file-name name version))
5369 "04dcwnz2c2i4wbq2vx3g2wrdgqpncr2r1h6p1k08rdwk4bq1h8c5"))
5370 (modules '((guix build utils)))
5373 (substitute* "tgz_test.go"
5375 (("t.Fatalf\\(\"%s: unexpected error extracting: %s\", err\\)")
5376 "t.Fatalf(\"%s: unexpected error extracting: %s\", com, err)"))
5378 (build-system go-build-system)
5380 `(#:import-path "github.com/alcortesm/tgz"
5382 (modify-phases %standard-phases
5383 (add-after 'unpack 'make-git-checkout-writable
5384 (lambda* (#:key outputs #:allow-other-keys)
5385 (for-each make-file-writable (find-files "."))
5386 (for-each make-file-writable (find-files (assoc-ref outputs "out")))
5388 (home-page "https://github.com/alcortesm/tgz/")
5389 (synopsis "Go library to extract tgz files to temporal directories")
5390 (description "This package provides a Go library to extract tgz files to
5391 temporal directories.")
5392 (license license:expat))))
5394 (define-public go-github-com-go-git-go-git-fixtures
5396 (name "go-github-com-go-git-go-git-fixtures")
5401 (url "https://github.com/go-git/go-git-fixtures")
5402 (commit (string-append "v" version))))
5403 (file-name (git-file-name name version))
5406 "002yb1s2mxq2xijkl39ip1iyc3l52k23ikyi9ijfl4bgqxy79ljg"))))
5407 (build-system go-build-system)
5409 `(#:import-path "github.com/go-git/go-git-fixtures/v4"
5411 (modify-phases %standard-phases
5412 (delete 'reset-gzip-timestamps))))
5414 `(("go-github-com-alcortesm-tgz" ,go-github-com-alcortesm-tgz)
5415 ("go-github-com-go-git-go-billy" ,go-github-com-go-git-go-billy)
5416 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
5417 ("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5418 (home-page "https://github.com/go-git/go-git-fixtures/")
5419 (synopsis "Fixtures used by @code{go-git}")
5420 (description "This package provides fixtures used by @code{go-git}.")
5421 (license license:asl2.0)))
5423 (define-public go-github-com-pkg-diff
5424 (let ((commit "531926345625d489a6b56f860a569e68245ace36")
5427 (name "go-github-com-pkg-diff")
5428 (version (git-version "0.0.1" revision commit))
5432 (url "https://github.com/pkg/diff")
5434 (file-name (git-file-name name version))
5437 "1770m7qhww6lm0wj1v3mhv6hwa2v92p4w2fqxj1xyrg5dd58d944"))))
5438 (build-system go-build-system)
5440 `(#:import-path "github.com/pkg/diff"))
5442 `(("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
5443 (home-page "https://github.com/pkg/diff/")
5444 (synopsis "Create and print diffs")
5446 "This package provides a Go library to create and print diffs.")
5447 (license license:bsd-3))))
5449 (define-public go-github-com-twpayne-go-shell
5451 (name "go-github-com-twpayne-go-shell")
5456 (url "https://github.com/twpayne/go-shell")
5457 (commit (string-append "v" version))))
5458 (file-name (git-file-name name version))
5461 "1hv0ggy3935iddjnmpp9vl0kqjknxpnbmm9w7xr3gds7fpbxz6yp"))))
5462 (build-system go-build-system)
5464 `(#:import-path "github.com/twpayne/go-shell"))
5465 (home-page "https://github.com/twpayne/go-shell/")
5466 (synopsis "Shell across multiple platforms")
5468 "Package @code{shell} returns a user's shell across multiple platforms.")
5469 (license license:expat)))
5471 (define-public go-github-com-twpayne-go-vfs
5473 (name "go-github-com-twpayne-go-vfs")
5478 (url "https://github.com/twpayne/go-vfs")
5479 (commit (string-append "v" version))))
5480 (file-name (git-file-name name version))
5483 "19dm3gi45znwaqbzxhwcgkiz8059bwa3ank80hc6qhdl579bpjnz"))))
5484 (build-system go-build-system)
5486 `(#:import-path "github.com/twpayne/go-vfs"))
5488 `(("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar)))
5489 (home-page "https://github.com/twpayne/go-vfs/")
5490 (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
5491 (description "Package @code{vfs} provides an abstraction of the @code{os}
5492 and @code{ioutil} packages that is easy to test.")
5493 (license license:expat)))
5495 (define-public go-github-com-twpayne-go-vfsafero
5497 (name "go-github-com-twpayne-go-vfsafero")
5502 (url "https://github.com/twpayne/go-vfsafero")
5503 (commit (string-append "v" version))))
5504 (file-name (git-file-name name version))
5507 "18jwxhlrjd06z8xzg9ij0irl4f79jfy5jpwiz6xqlhzb1fja19pw"))))
5508 (build-system go-build-system)
5510 `(#:import-path "github.com/twpayne/go-vfsafero"))
5512 `(("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)
5513 ("go-github-com-spf13-afero" ,go-github-com-spf13-afero)))
5514 (home-page "https://github.com/twpayne/go-vfsafero/")
5515 (synopsis "Compatibility later between @code{go-vfs} and @code{afero}")
5517 "Package @code{vfsafero} provides a compatibility later between
5518 @code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.")
5519 (license license:expat)))
5521 (define-public go-github-com-twpayne-go-xdg
5523 (name "go-github-com-twpayne-go-xdg")
5528 (url "https://github.com/twpayne/go-xdg")
5529 (commit (string-append "v" version))))
5530 (file-name (git-file-name name version))
5533 "0j8q7yzixs6jlaad0lpa8hs6b240gm2cmy0yxgnprrbpa0y2r7ln"))))
5534 (build-system go-build-system)
5536 `(#:import-path "github.com/twpayne/go-xdg/v3"))
5538 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
5539 ("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)))
5540 (home-page "https://github.com/twpayne/go-xdg/")
5541 (synopsis "Functions related to freedesktop.org")
5542 (description "Package @code{xdg} provides functions related to
5543 @uref{freedesktop.org}.")
5544 (license license:expat)))
5546 (define-public go-github-com-godbus-dbus
5548 (name "go-github-com-godbus-dbus")
5553 (url "https://github.com/godbus/dbus")
5554 (commit (string-append "v" version))))
5555 (file-name (git-file-name name version))
5558 "1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
5559 (build-system go-build-system)
5561 `(#:tests? #f ;no /var/run/dbus/system_bus_socket
5562 #:import-path "github.com/godbus/dbus"))
5564 `(("dbus" ,dbus))) ;dbus-launch
5565 (home-page "https://github.com/godbus/dbus/")
5566 (synopsis "Native Go client bindings for the D-Bus")
5567 (description "@code{dbus} is a library that implements native Go client
5568 bindings for the D-Bus message bus system.")
5569 (license license:bsd-2)))
5571 (define-public go-github-com-zalando-go-keyring
5573 (name "go-github-com-zalando-go-keyring")
5578 (url "https://github.com/zalando/go-keyring")
5579 (commit (string-append "v" version))))
5580 (file-name (git-file-name name version))
5583 "0kj54nkiyccy6m9iy9a53f6412a54xk96j88jaiq35yzdgfa4z3p"))))
5584 (build-system go-build-system)
5586 `(#:tests? #f ;XXX: Fix dbus tests
5587 #:import-path "github.com/zalando/go-keyring"))
5589 `(("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus)
5591 (home-page "https://github.com/zalando/go-keyring/")
5592 (synopsis "Library for working with system keyring")
5593 (description "@code{go-keyring} is a library for setting, getting and
5594 deleting secrets from the system keyring.")
5595 (license license:expat)))
5597 (define-public go-etcd-io-bbolt
5599 (name "go-etcd-io-bbolt")
5604 (url "https://github.com/etcd-io/bbolt")
5605 (commit (string-append "v" version))))
5606 (file-name (git-file-name name version))
5609 "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r"))))
5610 (build-system go-build-system)
5612 `(#:import-path "go.etcd.io/bbolt"))
5613 (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
5614 (synopsis "Low-level key/value store in Go")
5615 (description "This package implements a low-level key/value store in Go.")
5616 (license license:expat)))
5618 (define-public go-github-com-rogpeppe-go-internal
5620 (name "go-github-com-rogpeppe-go-internal")
5625 (url "https://github.com/rogpeppe/go-internal")
5626 (commit (string-append "v" version))))
5627 (file-name (git-file-name name version))
5630 "00j2vpp1bsggdvw1winkz23mg0q6drjiir5q0k49pmqx1sh7106l"))))
5631 (build-system go-build-system)
5633 `(#:import-path "github.com/rogpeppe/go-internal"
5634 ; Source-only package
5637 (modify-phases %standard-phases
5639 (home-page "https://github.com/rogpeppe/go-internal/")
5640 (synopsis "Internal packages from the Go standard library")
5641 (description "This repository factors out an opinionated selection of
5642 internal packages and functionality from the Go standard library. Currently
5643 this consists mostly of packages and testing code from within the Go tool
5646 Included are the following:
5648 @item dirhash: calculate hashes over directory trees the same way that the Go tool does.
5649 @item goproxytest: a GOPROXY implementation designed for test use.
5650 @item gotooltest: Use the Go tool inside test scripts (see testscript below)
5651 @item imports: list of known architectures and OSs, and support for reading import import statements.
5652 @item modfile: read and write go.mod files while preserving formatting and comments.
5653 @item module: module paths and versions.
5654 @item par: do work in parallel.
5655 @item semver: semantic version parsing.
5656 @item testenv: information on the current testing environment.
5657 @item testscript: script-based testing based on txtar files
5658 @item txtar: simple text-based file archives for testing.
5660 (license license:bsd-3)))
5662 (define-public gopkg-in-errgo-fmt-errors
5664 (name "gopkg-in-errgo-fmt-errors")
5669 (url "https://github.com/go-errgo/errgo")
5670 (commit (string-append "v" version))))
5671 (file-name (git-file-name name version))
5674 "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2"))))
5675 (build-system go-build-system)
5677 `(#:import-path "gopkg.in/errgo.v2/fmt/errors"
5679 ;; Source-only package
5681 (modify-phases %standard-phases
5683 (home-page "https://godoc.org/gopkg.in/errgo.v2")
5684 (synopsis "Functions that use the fmt package to format error messages")
5685 (description "This package is the same as @code{gopkg.in/errgo.v2/errors}
5686 except that it adds convenience functions that use the fmt package to format
5688 (license license:bsd-3)))