1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
3 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
4 ;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
5 ;;; Copyright © 2016, 2019 Ludovic Courtès <ludo@gnu.org>
6 ;;; Copyright © 2016, 2017 Petter <petter@mykolab.ch>
7 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
8 ;;; Copyright © 2017 Sergei Trofimovich <slyfox@inbox.ru>
9 ;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
10 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
11 ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
12 ;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
13 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
14 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
15 ;;; Copyright © 2018, 2019, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
16 ;;; Copyright © 2019 Giovanni Biscuolo <g@xelera.eu>
17 ;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
18 ;;; Copyright © 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
20 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
21 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.com>
22 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
23 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
25 ;;; This file is part of GNU Guix.
27 ;;; GNU Guix is free software; you can redistribute it and/or modify it
28 ;;; under the terms of the GNU General Public License as published by
29 ;;; the Free Software Foundation; either version 3 of the License, or (at
30 ;;; your option) any later version.
32 ;;; GNU Guix is distributed in the hope that it will be useful, but
33 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
34 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 ;;; GNU General Public License for more details.
37 ;;; You should have received a copy of the GNU General Public License
38 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
40 (define-module (gnu packages golang)
41 #:use-module ((guix licenses) #:prefix license:)
42 #:use-module (guix utils)
43 #:use-module (guix download)
44 #:use-module (guix git-download)
45 #:use-module (guix packages)
46 #:use-module (guix build-system gnu)
47 #:use-module (guix build-system trivial)
48 #:use-module (guix build-system go)
49 #:use-module (gnu packages)
50 #:use-module (gnu packages admin)
51 #:use-module (gnu packages gcc)
52 #:use-module (gnu packages glib)
53 #:use-module (gnu packages base)
54 #:use-module (gnu packages perl)
55 #:use-module (gnu packages pkg-config)
56 #:use-module (gnu packages pcre)
57 #:use-module (gnu packages lua)
58 #:use-module (gnu packages mp3)
59 #:use-module (gnu packages textutils)
60 #:use-module (gnu packages tls)
61 #:use-module (ice-9 match)
62 #:use-module (srfi srfi-1))
64 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
65 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
66 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
67 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
68 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
69 ;; gccgo-5. Mips is not officially supported, but it should work if it is
75 ;; The C-language bootstrap of Go:
76 ;; https://golang.org/doc/install/source#go14
77 (version "1.4-bootstrap-20171003")
80 (uri (string-append "https://storage.googleapis.com/golang/"
81 name version ".tar.gz"))
84 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
85 (build-system gnu-build-system)
90 `(#:modules ((ice-9 match)
91 (guix build gnu-build-system)
94 #:tests? #f ; Tests are run by the all.bash script.
95 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
96 (%current-target-system)))
97 '(#:system "armhf-linux")
100 (modify-phases %standard-phases
102 (add-after 'patch-generated-file-shebangs 'chdir
106 (add-before 'build 'prebuild
107 (lambda* (#:key inputs outputs #:allow-other-keys)
108 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
109 (ld (string-append (assoc-ref inputs "libc") "/lib"))
110 (loader (car (find-files ld "^ld-linux.+")))
111 (net-base (assoc-ref inputs "net-base"))
113 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
114 (output (assoc-ref outputs "out")))
116 ;; Removing net/ tests, which fail when attempting to access
117 ;; network resources not present in the build container.
118 (for-each delete-file
119 '("net/multicast_test.go" "net/parse_test.go"
122 ;; Add libgcc to the RUNPATH.
123 (substitute* "cmd/go/build.go"
124 (("cgoldflags := \\[\\]string\\{\\}")
125 (string-append "cgoldflags := []string{"
126 "\"-rpath=" gcclib "\"}"))
127 (("ldflags := buildLdflags")
129 "ldflags := buildLdflags\n"
130 "ldflags = append(ldflags, \"-r\")\n"
131 "ldflags = append(ldflags, \"" gcclib "\")\n")))
133 (substitute* "os/os_test.go"
134 (("/usr/bin") (getcwd))
135 (("/bin/pwd") (which "pwd")))
137 ;; Disable failing tests: these tests attempt to access
138 ;; commands or network resources which are neither available or
139 ;; necessary for the build to succeed.
144 ((regex all before test_name)
145 (string-append before "Disabled" test_name)))))
146 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
147 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
148 ("os/os_test.go" "(.+)(TestHostname.+)")
149 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
151 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
152 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
153 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
154 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
155 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
156 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
157 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
158 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
159 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
161 (substitute* "net/lookup_unix.go"
162 (("/etc/protocols") (string-append net-base "/etc/protocols")))
163 (substitute* "time/zoneinfo_unix.go"
164 (("/usr/share/zoneinfo/") tzdata-path))
165 (substitute* (find-files "cmd" "asm.c")
166 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
170 (lambda* (#:key inputs outputs #:allow-other-keys)
171 ;; FIXME: Some of the .a files are not bit-reproducible.
172 (let* ((output (assoc-ref outputs "out")))
173 (setenv "CC" (which "gcc"))
174 (setenv "GOOS" "linux")
175 (setenv "GOROOT" (dirname (getcwd)))
176 (setenv "GOROOT_FINAL" output)
177 (setenv "GO14TESTS" "1")
178 (invoke "sh" "all.bash"))))
181 (lambda* (#:key outputs inputs #:allow-other-keys)
182 (let* ((output (assoc-ref outputs "out"))
183 (doc_out (assoc-ref outputs "doc"))
184 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
185 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
186 (tests (string-append
187 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
189 (copy-recursively "../test" (string-append tests "/test"))
190 (delete-file-recursively "../test")
192 (copy-recursively "../api" (string-append docs "/api"))
193 (delete-file-recursively "../api")
194 (copy-recursively "../doc" (string-append docs "/doc"))
195 (delete-file-recursively "../doc")
197 (for-each (lambda (file)
198 (let ((file (string-append "../" file)))
199 (install-file file docs)
201 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
202 "LICENSE" "VERSION" "robots.txt"))
203 (copy-recursively "../" output)
208 ("gcc:lib" ,(canonical-package gcc) "lib")))
210 `(("pkg-config" ,pkg-config)
212 ("net-base" ,net-base)
215 (home-page "https://golang.org/")
216 (synopsis "Compiler and libraries for Go, a statically-typed language")
217 (description "Go, also commonly referred to as golang, is an imperative
218 programming language designed primarily for systems programming. Go is a
219 compiled, statically typed language in the tradition of C and C++, but adds
220 garbage collection, various safety features, and concurrent programming features
221 in the style of communicating sequential processes (@dfn{CSP}).")
222 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
223 (license license:bsd-3)))
225 (define-public go-1.14
234 (url "https://github.com/golang/go")
235 (commit (string-append "go" version))))
236 (file-name (git-file-name name version))
239 "0h1nmqzjc0xxpn6n2hjq7692gdqkznagzdmiq9490yzkrrii2lgk"))))
241 (substitute-keyword-arguments (package-arguments go-1.4)
243 (if (string-prefix? "aarch64-linux" (or (%current-system)
244 (%current-target-system)))
248 `(modify-phases ,phases
250 (lambda* (#:key inputs outputs #:allow-other-keys)
251 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
252 (ld (string-append (assoc-ref inputs "libc") "/lib"))
253 (loader (car (find-files ld "^ld-linux.+")))
254 (net-base (assoc-ref inputs "net-base"))
256 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
257 (output (assoc-ref outputs "out")))
259 ;; Having the patch in the 'patches' field of <origin> breaks
260 ;; the 'TestServeContent' test due to the fact that
261 ;; timestamps are reset. Thus, apply it from here.
262 (invoke "patch" "-p2" "--force" "-i"
263 (assoc-ref inputs "go-skip-gc-test.patch"))
265 ;; A side effect of these test scripts is testing
266 ;; cgo. Attempts at using cgo flags and directives with these
267 ;; scripts as specified here (https://golang.org/cmd/cgo/)
268 ;; have not worked. The tests continue to state that they can
269 ;; not find object files/headers despite being present.
272 '("cmd/go/testdata/script/mod_case_cgo.txt"
273 "cmd/go/testdata/script/list_find.txt"
274 "cmd/go/testdata/script/list_compiled_imports.txt"
275 "cmd/go/testdata/script/cgo_syso_issue29253.txt"
276 "cmd/go/testdata/script/cover_cgo.txt"
277 "cmd/go/testdata/script/cover_cgo_xtest.txt"
278 "cmd/go/testdata/script/cover_cgo_extra_test.txt"
279 "cmd/go/testdata/script/cover_cgo_extra_file.txt"))
281 (for-each make-file-writable (find-files "."))
283 (substitute* "os/os_test.go"
284 (("/usr/bin") (getcwd))
285 (("/bin/pwd") (which "pwd"))
286 (("/bin/sh") (which "sh")))
288 ;; Add libgcc to runpath
289 (substitute* "cmd/link/internal/ld/lib.go"
290 (("!rpath.set") "true"))
291 (substitute* "cmd/go/internal/work/gccgo.go"
292 (("cgoldflags := \\[\\]string\\{\\}")
293 (string-append "cgoldflags := []string{"
294 "\"-rpath=" gcclib "\""
298 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
299 (substitute* "cmd/go/internal/work/gc.go"
300 (("ldflags = setextld\\(ldflags, compiler\\)")
302 "ldflags = setextld(ldflags, compiler)\n"
303 "ldflags = append(ldflags, \"-r\")\n"
304 "ldflags = append(ldflags, \"" gcclib "\")\n")))
306 ;; Disable failing tests: these tests attempt to access
307 ;; commands or network resources which are neither available
308 ;; nor necessary for the build to succeed.
313 ((regex all before test_name)
314 (string-append before "Disabled" test_name)))))
315 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
316 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
317 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
318 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
319 ;; 127.0.0.1 doesn't exist
320 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
321 ;; 127.0.0.1 doesn't exist
322 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
323 ;; /etc/services doesn't exist
324 ("net/parse_test.go" "(.+)(TestReadLine.+)")
325 ("os/os_test.go" "(.+)(TestHostname.+)")
326 ;; The user's directory doesn't exist
327 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
328 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
329 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
330 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
331 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
332 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
333 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
334 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
335 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
336 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
337 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
338 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
339 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
340 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
341 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
342 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
343 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
344 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
345 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
346 ("syscall/exec_linux_test.go"
347 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
349 ;; These tests fail on aarch64-linux
350 (substitute* "cmd/dist/test.go"
351 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
353 ;; fix shebang for testar script
354 ;; note the target script is generated at build time.
355 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
356 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
358 (substitute* "net/lookup_unix.go"
359 (("/etc/protocols") (string-append net-base "/etc/protocols")))
360 (substitute* "net/port_unix.go"
361 (("/etc/services") (string-append net-base "/etc/services")))
362 (substitute* "time/zoneinfo_unix.go"
363 (("/usr/share/zoneinfo/") tzdata-path))
364 (substitute* (find-files "cmd" "\\.go")
365 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
367 (add-before 'build 'set-bootstrap-variables
368 (lambda* (#:key outputs inputs #:allow-other-keys)
369 ;; Tell the build system where to find the bootstrap Go.
370 (let ((go (assoc-ref inputs "go")))
371 (setenv "GOROOT_BOOTSTRAP" go)
372 (setenv "GOGC" "400")
375 (lambda* (#:key inputs outputs #:allow-other-keys)
376 ;; FIXME: Some of the .a files are not bit-reproducible.
377 (let* ((output (assoc-ref outputs "out")))
378 (setenv "CC" (which "gcc"))
379 (setenv "GOOS" "linux")
380 (setenv "GOROOT" (dirname (getcwd)))
381 (setenv "GOROOT_FINAL" output)
382 (setenv "CGO_ENABLED" "1")
383 (invoke "sh" "all.bash"))))
385 ;; TODO: Most of this could be factorized with Go 1.4.
386 (lambda* (#:key outputs #:allow-other-keys)
387 (let* ((output (assoc-ref outputs "out"))
388 (doc_out (assoc-ref outputs "doc"))
389 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
391 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
392 ;; Prevent installation of the build cache, which contains
393 ;; store references to most of the tools used to build Go and
394 ;; would unnecessarily increase the size of Go's closure if it
396 (delete-file-recursively "../pkg/obj")
399 (copy-recursively "../test" (string-append src "/test"))
400 (delete-file-recursively "../test")
402 (copy-recursively "../api" (string-append docs "/api"))
403 (delete-file-recursively "../api")
404 (copy-recursively "../doc" (string-append docs "/doc"))
405 (delete-file-recursively "../doc")
409 (let* ((filein (string-append "../" file))
410 (fileout (string-append docs "/" file)))
411 (copy-file filein fileout)
412 (delete-file filein)))
413 ;; Note the slightly different file names compared to 1.4.
414 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
415 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
417 (copy-recursively "../" output)
421 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
422 ,@(match (%current-system)
423 ((or "armhf-linux" "aarch64-linux")
424 `(("gold" ,binutils-gold)))
426 ,@(package-native-inputs go-1.4)))
427 (supported-systems %supported-systems)))
429 (define-public go go-1.14)
431 (define-public go-github-com-alsm-ioprogress
432 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
435 (name "go-github-com-alsm-ioprogress")
436 (version (git-version "0.0.0" revision commit))
440 (url "https://github.com/alsm/ioprogress")
442 (file-name (git-file-name name version))
445 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
446 (build-system go-build-system)
448 '(#:import-path "github.com/alsm/ioprogress"))
449 (synopsis "Textual progress bars in Go")
450 (description "@code{ioprogress} is a Go library with implementations of
451 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
452 case for these are for command-line applications but alternate progress bar
453 writers can be supplied for alternate environments.")
454 (home-page "https://github.com/alsm/ioprogress")
455 (license license:expat))))
457 (define-public go-github-com-aki237-nscjar
458 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
461 (name "go-github-com-aki237-nscjar")
462 (version (git-version "0.0.0" revision commit))
466 (url "https://github.com/aki237/nscjar")
468 (file-name (git-file-name name version))
471 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
472 (build-system go-build-system)
474 '(#:import-path "github.com/aki237/nscjar"))
475 (synopsis "Handle Netscape / Mozilla cookies")
476 (description "@code{nscjar} is a Go library used to parse and output
477 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
478 jar struct to manage the cookies added to the cookie jar.")
479 (home-page "https://github.com/aki237/nscjar")
480 (license license:expat))))
482 (define-public go-github.com-jessevdk-go-flags
484 (name "go-github.com-jessevdk-go-flags")
489 (url "https://github.com/jessevdk/go-flags")
490 (commit (string-append "v" version))))
491 (file-name (git-file-name name version))
494 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
495 (build-system go-build-system)
497 '(#:import-path "github.com/jessevdk/go-flags"))
498 (synopsis "Go library for parsing command line arguments")
500 "The @code{flags} package provides a command line option parser. The
501 functionality is similar to the go builtin @code{flag} package, but
502 @code{flags} provides more options and uses reflection to provide a succinct
503 way of specifying command line options.")
504 (home-page "https://github.com/jessevdk/go-flags")
505 (license license:bsd-3)))
507 (define-public go-gopkg.in-tomb.v2
508 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
511 (name "go-gopkg.in-tomb.v2")
512 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
516 (url "https://github.com/go-tomb/tomb")
518 (file-name (string-append name "-" version ".tar.gz"))
521 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
522 (build-system go-build-system)
524 '(#:import-path "gopkg.in/tomb.v2"
526 (modify-phases %standard-phases
527 (add-after 'unpack 'patch-source
529 ;; Add a missing % to fix the compilation of this test
530 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
531 (("t.Fatalf\\(`Killf\\(\"BO%s")
532 "t.Fatalf(`Killf(\"BO%%s"))
534 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
536 "The @code{tomb} package handles clean goroutine tracking and
538 (home-page "https://gopkg.in/tomb.v2")
539 (license license:bsd-3))))
541 (define-public go-github.com-jtolds-gls
543 (name "go-github.com-jtolds-gls")
548 (url "https://github.com/jtolds/gls")
549 (commit (string-append "v" version))))
550 (file-name (git-file-name name version))
553 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
554 (build-system go-build-system)
556 '(#:import-path "github.com/jtolds/gls"))
557 (synopsis "@code{gls} provides Goroutine local storage")
559 "The @code{gls} package provides a way to store a retrieve values
561 (home-page "https://github.com/jtolds/gls")
562 (license license:expat)))
564 (define-public go-github-com-saracen-walker
566 (name "go-github-com-saracen-walker")
572 (url "https://github.com/saracen/walker")
573 (commit (string-append "v" version))))
574 (file-name (git-file-name name version))
576 (base32 "1rq1lrp99lx7k1ysbfznn4c1iagnxdhb4lnnklsadnnzi3gvygqz"))))
577 (build-system go-build-system)
579 `(#:import-path "github.com/saracen/walker"))
581 `(("go-golang-org-x-sync" ,go-golang-org-x-sync)))
582 (home-page "https://github.com/saracen/walker")
583 (synopsis "Faster, parallel version of Go's filepath.Walk")
584 (license license:expat)
585 (description "The @code{walker} function is a faster, parallel version, of
586 @code{filepath.Walk}")))
588 (define-public go-github-com-tj-docopt
590 (name "go-github-com-tj-docopt")
595 (url "https://github.com/tj/docopt")
596 (commit (string-append "v" version))))
597 (file-name (git-file-name name version))
600 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
601 (build-system go-build-system)
603 '(#:import-path "github.com/tj/docopt"))
604 (synopsis "Go implementation of docopt")
606 "This library allows the user to define a command-line interface from a
607 program's help message rather than specifying it programmatically with
608 command-line parsers.")
609 (home-page "https://github.com/tj/docopt")
610 (license license:expat)))
612 (define-public go-github-com-hashicorp-hcl
613 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
616 (name "go-github-com-hashicorp-hcl")
617 (version (git-version "0.0.0" revision commit))
621 (url "https://github.com/hashicorp/hcl")
623 (file-name (git-file-name name version))
626 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
627 (build-system go-build-system)
630 #:import-path "github.com/hashicorp/hcl"))
631 (synopsis "Go implementation of HashiCorp Configuration Language")
633 "This package contains the main implementation of the @acronym{HCL,
634 HashiCorp Configuration Language}. HCL is designed to be a language for
635 expressing configuration which is easy for both humans and machines to read.")
636 (home-page "https://github.com/hashicorp/hcl")
637 (license license:mpl2.0))))
639 (define-public go-golang-org-x-tools
640 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
643 (name "go-golang-org-x-tools")
644 (version (git-version "0.1.3" revision commit))
648 (url "https://go.googlesource.com/tools")
650 (file-name (string-append "go.googlesource.com-tools-"
651 version "-checkout"))
654 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
655 (build-system go-build-system)
657 `(#:import-path "golang.org/x/tools"
658 ;; Source-only package
661 (modify-phases %standard-phases
662 ;; Source-only package
664 (synopsis "Tools that support the Go programming language")
665 (description "This package provides miscellaneous tools that support the
666 Go programming language.")
667 (home-page "https://go.googlesource.com/tools/")
668 (license license:bsd-3))))
670 (define-public go-golang-org-x-crypto
671 (let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
674 (name "go-golang-org-x-crypto")
675 (version (git-version "0.0.0" revision commit))
679 (url "https://go.googlesource.com/crypto")
681 (file-name (string-append "go.googlesource.com-crypto-"
682 version "-checkout"))
685 "1yvis6fqbsd7f356aqyi18f76vnwj3bry6mxqnkvshq4cwrf92il"))))
686 (build-system go-build-system)
688 '(#:import-path "golang.org/x/crypto"
689 ;; Source-only package
692 (modify-phases %standard-phases
693 ;; Source-only package
695 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
696 (lambda* (#:key outputs #:allow-other-keys)
698 (make-file-writable file))
700 (string-append (assoc-ref outputs "out")
701 "/src/golang.org/x/crypto/ed25519/testdata")
705 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
706 (synopsis "Supplementary cryptographic libraries in Go")
707 (description "This package provides supplementary cryptographic libraries
708 for the Go language.")
709 (home-page "https://go.googlesource.com/crypto/")
710 (license license:bsd-3))))
712 (define-public go-golang-org-x-net
713 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
716 (name "go-golang-org-x-net")
717 (version (git-version "0.0.0" revision commit))
721 (url "https://go.googlesource.com/net")
723 (file-name (git-file-name name version))
726 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
727 (build-system go-build-system)
729 `(#:import-path "golang.org/x/net"
730 ; Source-only package
733 (modify-phases %standard-phases
735 (synopsis "Go supplemental networking libraries")
736 (description "This package provides supplemental Go networking libraries.")
737 (home-page "https://go.googlesource.com/net")
738 (license license:bsd-3))))
740 (define-public go-golang-org-x-image
741 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
744 (name "go-golang-org-x-image")
745 (version (git-version "0.0.0" revision commit))
749 (url "https://go.googlesource.com/image")
751 (file-name (string-append "go.googlesource.com-image-"
752 version "-checkout"))
755 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
756 (build-system go-build-system)
758 `(#:import-path "golang.org/x/image"
759 ; Source-only package
762 (modify-phases %standard-phases
764 (home-page "https://go.googlesource.com/image")
765 (synopsis "Supplemental Go image libraries")
766 (description "This package provides supplemental Go libraries for image
768 (license license:bsd-3))))
770 (define-public go-golang-org-x-sync
771 (let ((commit "6e8e738ad208923de99951fe0b48239bfd864f28")
774 (name "go-golang-org-x-sync")
775 (version (git-version "0.0.0" revision commit))
779 (url "https://go.googlesource.com/sync")
781 (file-name (git-file-name name version))
784 "1avk27pszd5l5df6ff7j78wgla46ir1hhy2jwfl9a3c0ys602yx9"))))
785 (build-system go-build-system)
787 `(#:import-path "golang.org/x/sync"
789 ;; Source-only package
791 (modify-phases %standard-phases
793 (synopsis "Additional Go concurrency primitives")
794 (description "This package provides Go concurrency primitives in addition
795 to the ones provided by the language and “sync” and “sync/atomic”
797 (home-page "https://go.googlesource.com/sync/")
798 (license license:bsd-3))))
800 (define-public go-golang-org-x-sys
801 (let ((commit "05986578812163b26672dabd9b425240ae2bb0ad")
804 (name "go-golang-org-x-sys")
805 (version (git-version "0.0.0" revision commit))
809 (url "https://go.googlesource.com/sys")
811 (file-name (git-file-name name version))
814 "1q2rxb6z5l6pmlckjsz2l0b8lw7bqgk6frhzbmi1dv0y5irb2ka7"))))
815 (build-system go-build-system)
817 `(#:import-path "golang.org/x/sys"
818 ;; Source-only package
821 (modify-phases %standard-phases
823 (synopsis "Go support for low-level system interaction")
824 (description "This package provides supplemental libraries offering Go
825 support for low-level interaction with the operating system.")
826 (home-page "https://go.googlesource.com/sys")
827 (license license:bsd-3))))
829 (define-public go-golang-org-x-text
831 (name "go-golang-org-x-text")
836 (url "https://go.googlesource.com/text")
837 (commit (string-append "v" version))))
838 (file-name (string-append "go.googlesource.com-text-"
839 version "-checkout"))
842 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
843 (build-system go-build-system)
845 `(#:import-path "golang.org/x/text"
846 ; Source-only package
849 (modify-phases %standard-phases
851 (synopsis "Supplemental Go text processing libraries")
852 (description "This package provides supplemental Go libraries for text
854 (home-page "https://go.googlesource.com/text")
855 (license license:bsd-3)))
857 (define-public go-golang-org-x-time
858 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
861 (name "go-golang-org-x-time")
862 (version (git-version "0.0.0" revision commit))
866 (url "https://go.googlesource.com/time")
868 (file-name (git-file-name name version))
871 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
872 (build-system go-build-system)
874 `(#:import-path "golang.org/x/time"
875 ; Source-only package
878 (modify-phases %standard-phases
881 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
882 (synopsis "Supplemental Go time libraries")
883 (description "This package provides supplemental Go libraries related to
885 (home-page "https://godoc.org/golang.org/x/time/rate")
886 (license license:bsd-3))))
888 (define-public go-golang-org-x-oauth2
889 (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
892 (name "go-golang-org-x-oauth2")
893 (version (git-version "0.0.0" revision commit))
897 (url "https://go.googlesource.com/oauth2")
899 (file-name (string-append "go.googlesource.com-oauth2-"
900 version "-checkout"))
903 "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
904 (build-system go-build-system)
906 `(#:import-path "golang.org/x/oauth2"))
908 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
909 (home-page "https://go.googlesource.com/oauth2")
910 (synopsis "Client implementation of the OAuth 2.0 spec")
911 (description "This package contains a client implementation for OAuth 2.0
913 (license license:bsd-3))))
915 (define-public go-golang-org-x-xerrors
916 (let ((commit "5ec99f83aff198f5fbd629d6c8d8eb38a04218ca")
919 (name "go-golang-org-x-xerrors")
920 (version (git-version "0.0.0" revision commit))
924 (url "https://go.googlesource.com/xerrors")
926 (file-name (git-file-name name version))
929 "1dbzc3gmf2haazpv7cgmv97rq40g2xzwbglc17vas8dwhgwgwrzb"))))
930 (build-system go-build-system)
932 '(#:import-path "golang.org/x/xerrors"))
933 (synopsis "Go 1.13 error values")
935 "This package holds the transition packages for the new Go 1.13 error values.")
936 (home-page "https://godoc.org/golang.org/x/xerrors")
937 (license license:bsd-3))))
939 (define-public go-github-com-burntsushi-toml
941 (name "go-github-com-burntsushi-toml")
947 (url "https://github.com/BurntSushi/toml")
948 (commit (string-append "v" version))))
949 (file-name (git-file-name name version))
952 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
953 (build-system go-build-system)
955 '(#:import-path "github.com/BurntSushi/toml"))
956 (home-page "https://github.com/BurntSushi/toml")
957 (synopsis "Toml parser and encoder for Go")
958 (description "This package is toml parser and encoder for Go. The interface
959 is similar to Go's standard library @code{json} and @code{xml} package.")
960 (license license:expat)))
962 (define-public go-github-com-getsentry-raven-go
963 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
966 (name "go-github-com-getsentry-raven-go")
967 (version (git-version "0.2.0" revision commit))
972 (url "https://github.com/getsentry/raven-go")
974 (file-name (git-file-name name version))
977 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
978 (build-system go-build-system)
980 '(#:import-path "github.com/getsentry/raven-go"))
982 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
983 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
984 (home-page "https://github.com/getsentry/raven-go")
985 (synopsis "Sentry client in Go")
986 (description "This package is a Go client API for the Sentry event/error
988 (license license:bsd-3))))
990 (define-public go-github-com-hashicorp-go-version
992 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
995 (name "go-github-com-hashicorp-go-version")
996 (version (git-version "0.0.0" revision commit))
1001 (url "https://github.com/hashicorp/go-version")
1003 (file-name (git-file-name name version))
1006 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
1007 (build-system go-build-system)
1009 '(#:import-path "github.com/hashicorp/go-version"))
1011 "https://github.com/hashicorp/go-version")
1012 (synopsis "Go library for parsing and verifying versions and version
1014 (description "This package is a library for parsing versions and version
1015 constraints, and verifying versions against a set of constraints. It can sort
1016 a collection of versions properly, handles prerelease/beta versions, can
1017 increment versions.")
1018 (license license:mpl2.0))))
1020 (define-public go-github-com-jpillora-backoff
1022 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
1025 (name "go-github-com-jpillora-backoff")
1026 (version (git-version "0.0.0" revision commit))
1031 (url "https://github.com/jpillora/backoff")
1033 (file-name (git-file-name name version))
1036 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
1037 (build-system go-build-system)
1039 '(#:import-path "github.com/jpillora/backoff"))
1040 (home-page "https://github.com/jpillora/backoff")
1041 (synopsis "Simple exponential backoff counter in Go")
1042 (description "This package is a simple exponential backoff counter in
1044 (license license:expat))))
1046 (define-public go-github-com-stretchr-objx
1048 (name "go-github-com-stretchr-objx")
1054 (url "https://github.com/stretchr/objx")
1055 (commit (string-append "v" version))))
1056 (file-name (git-file-name name version))
1059 "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
1060 (build-system go-build-system)
1062 '(#:import-path "github.com/stretchr/objx"))
1063 (home-page "https://github.com/stretchr/objx")
1064 (synopsis "Go package for dealing with maps, slices, JSON and other data")
1065 (description "This package provides a Go library for dealing with maps,
1066 slices, JSON and other data.")
1067 (license license:expat)))
1069 (define-public go-github-com-stretchr-testify
1071 (name "go-github-com-stretchr-testify")
1077 (url "https://github.com/stretchr/testify")
1078 (commit (string-append "v" version))))
1079 (file-name (git-file-name name version))
1082 "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
1083 (build-system go-build-system)
1085 '(#:import-path "github.com/stretchr/testify"))
1087 `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1088 ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
1089 ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
1090 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1091 (home-page "https://github.com/stretchr/testify")
1092 (synopsis "Go helper library for tests and invariant checking")
1093 (description "This package provide many tools for testifying that your
1094 code will behave as you intend.
1098 @item Easy assertions
1100 @item HTTP response trapping
1101 @item Testing suite interfaces and functions.
1103 (license license:expat)))
1105 (define-public go-github-com-tevino-abool
1107 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
1110 (name "go-github-com-tevino-abool")
1111 (version (git-version "0.0.0" revision commit))
1116 (url "https://github.com/tevino/abool")
1118 (file-name (git-file-name name version))
1121 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
1122 (build-system go-build-system)
1124 '(#:import-path "github.com/tevino/abool"))
1125 (home-page "https://github.com/tevino/abool")
1126 (synopsis "Atomic boolean library for Go code")
1127 (description "This package is atomic boolean library for Go code,
1128 optimized for performance yet simple to use.")
1129 (license license:expat))))
1131 (define-public go-github-com-tv42-httpunix
1132 (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
1135 (name "go-github-com-tv42-httpunix")
1136 (version (git-version "0.0.0" revision commit))
1141 (url "https://github.com/tv42/httpunix.git")
1143 (file-name (git-file-name name version))
1145 (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
1146 (build-system go-build-system)
1148 '(#:import-path "github.com/tv42/httpunix"))
1149 (home-page "https://github.com/tv42/httpunix")
1150 (synopsis "Go library to talk HTTP over Unix domain sockets")
1151 (description "This package is a Go library to talk HTTP over Unix domain
1153 (license license:expat))))
1155 (define-public go-github-com-blang-semver
1156 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
1159 (name "go-github-com-blang-semver")
1160 (version (git-version "0.0.0" revision commit))
1165 (url "https://github.com/blang/semver")
1167 (file-name (git-file-name name version))
1170 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
1171 (build-system go-build-system)
1173 '(#:import-path "github.com/blang/semver"))
1174 (home-page "https://github.com/blang/semver")
1175 (synopsis "Semantic versioning library written in Go")
1176 (description "Semver is a library for Semantic versioning written in Go.")
1177 (license license:expat))))
1179 (define-public go-github-com-emicklei-go-restful
1180 (let ((commit "89ef8af493ab468a45a42bb0d89a06fccdd2fb22")
1183 (name "go-github-com-emicklei-go-restful")
1184 (version (git-version "0.0.0" revision commit))
1189 (url "https://github.com/emicklei/go-restful")
1191 (file-name (git-file-name name version))
1194 "0rrlfcfq80fkxifpih6bq31vavb5mf4530xz51pp9pq1mn2fzjfh"))))
1195 (build-system go-build-system)
1197 '(#:import-path "github.com/emicklei/go-restful"))
1198 (home-page "https://github.com/emicklei/go-restful")
1199 (synopsis "Build REST-style web services using Go")
1200 (description "This package provides @code{go-restful}, which helps
1201 developers to use @code{http} methods explicitly and in a way that's consistent
1202 with the HTTP protocol definition.")
1203 (license license:expat))))
1205 (define-public go-github-com-google-cadvisor
1206 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
1209 (name "go-github-com-google-cadvisor")
1210 (version (git-version "0.0.0" revision commit))
1215 (url "https://github.com/google/cadvisor")
1217 (file-name (git-file-name name version))
1220 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
1221 (build-system go-build-system)
1223 '(#:import-path "github.com/google/cadvisor"))
1224 (home-page "https://github.com/google/cadvisor")
1225 (synopsis "Analyze resource usage of running containers")
1226 (description "The package provides @code{cadvisor}, which provides
1227 information about the resource usage and performance characteristics of running
1229 (license license:asl2.0))))
1231 (define-public go-github-com-google-gofuzz
1232 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
1235 (name "go-github-com-google-gofuzz")
1236 (version (git-version "0.0.0" revision commit))
1241 (url "https://github.com/google/gofuzz")
1243 (file-name (git-file-name name version))
1246 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
1247 (build-system go-build-system)
1249 '(#:import-path "github.com/google/gofuzz"))
1250 (home-page "https://github.com/google/gofuzz")
1251 (synopsis "Fuzz testing library for Go")
1252 (description "Gofuzz is a library for populationg Go objects with random
1253 values for the purpose of fuzz testing.")
1254 (license license:asl2.0))))
1256 (define-public go-github-com-gorilla-css
1258 (name "go-github-com-gorilla-css")
1263 (url "https://github.com/gorilla/css")
1264 (commit (string-append "v" version))))
1265 (file-name (git-file-name name version))
1268 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
1269 (build-system go-build-system)
1271 `(#:import-path "github.com/gorilla/css/scanner"
1272 #:unpack-path "github.com/gorilla/css"))
1273 (home-page "https://github.com/gorilla/css/")
1274 (synopsis "CSS3 tokenizer")
1275 (description "This package provides a CSS3 tokenizer.")
1276 (license license:bsd-3)))
1278 (define-public go-github-com-gorilla-context
1279 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
1282 (name "go-github-com-gorilla-context")
1283 (version (git-version "0.0.0" revision commit))
1288 (url "https://github.com/gorilla/context")
1290 (file-name (git-file-name name version))
1293 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
1294 (build-system go-build-system)
1296 '(#:import-path "github.com/gorilla/context"))
1297 (home-page "https://github.com/gorilla/context")
1298 (synopsis "Go registry for request variables")
1299 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
1300 (license license:bsd-3))))
1302 (define-public go-github-com-gorilla-mux
1303 (let ((commit "599cba5e7b6137d46ddf58fb1765f5d928e69604")
1306 (name "go-github-com-gorilla-mux")
1307 (version (git-version "0.0.0" revision commit))
1312 (url "https://github.com/gorilla/mux")
1314 (file-name (git-file-name name version))
1317 "0wd6jjii1kg5s0nk3ri6gqriz6hbd6bbcn6x4jf8n7ncrb8qsxyz"))))
1318 (build-system go-build-system)
1320 '(#:import-path "github.com/gorilla/mux"))
1321 (home-page "https://github.com/gorilla/mux")
1322 (synopsis "URL router and dispatcher for Go")
1324 "Gorilla/Mux implements a request router and dispatcher for matching
1325 incoming requests with their respective handler.")
1326 (license license:bsd-3))))
1328 (define-public go-github-com-jonboulle-clockwork
1329 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
1332 (name "go-github-com-jonboulle-clockwork")
1333 (version (git-version "0.0.0" revision commit))
1338 (url "https://github.com/jonboulle/clockwork")
1340 (file-name (git-file-name name version))
1343 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
1344 (build-system go-build-system)
1346 '(#:import-path "github.com/jonboulle/clockwork"))
1347 (home-page "https://github.com/jonboulle/clockwork")
1348 (synopsis "Fake clock library for Go")
1350 "Replace uses of the @code{time} package with the
1351 @code{clockwork.Clock} interface instead.")
1352 (license license:asl2.0))))
1354 (define-public go-github-com-spf13-afero
1356 (name "go-github-com-spf13-afero")
1362 (url "https://github.com/spf13/afero")
1363 (commit (string-append "v" version))))
1364 (file-name (git-file-name name version))
1367 "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"))))
1368 (build-system go-build-system)
1370 `(#:import-path "github.com/spf13/afero"))
1372 `(("golang.org/x/text" ,go-golang-org-x-text)))
1373 (home-page "https://github.com/spf13/afero")
1374 (synopsis "File system abstraction for Go")
1376 "This package provides a file system abstraction for Go.")
1377 (license license:asl2.0)))
1379 (define-public go-github-com-spf13-cast
1381 (name "go-github-com-spf13-cast")
1387 (url "https://github.com/spf13/cast")
1388 (commit (string-append "v" version))))
1389 (file-name (git-file-name name version))
1392 "0lb84788glr0qzrq2ifi36rgvp96qrgywvxrr3ggq5hrbr38hgn1"))))
1393 (build-system go-build-system)
1395 `(#:import-path "github.com/spf13/cast"))
1397 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1398 (home-page "https://github.com/spf13/cast")
1399 (synopsis "Safe and easy casting from one type to another in Go")
1400 (description "Safe and easy casting from one type to another in Go")
1401 (license license:expat)))
1403 (define-public go-github-com-spf13-cobra
1405 (name "go-github-com-spf13-cobra")
1411 (url "https://github.com/spf13/cobra")
1412 (commit (string-append "v" version))))
1413 (file-name (git-file-name name version))
1416 "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h"))))
1417 (build-system go-build-system)
1419 `(#:import-path "github.com/spf13/cobra"))
1421 `(("github.com/spf13/pflag" ,go-github-com-spf13-pflag)))
1422 (home-page "https://github.com/spf13/cobra")
1423 (synopsis "Go library for creating CLI applications")
1424 (description "Cobra is both a library for creating powerful modern CLI
1425 applications as well as a program to generate applications and command files.")
1426 (license license:asl2.0)))
1428 (define-public go-github-com-spf13-jwalterweatherman
1430 (name "go-github-com-spf13-jwalterweatherman")
1436 (url "https://github.com/spf13/jwalterweatherman")
1437 (commit (string-append "v" version))))
1438 (file-name (git-file-name name version))
1441 "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"))))
1442 (build-system go-build-system)
1444 `(#:import-path "github.com/spf13/jwalterweatherman"))
1446 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1447 (home-page "https://github.com/spf13/jwalterweatherman")
1448 (synopsis "Go logging library")
1449 (description "Go logging library")
1450 (license license:expat)))
1452 (define-public go-github-com-spf13-pflag
1454 (name "go-github-com-spf13-pflag")
1460 (url "https://github.com/spf13/pflag")
1461 (commit (string-append "v" version))))
1462 (file-name (git-file-name name version))
1465 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
1466 (build-system go-build-system)
1468 '(#:import-path "github.com/spf13/pflag"))
1469 (home-page "https://github.com/spf13/pflag")
1470 (synopsis "Replacement for Go's @code{flag} package")
1472 "Pflag is library to replace Go's @code{flag} package. It implements
1473 POSIX/GNU-style command-line options with double hyphens. It is is compatible
1475 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
1476 GNU extensions} to the POSIX recommendations for command-line options.")
1477 (license license:bsd-3)))
1479 (define-public go-github-com-spf13-viper
1481 (name "go-github-com-spf13-viper")
1487 (url "https://github.com/spf13/viper")
1488 (commit (string-append "v" version))))
1489 (file-name (git-file-name name version))
1492 "099n2g7fg6r8hqyszqw2axr775qyhyvwhsykvgw0f0s16ql48h5c"))))
1493 (build-system go-build-system)
1495 '(#:import-path "github.com/spf13/viper"))
1497 `(("github.com/spf13/afero" ,go-github-com-spf13-afero)
1498 ("github.com/spf13/cast" ,go-github-com-spf13-cast)
1499 ("github.com/spf13/pflag" ,go-github-com-spf13-pflag)
1500 ("github.com/spf13/jwalterweatherman" ,go-github-com-spf13-jwalterweatherman)
1501 ("github.com/fsnotify/fsnotify" ,go-github-com-fsnotify-fsnotify)
1502 ("github.com/hashicorp/hcl" ,go-github-com-hashicorp-hcl)
1503 ("github.com/magiconair/properties" ,go-github-com-magiconair-properties)
1504 ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)
1505 ("github.com/pelletier/go-toml" ,go-github-com-pelletier-go-toml)
1506 ("github.com/subosito/gotenv" ,go-github-com-subosito-gotenv)
1508 ("gopkg.in/ini.v1" ,go-gopkg-in-ini-v1)
1509 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1511 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1512 (home-page "https://github.com/spf13/viper")
1513 (synopsis "Go configuration with fangs")
1515 "Viper is a complete configuration solution for Go applications including
1516 12-Factor apps. It is designed to work within an application, and can handle
1517 all types of configuration needs and formats.")
1518 (license license:expat)))
1520 (define-public go-github-com-fsnotify-fsnotify
1522 (name "go-github-com-fsnotify-fsnotify")
1528 (url "https://github.com/fsnotify/fsnotify")
1529 (commit (string-append "v" version))))
1530 (file-name (git-file-name name version))
1533 "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x"))))
1534 (build-system go-build-system)
1536 `(#:import-path "github.com/fsnotify/fsnotify"))
1538 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1539 (home-page "https://github.com/fsnotify/fsnotify")
1540 (synopsis "File system notifications for Go")
1541 (description "File system notifications for Go")
1542 (license license:bsd-3)))
1544 (define-public go-github-com-magiconair-properties
1546 (name "go-github-com-magiconair-properties")
1552 (url "https://github.com/magiconair/properties")
1553 (commit (string-append "v" version))))
1554 (file-name (git-file-name name version))
1557 "19zqw1x0w0crh8zc84yy82nkcc5yjz72gviaf2xjgfm5a8np7nyb"))))
1558 (build-system go-build-system)
1560 `(#:import-path "github.com/magiconair/properties"))
1561 (home-page "https://github.com/magiconair/properties")
1562 (synopsis "Java properties scanner for Go")
1563 (description "Java properties scanner for Go")
1564 (license license:bsd-2)))
1566 (define-public go-github-com-pelletier-go-toml
1568 (name "go-github-com-pelletier-go-toml")
1574 (url "https://github.com/pelletier/go-toml")
1575 (commit (string-append "v" version))))
1576 (file-name (git-file-name name version))
1579 "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y"))))
1580 (build-system go-build-system)
1582 `(#:import-path "github.com/pelletier/go-toml"))
1584 `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml)
1585 ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1586 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1587 (home-page "https://github.com/pelletier/go-toml")
1588 (synopsis "Go library for the TOML configuration language")
1589 (description "Go library for the TOML configuration language")
1590 (license license:expat)))
1592 (define-public go-github-com-subosito-gotenv
1594 (name "go-github-com-subosito-gotenv")
1600 (url "https://github.com/subosito/gotenv")
1601 (commit (string-append "v" version))))
1602 (file-name (git-file-name name version))
1605 "0mav91j7r4arjkpq5zcf9j74f6pww8ic53x43wy7kg3ibw31yjs5"))))
1606 (build-system go-build-system)
1608 `(#:import-path "github.com/subosito/gotenv"))
1610 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1611 (home-page "https://github.com/subosito/gotenv")
1612 (synopsis "Go library for loading environment variables from files")
1613 (description "Go library for loading environment variables from files")
1614 (license license:expat)))
1616 (define-public go-github-com-sirupsen-logrus
1618 (name "go-github-com-sirupsen-logrus")
1624 (url "https://github.com/sirupsen/logrus")
1625 (commit (string-append "v" version))))
1626 (file-name (git-file-name name version))
1629 "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz"))))
1630 (build-system go-build-system)
1632 `(("go-golang-org-x-crypto"
1633 ,go-golang-org-x-crypto)
1634 ("go-github-com-stretchr-testify"
1635 ,go-github-com-stretchr-testify)
1636 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1638 '(#:tests? #f ;FIXME missing dependencies
1639 #:import-path "github.com/sirupsen/logrus"))
1640 (home-page "https://github.com/sirupsen/logrus")
1641 (synopsis "Structured, pluggable logging for Go")
1642 (description "Logrus is a structured logger for Go, completely API
1643 compatible with the standard library logger.")
1644 (license license:expat)))
1646 (define-public go-github-com-rifflock-lfshook
1648 (name "go-github-com-rifflock-lfshook")
1653 (url "https://github.com/rifflock/lfshook")
1654 (commit (string-append "v" version))))
1655 (file-name (git-file-name name version))
1658 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
1659 (build-system go-build-system)
1661 `(#:import-path "github.com/rifflock/lfshook"))
1663 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
1664 (home-page "https://github.com/rifflock/lfshook")
1665 (synopsis "Local File System hook for Logrus logger")
1666 (description "This package provides a hook for Logrus to write directly to
1667 a file on the file system. The log levels are dynamic at instantiation of the
1668 hook, so it is capable of logging at some or all levels.")
1669 (license license:expat)))
1671 (define-public go-github-com-kardianos-osext
1672 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
1675 (name "go-github-com-kardianos-osext")
1676 (version (git-version "0.0.0" revision commit))
1680 (url "https://github.com/kardianos/osext")
1682 (file-name (git-file-name name version))
1685 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
1686 (build-system go-build-system)
1688 `(#:import-path "github.com/kardianos/osext"
1689 ;; The tests are flaky:
1690 ;; <https://github.com/kardianos/osext/issues/21>
1692 (synopsis "Find the running executable")
1693 (description "Osext provides a method for finding the current executable
1694 file that is running. This can be used for upgrading the current executable or
1695 finding resources located relative to the executable file.")
1696 (home-page "https://github.com/kardianos/osext")
1697 (license license:bsd-3))))
1699 (define-public go-github-com-ayufan-golang-kardianos-service
1700 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
1703 (name "go-github-com-ayufan-golang-kardianos-service")
1704 (version (git-version "0.0.0" revision commit))
1710 "https://github.com/ayufan/golang-kardianos-service.git")
1712 (file-name (git-file-name name version))
1715 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
1716 (build-system go-build-system)
1718 `(("go-github-com-kardianos-osext"
1719 ,go-github-com-kardianos-osext)))
1721 '(#:tests? #f ;FIXME tests fail: Service is not running.
1722 #:import-path "github.com/ayufan/golang-kardianos-service"))
1723 (home-page "https://github.com/ayufan/golang-kardianos-service")
1724 (synopsis "Go interface to a variety of service supervisors")
1725 (description "This package provides @code{service}, a Go module that can
1726 run programs as a service using a variety of supervisors, including systemd,
1727 SysVinit, and more.")
1728 (license license:zlib))))
1730 (define-public go-github-com-docker-distribution
1731 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
1734 (name "go-github-com-docker-distribution")
1735 (version (git-version "0.0.0" revision commit))
1737 ;; FIXME: This bundles many things, see
1738 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
1742 (url "https://github.com/docker/distribution")
1744 (file-name (git-file-name name version))
1747 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
1748 (build-system go-build-system)
1750 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
1751 ("go-github-com-sirupsen-logrus"
1752 ,go-github-com-sirupsen-logrus)
1753 ("go-golang-org-x-crypto"
1754 ,go-golang-org-x-crypto)))
1756 '(#:import-path "github.com/docker/distribution"
1758 (modify-phases %standard-phases
1759 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1760 (lambda* (#:key outputs #:allow-other-keys)
1762 (make-file-writable file))
1764 (assoc-ref outputs "out")
1768 "https://github.com/docker/distribution")
1769 (synopsis "This package is a Docker toolset to pack, ship, store, and
1771 (description "Docker Distribution is a Docker toolset to pack, ship,
1772 store, and deliver content. It contains Docker Registry 2.0 and libraries
1773 to interact with distribution components.")
1774 (license license:asl2.0))))
1776 (define-public go-github-com-docker-go-connections
1777 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
1780 (name "go-github-com-docker-go-connections")
1781 (version (git-version "0.0.0" revision commit))
1786 (url "https://github.com/docker/go-connections")
1788 (file-name (git-file-name name version))
1791 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
1792 (build-system go-build-system)
1794 '(#:import-path "github.com/docker/go-connections"))
1795 (home-page "https://github.com/docker/go-connections")
1796 (synopsis "Networking library for Go")
1798 "This package provides a library to work with network connections in
1799 the Go language. In particular it provides tools to deal with network address
1800 translation (NAT), proxies, sockets, and transport layer security (TLS).")
1801 (license license:asl2.0))))
1803 (define-public go-github-com-docker-machine
1804 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
1807 (name "go-github-com-docker-machine")
1808 (version (git-version "0.0.0" revision commit))
1813 (url "https://github.com/docker/machine")
1815 (file-name (git-file-name name version))
1818 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
1819 (build-system go-build-system)
1821 '(#:import-path "github.com/docker/machine"))
1822 (home-page "https://github.com/docker/machine")
1823 (synopsis "Machine management for a container-centric world")
1825 "@dfn{Machine} lets you create Docker hosts on your computer, on
1826 hosting providers, and inside your data center. It creates servers, installs
1827 Docker on them, then configures the Docker client to talk to them.")
1828 (license license:asl2.0))))
1830 (define-public go-github-com-gorhill-cronexpr
1831 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
1834 (name "go-github-com-gorhill-cronexpr")
1835 (version (git-version "0.0.0" revision commit))
1840 (url "https://github.com/gorhill/cronexpr")
1842 (file-name (git-file-name name version))
1845 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
1846 (build-system go-build-system)
1848 '(#:import-path "github.com/gorhill/cronexpr"))
1849 (home-page "https://github.com/gorhill/cronexpr")
1850 (synopsis "Cron expression parser in the Go language")
1852 "This package provides a cron expression parser in the Go language.
1853 Given a cron expression and a time stamp, you can get the next time stamp
1854 which satisfies the cron expression.")
1855 (license (list license:gpl3+
1858 (define-public go-gopkg-in-check-v1
1859 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
1862 (name "go-gopkg-in-check-v1")
1863 (version (git-version "1.0.0" revision commit))
1868 (url "https://github.com/go-check/check")
1870 (file-name (git-file-name name version))
1873 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
1874 (build-system go-build-system)
1876 '(#:import-path "gopkg.in/check.v1"))
1878 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
1879 (home-page "https://gopkg.in/check.v1")
1880 (synopsis "Test framework for the Go language")
1881 (description "This package provides a test library for the Go language.")
1882 (license license:asl2.0))))
1884 (define-public go-gopkg-in-ini-v1
1886 (name "go-gopkg-in-ini-v1")
1892 (url "https://github.com/go-ini/ini")
1893 (commit (string-append "v" version))))
1894 (file-name (git-file-name name version))
1897 "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5"))))
1898 (build-system go-build-system)
1900 '(#:import-path "gopkg.in/ini.v1"
1901 ;; Requires large unpackaged test framework
1903 (home-page "https://gopkg.in/ini.v1")
1904 (synopsis "Go library for ini files")
1905 (description "Go library for ini files")
1906 (license license:asl2.0)))
1908 (define-public go-gopkg-in-yaml-v2
1910 (name "go-gopkg-in-yaml-v2")
1916 (url "https://gopkg.in/yaml.v2.git")
1917 (commit (string-append "v" version))))
1918 (file-name (git-file-name name version))
1921 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
1922 (build-system go-build-system)
1924 '(#:import-path "gopkg.in/yaml.v2"))
1926 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
1927 (home-page "https://gopkg.in/yaml.v2")
1928 (synopsis "YAML reader and writer for the Go language")
1930 "This package provides a Go library for encode and decode YAML
1932 (license license:asl2.0)))
1934 (define-public go-github-com-mattn-go-isatty
1936 (name "go-github-com-mattn-go-isatty")
1942 (url "https://github.com/mattn/go-isatty")
1943 (commit (string-append "v" version))))
1944 (file-name (git-file-name name version))
1947 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
1948 (build-system go-build-system)
1950 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1952 '(#:import-path "github.com/mattn/go-isatty"))
1953 (home-page "https://github.com/mattn/go-isatty")
1954 (synopsis "Provide @code{isatty} for Golang")
1955 (description "This package provides @code{isatty}, a Go module that can
1956 tell you whether a file descriptor points to a terminal and the type of the
1958 (license license:expat)))
1960 (define-public go-github-com-mattn-go-colorable
1961 (let ((commit "efa589957cd060542a26d2dd7832fd6a6c6c3ade")
1964 (name "go-github-com-mattn-go-colorable")
1965 (version (git-version "0.0.0" revision commit))
1970 (url "https://github.com/mattn/go-colorable")
1972 (file-name (git-file-name name version))
1975 "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r"))))
1976 (build-system go-build-system)
1978 `(("go-github-com-mattn-go-isatty"
1979 ,go-github-com-mattn-go-isatty)))
1981 '(#:import-path "github.com/mattn/go-colorable"))
1982 (home-page "https://github.com/mattn/go-colorable")
1983 (synopsis "Handle ANSI color escapes on Windows")
1984 (description "This package provides @code{colorable}, a module that
1985 makes it possible to handle ANSI color escapes on Windows.")
1986 (license license:expat))))
1988 (define-public go-github-com-mattn-go-pointer
1989 (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
1992 (name "go-github-com-mattn-go-pointer")
1993 (version (git-version "0.0.0" revision commit))
1998 (url "https://github.com/mattn/go-pointer")
2002 "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
2003 (file-name (git-file-name name version))))
2004 (build-system go-build-system)
2006 '(#:import-path "github.com/mattn/go-pointer"))
2007 (home-page "https://github.com/mattn/go-pointer")
2008 (synopsis "Utility for cgo")
2010 "This package allows for a cgo argument to be passed a Go pointer.")
2011 (license license:expat))))
2013 (define-public go-github-com-mgutz-ansi
2014 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
2017 (name "go-github-com-mgutz-ansi")
2018 (version (git-version "0.0.0" revision commit))
2024 "https://github.com/mgutz/ansi")
2026 (file-name (git-file-name name version))
2029 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
2030 (build-system go-build-system)
2032 `(("go-github-com-mattn-go-isatty"
2033 ,go-github-com-mattn-go-isatty)
2034 ("go-github-com-mattn-go-colorable"
2035 ,go-github-com-mattn-go-colorable)))
2037 '(#:import-path "github.com/mgutz/ansi"))
2038 (home-page "https://github.com/mgutz/ansi")
2039 (synopsis "Small, fast library to create ANSI colored strings and codes")
2040 (description "This package provides @code{ansi}, a Go module that can
2041 generate ANSI colored strings.")
2042 (license license:expat))))
2044 (define-public go-github-com-aarzilli-golua
2045 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
2048 (name "go-github-com-aarzilli-golua")
2049 (version (git-version "0.0.0" revision commit))
2055 "https://github.com/aarzilli/golua")
2057 (file-name (git-file-name name version))
2060 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
2061 (build-system go-build-system)
2062 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2063 ;; when this package required as input for another one, it will have to
2064 ;; be built again. Thus its CGO requirements must be made available in
2065 ;; the environment, that is, they must be propagated.
2069 `(#:unpack-path "github.com/aarzilli/golua"
2070 #:import-path "github.com/aarzilli/golua/lua"
2072 (modify-phases %standard-phases
2073 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
2074 ;; command line argument, go-1.10+ does not re-use the produced pkg
2075 ;; for dependencies, which means we would need to propagate the
2076 ;; same "-tags" argument to all golua referrers. A substitution is
2077 ;; more convenient here. We also need to propagate the lua
2078 ;; dependency to make it available to referrers.
2079 (add-after 'unpack 'fix-lua-ldflags
2081 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
2082 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
2083 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
2084 (home-page "https://github.com/aarzilli/golua")
2085 (synopsis "Go Bindings for the Lua C API")
2086 (description "This package provides @code{lua}, a Go module that can
2087 run a Lua virtual machine.")
2088 (license license:expat))))
2090 (define-public go-gitlab-com-ambrevar-golua-unicode
2091 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
2094 (name "go-gitlab-com-ambrevar-golua-unicode")
2095 (version (git-version "0.0.0" revision commit))
2101 "https://gitlab.com/ambrevar/golua")
2103 (file-name (git-file-name name version))
2106 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
2107 (build-system go-build-system)
2110 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2112 `(#:unpack-path "gitlab.com/ambrevar/golua"
2113 #:import-path "gitlab.com/ambrevar/golua/unicode"
2115 (modify-phases %standard-phases
2117 (lambda* (#:key import-path #:allow-other-keys)
2118 (setenv "USER" "homeless-dude")
2119 (invoke "go" "test" import-path))))))
2120 (home-page "https://gitlab.com/ambrevar/golua")
2121 (synopsis "Add Unicode support to Golua")
2122 (description "This extension to Arzilli's Golua adds Unicode support to
2123 all functions from the Lua string library. Lua patterns are replaced by Go
2124 regexps. This breaks compatibility with Lua, but Unicode support breaks it
2125 anyways and Go regexps are more powerful.")
2126 (license license:expat))))
2128 (define-public go-github-com-yookoala-realpath
2129 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
2132 (name "go-github-com-yookoala-realpath")
2133 (version (git-version "0.0.0" revision commit))
2139 "https://github.com/yookoala/realpath")
2141 (file-name (git-file-name name version))
2144 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
2145 (build-system go-build-system)
2147 `(#:import-path "github.com/yookoala/realpath"))
2148 (home-page "https://github.com/yookoala/realpath")
2149 (synopsis "@code{realpath} for Golang")
2150 (description "This package provides @code{realpath}, a Go module that
2151 when provided with a valid relative path / alias path, it will return you with
2152 a string of its real absolute path in the system.")
2153 (license license:expat))))
2155 (define-public go-gitlab-com-ambrevar-damerau
2156 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
2159 (name "go-gitlab-com-ambrevar-damerau")
2160 (version (git-version "0.0.0" revision commit))
2166 "https://gitlab.com/ambrevar/damerau")
2168 (file-name (git-file-name name version))
2171 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
2172 (build-system go-build-system)
2174 `(#:import-path "gitlab.com/ambrevar/damerau"))
2175 (home-page "https://gitlab.com/ambrevar/damerau")
2176 (synopsis "Damerau-Levenshtein distance for Golang")
2177 (description "This is a spelling corrector implementing the
2178 Damerau-Levenshtein distance. Takes a string value input from the user.
2179 Looks for an identical word on a list of words, if none is found, look for a
2181 (license license:expat))))
2183 (define-public go-github-com-stevedonovan-luar
2184 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
2187 (name "go-github-com-stevedonovan-luar")
2188 (version (git-version "0.0.0" revision commit))
2194 "https://github.com/stevedonovan/luar")
2196 (file-name (git-file-name name version))
2199 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
2200 (build-system go-build-system)
2202 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2204 `(#:tests? #f ; Upstream tests are broken.
2205 #:import-path "github.com/stevedonovan/luar"))
2206 (home-page "https://github.com/stevedonovan/luar")
2207 (synopsis "Lua reflection bindings for Go")
2208 (description "Luar is designed to make using Lua from Go more
2209 convenient. Go structs, slices and maps can be automatically converted to Lua
2210 tables and vice-versa. The resulting conversion can either be a copy or a
2211 proxy. In the latter case, any change made to the result will reflect on the
2214 Any Go function can be made available to Lua scripts, without having to write
2217 Luar support cyclic structures (lists, etc.).
2219 User-defined types can be made available to Lua as well: their exported
2220 methods can be called and usual operations such as indexing or arithmetic can
2222 (license license:expat))))
2224 (define-public go-github-com-michiwend-golang-pretty
2225 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
2228 (name "go-github-com-michiwend-golang-pretty")
2229 (version (git-version "0.0.0" revision commit))
2235 "https://github.com/michiwend/golang-pretty")
2237 (file-name (git-file-name name version))
2240 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
2241 (build-system go-build-system)
2243 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
2245 `(#:tests? #f ; Upstream tests seem to be broken.
2246 #:import-path "github.com/michiwend/golang-pretty"))
2247 (home-page "https://github.com/michiwend/golang-pretty")
2248 (synopsis "Pretty printing for Go values")
2249 (description "Package @code{pretty} provides pretty-printing for Go
2250 values. This is useful during debugging, to avoid wrapping long output lines
2253 It provides a function, @code{Formatter}, that can be used with any function
2254 that accepts a format string. It also provides convenience wrappers for
2255 functions in packages @code{fmt} and @code{log}.")
2256 (license license:expat))))
2258 (define-public go-github-com-michiwend-gomusicbrainz
2259 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
2262 (name "go-github-com-michiwend-gomusicbrainz")
2263 (version (git-version "0.0.0" revision commit))
2269 "https://github.com/michiwend/gomusicbrainz")
2271 (file-name (git-file-name name version))
2274 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
2275 (build-system go-build-system)
2277 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
2278 ("go-github-com-kr-text" ,go-github-com-kr-text)))
2280 `(#:import-path "github.com/michiwend/gomusicbrainz"))
2281 (home-page "https://github.com/michiwend/gomusicbrainz")
2282 (synopsis "MusicBrainz WS2 client library for Golang")
2283 (description "Currently GoMusicBrainz provides methods to perform search
2284 and lookup requests. Browse requests are not supported yet.")
2285 (license license:expat))))
2287 (define-public go-github-com-wtolson-go-taglib
2288 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
2291 (name "go-github-com-wtolson-go-taglib")
2292 (version (git-version "0.0.0" revision commit))
2298 "https://github.com/wtolson/go-taglib")
2300 (file-name (git-file-name name version))
2303 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
2304 (build-system go-build-system)
2305 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2306 ;; when this package required as input for another one, it will have to
2307 ;; be built again. Thus its CGO requirements must be made available in
2308 ;; the environment, that is, they must be propagated.
2310 `(("pkg-config" ,pkg-config)
2311 ("taglib" ,taglib)))
2313 `(#:import-path "github.com/wtolson/go-taglib"
2314 ;; Tests don't pass "vet" on Go since 1.11. See
2315 ;; https://github.com/wtolson/go-taglib/issues/12.
2317 (modify-phases %standard-phases
2319 (lambda* (#:key import-path #:allow-other-keys)
2323 (home-page "https://github.com/wtolson/go-taglib")
2324 (synopsis "Go wrapper for taglib")
2325 (description "Go wrapper for taglib")
2326 (license license:unlicense))))
2328 (define-public go-github-com-gogo-protobuf
2330 (name "go-github-com-gogo-protobuf")
2335 (url "https://github.com/gogo/protobuf")
2336 (commit (string-append "v" version))))
2337 (file-name (git-file-name name version))
2340 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
2341 (build-system go-build-system)
2343 `(#:import-path "github.com/gogo/protobuf"
2344 ; Source-only package
2347 (modify-phases %standard-phases
2349 (synopsis "Protocol Buffers for Go with Gadgets")
2350 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
2351 generation features. This code generation is used to achieve:
2353 @item fast marshalling and unmarshalling
2354 @item more canonical Go structures
2355 @item goprotobuf compatibility
2356 @item less typing by optionally generating extra helper code
2357 @item peace of mind by optionally generating test and benchmark code
2358 @item other serialization formats
2360 (home-page "https://github.com/gogo/protobuf")
2361 (license license:bsd-3)))
2363 (define-public go-github-com-libp2p-go-flow-metrics
2364 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
2367 (name "go-github-com-libp2p-go-flow-metrics")
2368 (version (git-version "0.2.0" revision commit))
2373 (url "https://github.com/libp2p/go-flow-metrics")
2375 (file-name (git-file-name name version))
2378 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
2379 (build-system go-build-system)
2381 `(#:import-path "github.com/libp2p/go-flow-metrics"
2382 ;; TODO: Tests hang.
2385 "https://github.com/libp2p/go-flow-metrics")
2386 (synopsis "Simple library for tracking flow metrics")
2387 (description "A simple alternative to rcrowley's @command{go-metrics}
2388 that's a lot faster (and only does simple bandwidth metrics).")
2389 (license license:expat))))
2391 (define-public go-github-com-davecgh-go-spew
2393 (name "go-github-com-davecgh-go-spew")
2399 (url "https://github.com/davecgh/go-spew")
2400 (commit (string-append "v" version))))
2401 (file-name (git-file-name name version))
2404 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
2405 (build-system go-build-system)
2407 '(#:unpack-path "github.com/davecgh/go-spew"
2408 #:import-path "github.com/davecgh/go-spew/spew"))
2409 (home-page "https://github.com/davecgh/go-spew")
2410 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
2411 (description "Package @command{spew} implements a deep pretty printer
2412 for Go data structures to aid in debugging.
2414 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
2417 @item Pointers are dereferenced and followed.
2418 @item Circular data structures are detected and handled properly.
2419 @item Custom Stringer/error interfaces are optionally invoked, including on
2421 @item Custom types which only implement the Stringer/error interfaces via a
2422 pointer receiver are optionally invoked when passing non-pointer variables.
2423 @item Byte arrays and slices are dumped like the hexdump -C command which
2424 includes offsets, byte values in hex, and ASCII output (only when using Dump
2427 (license license:isc)))
2429 (define-public go-github-com-btcsuite-btclog
2430 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
2433 (name "go-github-com-btcsuite-btclog")
2434 (version (git-version "0.0.3" revision commit))
2439 (url "https://github.com/btcsuite/btclog")
2441 (file-name (git-file-name name version))
2444 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
2445 (build-system go-build-system)
2447 '(#:import-path "github.com/btcsuite/btclog"))
2448 (home-page "https://github.com/btcsuite/btclog")
2449 (synopsis "Subsystem aware logger for Go")
2450 (description "Package @command{btclog} defines a logger interface and
2451 provides a default implementation of a subsystem-aware leveled logger
2452 implementing the same interface.")
2453 (license license:isc))))
2455 (define-public go-github-com-btcsuite-btcd-btcec
2456 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
2459 (name "go-github-com-btcsuite-btcd-btcec")
2460 (version (git-version "0.12.0-beta" revision commit))
2465 (url "https://github.com/btcsuite/btcd")
2467 (file-name (git-file-name name version))
2470 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
2471 (build-system go-build-system)
2473 '(#:unpack-path "github.com/btcsuite/btcd"
2474 #:import-path "github.com/btcsuite/btcd/btcec"))
2476 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
2477 (home-page "https://github.com/btcsuite/btcd")
2478 (synopsis "Elliptic curve cryptography to work with Bitcoin")
2479 (description "Package @command{btcec} implements elliptic curve
2480 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
2481 designed so that it may be used with the standard crypto/ecdsa packages
2482 provided with Go. A comprehensive suite of test is provided to ensure proper
2483 functionality. Package @command{btcec} was originally based on work from
2484 ThePiachu which is licensed under the same terms as Go, but it has
2485 significantly diverged since then. The @command{btcsuite} developers original
2486 is licensed under the liberal ISC license.
2488 Although this package was primarily written for btcd, it has intentionally
2489 been designed so it can be used as a standalone package for any projects
2490 needing to use secp256k1 elliptic curve cryptography.")
2491 (license license:isc))))
2493 (define-public go-github-com-minio-sha256-simd
2495 (name "go-github-com-minio-sha256-simd")
2501 (url "https://github.com/minio/sha256-simd")
2502 (commit (string-append "v" version))))
2503 (file-name (git-file-name name version))
2506 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
2507 (build-system go-build-system)
2509 '(#:import-path "github.com/minio/sha256-simd"))
2510 (home-page "https://github.com/minio/sha256-simd")
2511 (synopsis "Accelerate SHA256 computations in pure Go")
2512 (description "Accelerate SHA256 computations in pure Go using AVX512 and
2513 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
2514 improvement (over 3 GB/s per core) in comparison to AVX2.
2516 This package is designed as a replacement for @command{crypto/sha256}. For
2517 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
2518 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
2519 of the SHA2 instructions resulting in a massive performance improvement.
2521 This package uses Golang assembly. The AVX512 version is based on the Intel's
2522 \"multi-buffer crypto library for IPSec\" whereas the other Intel
2523 implementations are described in \"Fast SHA-256 Implementations on Intel
2524 Architecture Processors\" by J. Guilford et al.")
2525 (license license:asl2.0)))
2527 (define-public go-github-com-libp2p-go-libp2p-crypto
2528 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
2531 (name "go-github-com-libp2p-go-libp2p-crypto")
2532 (version (git-version "2.0.1" revision commit))
2537 (url "https://github.com/libp2p/go-libp2p-crypto")
2539 (file-name (git-file-name name version))
2542 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
2543 (build-system go-build-system)
2545 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
2547 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2548 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2549 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2550 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
2552 "https://github.com/libp2p/go-libp2p-crypto")
2553 (synopsis "Various cryptographic utilities used by IPFS")
2554 (description "Various cryptographic utilities used by IPFS")
2555 (license license:expat))))
2557 (define-public go-github-com-mr-tron-base58
2558 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
2561 (name "go-github-com-mr-tron-base58")
2562 (version (git-version "1.1.0" revision commit))
2567 (url "https://github.com/mr-tron/base58")
2569 (file-name (git-file-name name version))
2572 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
2573 (build-system go-build-system)
2575 `(#:unpack-path "github.com/mr-tron/base58"
2576 #:import-path "github.com/mr-tron/base58/base58"))
2577 (home-page "https://github.com/mr-tron/base58")
2578 (synopsis "Fast implementation of base58 encoding on Golang")
2579 (description "Fast implementation of base58 encoding on Golang. A
2580 trivial @command{big.Int} encoding benchmark results in 6 times faster
2581 encoding and 8 times faster decoding.")
2582 (license license:expat))))
2584 (define-public go-github-com-gxed-hashland-keccakpg
2585 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
2588 (name "go-github-com-gxed-hashland-keccakpg")
2589 (version (git-version "0.0.0" revision commit))
2594 (url "https://github.com/gxed/hashland")
2596 (file-name (git-file-name name version))
2599 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
2600 (build-system go-build-system)
2602 '(#:unpack-path "github.com/gxed/hashland"
2603 #:import-path "github.com/gxed/hashland/keccakpg"))
2604 (home-page "https://github.com/gxed/hashland")
2605 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
2606 (description "Package @command{keccak} implements the Keccak (SHA-3)
2607 hash algorithm. See http://keccak.noekeon.org.")
2608 (license license:expat))))
2610 (define-public go-github-com-minio-blake2b-simd
2611 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
2614 (name "go-github-com-minio-blake2b-simd")
2615 (version (git-version "0.0.0" revision commit))
2620 (url "https://github.com/minio/blake2b-simd")
2622 (file-name (git-file-name name version))
2625 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
2626 (build-system go-build-system)
2628 '(#:import-path "github.com/minio/blake2b-simd"))
2629 (home-page "https://github.com/minio/blake2b-simd")
2630 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
2631 (description "This package was initially based on the pure go BLAKE2b
2632 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
2633 optimized BLAKE2 implementation (which in turn is based on the official
2634 implementation. It does so by using Go's Assembler for amd64 architectures
2635 with a golang only fallback for other architectures.
2637 In addition to AVX there is also support for AVX2 as well as SSE. Best
2638 performance is obtained with AVX2 which gives roughly a 4X performance
2639 increase approaching hashing speeds of 1GB/sec on a single core.")
2640 (license license:asl2.0))))
2642 (define-public go-github-com-spaolacci-murmur3
2644 (name "go-github-com-spaolacci-murmur3")
2650 (url "https://github.com/spaolacci/murmur3")
2651 (commit (string-append "v" version))))
2652 (file-name (git-file-name name version))
2655 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
2656 (build-system go-build-system)
2658 '(#:import-path "github.com/spaolacci/murmur3"))
2659 (home-page "https://github.com/spaolacci/murmur3")
2660 (synopsis "Native MurmurHash3 Go implementation")
2661 (description "Native Go implementation of Austin Appleby's third MurmurHash
2662 revision (aka MurmurHash3).
2664 Reference algorithm has been slightly hacked as to support the streaming mode
2665 required by Go's standard Hash interface.")
2666 (license license:bsd-3)))
2668 (define-public go-github-com-twmb-murmur3
2670 (name "go-github-com-twmb-murmur3")
2676 (url "https://github.com/twmb/murmur3")
2677 (commit (string-append "v" version))))
2678 (file-name (git-file-name name version))
2681 "00riapwkyf23l5wyis47mbr8rwr4yrjw491jfc30wpzs111c1gyy"))))
2682 (build-system go-build-system)
2684 '(#:import-path "github.com/twmb/murmur3"))
2685 (home-page "https://github.com/twmb/murmur3")
2686 (synopsis "Native MurmurHash3 Go implementation")
2687 (description "Native Go implementation of Austin Appleby's third
2688 MurmurHash revision (aka MurmurHash3).
2690 Reference algorithm has been slightly hacked as to support the streaming mode
2691 required by Go's standard Hash interface.")
2692 (license license:bsd-3)))
2694 (define-public go-github-com-multiformats-go-multihash
2695 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
2698 (name "go-github-com-multiformats-go-multihash")
2699 (version (git-version "1.0.8" revision commit))
2704 (url "https://github.com/multiformats/go-multihash")
2706 (file-name (git-file-name name version))
2709 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
2710 (build-system go-build-system)
2712 '(#:import-path "github.com/multiformats/go-multihash"))
2714 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2715 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2716 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2717 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2718 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2719 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2720 (home-page "https://github.com/multiformats/go-multihash")
2721 (synopsis "Multihash implementation in Go")
2722 (description "Multihash implementation in Go.")
2723 (license license:expat))))
2725 (define-public go-github-com-libp2p-go-libp2p-peer
2726 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
2729 (name "go-github-com-libp2p-go-libp2p-peer")
2730 (version (git-version "2.3.8" revision commit))
2735 (url "https://github.com/libp2p/go-libp2p-peer")
2737 (file-name (git-file-name name version))
2740 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
2741 (build-system go-build-system)
2743 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
2745 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2746 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2747 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2748 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2749 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2750 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2751 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2752 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2753 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2754 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2755 (home-page "https://github.com/libp2p/go-libp2p-peer")
2756 (synopsis "PKI based identities for use in go-libp2p")
2757 (description "PKI based identities for use in @command{go-libp2p}.")
2758 (license license:expat))))
2760 (define-public go-github-com-libp2p-go-libp2p-protocol
2761 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
2764 (name "go-github-com-libp2p-go-libp2p-protocol")
2765 (version (git-version "1.0.0" revision commit))
2770 (url "https://github.com/libp2p/go-libp2p-protocol")
2772 (file-name (git-file-name name version))
2775 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
2776 (build-system go-build-system)
2779 "github.com/libp2p/go-libp2p-protocol"))
2780 (home-page "https://github.com/libp2p/go-libp2p-protocol")
2781 (synopsis "Type for protocol strings in Golang")
2782 (description "Just a type for protocol strings. Nothing more.")
2783 (license license:expat))))
2785 (define-public go-github-com-libp2p-go-libp2p-metrics
2786 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
2789 (name "go-github-com-libp2p-go-libp2p-metrics")
2790 (version (git-version "2.1.6" revision commit))
2795 (url "https://github.com/libp2p/go-libp2p-metrics")
2797 (file-name (git-file-name name version))
2800 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
2801 (build-system go-build-system)
2803 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
2805 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
2806 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
2807 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
2808 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2809 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2810 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2811 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2812 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2813 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2814 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2815 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2816 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2817 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2818 (home-page "https://github.com/libp2p/go-libp2p-metrics")
2819 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
2820 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
2821 statistics for wrapped connections.")
2822 (license license:expat))))
2824 (define-public go-github-com-mitchellh-go-homedir
2825 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
2828 (name "go-github-com-mitchellh-go-homedir")
2829 (version (git-version "1.0.0" revision commit))
2834 (url "https://github.com/mitchellh/go-homedir")
2836 (file-name (git-file-name name version))
2839 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
2840 (build-system go-build-system)
2842 (quote (#:import-path "github.com/mitchellh/go-homedir"
2843 ;; TODO: Tests fail because it tries to access home.
2845 (home-page "https://github.com/mitchellh/go-homedir")
2846 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
2847 (description "This is a Go library for detecting the user's home
2848 directory without the use of @command{cgo}, so the library can be used in
2849 cross-compilation environments.
2851 Usage is simple, just call homedir.Dir() to get the home directory for a user,
2852 and homedir.Expand() to expand the @command{~} in a path to the home
2855 Why not just use @command{os/user}? The built-in @command{os/user} package
2856 requires cgo on Darwin systems. This means that any Go code that uses that
2857 package cannot cross compile. But 99% of the time the use for
2858 @command{os/user} is just to retrieve the home directory, which we can do for
2859 the current user without cgo. This library does that, enabling
2860 cross-compilation.")
2861 (license license:expat))))
2863 (define-public go-github-com-mitchellh-mapstructure
2865 (name "go-github-com-mitchellh-mapstructure")
2866 (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0
2871 (url "https://github.com/mitchellh/mapstructure")
2872 (commit (string-append "v" version))))
2873 (file-name (git-file-name name version))
2876 "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"))))
2877 (build-system go-build-system)
2879 `(#:import-path "github.com/mitchellh/mapstructure"))
2880 (home-page "https://github.com/mitchellh/mapstructure")
2881 (synopsis "Go library for decoding generic map values")
2882 (description "Go library for decoding generic map values")
2883 (license license:expat)))
2885 (define-public go-github-com-mitchellh-reflectwalk
2887 (name "go-github-com-mitchellh-reflectwalk")
2892 (url "https://github.com/mitchellh/reflectwalk")
2893 (commit (string-append "v" version))))
2894 (file-name (git-file-name name version))
2897 "0pa6a3nhzwv5s5yqcmsmsfhdp5ggxsg2wa86f3akawxrhrkjarnx"))))
2898 (build-system go-build-system)
2900 `(#:import-path "github.com/mitchellh/reflectwalk"))
2901 (home-page "https://github.com/mitchellh/reflectwalk/")
2902 (synopsis "Walk a value in Go using reflection")
2903 (description "reflectwalk is a Go library for \"walking\" a value in Go
2904 using reflection, in the same way a directory tree can be \"walked\" on the
2905 file system. Walking a complex structure can allow you to do manipulations on
2906 unknown structures such as those decoded from JSON.")
2907 (license license:expat)))
2909 (define-public go-github-com-mitchellh-copystructure
2911 (name "go-github-com-mitchellh-copystructure")
2917 (url "https://github.com/mitchellh/copystructure")
2918 (commit (string-append "v" version))))
2919 (file-name (git-file-name name version))
2922 "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
2923 (build-system go-build-system)
2925 `(#:import-path "github.com/mitchellh/copystructure"))
2927 `(("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)))
2928 (home-page "https://github.com/mitchellh/copystructure")
2929 (synopsis "Go library for decoding deep copying values")
2930 (description "@code{copystructure} is a Go library for deep copying values
2933 This allows you to copy Go values that may contain reference values such as
2934 maps, slices, or pointers, and copy their data as well instead of just their
2936 (license license:expat)))
2938 (define-public go-github-com-multiformats-go-multiaddr
2939 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
2942 (name "go-github-com-multiformats-go-multiaddr")
2943 (version (git-version "1.3.0" revision commit))
2948 (url "https://github.com/multiformats/go-multiaddr")
2950 (file-name (git-file-name name version))
2953 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
2954 (build-system go-build-system)
2957 "github.com/multiformats/go-multiaddr"))
2959 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2960 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2961 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2962 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2963 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2964 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2965 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2966 (home-page "https://github.com/multiformats/go-multiaddr")
2967 (synopsis "Composable and future-proof network addresses")
2968 (description "Multiaddr is a standard way to represent addresses that
2972 @item Support any standard network protocols.
2973 @item Self-describe (include protocols).
2974 @item Have a binary packed format.
2975 @item Have a nice string representation.
2976 @item Encapsulate well.
2978 (license license:expat))))
2980 (define-public go-github-com-multiformats-go-multiaddr-net
2981 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
2984 (name "go-github-com-multiformats-go-multiaddr-net")
2985 (version (git-version "1.6.3" revision commit))
2990 (url "https://github.com/multiformats/go-multiaddr-net")
2992 (file-name (git-file-name name version))
2995 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
2996 (build-system go-build-system)
2998 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
2999 ;; TODO: Tests fail because they try to access the network.
3002 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
3003 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
3004 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3005 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3006 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3007 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3008 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3009 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3010 (home-page "https://github.com/multiformats/go-multiaddr-net")
3011 (synopsis "Multiaddress net tools")
3012 (description "This package provides Multiaddr specific versions of
3013 common functions in stdlib's @command{net} package. This means wrappers of
3014 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
3015 as conversion to and from @command{net.Addr}.")
3016 (license license:expat))))
3018 (define-public go-github-com-whyrusleeping-tar-utils
3019 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
3022 (name "go-github-com-whyrusleeping-tar-utils")
3023 (version (git-version "0.0.0" revision commit))
3028 (url "https://github.com/whyrusleeping/tar-utils")
3030 (file-name (git-file-name name version))
3033 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
3034 (build-system go-build-system)
3037 "github.com/whyrusleeping/tar-utils"))
3038 (home-page "https://github.com/whyrusleeping/tar-utils")
3039 (synopsis "Tar utilities extracted from go-ipfs codebase")
3040 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
3041 (license license:expat))))
3043 (define-public go-github-com-cheekybits-is
3044 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
3047 (name "go-github-com-cheekybits-is")
3048 (version (git-version "0.0.0" revision commit))
3053 (url "https://github.com/cheekybits/is")
3055 (file-name (git-file-name name version))
3058 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
3059 (build-system go-build-system)
3061 '(#:import-path "github.com/cheekybits/is"))
3062 (home-page "https://github.com/cheekybits/is")
3063 (synopsis "Mini testing helper for Go")
3064 (description "A mini testing helper for Go.
3067 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
3068 @item It plugs into existing Go toolchain (uses @command{testing.T}).
3069 @item It's obvious for newcomers.
3070 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
3071 - because testing panics is ugly.
3073 (license license:expat))))
3075 (define-public go-github-com-sabhiram-go-gitignore
3076 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
3079 (name "go-github-com-sabhiram-go-gitignore")
3080 (version (git-version "1.0.2" revision commit))
3085 (url "https://github.com/sabhiram/go-gitignore")
3087 (file-name (git-file-name name version))
3090 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
3091 (build-system go-build-system)
3094 "github.com/sabhiram/go-gitignore"))
3096 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3097 (home-page "https://github.com/sabhiram/go-gitignore")
3098 (synopsis "Gitignore parser for Go")
3099 (description "A @command{.gitignore} parser for Go.")
3100 (license license:expat))))
3102 (define-public go-github-com-urfave-cli
3104 (name "go-github-com-urfave-cli")
3110 (url "https://github.com/urfave/cli")
3111 (commit (string-append "v" version))))
3112 (file-name (git-file-name name version))
3115 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
3116 (build-system go-build-system)
3118 '(#:import-path "github.com/urfave/cli"))
3120 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
3121 (home-page "https://github.com/urfave/cli")
3122 (synopsis "Simple, fast, and fun package for building command line apps in Go")
3123 (description "@command{cli} is a simple, fast, and fun package for
3124 building command line apps in Go. The goal is to enable developers to write
3125 fast and distributable command line applications in an expressive way.")
3126 (license license:expat)))
3128 (define-public go-github-com-go-md2man
3130 (name "go-github-com-go-md2man")
3136 (url "https://github.com/cpuguy83/go-md2man")
3137 (commit (string-append "v" version))))
3138 (file-name (git-file-name name version))
3141 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
3142 (modules '((guix build utils)))
3144 (delete-file-recursively "vendor")
3146 (build-system go-build-system)
3148 '(#:import-path "github.com/cpuguy83/go-md2man"))
3150 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
3151 (home-page "https://github.com/cpuguy83/go-md2man")
3152 (synopsis "Convert markdown into roff")
3153 (description "Go-md2man is a Go program that converts markdown to roff for
3154 the purpose of building man pages.")
3155 (license license:expat)))
3157 (define-public go-github-com-russross-blackfriday
3159 (name "go-github-com-russross-blackfriday")
3165 (url "https://github.com/russross/blackfriday")
3166 (commit (string-append "v" version))))
3167 (file-name (git-file-name name version))
3170 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
3171 (build-system go-build-system)
3173 '(#:import-path "github.com/russross/blackfriday"))
3175 `(("go-github-com-shurcool-sanitized-anchor-name"
3176 ,go-github-com-shurcool-sanitized-anchor-name)))
3178 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
3179 (home-page "https://github.com/russross/blackfriday")
3180 (synopsis "Markdown processor in Go")
3181 (description "Blackfriday is a Markdown processor in Go.")
3182 (license license:bsd-2)))
3184 (define-public go-github-com-shurcool-sanitized-anchor-name
3186 (name "go-github-com-shurcool-sanitized-anchor-name")
3192 (url "https://github.com/shurcooL/sanitized_anchor_name")
3193 (commit (string-append "v" version))))
3194 (file-name (git-file-name name version))
3197 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
3198 (build-system go-build-system)
3200 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
3201 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
3202 (synopsis "Create sanitized anchor names")
3203 (description "This package provides a Go program for creating sanitized
3205 (license license:expat)))
3207 (define-public go-github-com-pmezard-go-difflib
3209 (name "go-github-com-pmezard-go-difflib")
3214 (url "https://github.com/pmezard/go-difflib")
3215 (commit (string-append "v" version))))
3216 (file-name (git-file-name name version))
3219 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
3220 (build-system go-build-system)
3222 '(#:import-path "github.com/pmezard/go-difflib/difflib"
3223 #:unpack-path "github.com/pmezard/go-difflib/"))
3224 (home-page "https://github.com/pmezard/go-difflib")
3225 (synopsis "Go diff implementation")
3226 (description "This package provides unified and context-aware diffs in Go.")
3227 (license license:bsd-3)))
3229 (define-public go-github-com-whyrusleeping-json-filter
3230 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
3233 (name "go-github-com-whyrusleeping-json-filter")
3234 (version (git-version "0.0.0" revision commit))
3239 (url "https://github.com/whyrusleeping/json-filter")
3241 (file-name (git-file-name name version))
3244 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
3245 (build-system go-build-system)
3248 "github.com/whyrusleeping/json-filter"))
3249 (home-page "https://github.com/whyrusleeping/json-filter")
3250 (synopsis "Library to query JSON objects marshalled into map[string]interface")
3251 (description "A library to query JSON objects marshalled into
3252 @command{map[string]interface{}}.")
3253 (license license:expat))))
3255 (define-public go-github-com-whyrusleeping-progmeter
3256 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
3259 (name "go-github-com-whyrusleeping-progmeter")
3260 (version (git-version "0.0.0" revision commit))
3265 (url "https://github.com/whyrusleeping/progmeter")
3267 (file-name (git-file-name name version))
3270 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
3271 (build-system go-build-system)
3274 "github.com/whyrusleeping/progmeter"))
3275 (home-page "https://github.com/whyrusleeping/progmeter")
3276 (synopsis "Progress meter for Go")
3277 (description "Progress meter for Go.")
3278 (license license:expat))))
3280 (define-public go-github-com-whyrusleeping-stump
3281 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
3284 (name "go-github-com-whyrusleeping-stump")
3285 (version (git-version "0.0.0" revision commit))
3290 (url "https://github.com/whyrusleeping/stump")
3292 (file-name (git-file-name name version))
3295 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
3296 (build-system go-build-system)
3298 '(#:import-path "github.com/whyrusleeping/stump"))
3299 (home-page "https://github.com/whyrusleeping/stump")
3300 (synopsis "Very basic logging package for Go")
3301 (description "A simple log library, for when you don't really care to
3302 have super fancy logs.")
3303 (license license:expat))))
3305 (define-public go-github-com-kr-fs
3306 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
3309 (name "go-github-com-kr-fs")
3310 (version (git-version "0.1.0" revision commit))
3315 (url "https://github.com/kr/fs")
3317 (file-name (git-file-name name version))
3320 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
3321 (build-system go-build-system)
3323 '(#:import-path "github.com/kr/fs"))
3324 (home-page "https://github.com/kr/fs")
3325 (synopsis "File-system-related functions for Go")
3327 "The fs package provides file-system-related Go functions.")
3328 (license license:bsd-3))))
3330 (define-public go-github-com-direnv-go-dotenv
3331 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
3334 (name "go-github-com-direnv-go-dotenv")
3335 (version (git-version "0.0.0" revision commit))
3340 (url "https://github.com/direnv/go-dotenv")
3342 (file-name (git-file-name name version))
3345 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
3346 (build-system go-build-system)
3348 '(#:import-path "github.com/direnv/go-dotenv"))
3349 (home-page "https://github.com/direnv/go-dotenv")
3350 (synopsis "Go dotenv parsing library")
3351 (description "This package provides a library for parsing the dotenv
3353 (license license:expat))))
3355 (define-public go-github-com-kr-pretty
3357 (name "go-github-com-kr-pretty")
3362 (url "https://github.com/kr/pretty")
3363 (commit (string-append "v" version))))
3364 (file-name (git-file-name name version))
3367 "1ywbfzz1h3a3qd8rpkiqwi1dm4w8ls9ijb4x1b7567grns9f0vnp"))))
3368 (build-system go-build-system)
3370 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
3372 '(#:import-path "github.com/kr/pretty"))
3373 (synopsis "A pretty printer for Go values")
3374 (description "This package provides a pretty printer for Go values.")
3375 (home-page "https://github.com/kr/pretty")
3376 (license license:expat)))
3378 (define-public go-github-com-kylelemons-godebug
3380 (name "go-github-com-kylelemons-godebug")
3386 (url "https://github.com/kylelemons/godebug")
3387 (commit (string-append "v" version))))
3388 (file-name (git-file-name name version))
3391 "0dkk3friykg8p6wgqryx6745ahhb9z1j740k7px9dac6v5xjp78c"))))
3392 (build-system go-build-system)
3394 '(#:import-path "github.com/kylelemons/godebug/diff"
3395 #:unpack-path "github.com/kylelemons/godebug"))
3396 (home-page "https://github.com/kylelemons/godebug")
3397 (synopsis "Pretty printer for Go values.")
3399 "This package will pretty print a compact representation of a Go data
3400 structure. It can also produce a much more verbose, one-item-per-line
3401 representation suitable for computing diffs.")
3402 (license license:asl2.0)))
3404 (define-public go-github-com-kr-text
3406 (name "go-github-com-kr-text")
3411 (url "https://github.com/kr/text")
3412 (commit (string-append "v" version))))
3413 (file-name (git-file-name name version))
3416 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
3417 (build-system go-build-system)
3419 '(#:import-path "github.com/kr/text"))
3420 (synopsis "Text formatting in Go")
3421 (description "This package provides a text formatting functions in Go.")
3422 (home-page "https://github.com/kr/text")
3423 (license license:expat)))
3425 (define-public go-golang-org-sql-mock
3426 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
3430 (name "go-golang-org-sql-mock")
3431 (version (git-version version revision commit))
3435 (url "https://github.com/DATA-DOG/go-sqlmock")
3437 (file-name (git-file-name name version))
3440 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
3441 (build-system go-build-system)
3443 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
3444 (synopsis "Mock library implementing @code{sql/driver}")
3445 (description "This library simulates SQL-driver behavior in tests
3446 without requiring a real database connection.")
3447 (home-page "https://github.com/DATA-DOG/go-sqlmock")
3448 (license license:expat))))
3450 (define-public go-golang-org-colorful
3452 (name "go-golang-org-colorful")
3457 (url "https://github.com/lucasb-eyer/go-colorful")
3458 (commit (string-append "v" version))))
3459 (file-name (git-file-name name version))
3462 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
3463 (build-system go-build-system)
3465 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
3467 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
3468 (synopsis "Convert between colorspaces and generate colors")
3469 (description "This package implements Go's @code{color.Color} interface
3470 and provides a means of converting colors stored as RGB to various
3472 (home-page "https://github.com/lucasb-eyer/go-colorful")
3473 (license license:expat)))
3475 (define-public go-github-com-gdamore-encoding
3477 (name "go-github-com-gdamore-encoding")
3483 (url "https://github.com/gdamore/encoding")
3484 (commit (string-append "v" version))))
3485 (file-name (git-file-name name version))
3488 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
3489 (build-system go-build-system)
3491 '(#:import-path "github.com/gdamore/encoding"))
3493 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3494 (home-page "https://github.com/gdamore/encoding")
3495 (synopsis "Provide encodings missing from Go")
3496 (description "This package provides useful encodings not included in the
3497 standard @code{Text} package, including some for dealing with I/O streams from
3498 non-UTF-friendly sources.")
3499 (license license:expat)))
3501 (define-public go-github-com-gdamore-tcell
3502 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
3506 (name "go-github-com-gdamore-tcell")
3507 (version (git-version version revision commit))
3512 (url "https://github.com/gdamore/tcell")
3514 (file-name (git-file-name name version))
3517 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
3518 (build-system go-build-system)
3520 `(#:import-path "github.com/gdamore/tcell"
3522 (modify-phases %standard-phases
3523 (add-before 'reset-gzip-timestamps 'make-files-writable
3524 (lambda* (#:key outputs #:allow-other-keys)
3525 ;; Make sure .gz files are writable so that the
3526 ;; 'reset-gzip-timestamps' phase can do its work.
3527 (let ((out (assoc-ref outputs "out")))
3528 (for-each make-file-writable
3529 (find-files out "\\.gz$"))
3532 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
3533 ("go-golang-org-colorful" ,go-golang-org-colorful)
3534 ("go-golang-org-x-text" ,go-golang-org-x-text)
3535 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
3536 (home-page "https://github.com/gdamore/tcell")
3537 (synopsis "Provide a cell-based view for text terminals")
3538 (description "This package includes a full parser and expander for
3539 terminfo capability strings to avoid hard-coding escape strings for
3540 formatting. It also favors portability, and includes support for all POSIX
3542 (license license:expat))))
3544 (define-public go-github-com-mattn-go-shellwords
3545 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
3549 (name "go-github-com-mattn-go-shellwords")
3550 (version (git-version version revision commit))
3555 (url "https://github.com/mattn/go-shellwords")
3557 (file-name (git-file-name name version))
3560 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
3561 (build-system go-build-system)
3563 `(#:import-path "github.com/mattn/go-shellwords"
3564 ;; TODO: can't make homeless-shelter:
3565 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
3566 ;; initialization failure: mkdir /homeless-shelter: permission denied
3568 ;; This doesn't seem to work:
3571 ;; (modify-phases %standard-phases
3573 ;; (lambda* (#:key import-path #:allow-other-keys)
3574 ;; (setenv "HOME" "/tmp")
3575 ;; (invoke "go" "test" import-path))))
3577 ;; TODO: There are also a couple of tests that have stymied Debian in
3578 ;; the past. They seem to work when run locally.
3582 (home-page "https://github.com/mattn/go-shellwords")
3583 (synopsis "Parse lines into shell words")
3584 (description "This package parses text into shell arguments. Based on
3585 the @code{cpan} module @code{Parse::CommandLine}.")
3586 (license license:expat))))
3588 (define-public go-github-com-burntsushi-locker
3589 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
3592 (name "go-github-com-burntsushi-locker")
3593 (version (git-version "0.0.0" revision commit))
3598 (url "https://github.com/BurntSushi/locker")
3600 (file-name (git-file-name name version))
3603 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
3604 (build-system go-build-system)
3606 '(#:import-path "github.com/BurntSushi/locker"))
3607 (home-page "https://github.com/BurntSushi/locker")
3608 (synopsis "Manage named ReadWrite mutexes in Go")
3609 (description "Golang package for conveniently using named read/write
3610 locks. These appear to be especially useful for synchronizing access to
3611 session based information in web applications.
3613 The common use case is to use the package level functions, which use a package
3614 level set of locks (safe to use from multiple goroutines
3615 simultaneously). However, you may also create a new separate set of locks
3618 All locks are implemented with read-write mutexes. To use them like a regular
3619 mutex, simply ignore the RLock/RUnlock functions.")
3620 (license license:unlicense))))
3622 (define-public go-github-com-marten-seemann-qtls
3624 (name "go-github-com-marten-seemann-qtls")
3629 (url "https://github.com/marten-seemann/qtls")
3630 (commit (string-append "v" version))))
3631 (file-name (git-file-name name version))
3634 "0dz60y98nm7l70hamq0v2vrs2dspyr5yqhnrds2dfh7hchxvq76j"))))
3635 (build-system go-build-system)
3637 '(#:import-path "github.com/marten-seemann/qtls"
3638 ;; The test suite requires networking.
3641 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3642 (synopsis "TLS 1.3 with QUIC in Go")
3643 (description "This package provides @code{qtls}, a QUIC-capable variant of
3644 the Go standard library's TLS 1.3 implementation.")
3645 (home-page "https://github.com/marten-seemann/qtls")
3646 (license license:bsd-3)))
3648 (define-public go-github-com-marten-seemann-chacha20
3650 (name "go-github-com-marten-seemann-chacha20")
3655 (url "https://github.com/marten-seemann/chacha20")
3656 (commit (string-append "v" version))))
3657 (file-name (git-file-name name version))
3660 "0x1j4cvbap45zk962qkjalc1h3axhzzdy9cdzhcjmprmm1ql4gjm"))))
3661 (build-system go-build-system)
3663 '(#:import-path "github.com/marten-seemann/chacha20"))
3664 (synopsis "ChaCha20 in Go")
3665 (description "This package is an external copy of the Go standard library's
3666 internal ChaCha20 package.")
3667 (home-page "https://github.com/marten-seemann/chacha20")
3668 (license license:bsd-3)))
3670 (define-public go-github-com-cheekybits-genny
3672 (name "go-github-com-cheekybits-genny")
3677 (url "https://github.com/cheekybits/genny")
3678 (commit (string-append "v" version))))
3679 (file-name (git-file-name name version))
3682 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
3683 (build-system go-build-system)
3685 '(#:import-path "github.com/cheekybits/genny"))
3687 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
3688 (synopsis "Generics for Go")
3689 (description "This package provides @code{genny}, a Go language
3690 implementation of generics.")
3691 (home-page "https://github.com/cheekybits/genny/")
3692 (license license:expat)))
3694 (define-public go-github-com-lucas-clemente-quic-go
3696 (name "go-github-com-lucas-clemente-quic-go")
3701 (url "https://github.com/lucas-clemente/quic-go")
3702 (commit (string-append "v" version))))
3703 (file-name (git-file-name name version))
3706 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
3707 (build-system go-build-system)
3709 '(#:import-path "github.com/lucas-clemente/quic-go"
3710 ;; XXX More packages required...
3713 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3714 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
3715 ("go-github-com-marten-seemann-chacha20" ,go-github-com-marten-seemann-chacha20)
3716 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
3717 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
3718 (synopsis "QUIC in Go")
3719 (description "This package provides a Go language implementation of the QUIC
3721 (home-page "https://github.com/lucas-clemente/quic-go")
3722 (license license:expat)))
3724 (define-public go-github-com-francoispqt-gojay
3726 (name "go-github-com-francoispqt-gojay")
3731 (url "https://github.com/francoispqt/gojay")
3732 (commit (string-append "v" version))))
3733 (file-name (git-file-name name version))
3736 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
3737 (build-system go-build-system)
3739 '(#:import-path "github.com/francoispqt/gojay"))
3741 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3742 (synopsis "JSON encoder/decoder with powerful stream API for Golang")
3743 (description "GoJay is a performant JSON encoder/decoder for Golang. It has
3744 a simple API and doesn't use reflection. It relies on small interfaces to
3745 decode/encode structures and slices.")
3746 (home-page "https://github.com/francoispqt/gojay")
3747 (license license:expat)))
3749 (define-public go-github-com-pkg-errors
3751 (name "go-github-com-pkg-errors")
3756 (url "https://github.com/pkg/errors")
3757 (commit (string-append "v" version))))
3758 (file-name (git-file-name name version))
3761 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
3762 (build-system go-build-system)
3764 `(#:import-path "github.com/pkg/errors"))
3765 (synopsis "Go error handling primitives")
3766 (description "This package provides @code{error}, which offers simple
3767 error handling primitives in Go.")
3768 (home-page "https://github.com/pkg/errors")
3769 (license license:bsd-2)))
3771 (define-public go-github-com-maruel-panicparse
3773 (name "go-github-com-maruel-panicparse")
3778 (url "https://github.com/maruel/panicparse")
3779 (commit (string-append "v" version))))
3780 (file-name (git-file-name name version))
3783 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
3784 (build-system go-build-system)
3786 '(#:import-path "github.com/maruel/panicparse"))
3787 (synopsis "Toolkit for parsing Go stack traces")
3788 (description "This package provides a toolkit for parsing Go language panic
3789 stack traces. It simplifies the traces to make salient information more visible
3790 and aid debugging.")
3791 (home-page "https://github.com/maruel/panicparse")
3792 (license license:asl2.0)))
3794 (define-public go-github-com-robfig-cron
3796 (name "go-github-com-robfig-cron")
3802 (url "https://github.com/robfig/cron")
3803 (commit (string-append "v" version))))
3804 (file-name (git-file-name name version))
3807 "1agzbw2dfk2d1mpmddr85s5vh6ygm8kqrvfg87i9d2wqnlsnliqm"))))
3808 (build-system go-build-system)
3810 `(#:import-path "github.com/robfig/cron"))
3811 (home-page "https://godoc.org/github.com/robfig/cron")
3812 (synopsis "Cron library for Go")
3813 (description "This package provides a cron library for Go. It implements
3814 a cron spec parser and job runner.")
3815 (license license:expat)))
3817 (define-public go-github-com-shirou-gopsutil
3818 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
3821 (name "go-github-com-shirou-gopsutil")
3822 (version (git-version "v2.19.7" revision commit))
3826 (url "https://github.com/shirou/gopsutil")
3827 (commit commit))) ; XXX
3828 (file-name (git-file-name name version))
3831 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
3832 (build-system go-build-system)
3834 '(#:import-path "github.com/shirou/gopsutil"))
3835 (synopsis "Process and system monitoring in Go")
3836 (description "This package provides a library for retrieving information
3837 on running processes and system utilization (CPU, memory, disks, network,
3839 (home-page "https://github.com/shirou/gopsutil")
3840 (license license:bsd-3))))
3842 (define-public go-github-com-danwakefield-fnmatch
3843 (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
3846 (name "go-github-com-danwakefield-fnmatch")
3847 (version (git-version "0.0.0" revision commit))
3852 (url "https://github.com/danwakefield/fnmatch")
3856 "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
3857 (file-name (git-file-name name version))))
3858 (build-system go-build-system)
3860 '(#:import-path "github.com/danwakefield/fnmatch"))
3861 (home-page "https://github.com/danwakefield/fnmatch")
3862 (synopsis "Updated clone of kballards golang fnmatch gist")
3863 (description "This package provides an updated clone of kballards golang
3864 fnmatch gist (https://gist.github.com/kballard/272720).")
3865 (license license:bsd-2))))
3867 (define-public go-github-com-ddevault-go-libvterm
3868 (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
3871 (name "go-github-com-ddevault-go-libvterm")
3872 (version (git-version "0.0.0" revision commit))
3877 (url "https://github.com/ddevault/go-libvterm")
3881 "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
3882 (file-name (git-file-name name version))))
3883 (build-system go-build-system)
3885 '(#:import-path "github.com/ddevault/go-libvterm"))
3887 `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
3888 (home-page "https://github.com/ddevault/go-libvterm")
3889 (synopsis "Go binding to libvterm")
3891 "This is a fork of another go-libvterm library for use with aerc.")
3892 (license license:expat))))
3894 (define-public go-github-com-emersion-go-imap
3896 (name "go-github-com-emersion-go-imap")
3902 (url "https://github.com/emersion/go-imap")
3903 (commit (string-append "v" version))))
3906 "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
3907 (file-name (git-file-name name version))))
3908 (build-system go-build-system)
3910 '(#:import-path "github.com/emersion/go-imap"))
3912 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3913 (home-page "https://github.com/emersion/go-imap")
3914 (synopsis "IMAP4rev1 library written in Go")
3915 (description "This package provides an IMAP4rev1 library written in Go. It
3916 can be used to build a client and/or a server.")
3917 (license license:expat)))
3919 (define-public go-github-com-emersion-go-sasl
3920 (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
3923 (name "go-github-com-emersion-go-sasl")
3924 (version (git-version "0.0.0" revision commit))
3929 (url "https://github.com/emersion/go-sasl")
3933 "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
3934 (file-name (git-file-name name version))))
3935 (build-system go-build-system)
3937 '(#:import-path "github.com/emersion/go-sasl"))
3938 (home-page "https://github.com/emersion/go-sasl")
3939 (synopsis "SASL library written in Go")
3940 (description "This package provides a SASL library written in Go.")
3941 (license license:expat))))
3943 (define-public go-github-com-emersion-go-imap-idle
3944 (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
3947 (name "go-github-com-emersion-go-imap-idle")
3948 (version (git-version "0.0.0" revision commit))
3953 (url "https://github.com/emersion/go-imap-idle")
3957 "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
3958 (file-name (git-file-name name version))))
3959 (build-system go-build-system)
3961 '(#:import-path "github.com/emersion/go-imap-idle"))
3963 `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
3964 ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
3965 ("go-golang-org-x-text" ,go-golang-org-x-text)))
3966 (home-page "https://github.com/emersion/go-imap-idle")
3967 (synopsis "IDLE extension for go-imap")
3968 (description "This package provides an IDLE extension for go-imap.")
3969 (license license:expat))))
3971 (define-public go-github-com-fatih-color
3973 (name "go-github-com-fatih-color")
3978 (url "https://github.com/fatih/color")
3979 (commit (string-append "v" version))))
3980 (file-name (git-file-name name version))
3983 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
3984 (build-system go-build-system)
3986 '(#:import-path "github.com/fatih/color"))
3987 (synopsis "Print colored text in Go")
3988 (description "This package provides an ANSI color package to output
3989 colorized or SGR defined output to the standard output.")
3990 (home-page "https://godoc.org/github.com/fatih/color")
3991 (license license:expat)))
3993 (define-public go-github-com-google-go-cmp-cmp
3995 (name "go-github-com-google-go-cmp-cmp")
4000 (url "https://github.com/google/go-cmp")
4001 (commit (string-append "v" version))))
4002 (file-name (git-file-name name version))
4005 "0qchy411jm9q2l9mf7x3ry2ycaqp9xdhf2nx14qrpzcxfigv2705"))))
4006 (build-system go-build-system)
4008 '(#:import-path "github.com/google/go-cmp/cmp"
4009 #:unpack-path "github.com/google/go-cmp"))
4011 `(("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)))
4012 (synopsis "Determine equality of values in Go")
4013 (description "This package provides a more powerful and safer
4014 alternative to @code{reflect.DeepEqual} for comparing whether two values
4015 are semantically equal in Go (for writing tests).")
4016 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
4017 (license license:asl2.0)))
4019 (define-public go-github-com-google-uuid
4021 (name "go-github-com-google-uuid")
4026 (url "https://github.com/google/uuid")
4027 (commit (string-append "v" version))))
4028 (file-name (git-file-name name version))
4031 "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb"))))
4032 (build-system go-build-system)
4034 '(#:import-path "github.com/google/uuid"))
4035 (home-page "https://github.com/google/uuid/")
4036 (synopsis "Generate and inspect UUIDs based on RFC 4122 and DCE 1.1")
4037 (description "The uuid package generates and inspects UUIDs based on RFC
4038 4122 and DCE 1.1: Authentication and Security Services.")
4039 (license license:bsd-3)))
4041 (define-public go-github-com-google-goterm
4042 (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
4045 (name "go-github-com-google-goterm")
4046 (version (git-version "0.0.1" revision commit))
4050 (url "https://github.com/google/goterm")
4052 (file-name (git-file-name name version))
4055 "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb"))))
4056 (build-system go-build-system)
4058 `(#:import-path "github.com/google/goterm/term"
4059 #:unpack-path "github.com/google/goterm"))
4060 (home-page "https://github.com/google/goterm/")
4061 (synopsis "PTY creation and termios get/set attributes")
4062 (description "The term package implements PTY creation and termios get/set
4063 attributes. It also contains some convenience functions for colors, SSH to
4064 and from termios translations, readCh, reading passwords, etc.")
4065 (license license:bsd-3))))
4067 (define-public go-github-com-google-go-querystring
4068 (let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests
4071 (name "go-github-com-google-go-querystring")
4076 (url "https://github.com/google/go-querystring")
4078 (file-name (git-file-name name version))
4081 "0mbx4jvf7nz4sk2fgqfq1llz4xb3vc4625b4x398mspr3a5077rs"))))
4082 (build-system go-build-system)
4084 `(#:import-path "github.com/google/go-querystring/query"
4085 #:unpack-path "github.com/google/go-querystring"))
4086 (home-page "https://github.com/google/go-querystring/")
4087 (synopsis "Library for encoding structs into URL query parameters")
4088 (description "@code{go-querystring} is Go library for encoding structs
4089 into URL query parameters.")
4090 (license license:bsd-3))))
4092 (define-public go-github-com-google-go-github
4094 (name "go-github-com-google-go-github")
4099 (url "https://github.com/google/go-github")
4100 (commit (string-append "v" version))))
4101 (file-name (git-file-name name version))
4104 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
4105 (build-system go-build-system)
4107 `(#:tests? #f ;application/octet-stream instead of text/plain
4108 #:import-path "github.com/google/go-github/v26/github"
4109 #:unpack-path "github.com/google/go-github/v26"))
4111 `(("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring)
4112 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4113 (home-page "https://github.com/google/go-github/")
4114 (synopsis "Client library for accessing the GitHub API v3")
4115 (description "@code{go-github} is a Go client library for accessing the
4117 (license license:bsd-3)))
4119 (define-public go-github-com-google-renameio
4121 (name "go-github-com-google-renameio")
4126 (url "https://github.com/google/renameio")
4127 (commit (string-append "v" version))))
4128 (file-name (git-file-name name version))
4131 "1ki2x5a9nrj17sn092d6n4zr29lfg5ydv4xz5cp58z6cw8ip43jx"))))
4132 (build-system go-build-system)
4134 `(#:import-path "github.com/google/renameio"))
4135 (home-page "https://github.com/google/renameio/")
4136 (synopsis "Atomically create or replace a file or symbolic link")
4137 (description "@code{renameio} Go package provides a way to atomically
4138 create or replace a file or symbolic link.")
4139 (license license:asl2.0)))
4141 (define-public go-golang.org-x-sync-errgroup
4142 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
4145 (name "go-golang.org-x-sync-errgroup")
4146 (version (git-version "0.0.0" revision commit))
4150 (url "https://go.googlesource.com/sync")
4152 (file-name (git-file-name name version))
4155 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
4156 (build-system go-build-system)
4158 '(#:import-path "golang.org/x/sync/errgroup"
4159 #:unpack-path "golang.org/x/sync"))
4160 (synopsis "Synchronization, error propagation, and Context cancellation
4161 for groups of goroutines working on subtasks of a common task.")
4162 (description "This package provides synchronization, error propagation,
4163 and Context cancellation for groups of goroutines working on subtasks of a
4165 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
4166 (license license:bsd-3))))
4168 (define (go-gotest-tools-source version sha256-base32-hash)
4172 (url "https://github.com/gotestyourself/gotest.tools")
4173 (commit (string-append "v" version))))
4174 (file-name (git-file-name "go-gotest-tools" version))
4176 (base32 sha256-base32-hash))))
4178 ;; Note that version 3.0.0 is incompatible to 2.3.0.
4179 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
4180 (define (go-gotest-tools-package suffix)
4182 (name (string-append "go-gotest-tools-"
4183 (string-replace-substring suffix "/" "-")))
4186 (go-gotest-tools-source version
4187 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
4188 (build-system go-build-system)
4190 `(#:import-path ,(string-append "gotest.tools/" suffix)
4191 #:unpack-path "gotest.tools"))
4192 (synopsis "@code{gotest-tools} part")
4193 (description "This package provides a part of @code{gotest-tools}.")
4194 (home-page "https://github.com/gotestyourself/gotest.tools")
4195 (license license:asl2.0)))
4197 (define-public go-gotest-tools-internal-format
4198 (package (inherit (go-gotest-tools-package "internal/format"))
4200 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4201 ("go-github-com-google-go-cmp-cmp"
4202 ,go-github-com-google-go-cmp-cmp)))
4203 (synopsis "Formats messages for use with gotest-tools")
4204 (description "This package provides a way to format messages for use
4205 with gotest-tools.")))
4207 (define-public go-gotest-tools-internal-difflib
4208 (package (inherit (go-gotest-tools-package "internal/difflib"))
4209 (synopsis "Differences for use with gotest-tools")
4210 (description "This package computes differences for use
4211 with gotest-tools.")))
4213 (define-public go-gotest-tools-internal-source
4214 (package (inherit (go-gotest-tools-package "internal/source"))
4216 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4217 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
4218 (synopsis "Source code AST formatters for gotest-tools")
4219 (description "This package provides source code AST formatters for
4222 (define-public go-gotest-tools-assert
4223 (package (inherit (go-gotest-tools-package "assert"))
4224 (name "go-gotest-tools-assert")
4226 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
4227 #:import-path "gotest.tools/assert"
4228 #:unpack-path "gotest.tools"))
4230 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
4232 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4233 ("go-github-com-google-go-cmp-cmp"
4234 ,go-github-com-google-go-cmp-cmp)))
4235 (synopsis "Compare values and fail a test when a comparison fails")
4236 (description "This package provides a way to compare values and fail a
4237 test when a comparison fails.")
4238 (home-page "https://github.com/gotestyourself/gotest.tools")
4239 (license license:asl2.0)))
4241 (define-public gotestsum
4248 (url "https://github.com/gotestyourself/gotestsum")
4249 (commit (string-append "v" version))))
4250 (file-name (git-file-name name version))
4253 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
4254 (build-system go-build-system)
4256 '(#:import-path "gotest.tools/gotestsum"))
4258 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
4259 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
4260 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4261 ("go-github-com-sirupsen-logrus"
4262 ,go-github-com-sirupsen-logrus)
4263 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
4264 ("go-github-com-jonboulle-clockwork"
4265 ,go-github-com-jonboulle-clockwork)
4266 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4267 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
4268 ("go-github-com-google-go-cmp-cmp"
4269 ,go-github-com-google-go-cmp-cmp)
4270 ;; TODO: This would be better as a propagated-input of
4271 ;; go-gotest-tools-assert, but that does not work for
4273 ("go-gotest-tools-internal-format"
4274 ,go-gotest-tools-internal-format)
4275 ("go-gotest-tools-internal-difflib"
4276 ,go-gotest-tools-internal-difflib)
4277 ("go-gotest-tools-internal-source"
4278 ,go-gotest-tools-internal-source)
4279 ("go-github-com-google-go-cmp-cmp"
4280 ,go-github-com-google-go-cmp-cmp)))
4281 (synopsis "Go test runner with output optimized for humans")
4282 (description "This package provides a @code{go test} runner with output
4283 optimized for humans, JUnit XML for CI integration, and a summary of the
4285 (home-page "https://github.com/gotestyourself/gotestsum")
4286 (license license:asl2.0)))
4288 (define-public go-github-com-golang-protobuf-proto
4290 (name "go-github-com-golang-protobuf-proto")
4295 (url "https://github.com/golang/protobuf")
4296 (commit (string-append "v" version))))
4297 (file-name (git-file-name name version))
4300 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
4301 (build-system go-build-system)
4303 '(#:import-path "github.com/golang/protobuf/proto"
4304 #:unpack-path "github.com/golang/protobuf"
4305 ;; Requires unpackaged golang.org/x/sync/errgroup
4307 (synopsis "Go support for Protocol Buffers")
4308 (description "This package provides Go support for the Protocol Buffers
4309 data serialization format.")
4310 (home-page "https://github.com/golang/protobuf")
4311 (license license:bsd-3)))
4313 (define-public go-github-com-mattn-go-zglob
4315 (name "go-github-com-mattn-go-zglob")
4320 (url "https://github.com/mattn/go-zglob")
4321 (commit (string-append "v" version))))
4322 (file-name (git-file-name name version))
4325 "1923lvakm66mzy62jmngdvcmbmiqclinsvnghs3907rgygnx1qc1"))))
4326 (build-system go-build-system)
4328 `(#:import-path "github.com/mattn/go-zglob"))
4329 (home-page "https://github.com/mattn/go-zglob")
4330 (synopsis "Glob library that descends into other directories")
4331 (description " A glob library that implements descending into other
4332 directories. It is optimized for filewalking. ")
4333 (license license:expat)))
4335 (define-public go-github-com-willf-bitset
4337 (name "go-github-com-willf-bitset")
4342 (url "https://github.com/willf/bitset")
4343 (commit (string-append "v" version))))
4344 (file-name (git-file-name name version))
4347 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
4348 (build-system go-build-system)
4350 '(#:import-path "github.com/willf/bitset"))
4351 (synopsis "Bitsets in Go")
4352 (description "This package provides a Go implementation of bitsets, which
4353 are a mapping between non-negative integers and boolean values focused on
4354 efficient space usage.")
4355 (home-page "https://github.com/willf/bitset")
4356 (license license:bsd-3)))
4358 (define-public go-github-com-willf-bloom
4360 (name "go-github-com-willf-bloom")
4365 (url "https://github.com/willf/bloom")
4366 (commit (string-append "v" version))))
4367 (file-name (git-file-name name version))
4370 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
4371 (build-system go-build-system)
4373 '(#:import-path "github.com/willf/bloom"
4375 (modify-phases %standard-phases
4376 (add-after 'unpack 'patch-import-path
4378 ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for
4379 ;; more information.
4380 ;; <https://github.com/spaolacci/murmur3/issues/29>
4381 (substitute* "src/github.com/willf/bloom/bloom.go"
4382 (("spaolacci") "twmb"))
4385 `(("go-github-com-twmb-murmur3" ,go-github-com-twmb-murmur3)
4386 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
4387 (synopsis "Bloom filters in Go")
4388 (description "This package provides a Go implementation of bloom filters,
4389 based on murmurhash.")
4390 (home-page "https://github.com/willf/bloom")
4391 (license license:bsd-2)))
4393 (define-public go-golang-org-rainycape-unidecode
4394 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
4397 (name "go-golang-org-rainycape-unidecode")
4398 (version (git-version "0.0.0" revision commit))
4402 (url "https://github.com/rainycape/unidecode")
4404 (file-name (string-append "go-golang-org-rainycape-unidecode-"
4405 version "-checkout"))
4408 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
4409 (build-system go-build-system)
4411 `(#:import-path "golang.org/rainycape/unidecode"))
4412 (home-page "https://github.com/rainycape/unidecode")
4413 (synopsis "Unicode transliterator in Golang")
4414 (description "Unicode transliterator in Golang - Replaces non-ASCII
4415 characters with their ASCII approximations.")
4416 (license license:asl2.0))))
4418 (define-public go-github-com-golang-freetype
4419 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
4422 (name "go-github-com-golang-freetype")
4423 (version (git-version "0.0.0" revision commit))
4427 (url "https://github.com/golang/freetype")
4429 (file-name (string-append "go-github-com-golang-freetype-"
4430 version "-checkout"))
4433 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
4434 (build-system go-build-system)
4436 `(#:import-path "github.com/golang/freetype"))
4438 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
4439 (home-page "https://github.com/golang/freetype")
4440 (synopsis "Freetype font rasterizer in the Go programming language")
4441 (description "The Freetype font rasterizer in the Go programming language.")
4442 (license (list license:freetype
4445 (define-public go-github-com-fogleman-gg
4447 (name "go-github-com-fogleman-gg")
4452 (url "https://github.com/fogleman/gg")
4453 (commit (string-append "v" version))))
4454 (file-name (git-file-name name version))
4457 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
4458 (build-system go-build-system)
4460 `(#:tests? #f ; Issue with test flags.
4461 #:import-path "github.com/fogleman/gg"))
4463 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
4464 (home-page "https://github.com/fogleman/gg")
4465 (synopsis "2D rendering in Go")
4466 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
4467 (license license:expat)))
4469 (define-public go-github-com-gedex-inflector
4470 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
4473 (name "go-github-com-gedex-inflector")
4474 (version (git-version "0.0.0" revision commit))
4478 (url "https://github.com/gedex/inflector")
4480 (file-name (string-append "go-github-com-gedex-inflector-"
4481 version "-checkout"))
4484 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
4485 (build-system go-build-system)
4487 `(#:import-path "github.com/gedex/inflector"))
4488 (home-page "https://github.com/gedex/inflector")
4489 (synopsis "Go library that pluralizes and singularizes English nouns")
4490 (description "Go library that pluralizes and singularizes English nouns.")
4491 (license license:bsd-2))))
4493 (define-public go-github-com-klauspost-cpuid
4495 (name "go-github-com-klauspost-cpuid")
4500 (url "https://github.com/klauspost/cpuid")
4501 (commit (string-append "v" version))))
4502 (file-name (git-file-name name version))
4505 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
4506 (build-system go-build-system)
4508 `(#:import-path "github.com/klauspost/cpuid"))
4509 (home-page "https://github.com/klauspost/cpuid")
4510 (synopsis "CPU feature identification for Go")
4511 (description "@code{cpuid} provides information about the CPU running the
4512 current program. CPU features are detected on startup, and kept for fast access
4513 through the life of the application. Currently x86 / x64 (AMD64) is supported,
4514 and no external C (cgo) code is used, which should make the library very eas
4516 (license license:expat)))
4518 (define-public go-github-com-pbnjay-memory
4519 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
4522 (name "go-github-com-pbnjay-memory")
4523 (version (git-version "0.0.0" revision commit))
4527 (url "https://github.com/pbnjay/memory")
4529 (file-name (string-append "go-github-com-pbnjay-memory-"
4530 version "-checkout"))
4533 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
4534 (build-system go-build-system)
4536 `(#:import-path "github.com/pbnjay/memory"))
4537 (home-page "https://github.com/gedex/inflector")
4538 (synopsis "Go library to report total system memory")
4539 (description "@code{memory} provides a single method reporting total
4540 physical system memory accessible to the kernel. It does not account for memory
4541 used by other processes.")
4542 (license license:bsd-3))))
4544 (define-public go-github-com-surge-glog
4545 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
4548 (name "go-github-com-surge-glog")
4549 (version (git-version "0.0.0" revision commit))
4553 (url "https://github.com/surge/glog")
4555 (file-name (string-append "go-github-com-surge-glog-"
4556 version "-checkout"))
4559 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
4560 (build-system go-build-system)
4562 `(#:import-path "github.com/surge/glog"))
4563 (home-page "https://github.com/surge/glog")
4564 (synopsis "Leveled execution logs for Go")
4565 (description "Leveled execution logs for Go.")
4566 (license license:asl2.0))))
4568 (define-public go-github-com-surgebase-porter2
4569 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
4572 (name "go-github-com-surgebase-porter2")
4573 (version (git-version "0.0.0" revision commit))
4577 (url "https://github.com/surgebase/porter2")
4579 (file-name (string-append "go-github-com-surgebase-porter2-"
4580 version "-checkout"))
4583 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
4584 (build-system go-build-system)
4586 `(#:import-path "github.com/surgebase/porter2"))
4588 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
4589 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
4590 (home-page "https://github.com/surgebase/porter2")
4591 (synopsis "Go library implementing english Porter2 stemmer")
4592 (description "Porter2 implements the
4593 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
4594 Porter2 stemmer}. It is written completely using finite state machines to do
4595 suffix comparison, rather than the string-based or tree-based approaches.")
4596 (license license:asl2.0))))
4598 (define-public go-github-com-masterminds-goutils
4600 (name "go-github-com-masterminds-goutils")
4605 (url "https://github.com/Masterminds/goutils")
4606 (commit (string-append "v" version))))
4607 (file-name (git-file-name name version))
4610 "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq"))))
4611 (build-system go-build-system)
4613 `(#:import-path "github.com/Masterminds/goutils"))
4614 (home-page "https://github.com/Masterminds/goutils/")
4615 (synopsis "Utility functions to manipulate strings")
4616 (description "GoUtils provides utility functions to manipulate strings in
4617 various ways. It is a Go implementation of some string manipulation libraries
4618 of Java Apache Commons.")
4619 (license license:asl2.0)))
4621 (define-public go-github-com-masterminds-semver
4623 (name "go-github-com-masterminds-semver")
4628 (url "https://github.com/Masterminds/semver")
4629 (commit (string-append "v" version))))
4630 (file-name (git-file-name name version))
4633 "1g1wizfdy29d02l9dh8gsb029yr4m4swp13swf0pnh9ryh5f1msz"))))
4634 (build-system go-build-system)
4636 `(#:import-path "github.com/Masterminds/semver"))
4637 (home-page "https://github.com/Masterminds/semver/")
4638 (synopsis "@code{semver} helps to work with semantic versions")
4639 (description "The semver package provides the ability to work with
4640 semantic versions. Specifically it provides the ability to:
4642 @item Parse semantic versions
4643 @item Sort semantic versions
4644 @item Check if a semantic version fits within a set of constraints
4645 @item Optionally work with a @code{v} prefix
4647 (license license:expat)))
4649 (define-public go-github-com-huandu-xstrings
4651 (name "go-github-com-huandu-xstrings")
4656 (url "https://github.com/huandu/xstrings")
4657 (commit (string-append "v" version))))
4658 (file-name (git-file-name name version))
4661 "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
4662 (build-system go-build-system)
4664 `(#:import-path "github.com/huandu/xstrings"))
4665 (home-page "https://github.com/huandu/xstrings/")
4666 (synopsis "Collection of string functions")
4667 (description "Go package xstrings is a collection of string functions,
4668 which are widely used in other languages but absent in Go package strings.")
4669 (license license:expat)))
4671 (define-public go-github-com-imdario-mergo
4673 (name "go-github-com-imdario-mergo")
4678 (url "https://github.com/imdario/mergo")
4679 (commit (string-append "v" version))))
4680 (file-name (git-file-name name version))
4683 "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
4684 (build-system go-build-system)
4686 `(#:import-path "github.com/imdario/mergo"))
4688 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
4689 (home-page "https://github.com/imdario/mergo/")
4690 (synopsis "Helper to merge structs and maps in Golang")
4691 (description "Helper to merge structs and maps in Golang. Useful for
4692 configuration default values, avoiding messy if-statements.
4694 Mergo merges same-type structs and maps by setting default values in
4695 zero-value fields. Mergo won't merge unexported (private) fields. It will do
4696 recursively any exported one. It also won't merge structs inside
4697 maps (because they are not addressable using Go reflection).")
4698 (license license:bsd-3)))
4700 (define-public go-github-com-masterminds-sprig
4702 (name "go-github-com-masterminds-sprig")
4707 (url "https://github.com/Masterminds/sprig")
4708 (commit (string-append "v" version))))
4709 (file-name (git-file-name name version))
4712 "0wwi8n2adjc5jlga25lqq0hrz4jcgd5vpll68y2dfji034caaq18"))))
4713 (build-system go-build-system)
4715 `(#:tests? #f ;network tests only
4716 #:import-path "github.com/Masterminds/sprig"))
4718 `(("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils)
4719 ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver)
4720 ("go-github-com-google-uuid" ,go-github-com-google-uuid)
4721 ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings)
4722 ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo)
4723 ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)
4724 ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure)
4725 ("go-github-com-spf13-cast" ,go-github-com-spf13-cast)
4726 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4727 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4728 (home-page "https://github.com/Masterminds/sprig/")
4729 (synopsis "Template functions for Go templates")
4730 (description "Sprig is a library that provides more than 100 commonly used
4731 template functions.")
4732 (license license:expat)))
4734 (define-public go-github-com-bmatcuk-doublestar
4736 (name "go-github-com-bmatcuk-doublestar")
4741 (url "https://github.com/bmatcuk/doublestar")
4742 (commit (string-append "v" version))))
4743 (file-name (git-file-name name version))
4746 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
4747 (build-system go-build-system)
4749 `(#:import-path "github.com/bmatcuk/doublestar"))
4750 (home-page "https://github.com/bmatcuk/doublestar/")
4751 (synopsis "Path pattern matching and globbing supporting doublestar")
4752 (description "@code{doublestar} is a Go implementation of path pattern
4753 matching and globbing with support for \"doublestar\" patterns.")
4754 (license license:expat)))
4756 (define-public go-github-com-dlclark-regexp2
4758 (name "go-github-com-dlclark-regexp2")
4763 (url "https://github.com/dlclark/regexp2")
4764 (commit (string-append "v" version))))
4765 (file-name (git-file-name name version))
4768 "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng"))))
4769 (build-system go-build-system)
4771 `(#:import-path "github.com/dlclark/regexp2"))
4772 (home-page "https://github.com/dlclark/regexp2/")
4773 (synopsis "Full featured regular expressions for Go")
4774 (description "Regexp2 is a feature-rich RegExp engine for Go.")
4775 (license license:expat)))
4777 (define-public go-github-com-alecthomas-colour
4779 (name "go-github-com-alecthomas-colour")
4784 (url "https://github.com/alecthomas/colour")
4785 (commit (string-append "v" version))))
4786 (file-name (git-file-name name version))
4789 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
4790 (build-system go-build-system)
4792 `(#:import-path "github.com/alecthomas/colour"))
4794 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
4795 (home-page "https://github.com/alecthomas/colour/")
4796 (synopsis "Colour terminal text for Go")
4797 (description "Package colour provides Quake-style colour formatting for
4800 The package level functions can be used to write to stdout (or strings or
4801 other files). If stdout is not a terminal, colour formatting will be
4803 (license license:expat)))
4805 (define-public go-github-com-alecthomas-repr
4806 (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
4809 (name "go-github-com-alecthomas-repr")
4810 (version (git-version "0.0.1" revision commit))
4814 (url "https://github.com/alecthomas/repr")
4816 (file-name (git-file-name name version))
4819 "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
4820 (build-system go-build-system)
4822 `(#:import-path "github.com/alecthomas/repr"))
4824 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4825 (home-page "https://github.com/alecthomas/repr/")
4826 (synopsis "Represent Go values in an almost direct form")
4827 (description "This package attempts to represent Go values in a form that
4828 can be used almost directly in Go source code.")
4829 (license license:expat))))
4831 (define-public go-github-com-sergi-go-diff
4833 (name "go-github-com-sergi-go-diff")
4838 (url "https://github.com/sergi/go-diff")
4839 (commit (string-append "v" version))))
4840 (file-name (git-file-name name version))
4843 "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
4844 (build-system go-build-system)
4846 `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
4847 #:unpack-path "github.com/sergi/go-diff"))
4849 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4850 (home-page "https://github.com/sergi/go-diff/")
4851 (synopsis "Algorithms to perform operations for synchronizing plain text")
4852 (description "@code{go-diff} offers algorithms to perform operations required for
4853 synchronizing plain text:
4855 @item compare two texts and return their differences
4856 @item perform fuzzy matching of text
4857 @item apply patches onto text
4859 (license license:expat)))
4861 (define-public go-github-com-alecthomas-assert
4862 (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
4865 (name "go-github-com-alecthomas-assert")
4866 (version (git-version "0.0.1" revision commit))
4870 (url "https://github.com/alecthomas/assert")
4872 (file-name (git-file-name name version))
4875 "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
4876 (build-system go-build-system)
4878 `(#:import-path "github.com/alecthomas/assert"))
4880 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4881 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4882 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4883 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4884 (home-page "https://github.com/alecthomas/assert/")
4885 (synopsis "Go assertion library")
4886 (description "Assertion library that:
4888 @item makes spotting differences in equality much easier
4889 @item uses repr and diffmatchpatch to display structural differences in colour
4890 @item aborts tests on first assertion failure
4892 (license license:expat))))
4894 (define-public go-github-com-alecthomas-chroma
4896 (name "go-github-com-alecthomas-chroma")
4901 (url "https://github.com/alecthomas/chroma")
4902 (commit (string-append "v" version))))
4903 (file-name (git-file-name name version))
4906 "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
4907 (build-system go-build-system)
4909 `(#:import-path "github.com/alecthomas/chroma"))
4911 `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
4912 ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
4913 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4914 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4915 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4916 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4917 (home-page "https://github.com/alecthomas/chroma/")
4918 (synopsis "General purpose syntax highlighter in pure Go")
4919 (description "Chroma takes source code and other structured text and
4920 converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
4921 (license license:expat)))
4923 (define-public go-github-com-andybalholm-cascadia
4925 (name "go-github-com-andybalholm-cascadia")
4930 (url "https://github.com/andybalholm/cascadia")
4931 (commit (string-append "v" version))))
4932 (file-name (git-file-name name version))
4935 "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc"))))
4936 (build-system go-build-system)
4938 `(#:import-path "github.com/andybalholm/cascadia"))
4940 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
4941 (home-page "https://github.com/andybalholm/cascadia/")
4942 (synopsis "CSS selectors for HTML")
4943 (description "The Cascadia package implements CSS selectors for use with
4944 the parse trees produced by the html package.")
4945 (license license:bsd-2)))
4947 (define-public go-github-com-puerkitobio-goquery
4949 (name "go-github-com-puerkitobio-goquery")
4954 (url "https://github.com/PuerkitoBio/goquery")
4955 (commit (string-append "v" version))))
4956 (file-name (git-file-name name version))
4959 "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx"))))
4960 (build-system go-build-system)
4962 `(#:import-path "github.com/PuerkitoBio/goquery"))
4964 `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4965 ("go-golang-org-x-net" ,go-golang-org-x-net)))
4966 (home-page "https://github.com/PuerkitoBio/goquery")
4967 (synopsis "Features similar to jQuery to the Go language")
4968 (description "@code{goquery} brings a syntax and a set of features similar
4969 to jQuery to the Go language.")
4970 (license license:bsd-3)))
4972 (define-public go-github-com-aymerick-douceur
4974 (name "go-github-com-aymerick-douceur")
4979 (url "https://github.com/aymerick/douceur/")
4980 (commit (string-append "v" version))))
4981 (file-name (git-file-name name version))
4984 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4985 (build-system go-build-system)
4987 `(#:import-path "github.com/aymerick/douceur"))
4989 `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
4990 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4991 ("go-golang-org-x-net" ,go-golang-org-x-net)
4992 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
4993 (home-page "https://github.com/aymerick/douceur/")
4994 (synopsis "CSS parser and inliner")
4995 (description "This package provides a CSS parser and inliner.")
4996 (license license:expat)))
4998 (define-public go-github-com-chris-ramon-douceur
5000 (name "go-github-com-chris-ramon-douceur")
5005 (url "https://github.com/chris-ramon/douceur")
5006 (commit (string-append "v" version))))
5007 (file-name (git-file-name name version))
5010 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
5011 (build-system go-build-system)
5013 `(#:import-path "github.com/chris-ramon/douceur"))
5015 `(("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5016 ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
5017 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
5018 ("go-golang-org-x-net" ,go-golang-org-x-net)
5019 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
5020 (home-page "https://github.com/chris-ramon/douceur/")
5021 (synopsis "CSS parser and inliner")
5022 (description "This package provides a CSS parser and inliner.")
5023 (license license:expat)))
5025 (define-public go-github-com-microcosm-cc-bluemonday
5027 (name "go-github-com-microcosm-cc-bluemonday")
5032 (url "https://github.com/microcosm-cc/bluemonday")
5033 (commit (string-append "v" version))))
5034 (file-name (git-file-name name version))
5037 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
5038 (build-system go-build-system)
5040 `(#:import-path "github.com/microcosm-cc/bluemonday"))
5042 `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5043 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5044 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5045 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5046 (home-page "https://github.com/microcosm-cc/bluemonday/")
5047 (synopsis "HTML sanitizer")
5048 (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
5049 (license license:bsd-3)))
5051 (define-public go-github-com-muesli-reflow-wordwrap
5053 (name "go-github-com-muesli-reflow-wordwrap")
5058 (url "https://github.com/muesli/reflow")
5059 (commit (string-append "v" version))))
5060 (file-name (git-file-name "go-github-com-muesli-reflow" version))
5063 "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
5064 (build-system go-build-system)
5066 `(#:import-path "github.com/muesli/reflow/wordwrap"
5067 #:unpack-path "github.com/muesli/reflow"))
5069 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5070 (home-page "https://github.com/muesli/reflow/")
5071 (synopsis "Collection of methods helping to transform blocks of text")
5072 (description "This package provides a collection of ANSI-aware methods and
5073 io.Writers helping you to transform blocks of text.")
5074 (license license:expat)))
5076 (define-public go-github-com-muesli-reflow-ansi
5078 (inherit go-github-com-muesli-reflow-wordwrap)
5079 (name "go-github-com-muesli-reflow-ansi")
5081 `(#:import-path "github.com/muesli/reflow/ansi"
5082 #:unpack-path "github.com/muesli/reflow"))))
5084 (define-public go-github-com-muesli-reflow-indent
5086 (inherit go-github-com-muesli-reflow-wordwrap)
5087 (name "go-github-com-muesli-reflow-indent")
5089 `(#:import-path "github.com/muesli/reflow/indent"
5090 #:unpack-path "github.com/muesli/reflow"))))
5092 (define-public go-github-com-muesli-reflow-padding
5094 (inherit go-github-com-muesli-reflow-wordwrap)
5095 (name "go-github-com-muesli-reflow-padding")
5097 `(#:import-path "github.com/muesli/reflow/padding"
5098 #:unpack-path "github.com/muesli/reflow"))))
5100 (define-public go-github-com-muesli-termenv
5102 (name "go-github-com-muesli-termenv")
5107 (url "https://github.com/muesli/termenv")
5108 (commit (string-append "v" version))))
5109 (file-name (git-file-name name version))
5112 "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
5113 (build-system go-build-system)
5115 `(#:import-path "github.com/muesli/termenv"))
5117 `(("go-github-com-google-goterm" ,go-github-com-google-goterm)
5118 ("go-golang-org-colorful" ,go-golang-org-colorful)
5119 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5120 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5121 (home-page "https://github.com/muesli/termenv/")
5122 (synopsis "Advanced styling options on the terminal")
5123 (description "termenv lets you safely use advanced styling options on the
5124 terminal. It gathers information about the terminal environment in terms of
5125 its ANSI and color support and offers you convenient methods to colorize and
5126 style your output, without you having to deal with all kinds of weird ANSI
5127 escape sequences and color conversions.")
5128 (license license:expat)))
5130 (define-public go-github-com-olekukonko-tablewriter
5132 (name "go-github-com-olekukonko-tablewriter")
5137 (url "https://github.com/olekukonko/tablewriter")
5138 (commit (string-append "v" version))))
5139 (file-name (git-file-name name version))
5142 "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x"))))
5143 (build-system go-build-system)
5145 `(#:import-path "github.com/olekukonko/tablewriter"))
5147 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5148 (home-page "https://github.com/olekukonko/tablewriter/")
5149 (synopsis "Generate ASCII table")
5150 (description "This package allows to generate ASCII table. Features:
5152 @item automatic Padding
5153 @item support Multiple Lines
5154 @item supports Alignment
5155 @item support Custom Separators
5156 @item automatic Alignment of numbers and percentage
5157 @item write directly to http , file etc via @code{io.Writer}
5158 @item read directly from CSV file
5159 @item optional row line via @code{SetRowLine}
5160 @item normalise table header
5161 @item make CSV Headers optional
5162 @item enable or disable table border
5163 @item set custom footer support
5164 @item optional identical cells merging
5165 @item set custom caption
5166 @item optional reflowing of paragrpahs in multi-line cells
5168 (license license:expat)))
5170 (define-public go-github-com-yuin-goldmark
5172 (name "go-github-com-yuin-goldmark")
5177 (url "https://github.com/yuin/goldmark")
5178 (commit (string-append "v" version))))
5179 (file-name (git-file-name name version))
5182 "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy"))))
5183 (build-system go-build-system)
5185 `(#:import-path "github.com/yuin/goldmark"))
5186 (home-page "https://github.com/yuin/goldmark/")
5187 (synopsis "Markdown parser")
5188 (description "This package provides a markdown parser.")
5189 (license license:expat)))
5191 (define-public go-github-com-charmbracelet-glamour
5193 (name "go-github-com-charmbracelet-glamour")
5198 (url "https://github.com/charmbracelet/glamour")
5199 (commit (string-append "v" version))))
5200 (file-name (git-file-name name version))
5203 "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
5204 (build-system go-build-system)
5206 `(#:import-path "github.com/charmbracelet/glamour"))
5208 `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
5209 ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
5210 ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
5211 ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
5212 ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5213 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5214 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5215 ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
5216 ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
5217 ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
5218 ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
5219 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
5220 ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
5221 ("go-github-com-google-goterm" ,go-github-com-google-goterm)
5222 ("go-golang-org-colorful" ,go-golang-org-colorful)
5223 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5224 ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
5225 ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
5226 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5227 (home-page "https://github.com/charmbracelet/glamour/")
5228 (synopsis "Write handsome command-line tools with glamour")
5229 (description "@code{glamour} lets you render markdown documents and
5230 templates on ANSI compatible terminals. You can create your own stylesheet or
5231 use one of our glamourous default themes.")
5232 (license license:expat)))
5234 (define-public go-github-com-coreos-go-semver
5236 (name "go-github-com-coreos-go-semver")
5241 (url "https://github.com/coreos/go-semver")
5242 (commit (string-append "v" version))))
5243 (file-name (git-file-name name version))
5246 "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9"))))
5247 (build-system go-build-system)
5249 `(#:import-path "github.com/coreos/go-semver"))
5250 (home-page "https://github.com/coreos/go-semver/")
5251 (synopsis "Semantic versioning library")
5252 (description "@code{go-semver} is a semantic versioning library for Go.
5253 It lets you parse and compare two semantic version strings.")
5254 (license license:asl2.0)))
5256 (define-public go-github-com-emirpasic-gods
5258 (name "go-github-com-emirpasic-gods")
5263 (url "https://github.com/emirpasic/gods")
5264 (commit (string-append "v" version))))
5265 (file-name (git-file-name name version))
5268 "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1"))))
5269 (build-system go-build-system)
5271 `(#:import-path "github.com/emirpasic/gods"
5272 ; Source-only package
5275 (modify-phases %standard-phases
5277 (home-page "https://github.com/emirpasic/gods/")
5278 (synopsis "Implementation of various data structures and algorithms in Go")
5279 (description "This package provides implementation of various data
5280 structures and algorithms in Go.")
5281 (license license:bsd-2)))
5283 (define-public go-gopkg-in-warnings
5285 (name "go-gopkg-in-warnings")
5290 (url "https://github.com/go-warnings/warnings")
5291 (commit (string-append "v" version))))
5292 (file-name (git-file-name name version))
5295 "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81"))))
5296 (build-system go-build-system)
5298 `(#:import-path "gopkg.in/warnings.v0"))
5299 (home-page "https://gopkg.in/warnings.v0")
5300 (synopsis "Error handling with non-fatal errors")
5301 (description "Package warnings implements error handling with non-fatal
5302 errors (warnings).")
5303 (license license:bsd-2)))
5305 (define-public go-github-com-go-git-gcfg
5307 (name "go-github-com-go-git-gcfg")
5312 (url "https://github.com/go-git/gcfg")
5313 (commit (string-append "v" version))))
5314 (file-name (git-file-name name version))
5317 "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83"))))
5319 `(#:import-path "github.com/go-git/gcfg"))
5321 `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings)
5322 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
5323 (build-system go-build-system)
5324 (home-page "https://github.com/go-git/gcfg/")
5325 (synopsis "Gcfg reads INI-style configuration files into Go structs")
5326 (description "Gcfg reads INI-style configuration files into Go structs.")
5327 (license license:bsd-3)))
5329 (define-public go-github-com-go-git-go-billy
5331 (name "go-github-com-go-git-go-billy")
5336 (url "https://github.com/go-git/go-billy")
5337 (commit (string-append "v" version))))
5338 (file-name (git-file-name name version))
5341 "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx"))))
5342 (build-system go-build-system)
5344 `(#:import-path "github.com/go-git/go-billy/v5"))
5346 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5347 (home-page "https://github.com/go-git/go-billy/")
5348 (synopsis "File system abstraction for Go")
5349 (description "Billy implements an interface based on the OS's standard
5350 library to develop applications without depending on the underlying storage.
5351 This makes it virtually free to implement mocks and testing over
5352 file system operations.")
5353 (license license:asl2.0)))
5355 (define-public go-github-com-jbenet-go-context
5356 (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
5359 (name "go-github-com-jbenet-go-context")
5360 (version (git-version "0.0.1" revision commit))
5364 (url "https://github.com/jbenet/go-context")
5366 (file-name (git-file-name name version))
5369 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
5370 (build-system go-build-system)
5372 `(#:import-path "github.com/jbenet/go-context"
5373 ; Source-only package
5376 (modify-phases %standard-phases
5378 (home-page "https://github.com/jbenet/go-context/")
5379 (synopsis "@code{jbenet's} context extensions")
5380 (description "This package provides @code{jbenet's} context
5382 (license license:expat))))
5384 (define-public go-github-com-kevinburke-ssh-config
5386 (name "go-github-com-kevinburke-ssh-config")
5391 (url "https://github.com/kevinburke/ssh_config")
5393 (file-name (git-file-name name version))
5396 "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f"))))
5398 `(#:import-path "github.com/kevinburke/ssh_config"))
5399 (build-system go-build-system)
5400 (home-page "https://github.com/kevinburke/ssh_config/")
5401 (synopsis "Parser for @file{ssh_config} files")
5402 (description "This is a Go parser for @file{ssh_config} files.
5403 Importantly, this parser attempts to preserve comments in a given file, so you
5404 can manipulate a @file{ssh_config} file from a program.")
5405 (license license:expat)))
5407 (define-public go-github-com-xanzy-ssh-agent
5409 (name "go-github-com-xanzy-ssh-agent")
5414 (url "https://github.com/xanzy/ssh-agent")
5415 (commit (string-append "v" version))))
5416 (file-name (git-file-name name version))
5419 "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
5420 (build-system go-build-system)
5422 `(#:import-path "github.com/xanzy/ssh-agent"))
5424 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
5425 (home-page "https://github.com/xanzy/ssh-agent/")
5426 (synopsis "Control ssh-agent from Go")
5427 (description "Package agent implements the ssh-agent protocol, and
5428 provides both a client and a server. The client can talk to a standard
5429 ssh-agent that uses UNIX sockets, and one could implement an alternative
5430 ssh-agent process using the sample server. ")
5431 (license license:asl2.0)))
5433 (define-public go-github-com-alcortesm-tgz
5434 (let ((commit "9c5fe88206d7765837fed3732a42ef88fc51f1a1")
5437 (name "go-github-com-alcortesm-tgz")
5438 (version (git-version "0.0.1" revision commit))
5442 (url "https://github.com/alcortesm/tgz")
5444 (file-name (git-file-name name version))
5447 "04dcwnz2c2i4wbq2vx3g2wrdgqpncr2r1h6p1k08rdwk4bq1h8c5"))
5448 (modules '((guix build utils)))
5451 (substitute* "tgz_test.go"
5453 (("t.Fatalf\\(\"%s: unexpected error extracting: %s\", err\\)")
5454 "t.Fatalf(\"%s: unexpected error extracting: %s\", com, err)"))
5456 (build-system go-build-system)
5458 `(#:import-path "github.com/alcortesm/tgz"
5460 (modify-phases %standard-phases
5461 (add-after 'unpack 'make-git-checkout-writable
5462 (lambda* (#:key outputs #:allow-other-keys)
5463 (for-each make-file-writable (find-files "."))
5464 (for-each make-file-writable (find-files (assoc-ref outputs "out")))
5466 (home-page "https://github.com/alcortesm/tgz/")
5467 (synopsis "Go library to extract tgz files to temporal directories")
5468 (description "This package provides a Go library to extract tgz files to
5469 temporal directories.")
5470 (license license:expat))))
5472 (define-public go-github-com-go-git-go-git-fixtures
5474 (name "go-github-com-go-git-go-git-fixtures")
5479 (url "https://github.com/go-git/go-git-fixtures")
5480 (commit (string-append "v" version))))
5481 (file-name (git-file-name name version))
5484 "002yb1s2mxq2xijkl39ip1iyc3l52k23ikyi9ijfl4bgqxy79ljg"))))
5485 (build-system go-build-system)
5487 `(#:import-path "github.com/go-git/go-git-fixtures/v4"
5489 (modify-phases %standard-phases
5490 (delete 'reset-gzip-timestamps))))
5492 `(("go-github-com-alcortesm-tgz" ,go-github-com-alcortesm-tgz)
5493 ("go-github-com-go-git-go-billy" ,go-github-com-go-git-go-billy)
5494 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
5495 ("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5496 (home-page "https://github.com/go-git/go-git-fixtures/")
5497 (synopsis "Fixtures used by @code{go-git}")
5498 (description "This package provides fixtures used by @code{go-git}.")
5499 (license license:asl2.0)))
5501 (define-public go-github-com-pkg-diff
5502 (let ((commit "531926345625d489a6b56f860a569e68245ace36")
5505 (name "go-github-com-pkg-diff")
5506 (version (git-version "0.0.1" revision commit))
5510 (url "https://github.com/pkg/diff")
5512 (file-name (git-file-name name version))
5515 "1770m7qhww6lm0wj1v3mhv6hwa2v92p4w2fqxj1xyrg5dd58d944"))))
5516 (build-system go-build-system)
5518 `(#:import-path "github.com/pkg/diff"))
5520 `(("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
5521 (home-page "https://github.com/pkg/diff/")
5522 (synopsis "Create and print diffs")
5524 "This package provides a Go library to create and print diffs.")
5525 (license license:bsd-3))))
5527 (define-public go-github-com-twpayne-go-shell
5529 (name "go-github-com-twpayne-go-shell")
5534 (url "https://github.com/twpayne/go-shell")
5535 (commit (string-append "v" version))))
5536 (file-name (git-file-name name version))
5539 "1hv0ggy3935iddjnmpp9vl0kqjknxpnbmm9w7xr3gds7fpbxz6yp"))))
5540 (build-system go-build-system)
5542 `(#:import-path "github.com/twpayne/go-shell"))
5543 (home-page "https://github.com/twpayne/go-shell/")
5544 (synopsis "Shell across multiple platforms")
5546 "Package @code{shell} returns a user's shell across multiple platforms.")
5547 (license license:expat)))
5549 (define-public go-github-com-twpayne-go-vfs
5551 (name "go-github-com-twpayne-go-vfs")
5556 (url "https://github.com/twpayne/go-vfs")
5557 (commit (string-append "v" version))))
5558 (file-name (git-file-name name version))
5561 "19dm3gi45znwaqbzxhwcgkiz8059bwa3ank80hc6qhdl579bpjnz"))))
5562 (build-system go-build-system)
5564 `(#:import-path "github.com/twpayne/go-vfs"))
5566 `(("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar)))
5567 (home-page "https://github.com/twpayne/go-vfs/")
5568 (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
5569 (description "Package @code{vfs} provides an abstraction of the @code{os}
5570 and @code{ioutil} packages that is easy to test.")
5571 (license license:expat)))
5573 (define-public go-github-com-twpayne-go-vfsafero
5575 (name "go-github-com-twpayne-go-vfsafero")
5580 (url "https://github.com/twpayne/go-vfsafero")
5581 (commit (string-append "v" version))))
5582 (file-name (git-file-name name version))
5585 "18jwxhlrjd06z8xzg9ij0irl4f79jfy5jpwiz6xqlhzb1fja19pw"))))
5586 (build-system go-build-system)
5588 `(#:import-path "github.com/twpayne/go-vfsafero"))
5590 `(("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)
5591 ("go-github-com-spf13-afero" ,go-github-com-spf13-afero)))
5592 (home-page "https://github.com/twpayne/go-vfsafero/")
5593 (synopsis "Compatibility later between @code{go-vfs} and @code{afero}")
5595 "Package @code{vfsafero} provides a compatibility later between
5596 @code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.")
5597 (license license:expat)))
5599 (define-public go-github-com-twpayne-go-xdg
5601 (name "go-github-com-twpayne-go-xdg")
5606 (url "https://github.com/twpayne/go-xdg")
5607 (commit (string-append "v" version))))
5608 (file-name (git-file-name name version))
5611 "0j8q7yzixs6jlaad0lpa8hs6b240gm2cmy0yxgnprrbpa0y2r7ln"))))
5612 (build-system go-build-system)
5614 `(#:import-path "github.com/twpayne/go-xdg/v3"))
5616 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
5617 ("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)))
5618 (home-page "https://github.com/twpayne/go-xdg/")
5619 (synopsis "Functions related to freedesktop.org")
5620 (description "Package @code{xdg} provides functions related to
5621 @uref{freedesktop.org}.")
5622 (license license:expat)))
5624 (define-public go-github-com-godbus-dbus
5626 (name "go-github-com-godbus-dbus")
5631 (url "https://github.com/godbus/dbus")
5632 (commit (string-append "v" version))))
5633 (file-name (git-file-name name version))
5636 "1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
5637 (build-system go-build-system)
5639 `(#:tests? #f ;no /var/run/dbus/system_bus_socket
5640 #:import-path "github.com/godbus/dbus"))
5642 `(("dbus" ,dbus))) ;dbus-launch
5643 (home-page "https://github.com/godbus/dbus/")
5644 (synopsis "Native Go client bindings for the D-Bus")
5645 (description "@code{dbus} is a library that implements native Go client
5646 bindings for the D-Bus message bus system.")
5647 (license license:bsd-2)))
5649 (define-public go-github-com-zalando-go-keyring
5651 (name "go-github-com-zalando-go-keyring")
5656 (url "https://github.com/zalando/go-keyring")
5657 (commit (string-append "v" version))))
5658 (file-name (git-file-name name version))
5661 "0kj54nkiyccy6m9iy9a53f6412a54xk96j88jaiq35yzdgfa4z3p"))))
5662 (build-system go-build-system)
5664 `(#:tests? #f ;XXX: Fix dbus tests
5665 #:import-path "github.com/zalando/go-keyring"))
5667 `(("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus)
5669 (home-page "https://github.com/zalando/go-keyring/")
5670 (synopsis "Library for working with system keyring")
5671 (description "@code{go-keyring} is a library for setting, getting and
5672 deleting secrets from the system keyring.")
5673 (license license:expat)))
5675 (define-public go-etcd-io-bbolt
5677 (name "go-etcd-io-bbolt")
5682 (url "https://github.com/etcd-io/bbolt")
5683 (commit (string-append "v" version))))
5684 (file-name (git-file-name name version))
5687 "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r"))))
5688 (build-system go-build-system)
5690 `(#:import-path "go.etcd.io/bbolt"))
5691 (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
5692 (synopsis "Low-level key/value store in Go")
5693 (description "This package implements a low-level key/value store in Go.")
5694 (license license:expat)))
5696 (define-public go-github-com-rogpeppe-go-internal
5698 (name "go-github-com-rogpeppe-go-internal")
5703 (url "https://github.com/rogpeppe/go-internal")
5704 (commit (string-append "v" version))))
5705 (file-name (git-file-name name version))
5708 "00j2vpp1bsggdvw1winkz23mg0q6drjiir5q0k49pmqx1sh7106l"))))
5709 (build-system go-build-system)
5711 `(#:import-path "github.com/rogpeppe/go-internal"
5712 ; Source-only package
5715 (modify-phases %standard-phases
5717 (home-page "https://github.com/rogpeppe/go-internal/")
5718 (synopsis "Internal packages from the Go standard library")
5719 (description "This repository factors out an opinionated selection of
5720 internal packages and functionality from the Go standard library. Currently
5721 this consists mostly of packages and testing code from within the Go tool
5724 Included are the following:
5726 @item dirhash: calculate hashes over directory trees the same way that the Go tool does.
5727 @item goproxytest: a GOPROXY implementation designed for test use.
5728 @item gotooltest: Use the Go tool inside test scripts (see testscript below)
5729 @item imports: list of known architectures and OSs, and support for reading import import statements.
5730 @item modfile: read and write go.mod files while preserving formatting and comments.
5731 @item module: module paths and versions.
5732 @item par: do work in parallel.
5733 @item semver: semantic version parsing.
5734 @item testenv: information on the current testing environment.
5735 @item testscript: script-based testing based on txtar files
5736 @item txtar: simple text-based file archives for testing.
5738 (license license:bsd-3)))
5740 (define-public gopkg-in-errgo-fmt-errors
5742 (name "gopkg-in-errgo-fmt-errors")
5747 (url "https://github.com/go-errgo/errgo")
5748 (commit (string-append "v" version))))
5749 (file-name (git-file-name name version))
5752 "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2"))))
5753 (build-system go-build-system)
5755 `(#:import-path "gopkg.in/errgo.v2/fmt/errors"
5757 ;; Source-only package
5759 (modify-phases %standard-phases
5761 (home-page "https://godoc.org/gopkg.in/errgo.v2")
5762 (synopsis "Functions that use the fmt package to format error messages")
5763 (description "This package is the same as @code{gopkg.in/errgo.v2/errors}
5764 except that it adds convenience functions that use the fmt package to format
5766 (license license:bsd-3)))
5768 (define-public go-github-com-arceliar-phony
5769 (let ((commit "d0c68492aca0bd4b5c5c8e0452c9b4c8af923eaf")
5772 (name "go-github-com-arceliar-phony")
5773 (version (git-version "0.0.0" revision commit))
5778 (url "https://github.com/Arceliar/phony")
5780 (file-name (git-file-name name version))
5783 "0876y0hlb1zh8hn0pxrb5zfdadvaqmqwlr66p19yl2a76galz992"))))
5785 '(#:import-path "github.com/Arceliar/phony"))
5786 (build-system go-build-system)
5787 (home-page "https://github.com/Arceliar/phony")
5788 (synopsis "Very minimal actor model library")
5789 (description "Phony is a very minimal actor model library for Go,
5790 inspired by the causal messaging system in the Pony programming language.")
5791 (license license:expat))))
5793 (define-public go-github-com-cheggaaa-pb
5795 (name "go-github-com-cheggaaa-pb")
5801 (url "https://github.com/cheggaaa/pb/")
5802 (commit (string-append "v" version))))
5803 (file-name (git-file-name name version))
5806 "0xhsv9yf3fz918ay6w0d87jnb3hk9vxvi16jk172kqq26x7jixd0"))))
5807 (build-system go-build-system)
5809 '(#:import-path "github.com/cheggaaa/pb/"))
5811 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
5812 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
5813 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
5814 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
5816 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
5817 (home-page "https://github.com/cheggaaa/pb/")
5818 (synopsis "Console progress bar for Go")
5819 (description "This package is a Go library that draws progress bars on
5821 (license license:bsd-3)))
5823 (define-public go-github-com-gologme-log
5824 ;; this is the same as v1.2.0, only the LICENSE file changed
5825 (let ((commit "720ba0b3ccf0a91bc6018c9967a2479f93f56a55"))
5827 (name "go-github-com-gologme-log")
5833 (url "https://github.com/gologme/log")
5835 (file-name (git-file-name name version))
5838 "0z3gs5ngv2jszp42ypp3ai0pn410v3b2m674g73ma7vsbn2yjk1n"))))
5839 (build-system go-build-system)
5841 '(#:import-path "github.com/gologme/log"))
5842 (home-page "https://github.com/gologme/log/")
5844 "Fork of the golang built in log package to add support for levels")
5845 (description "This package is a drop in replacement for the built-in Go
5846 log package. All the functionality of the built-in package still exists and
5847 is unchanged. This package contains a series of small enhancements and
5849 (license license:bsd-3))))