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>
22 ;;; This file is part of GNU Guix.
24 ;;; GNU Guix is free software; you can redistribute it and/or modify it
25 ;;; under the terms of the GNU General Public License as published by
26 ;;; the Free Software Foundation; either version 3 of the License, or (at
27 ;;; your option) any later version.
29 ;;; GNU Guix is distributed in the hope that it will be useful, but
30 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
31 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 ;;; GNU General Public License for more details.
34 ;;; You should have received a copy of the GNU General Public License
35 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
37 (define-module (gnu packages golang)
38 #:use-module ((guix licenses) #:prefix license:)
39 #:use-module (guix utils)
40 #:use-module (guix download)
41 #:use-module (guix git-download)
42 #:use-module (guix packages)
43 #:use-module (guix build-system gnu)
44 #:use-module (guix build-system trivial)
45 #:use-module (guix build-system go)
46 #:use-module (gnu packages)
47 #:use-module (gnu packages admin)
48 #:use-module (gnu packages gcc)
49 #:use-module (gnu packages glib)
50 #:use-module (gnu packages base)
51 #:use-module (gnu packages perl)
52 #:use-module (gnu packages pkg-config)
53 #:use-module (gnu packages pcre)
54 #:use-module (gnu packages lua)
55 #:use-module (gnu packages mp3)
56 #:use-module (gnu packages textutils)
57 #:use-module (gnu packages tls)
58 #:use-module (ice-9 match)
59 #:use-module (srfi srfi-1))
61 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
62 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
63 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
64 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
65 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
66 ;; gccgo-5. Mips is not officially supported, but it should work if it is
72 ;; The C-language bootstrap of Go:
73 ;; https://golang.org/doc/install/source#go14
74 (version "1.4-bootstrap-20171003")
77 (uri (string-append "https://storage.googleapis.com/golang/"
78 name version ".tar.gz"))
81 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
82 (build-system gnu-build-system)
87 `(#:modules ((ice-9 match)
88 (guix build gnu-build-system)
91 #:tests? #f ; Tests are run by the all.bash script.
92 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
93 (%current-target-system)))
94 '(#:system "armhf-linux")
97 (modify-phases %standard-phases
99 (add-after 'patch-generated-file-shebangs 'chdir
103 (add-before 'build 'prebuild
104 (lambda* (#:key inputs outputs #:allow-other-keys)
105 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
106 (ld (string-append (assoc-ref inputs "libc") "/lib"))
107 (loader (car (find-files ld "^ld-linux.+")))
108 (net-base (assoc-ref inputs "net-base"))
110 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
111 (output (assoc-ref outputs "out")))
113 ;; Removing net/ tests, which fail when attempting to access
114 ;; network resources not present in the build container.
115 (for-each delete-file
116 '("net/multicast_test.go" "net/parse_test.go"
119 ;; Add libgcc to the RUNPATH.
120 (substitute* "cmd/go/build.go"
121 (("cgoldflags := \\[\\]string\\{\\}")
122 (string-append "cgoldflags := []string{"
123 "\"-rpath=" gcclib "\"}"))
124 (("ldflags := buildLdflags")
126 "ldflags := buildLdflags\n"
127 "ldflags = append(ldflags, \"-r\")\n"
128 "ldflags = append(ldflags, \"" gcclib "\")\n")))
130 (substitute* "os/os_test.go"
131 (("/usr/bin") (getcwd))
132 (("/bin/pwd") (which "pwd")))
134 ;; Disable failing tests: these tests attempt to access
135 ;; commands or network resources which are neither available or
136 ;; necessary for the build to succeed.
141 ((regex all before test_name)
142 (string-append before "Disabled" test_name)))))
143 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
144 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
145 ("os/os_test.go" "(.+)(TestHostname.+)")
146 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
148 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
149 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
150 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
151 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
152 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
153 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
154 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
155 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
156 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
158 (substitute* "net/lookup_unix.go"
159 (("/etc/protocols") (string-append net-base "/etc/protocols")))
160 (substitute* "time/zoneinfo_unix.go"
161 (("/usr/share/zoneinfo/") tzdata-path))
162 (substitute* (find-files "cmd" "asm.c")
163 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
167 (lambda* (#:key inputs outputs #:allow-other-keys)
168 ;; FIXME: Some of the .a files are not bit-reproducible.
169 (let* ((output (assoc-ref outputs "out")))
170 (setenv "CC" (which "gcc"))
171 (setenv "GOOS" "linux")
172 (setenv "GOROOT" (dirname (getcwd)))
173 (setenv "GOROOT_FINAL" output)
174 (setenv "GO14TESTS" "1")
175 (invoke "sh" "all.bash"))))
178 (lambda* (#:key outputs inputs #:allow-other-keys)
179 (let* ((output (assoc-ref outputs "out"))
180 (doc_out (assoc-ref outputs "doc"))
181 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
182 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
183 (tests (string-append
184 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
186 (copy-recursively "../test" (string-append tests "/test"))
187 (delete-file-recursively "../test")
189 (copy-recursively "../api" (string-append docs "/api"))
190 (delete-file-recursively "../api")
191 (copy-recursively "../doc" (string-append docs "/doc"))
192 (delete-file-recursively "../doc")
194 (for-each (lambda (file)
195 (let ((file (string-append "../" file)))
196 (install-file file docs)
198 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
199 "LICENSE" "VERSION" "robots.txt"))
200 (copy-recursively "../" output)
205 ("gcc:lib" ,(canonical-package gcc) "lib")))
207 `(("pkg-config" ,pkg-config)
209 ("net-base" ,net-base)
212 (home-page "https://golang.org/")
213 (synopsis "Compiler and libraries for Go, a statically-typed language")
214 (description "Go, also commonly referred to as golang, is an imperative
215 programming language designed primarily for systems programming. Go is a
216 compiled, statically typed language in the tradition of C and C++, but adds
217 garbage collection, various safety features, and concurrent programming features
218 in the style of communicating sequential processes (@dfn{CSP}).")
219 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
220 (license license:bsd-3)))
222 (define-public go-1.14
231 (url "https://github.com/golang/go")
232 (commit (string-append "go" version))))
233 (file-name (git-file-name name version))
236 "08bazglmqp123c9dgrxflvxd011xsqfxsgah2kzbvca0mhm6qcm3"))))
238 (substitute-keyword-arguments (package-arguments go-1.4)
240 (if (string-prefix? "aarch64-linux" (or (%current-system)
241 (%current-target-system)))
245 `(modify-phases ,phases
247 (lambda* (#:key inputs outputs #:allow-other-keys)
248 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
249 (ld (string-append (assoc-ref inputs "libc") "/lib"))
250 (loader (car (find-files ld "^ld-linux.+")))
251 (net-base (assoc-ref inputs "net-base"))
253 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
254 (output (assoc-ref outputs "out")))
256 ;; Having the patch in the 'patches' field of <origin> breaks
257 ;; the 'TestServeContent' test due to the fact that
258 ;; timestamps are reset. Thus, apply it from here.
259 (invoke "patch" "-p2" "--force" "-i"
260 (assoc-ref inputs "go-skip-gc-test.patch"))
262 ;; A side effect of these test scripts is testing
263 ;; cgo. Attempts at using cgo flags and directives with these
264 ;; scripts as specified here (https://golang.org/cmd/cgo/)
265 ;; have not worked. The tests continue to state that they can
266 ;; not find object files/headers despite being present.
269 '("cmd/go/testdata/script/mod_case_cgo.txt"
270 "cmd/go/testdata/script/list_find.txt"
271 "cmd/go/testdata/script/list_compiled_imports.txt"
272 "cmd/go/testdata/script/cgo_syso_issue29253.txt"
273 "cmd/go/testdata/script/cover_cgo.txt"
274 "cmd/go/testdata/script/cover_cgo_xtest.txt"
275 "cmd/go/testdata/script/cover_cgo_extra_test.txt"
276 "cmd/go/testdata/script/cover_cgo_extra_file.txt"))
278 (for-each make-file-writable (find-files "."))
280 (substitute* "os/os_test.go"
281 (("/usr/bin") (getcwd))
282 (("/bin/pwd") (which "pwd"))
283 (("/bin/sh") (which "sh")))
285 ;; Add libgcc to runpath
286 (substitute* "cmd/link/internal/ld/lib.go"
287 (("!rpath.set") "true"))
288 (substitute* "cmd/go/internal/work/gccgo.go"
289 (("cgoldflags := \\[\\]string\\{\\}")
290 (string-append "cgoldflags := []string{"
291 "\"-rpath=" gcclib "\""
295 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
296 (substitute* "cmd/go/internal/work/gc.go"
297 (("ldflags = setextld\\(ldflags, compiler\\)")
299 "ldflags = setextld(ldflags, compiler)\n"
300 "ldflags = append(ldflags, \"-r\")\n"
301 "ldflags = append(ldflags, \"" gcclib "\")\n")))
303 ;; Disable failing tests: these tests attempt to access
304 ;; commands or network resources which are neither available
305 ;; nor necessary for the build to succeed.
310 ((regex all before test_name)
311 (string-append before "Disabled" test_name)))))
312 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
313 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
314 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
315 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
316 ;; 127.0.0.1 doesn't exist
317 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
318 ;; 127.0.0.1 doesn't exist
319 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
320 ;; /etc/services doesn't exist
321 ("net/parse_test.go" "(.+)(TestReadLine.+)")
322 ("os/os_test.go" "(.+)(TestHostname.+)")
323 ;; The user's directory doesn't exist
324 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
325 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
326 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
327 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
328 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
329 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
330 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
331 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
332 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
333 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
334 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
335 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
336 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
337 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
338 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
339 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
340 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
341 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
342 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
343 ("syscall/exec_linux_test.go"
344 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
346 ;; These tests fail on aarch64-linux
347 (substitute* "cmd/dist/test.go"
348 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
350 ;; fix shebang for testar script
351 ;; note the target script is generated at build time.
352 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
353 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
355 (substitute* "net/lookup_unix.go"
356 (("/etc/protocols") (string-append net-base "/etc/protocols")))
357 (substitute* "net/port_unix.go"
358 (("/etc/services") (string-append net-base "/etc/services")))
359 (substitute* "time/zoneinfo_unix.go"
360 (("/usr/share/zoneinfo/") tzdata-path))
361 (substitute* (find-files "cmd" "\\.go")
362 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
364 (add-before 'build 'set-bootstrap-variables
365 (lambda* (#:key outputs inputs #:allow-other-keys)
366 ;; Tell the build system where to find the bootstrap Go.
367 (let ((go (assoc-ref inputs "go")))
368 (setenv "GOROOT_BOOTSTRAP" go)
369 (setenv "GOGC" "400")
372 (lambda* (#:key inputs outputs #:allow-other-keys)
373 ;; FIXME: Some of the .a files are not bit-reproducible.
374 (let* ((output (assoc-ref outputs "out")))
375 (setenv "CC" (which "gcc"))
376 (setenv "GOOS" "linux")
377 (setenv "GOROOT" (dirname (getcwd)))
378 (setenv "GOROOT_FINAL" output)
379 (setenv "CGO_ENABLED" "1")
380 (invoke "sh" "all.bash"))))
382 ;; TODO: Most of this could be factorized with Go 1.4.
383 (lambda* (#:key outputs #:allow-other-keys)
384 (let* ((output (assoc-ref outputs "out"))
385 (doc_out (assoc-ref outputs "doc"))
386 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
388 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
389 ;; Prevent installation of the build cache, which contains
390 ;; store references to most of the tools used to build Go and
391 ;; would unnecessarily increase the size of Go's closure if it
393 (delete-file-recursively "../pkg/obj")
396 (copy-recursively "../test" (string-append src "/test"))
397 (delete-file-recursively "../test")
399 (copy-recursively "../api" (string-append docs "/api"))
400 (delete-file-recursively "../api")
401 (copy-recursively "../doc" (string-append docs "/doc"))
402 (delete-file-recursively "../doc")
406 (let* ((filein (string-append "../" file))
407 (fileout (string-append docs "/" file)))
408 (copy-file filein fileout)
409 (delete-file filein)))
410 ;; Note the slightly different file names compared to 1.4.
411 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
412 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
414 (copy-recursively "../" output)
418 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
419 ,@(match (%current-system)
420 ((or "armhf-linux" "aarch64-linux")
421 `(("gold" ,binutils-gold)))
423 ,@(package-native-inputs go-1.4)))
424 (supported-systems %supported-systems)))
426 (define-public go go-1.14)
428 (define-public go-github-com-alsm-ioprogress
429 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
432 (name "go-github-com-alsm-ioprogress")
433 (version (git-version "0.0.0" revision commit))
437 (url "https://github.com/alsm/ioprogress")
439 (file-name (git-file-name name version))
442 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
443 (build-system go-build-system)
445 '(#:import-path "github.com/alsm/ioprogress"))
446 (synopsis "Textual progress bars in Go")
447 (description "@code{ioprogress} is a Go library with implementations of
448 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
449 case for these are for command-line applications but alternate progress bar
450 writers can be supplied for alternate environments.")
451 (home-page "https://github.com/alsm/ioprogress")
452 (license license:expat))))
454 (define-public go-github-com-aki237-nscjar
455 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
458 (name "go-github-com-aki237-nscjar")
459 (version (git-version "0.0.0" revision commit))
463 (url "https://github.com/aki237/nscjar")
465 (file-name (git-file-name name version))
468 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
469 (build-system go-build-system)
471 '(#:import-path "github.com/aki237/nscjar"))
472 (synopsis "Handle Netscape / Mozilla cookies")
473 (description "@code{nscjar} is a Go library used to parse and output
474 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
475 jar struct to manage the cookies added to the cookie jar.")
476 (home-page "https://github.com/aki237/nscjar")
477 (license license:expat))))
479 (define-public go-github.com-jessevdk-go-flags
481 (name "go-github.com-jessevdk-go-flags")
486 (url "https://github.com/jessevdk/go-flags")
487 (commit (string-append "v" version))))
488 (file-name (git-file-name name version))
491 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
492 (build-system go-build-system)
494 '(#:import-path "github.com/jessevdk/go-flags"))
495 (synopsis "Go library for parsing command line arguments")
497 "The @code{flags} package provides a command line option parser. The
498 functionality is similar to the go builtin @code{flag} package, but
499 @code{flags} provides more options and uses reflection to provide a succinct
500 way of specifying command line options.")
501 (home-page "https://github.com/jessevdk/go-flags")
502 (license license:bsd-3)))
504 (define-public go-gopkg.in-tomb.v2
505 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
508 (name "go-gopkg.in-tomb.v2")
509 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
513 (url "https://github.com/go-tomb/tomb")
515 (file-name (string-append name "-" version ".tar.gz"))
518 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
519 (build-system go-build-system)
521 '(#:import-path "gopkg.in/tomb.v2"
523 (modify-phases %standard-phases
524 (add-after 'unpack 'patch-source
526 ;; Add a missing % to fix the compilation of this test
527 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
528 (("t.Fatalf\\(`Killf\\(\"BO%s")
529 "t.Fatalf(`Killf(\"BO%%s"))
531 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
533 "The @code{tomb} package handles clean goroutine tracking and
535 (home-page "https://gopkg.in/tomb.v2")
536 (license license:bsd-3))))
538 (define-public go-github.com-jtolds-gls
540 (name "go-github.com-jtolds-gls")
545 (url "https://github.com/jtolds/gls")
546 (commit (string-append "v" version))))
547 (file-name (git-file-name name version))
550 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
551 (build-system go-build-system)
553 '(#:import-path "github.com/jtolds/gls"))
554 (synopsis "@code{gls} provides Goroutine local storage")
556 "The @code{gls} package provides a way to store a retrieve values
558 (home-page "https://github.com/jtolds/gls")
559 (license license:expat)))
561 (define-public go-github-com-tj-docopt
563 (name "go-github-com-tj-docopt")
568 (url "https://github.com/tj/docopt")
569 (commit (string-append "v" version))))
570 (file-name (git-file-name name version))
573 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
574 (build-system go-build-system)
576 '(#:import-path "github.com/tj/docopt"))
577 (synopsis "Go implementation of docopt")
579 "This library allows the user to define a command-line interface from a
580 program's help message rather than specifying it programmatically with
581 command-line parsers.")
582 (home-page "https://github.com/tj/docopt")
583 (license license:expat)))
585 (define-public go-github-com-hashicorp-hcl
586 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
589 (name "go-github-com-hashicorp-hcl")
590 (version (git-version "0.0.0" revision commit))
594 (url "https://github.com/hashicorp/hcl")
596 (file-name (git-file-name name version))
599 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
600 (build-system go-build-system)
603 #:import-path "github.com/hashicorp/hcl"))
604 (synopsis "Go implementation of HashiCorp Configuration Language")
606 "This package contains the main implementation of the @acronym{HCL,
607 HashiCorp Configuration Language}. HCL is designed to be a language for
608 expressing configuration which is easy for both humans and machines to read.")
609 (home-page "https://github.com/hashicorp/hcl")
610 (license license:mpl2.0))))
612 (define-public go-golang-org-x-tools
613 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
616 (name "go-golang-org-x-tools")
617 (version (git-version "0.1.3" revision commit))
621 (url "https://go.googlesource.com/tools")
623 (file-name (string-append "go.googlesource.com-tools-"
624 version "-checkout"))
627 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
628 (build-system go-build-system)
630 `(#:import-path "golang.org/x/tools"
631 ;; Source-only package
634 (modify-phases %standard-phases
635 ;; Source-only package
637 (synopsis "Tools that support the Go programming language")
638 (description "This package provides miscellaneous tools that support the
639 Go programming language.")
640 (home-page "https://go.googlesource.com/tools/")
641 (license license:bsd-3))))
643 (define-public go-golang-org-x-crypto
644 (let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
647 (name "go-golang-org-x-crypto")
648 (version (git-version "0.0.0" revision commit))
652 (url "https://go.googlesource.com/crypto")
654 (file-name (string-append "go.googlesource.com-crypto-"
655 version "-checkout"))
658 "1yvis6fqbsd7f356aqyi18f76vnwj3bry6mxqnkvshq4cwrf92il"))))
659 (build-system go-build-system)
661 '(#:import-path "golang.org/x/crypto"
662 ;; Source-only package
665 (modify-phases %standard-phases
666 ;; Source-only package
668 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
669 (lambda* (#:key outputs #:allow-other-keys)
671 (make-file-writable file))
673 (string-append (assoc-ref outputs "out")
674 "/src/golang.org/x/crypto/ed25519/testdata")
678 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
679 (synopsis "Supplementary cryptographic libraries in Go")
680 (description "This package provides supplementary cryptographic libraries
681 for the Go language.")
682 (home-page "https://go.googlesource.com/crypto/")
683 (license license:bsd-3))))
685 (define-public go-golang-org-x-net
686 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
689 (name "go-golang-org-x-net")
690 (version (git-version "0.0.0" revision commit))
694 (url "https://go.googlesource.com/net")
696 (file-name (git-file-name name version))
699 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
700 (build-system go-build-system)
702 `(#:import-path "golang.org/x/net"
703 ; Source-only package
706 (modify-phases %standard-phases
708 (synopsis "Go supplemental networking libraries")
709 (description "This package provides supplemental Go networking libraries.")
710 (home-page "https://go.googlesource.com/net")
711 (license license:bsd-3))))
713 (define-public go-golang-org-x-image
714 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
717 (name "go-golang-org-x-image")
718 (version (git-version "0.0.0" revision commit))
722 (url "https://go.googlesource.com/image")
724 (file-name (string-append "go.googlesource.com-image-"
725 version "-checkout"))
728 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
729 (build-system go-build-system)
731 `(#:import-path "golang.org/x/image"
732 ; Source-only package
735 (modify-phases %standard-phases
737 (home-page "https://go.googlesource.com/image")
738 (synopsis "Supplemental Go image libraries")
739 (description "This package provides supplemental Go libraries for image
741 (license license:bsd-3))))
743 (define-public go-golang-org-x-sys
744 (let ((commit "c709ea063b76879dc9915358f55d4d77c16ab6d5")
747 (name "go-golang-org-x-sys")
748 (version (git-version "0.0.0" revision commit))
752 (url "https://go.googlesource.com/sys")
754 (file-name (git-file-name name version))
757 "15nq53a6kcqchng4j0d1pjw0m6hny6126nhjdwqw5n9dzh6a226d"))))
758 (build-system go-build-system)
760 `(#:import-path "golang.org/x/sys"
761 ;; Source-only package
764 (modify-phases %standard-phases
766 (synopsis "Go support for low-level system interaction")
767 (description "This package provides supplemental libraries offering Go
768 support for low-level interaction with the operating system.")
769 (home-page "https://go.googlesource.com/sys")
770 (license license:bsd-3))))
772 (define-public go-golang-org-x-text
774 (name "go-golang-org-x-text")
779 (url "https://go.googlesource.com/text")
780 (commit (string-append "v" version))))
781 (file-name (string-append "go.googlesource.com-text-"
782 version "-checkout"))
785 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
786 (build-system go-build-system)
788 `(#:import-path "golang.org/x/text"
789 ; Source-only package
792 (modify-phases %standard-phases
794 (synopsis "Supplemental Go text processing libraries")
795 (description "This package provides supplemental Go libraries for text
797 (home-page "https://go.googlesource.com/text")
798 (license license:bsd-3)))
800 (define-public go-golang-org-x-time
801 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
804 (name "go-golang-org-x-time")
805 (version (git-version "0.0.0" revision commit))
809 (url "https://go.googlesource.com/time")
811 (file-name (git-file-name name version))
814 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
815 (build-system go-build-system)
817 `(#:import-path "golang.org/x/time"
818 ; Source-only package
821 (modify-phases %standard-phases
824 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
825 (synopsis "Supplemental Go time libraries")
826 (description "This package provides supplemental Go libraries related to
828 (home-page "https://godoc.org/golang.org/x/time/rate")
829 (license license:bsd-3))))
831 (define-public go-golang-org-x-oauth2
832 (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
835 (name "go-golang-org-x-oauth2")
836 (version (git-version "0.0.0" revision commit))
840 (url "https://go.googlesource.com/oauth2")
842 (file-name (string-append "go.googlesource.com-oauth2-"
843 version "-checkout"))
846 "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
847 (build-system go-build-system)
849 `(#:import-path "golang.org/x/oauth2"))
851 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
852 (home-page "https://go.googlesource.com/oauth2")
853 (synopsis "Client implementation of the OAuth 2.0 spec")
854 (description "This package contains a client implementation for OAuth 2.0
856 (license license:bsd-3))))
858 (define-public go-github-com-burntsushi-toml
860 (name "go-github-com-burntsushi-toml")
866 (url "https://github.com/BurntSushi/toml")
867 (commit (string-append "v" version))))
868 (file-name (git-file-name name version))
871 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
872 (build-system go-build-system)
874 '(#:import-path "github.com/BurntSushi/toml"))
875 (home-page "https://github.com/BurntSushi/toml")
876 (synopsis "Toml parser and encoder for Go")
877 (description "This package is toml parser and encoder for Go. The interface
878 is similar to Go's standard library @code{json} and @code{xml} package.")
879 (license license:expat)))
881 (define-public go-github-com-getsentry-raven-go
882 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
885 (name "go-github-com-getsentry-raven-go")
886 (version (git-version "0.2.0" revision commit))
891 (url "https://github.com/getsentry/raven-go")
893 (file-name (git-file-name name version))
896 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
897 (build-system go-build-system)
899 '(#:import-path "github.com/getsentry/raven-go"))
901 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
902 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
903 (home-page "https://github.com/getsentry/raven-go")
904 (synopsis "Sentry client in Go")
905 (description "This package is a Go client API for the Sentry event/error
907 (license license:bsd-3))))
909 (define-public go-github-com-hashicorp-go-version
911 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
914 (name "go-github-com-hashicorp-go-version")
915 (version (git-version "0.0.0" revision commit))
920 (url "https://github.com/hashicorp/go-version")
922 (file-name (git-file-name name version))
925 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
926 (build-system go-build-system)
928 '(#:import-path "github.com/hashicorp/go-version"))
930 "https://github.com/hashicorp/go-version")
931 (synopsis "Go library for parsing and verifying versions and version
933 (description "This package is a library for parsing versions and version
934 constraints, and verifying versions against a set of constraints. It can sort
935 a collection of versions properly, handles prerelease/beta versions, can
936 increment versions.")
937 (license license:mpl2.0))))
939 (define-public go-github-com-jpillora-backoff
941 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
944 (name "go-github-com-jpillora-backoff")
945 (version (git-version "0.0.0" revision commit))
950 (url "https://github.com/jpillora/backoff")
952 (file-name (git-file-name name version))
955 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
956 (build-system go-build-system)
958 '(#:import-path "github.com/jpillora/backoff"))
959 (home-page "https://github.com/jpillora/backoff")
960 (synopsis "Simple exponential backoff counter in Go")
961 (description "This package is a simple exponential backoff counter in
963 (license license:expat))))
965 (define-public go-github-com-stretchr-objx
967 (name "go-github-com-stretchr-objx")
973 (url "https://github.com/stretchr/objx")
974 (commit (string-append "v" version))))
975 (file-name (git-file-name name version))
978 "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
979 (build-system go-build-system)
981 '(#:import-path "github.com/stretchr/objx"))
982 (home-page "https://github.com/stretchr/objx")
983 (synopsis "Go package for dealing with maps, slices, JSON and other data")
984 (description "This package provides a Go library for dealing with maps,
985 slices, JSON and other data.")
986 (license license:expat)))
988 (define-public go-github-com-stretchr-testify
990 (name "go-github-com-stretchr-testify")
996 (url "https://github.com/stretchr/testify")
997 (commit (string-append "v" version))))
998 (file-name (git-file-name name version))
1001 "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
1002 (build-system go-build-system)
1004 '(#:import-path "github.com/stretchr/testify"))
1006 `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1007 ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
1008 ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
1009 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1010 (home-page "https://github.com/stretchr/testify")
1011 (synopsis "Go helper library for tests and invariant checking")
1012 (description "This package provide many tools for testifying that your
1013 code will behave as you intend.
1017 @item Easy assertions
1019 @item HTTP response trapping
1020 @item Testing suite interfaces and functions.
1022 (license license:expat)))
1024 (define-public go-github-com-tevino-abool
1026 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
1029 (name "go-github-com-tevino-abool")
1030 (version (git-version "0.0.0" revision commit))
1035 (url "https://github.com/tevino/abool")
1037 (file-name (git-file-name name version))
1040 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
1041 (build-system go-build-system)
1043 '(#:import-path "github.com/tevino/abool"))
1044 (home-page "https://github.com/tevino/abool")
1045 (synopsis "Atomic boolean library for Go code")
1046 (description "This package is atomic boolean library for Go code,
1047 optimized for performance yet simple to use.")
1048 (license license:expat))))
1050 (define-public go-github-com-blang-semver
1051 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
1054 (name "go-github-com-blang-semver")
1055 (version (git-version "0.0.0" revision commit))
1060 (url "https://github.com/blang/semver")
1062 (file-name (git-file-name name version))
1065 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
1066 (build-system go-build-system)
1068 '(#:import-path "github.com/blang/semver"))
1069 (home-page "https://github.com/blang/semver")
1070 (synopsis "Semantic versioning library written in Go")
1071 (description "Semver is a library for Semantic versioning written in Go.")
1072 (license license:expat))))
1074 (define-public go-github-com-emicklei-go-restful
1075 (let ((commit "89ef8af493ab468a45a42bb0d89a06fccdd2fb22")
1078 (name "go-github-com-emicklei-go-restful")
1079 (version (git-version "0.0.0" revision commit))
1084 (url "https://github.com/emicklei/go-restful")
1086 (file-name (git-file-name name version))
1089 "0rrlfcfq80fkxifpih6bq31vavb5mf4530xz51pp9pq1mn2fzjfh"))))
1090 (build-system go-build-system)
1092 '(#:import-path "github.com/emicklei/go-restful"))
1093 (home-page "https://github.com/emicklei/go-restful")
1094 (synopsis "Build REST-style web services using Go")
1095 (description "This package provides @code{go-restful}, which helps
1096 developers to use @code{http} methods explicitly and in a way that's consistent
1097 with the HTTP protocol definition.")
1098 (license license:expat))))
1100 (define-public go-github-com-google-cadvisor
1101 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
1104 (name "go-github-com-google-cadvisor")
1105 (version (git-version "0.0.0" revision commit))
1110 (url "https://github.com/google/cadvisor")
1112 (file-name (git-file-name name version))
1115 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
1116 (build-system go-build-system)
1118 '(#:import-path "github.com/google/cadvisor"))
1119 (home-page "https://github.com/google/cadvisor")
1120 (synopsis "Analyze resource usage of running containers")
1121 (description "The package provides @code{cadvisor}, which provides
1122 information about the resource usage and performance characteristics of running
1124 (license license:asl2.0))))
1126 (define-public go-github-com-google-gofuzz
1127 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
1130 (name "go-github-com-google-gofuzz")
1131 (version (git-version "0.0.0" revision commit))
1136 (url "https://github.com/google/gofuzz")
1138 (file-name (git-file-name name version))
1141 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
1142 (build-system go-build-system)
1144 '(#:import-path "github.com/google/gofuzz"))
1145 (home-page "https://github.com/google/gofuzz")
1146 (synopsis "Fuzz testing library for Go")
1147 (description "Gofuzz is a library for populationg Go objects with random
1148 values for the purpose of fuzz testing.")
1149 (license license:asl2.0))))
1151 (define-public go-github-com-gorilla-css
1153 (name "go-github-com-gorilla-css")
1158 (url "https://github.com/gorilla/css")
1159 (commit (string-append "v" version))))
1160 (file-name (git-file-name name version))
1163 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
1164 (build-system go-build-system)
1166 `(#:import-path "github.com/gorilla/css/scanner"
1167 #:unpack-path "github.com/gorilla/css"))
1168 (home-page "https://github.com/gorilla/css/")
1169 (synopsis "CSS3 tokenizer")
1170 (description "This package provides a CSS3 tokenizer.")
1171 (license license:bsd-3)))
1173 (define-public go-github-com-gorilla-context
1174 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
1177 (name "go-github-com-gorilla-context")
1178 (version (git-version "0.0.0" revision commit))
1183 (url "https://github.com/gorilla/context")
1185 (file-name (git-file-name name version))
1188 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
1189 (build-system go-build-system)
1191 '(#:import-path "github.com/gorilla/context"))
1192 (home-page "https://github.com/gorilla/context")
1193 (synopsis "Go registry for request variables")
1194 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
1195 (license license:bsd-3))))
1197 (define-public go-github-com-gorilla-mux
1198 (let ((commit "599cba5e7b6137d46ddf58fb1765f5d928e69604")
1201 (name "go-github-com-gorilla-mux")
1202 (version (git-version "0.0.0" revision commit))
1207 (url "https://github.com/gorilla/mux")
1209 (file-name (git-file-name name version))
1212 "0wd6jjii1kg5s0nk3ri6gqriz6hbd6bbcn6x4jf8n7ncrb8qsxyz"))))
1213 (build-system go-build-system)
1215 '(#:import-path "github.com/gorilla/mux"))
1216 (home-page "https://github.com/gorilla/mux")
1217 (synopsis "URL router and dispatcher for Go")
1219 "Gorilla/Mux implements a request router and dispatcher for matching
1220 incoming requests with their respective handler.")
1221 (license license:bsd-3))))
1223 (define-public go-github-com-jonboulle-clockwork
1224 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
1227 (name "go-github-com-jonboulle-clockwork")
1228 (version (git-version "0.0.0" revision commit))
1233 (url "https://github.com/jonboulle/clockwork")
1235 (file-name (git-file-name name version))
1238 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
1239 (build-system go-build-system)
1241 '(#:import-path "github.com/jonboulle/clockwork"))
1242 (home-page "https://github.com/jonboulle/clockwork")
1243 (synopsis "Fake clock library for Go")
1245 "Replace uses of the @code{time} package with the
1246 @code{clockwork.Clock} interface instead.")
1247 (license license:asl2.0))))
1249 (define-public go-github-com-spf13-afero
1251 (name "go-github-com-spf13-afero")
1257 (url "https://github.com/spf13/afero")
1258 (commit (string-append "v" version))))
1259 (file-name (git-file-name name version))
1262 "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"))))
1263 (build-system go-build-system)
1265 `(#:import-path "github.com/spf13/afero"))
1267 `(("golang.org/x/text" ,go-golang-org-x-text)))
1268 (home-page "https://github.com/spf13/afero")
1269 (synopsis "File system abstraction for Go")
1271 "This package provides a file system abstraction for Go.")
1272 (license license:asl2.0)))
1274 (define-public go-github-com-spf13-cast
1276 (name "go-github-com-spf13-cast")
1282 (url "https://github.com/spf13/cast")
1283 (commit (string-append "v" version))))
1284 (file-name (git-file-name name version))
1287 "0lb84788glr0qzrq2ifi36rgvp96qrgywvxrr3ggq5hrbr38hgn1"))))
1288 (build-system go-build-system)
1290 `(#:import-path "github.com/spf13/cast"))
1292 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1293 (home-page "https://github.com/spf13/cast")
1294 (synopsis "Safe and easy casting from one type to another in Go")
1295 (description "Safe and easy casting from one type to another in Go")
1296 (license license:expat)))
1298 (define-public go-github-com-spf13-cobra
1300 (name "go-github-com-spf13-cobra")
1306 (url "https://github.com/spf13/cobra")
1307 (commit (string-append "v" version))))
1308 (file-name (git-file-name name version))
1311 "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h"))))
1312 (build-system go-build-system)
1314 `(#:import-path "github.com/spf13/cobra"))
1316 `(("github.com/spf13/pflag" ,go-github-com-spf13-pflag)))
1317 (home-page "https://github.com/spf13/cobra")
1318 (synopsis "Go library for creating CLI applications")
1319 (description "Cobra is both a library for creating powerful modern CLI
1320 applications as well as a program to generate applications and command files.")
1321 (license license:asl2.0)))
1323 (define-public go-github-com-spf13-jwalterweatherman
1325 (name "go-github-com-spf13-jwalterweatherman")
1331 (url "https://github.com/spf13/jwalterweatherman")
1332 (commit (string-append "v" version))))
1333 (file-name (git-file-name name version))
1336 "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"))))
1337 (build-system go-build-system)
1339 `(#:import-path "github.com/spf13/jwalterweatherman"))
1341 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1342 (home-page "https://github.com/spf13/jwalterweatherman")
1343 (synopsis "Go logging library")
1344 (description "Go logging library")
1345 (license license:expat)))
1347 (define-public go-github-com-spf13-pflag
1349 (name "go-github-com-spf13-pflag")
1355 (url "https://github.com/spf13/pflag")
1356 (commit (string-append "v" version))))
1357 (file-name (git-file-name name version))
1360 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
1361 (build-system go-build-system)
1363 '(#:import-path "github.com/spf13/pflag"))
1364 (home-page "https://github.com/spf13/pflag")
1365 (synopsis "Replacement for Go's @code{flag} package")
1367 "Pflag is library to replace Go's @code{flag} package. It implements
1368 POSIX/GNU-style command-line options with double hyphens. It is is compatible
1370 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
1371 GNU extensions} to the POSIX recommendations for command-line options.")
1372 (license license:bsd-3)))
1374 (define-public go-github-com-spf13-viper
1376 (name "go-github-com-spf13-viper")
1382 (url "https://github.com/spf13/viper")
1383 (commit (string-append "v" version))))
1384 (file-name (git-file-name name version))
1387 "099n2g7fg6r8hqyszqw2axr775qyhyvwhsykvgw0f0s16ql48h5c"))))
1388 (build-system go-build-system)
1390 '(#:import-path "github.com/spf13/viper"))
1392 `(("github.com/spf13/afero" ,go-github-com-spf13-afero)
1393 ("github.com/spf13/cast" ,go-github-com-spf13-cast)
1394 ("github.com/spf13/pflag" ,go-github-com-spf13-pflag)
1395 ("github.com/spf13/jwalterweatherman" ,go-github-com-spf13-jwalterweatherman)
1396 ("github.com/fsnotify/fsnotify" ,go-github-com-fsnotify-fsnotify)
1397 ("github.com/hashicorp/hcl" ,go-github-com-hashicorp-hcl)
1398 ("github.com/magiconair/properties" ,go-github-com-magiconair-properties)
1399 ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)
1400 ("github.com/pelletier/go-toml" ,go-github-com-pelletier-go-toml)
1401 ("github.com/subosito/gotenv" ,go-github-com-subosito-gotenv)
1403 ("gopkg.in/ini.v1" ,go-gopkg-in-ini-v1)
1404 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1406 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1407 (home-page "https://github.com/spf13/viper")
1408 (synopsis "Go configuration with fangs")
1410 "Viper is a complete configuration solution for Go applications including
1411 12-Factor apps. It is designed to work within an application, and can handle
1412 all types of configuration needs and formats.")
1413 (license license:expat)))
1415 (define-public go-github-com-fsnotify-fsnotify
1417 (name "go-github-com-fsnotify-fsnotify")
1423 (url "https://github.com/fsnotify/fsnotify")
1424 (commit (string-append "v" version))))
1425 (file-name (git-file-name name version))
1428 "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x"))))
1429 (build-system go-build-system)
1431 `(#:import-path "github.com/fsnotify/fsnotify"))
1433 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1434 (home-page "https://github.com/fsnotify/fsnotify")
1435 (synopsis "File system notifications for Go")
1436 (description "File system notifications for Go")
1437 (license license:bsd-3)))
1439 (define-public go-github-com-magiconair-properties
1441 (name "go-github-com-magiconair-properties")
1447 (url "https://github.com/magiconair/properties")
1448 (commit (string-append "v" version))))
1449 (file-name (git-file-name name version))
1452 "19zqw1x0w0crh8zc84yy82nkcc5yjz72gviaf2xjgfm5a8np7nyb"))))
1453 (build-system go-build-system)
1455 `(#:import-path "github.com/magiconair/properties"))
1456 (home-page "https://github.com/magiconair/properties")
1457 (synopsis "Java properties scanner for Go")
1458 (description "Java properties scanner for Go")
1459 (license license:bsd-2)))
1461 (define-public go-github-com-pelletier-go-toml
1463 (name "go-github-com-pelletier-go-toml")
1469 (url "https://github.com/pelletier/go-toml")
1470 (commit (string-append "v" version))))
1471 (file-name (git-file-name name version))
1474 "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y"))))
1475 (build-system go-build-system)
1477 `(#:import-path "github.com/pelletier/go-toml"))
1479 `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml)
1480 ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1481 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1482 (home-page "https://github.com/pelletier/go-toml")
1483 (synopsis "Go library for the TOML configuration language")
1484 (description "Go library for the TOML configuration language")
1485 (license license:expat)))
1487 (define-public go-github-com-subosito-gotenv
1489 (name "go-github-com-subosito-gotenv")
1495 (url "https://github.com/subosito/gotenv")
1496 (commit (string-append "v" version))))
1497 (file-name (git-file-name name version))
1500 "0mav91j7r4arjkpq5zcf9j74f6pww8ic53x43wy7kg3ibw31yjs5"))))
1501 (build-system go-build-system)
1503 `(#:import-path "github.com/subosito/gotenv"))
1505 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1506 (home-page "https://github.com/subosito/gotenv")
1507 (synopsis "Go library for loading environment variables from files")
1508 (description "Go library for loading environment variables from files")
1509 (license license:expat)))
1511 (define-public go-github-com-sirupsen-logrus
1513 (name "go-github-com-sirupsen-logrus")
1519 (url "https://github.com/sirupsen/logrus")
1520 (commit (string-append "v" version))))
1521 (file-name (git-file-name name version))
1524 "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz"))))
1525 (build-system go-build-system)
1527 `(("go-golang-org-x-crypto"
1528 ,go-golang-org-x-crypto)
1529 ("go-github-com-stretchr-testify"
1530 ,go-github-com-stretchr-testify)
1531 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1533 '(#:tests? #f ;FIXME missing dependencies
1534 #:import-path "github.com/sirupsen/logrus"))
1535 (home-page "https://github.com/sirupsen/logrus")
1536 (synopsis "Structured, pluggable logging for Go")
1537 (description "Logrus is a structured logger for Go, completely API
1538 compatible with the standard library logger.")
1539 (license license:expat)))
1541 (define-public go-github-com-rifflock-lfshook
1543 (name "go-github-com-rifflock-lfshook")
1548 (url "https://github.com/rifflock/lfshook")
1549 (commit (string-append "v" version))))
1550 (file-name (git-file-name name version))
1553 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
1554 (build-system go-build-system)
1556 `(#:import-path "github.com/rifflock/lfshook"))
1558 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
1559 (home-page "https://github.com/rifflock/lfshook")
1560 (synopsis "Local File System hook for Logrus logger")
1561 (description "This package provides a hook for Logrus to write directly to
1562 a file on the file system. The log levels are dynamic at instantiation of the
1563 hook, so it is capable of logging at some or all levels.")
1564 (license license:expat)))
1566 (define-public go-github-com-kardianos-osext
1567 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
1570 (name "go-github-com-kardianos-osext")
1571 (version (git-version "0.0.0" revision commit))
1575 (url "https://github.com/kardianos/osext")
1577 (file-name (git-file-name name version))
1580 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
1581 (build-system go-build-system)
1583 `(#:import-path "github.com/kardianos/osext"
1584 ;; The tests are flaky:
1585 ;; <https://github.com/kardianos/osext/issues/21>
1587 (synopsis "Find the running executable")
1588 (description "Osext provides a method for finding the current executable
1589 file that is running. This can be used for upgrading the current executable or
1590 finding resources located relative to the executable file.")
1591 (home-page "https://github.com/kardianos/osext")
1592 (license license:bsd-3))))
1594 (define-public go-github-com-ayufan-golang-kardianos-service
1595 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
1598 (name "go-github-com-ayufan-golang-kardianos-service")
1599 (version (git-version "0.0.0" revision commit))
1605 "https://github.com/ayufan/golang-kardianos-service.git")
1607 (file-name (git-file-name name version))
1610 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
1611 (build-system go-build-system)
1613 `(("go-github-com-kardianos-osext"
1614 ,go-github-com-kardianos-osext)))
1616 '(#:tests? #f ;FIXME tests fail: Service is not running.
1617 #:import-path "github.com/ayufan/golang-kardianos-service"))
1618 (home-page "https://github.com/ayufan/golang-kardianos-service")
1619 (synopsis "Go interface to a variety of service supervisors")
1620 (description "This package provides @code{service}, a Go module that can
1621 run programs as a service using a variety of supervisors, including systemd,
1622 SysVinit, and more.")
1623 (license license:zlib))))
1625 (define-public go-github-com-docker-distribution
1626 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
1629 (name "go-github-com-docker-distribution")
1630 (version (git-version "0.0.0" revision commit))
1632 ;; FIXME: This bundles many things, see
1633 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
1637 (url "https://github.com/docker/distribution")
1639 (file-name (git-file-name name version))
1642 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
1643 (build-system go-build-system)
1645 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
1646 ("go-github-com-sirupsen-logrus"
1647 ,go-github-com-sirupsen-logrus)
1648 ("go-golang-org-x-crypto"
1649 ,go-golang-org-x-crypto)))
1651 '(#:import-path "github.com/docker/distribution"
1653 (modify-phases %standard-phases
1654 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1655 (lambda* (#:key outputs #:allow-other-keys)
1657 (make-file-writable file))
1659 (assoc-ref outputs "out")
1663 "https://github.com/docker/distribution")
1664 (synopsis "This package is a Docker toolset to pack, ship, store, and
1666 (description "Docker Distribution is a Docker toolset to pack, ship,
1667 store, and deliver content. It contains Docker Registry 2.0 and libraries
1668 to interact with distribution components.")
1669 (license license:asl2.0))))
1671 (define-public go-github-com-docker-go-connections
1672 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
1675 (name "go-github-com-docker-go-connections")
1676 (version (git-version "0.0.0" revision commit))
1681 (url "https://github.com/docker/go-connections")
1683 (file-name (git-file-name name version))
1686 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
1687 (build-system go-build-system)
1689 '(#:import-path "github.com/docker/go-connections"))
1690 (home-page "https://github.com/docker/go-connections")
1691 (synopsis "Networking library for Go")
1693 "This package provides a library to work with network connections in
1694 the Go language. In particular it provides tools to deal with network address
1695 translation (NAT), proxies, sockets, and transport layer security (TLS).")
1696 (license license:asl2.0))))
1698 (define-public go-github-com-docker-machine
1699 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
1702 (name "go-github-com-docker-machine")
1703 (version (git-version "0.0.0" revision commit))
1708 (url "https://github.com/docker/machine")
1710 (file-name (git-file-name name version))
1713 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
1714 (build-system go-build-system)
1716 '(#:import-path "github.com/docker/machine"))
1717 (home-page "https://github.com/docker/machine")
1718 (synopsis "Machine management for a container-centric world")
1720 "@dfn{Machine} lets you create Docker hosts on your computer, on
1721 hosting providers, and inside your data center. It creates servers, installs
1722 Docker on them, then configures the Docker client to talk to them.")
1723 (license license:asl2.0))))
1725 (define-public go-github-com-gorhill-cronexpr
1726 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
1729 (name "go-github-com-gorhill-cronexpr")
1730 (version (git-version "0.0.0" revision commit))
1735 (url "https://github.com/gorhill/cronexpr")
1737 (file-name (git-file-name name version))
1740 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
1741 (build-system go-build-system)
1743 '(#:import-path "github.com/gorhill/cronexpr"))
1744 (home-page "https://github.com/gorhill/cronexpr")
1745 (synopsis "Cron expression parser in the Go language")
1747 "This package provides a cron expression parser in the Go language.
1748 Given a cron expression and a time stamp, you can get the next time stamp
1749 which satisfies the cron expression.")
1750 (license (list license:gpl3+
1753 (define-public go-gopkg-in-check-v1
1754 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
1757 (name "go-gopkg-in-check-v1")
1758 (version (git-version "1.0.0" revision commit))
1763 (url "https://github.com/go-check/check")
1765 (file-name (git-file-name name version))
1768 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
1769 (build-system go-build-system)
1771 '(#:import-path "gopkg.in/check.v1"))
1773 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
1774 (home-page "https://gopkg.in/check.v1")
1775 (synopsis "Test framework for the Go language")
1776 (description "This package provides a test library for the Go language.")
1777 (license license:asl2.0))))
1779 (define-public go-gopkg-in-ini-v1
1781 (name "go-gopkg-in-ini-v1")
1787 (url "https://github.com/go-ini/ini")
1788 (commit (string-append "v" version))))
1789 (file-name (git-file-name name version))
1792 "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5"))))
1793 (build-system go-build-system)
1795 '(#:import-path "gopkg.in/ini.v1"
1796 ;; Requires large unpackaged test framework
1798 (home-page "https://gopkg.in/ini.v1")
1799 (synopsis "Go library for ini files")
1800 (description "Go library for ini files")
1801 (license license:asl2.0)))
1803 (define-public go-gopkg-in-yaml-v2
1805 (name "go-gopkg-in-yaml-v2")
1811 (url "https://gopkg.in/yaml.v2.git")
1812 (commit (string-append "v" version))))
1813 (file-name (git-file-name name version))
1816 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
1817 (build-system go-build-system)
1819 '(#:import-path "gopkg.in/yaml.v2"))
1821 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
1822 (home-page "https://gopkg.in/yaml.v2")
1823 (synopsis "YAML reader and writer for the Go language")
1825 "This package provides a Go library for encode and decode YAML
1827 (license license:asl2.0)))
1829 (define-public go-github-com-mattn-go-isatty
1831 (name "go-github-com-mattn-go-isatty")
1837 (url "https://github.com/mattn/go-isatty")
1838 (commit (string-append "v" version))))
1839 (file-name (git-file-name name version))
1842 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
1843 (build-system go-build-system)
1845 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1847 '(#:import-path "github.com/mattn/go-isatty"))
1848 (home-page "https://github.com/mattn/go-isatty")
1849 (synopsis "Provide @code{isatty} for Golang")
1850 (description "This package provides @code{isatty}, a Go module that can
1851 tell you whether a file descriptor points to a terminal and the type of the
1853 (license license:expat)))
1855 (define-public go-github-com-mattn-go-colorable
1856 (let ((commit "efa589957cd060542a26d2dd7832fd6a6c6c3ade")
1859 (name "go-github-com-mattn-go-colorable")
1860 (version (git-version "0.0.0" revision commit))
1865 (url "https://github.com/mattn/go-colorable")
1867 (file-name (git-file-name name version))
1870 "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r"))))
1871 (build-system go-build-system)
1873 `(("go-github-com-mattn-go-isatty"
1874 ,go-github-com-mattn-go-isatty)))
1876 '(#:import-path "github.com/mattn/go-colorable"))
1877 (home-page "https://github.com/mattn/go-colorable")
1878 (synopsis "Handle ANSI color escapes on Windows")
1879 (description "This package provides @code{colorable}, a module that
1880 makes it possible to handle ANSI color escapes on Windows.")
1881 (license license:expat))))
1883 (define-public go-github-com-mattn-go-pointer
1884 (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
1887 (name "go-github-com-mattn-go-pointer")
1888 (version (git-version "0.0.0" revision commit))
1893 (url "https://github.com/mattn/go-pointer")
1897 "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
1898 (file-name (git-file-name name version))))
1899 (build-system go-build-system)
1901 '(#:import-path "github.com/mattn/go-pointer"))
1902 (home-page "https://github.com/mattn/go-pointer")
1903 (synopsis "Utility for cgo")
1905 "This package allows for a cgo argument to be passed a Go pointer.")
1906 (license license:expat))))
1908 (define-public go-github-com-mgutz-ansi
1909 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
1912 (name "go-github-com-mgutz-ansi")
1913 (version (git-version "0.0.0" revision commit))
1919 "https://github.com/mgutz/ansi")
1921 (file-name (git-file-name name version))
1924 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
1925 (build-system go-build-system)
1927 `(("go-github-com-mattn-go-isatty"
1928 ,go-github-com-mattn-go-isatty)
1929 ("go-github-com-mattn-go-colorable"
1930 ,go-github-com-mattn-go-colorable)))
1932 '(#:import-path "github.com/mgutz/ansi"))
1933 (home-page "https://github.com/mgutz/ansi")
1934 (synopsis "Small, fast library to create ANSI colored strings and codes")
1935 (description "This package provides @code{ansi}, a Go module that can
1936 generate ANSI colored strings.")
1937 (license license:expat))))
1939 (define-public go-github-com-aarzilli-golua
1940 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
1943 (name "go-github-com-aarzilli-golua")
1944 (version (git-version "0.0.0" revision commit))
1950 "https://github.com/aarzilli/golua")
1952 (file-name (git-file-name name version))
1955 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
1956 (build-system go-build-system)
1957 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
1958 ;; when this package required as input for another one, it will have to
1959 ;; be built again. Thus its CGO requirements must be made available in
1960 ;; the environment, that is, they must be propagated.
1964 `(#:unpack-path "github.com/aarzilli/golua"
1965 #:import-path "github.com/aarzilli/golua/lua"
1967 (modify-phases %standard-phases
1968 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
1969 ;; command line argument, go-1.10+ does not re-use the produced pkg
1970 ;; for dependencies, which means we would need to propagate the
1971 ;; same "-tags" argument to all golua referrers. A substitution is
1972 ;; more convenient here. We also need to propagate the lua
1973 ;; dependency to make it available to referrers.
1974 (add-after 'unpack 'fix-lua-ldflags
1976 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
1977 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
1978 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
1979 (home-page "https://github.com/aarzilli/golua")
1980 (synopsis "Go Bindings for the Lua C API")
1981 (description "This package provides @code{lua}, a Go module that can
1982 run a Lua virtual machine.")
1983 (license license:expat))))
1985 (define-public go-gitlab-com-ambrevar-golua-unicode
1986 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
1989 (name "go-gitlab-com-ambrevar-golua-unicode")
1990 (version (git-version "0.0.0" revision commit))
1996 "https://gitlab.com/ambrevar/golua")
1998 (file-name (git-file-name name version))
2001 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
2002 (build-system go-build-system)
2005 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2007 `(#:unpack-path "gitlab.com/ambrevar/golua"
2008 #:import-path "gitlab.com/ambrevar/golua/unicode"
2010 (modify-phases %standard-phases
2012 (lambda* (#:key import-path #:allow-other-keys)
2013 (setenv "USER" "homeless-dude")
2014 (invoke "go" "test" import-path))))))
2015 (home-page "https://gitlab.com/ambrevar/golua")
2016 (synopsis "Add Unicode support to Golua")
2017 (description "This extension to Arzilli's Golua adds Unicode support to
2018 all functions from the Lua string library. Lua patterns are replaced by Go
2019 regexps. This breaks compatibility with Lua, but Unicode support breaks it
2020 anyways and Go regexps are more powerful.")
2021 (license license:expat))))
2023 (define-public go-github-com-yookoala-realpath
2024 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
2027 (name "go-github-com-yookoala-realpath")
2028 (version (git-version "0.0.0" revision commit))
2034 "https://github.com/yookoala/realpath")
2036 (file-name (git-file-name name version))
2039 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
2040 (build-system go-build-system)
2042 `(#:import-path "github.com/yookoala/realpath"))
2043 (home-page "https://github.com/yookoala/realpath")
2044 (synopsis "@code{realpath} for Golang")
2045 (description "This package provides @code{realpath}, a Go module that
2046 when provided with a valid relative path / alias path, it will return you with
2047 a string of its real absolute path in the system.")
2048 (license license:expat))))
2050 (define-public go-gitlab-com-ambrevar-damerau
2051 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
2054 (name "go-gitlab-com-ambrevar-damerau")
2055 (version (git-version "0.0.0" revision commit))
2061 "https://gitlab.com/ambrevar/damerau")
2063 (file-name (git-file-name name version))
2066 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
2067 (build-system go-build-system)
2069 `(#:import-path "gitlab.com/ambrevar/damerau"))
2070 (home-page "https://gitlab.com/ambrevar/damerau")
2071 (synopsis "Damerau-Levenshtein distance for Golang")
2072 (description "This is a spelling corrector implementing the
2073 Damerau-Levenshtein distance. Takes a string value input from the user.
2074 Looks for an identical word on a list of words, if none is found, look for a
2076 (license license:expat))))
2078 (define-public go-github-com-stevedonovan-luar
2079 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
2082 (name "go-github-com-stevedonovan-luar")
2083 (version (git-version "0.0.0" revision commit))
2089 "https://github.com/stevedonovan/luar")
2091 (file-name (git-file-name name version))
2094 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
2095 (build-system go-build-system)
2097 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2099 `(#:tests? #f ; Upstream tests are broken.
2100 #:import-path "github.com/stevedonovan/luar"))
2101 (home-page "https://github.com/stevedonovan/luar")
2102 (synopsis "Lua reflection bindings for Go")
2103 (description "Luar is designed to make using Lua from Go more
2104 convenient. Go structs, slices and maps can be automatically converted to Lua
2105 tables and vice-versa. The resulting conversion can either be a copy or a
2106 proxy. In the latter case, any change made to the result will reflect on the
2109 Any Go function can be made available to Lua scripts, without having to write
2112 Luar support cyclic structures (lists, etc.).
2114 User-defined types can be made available to Lua as well: their exported
2115 methods can be called and usual operations such as indexing or arithmetic can
2117 (license license:expat))))
2119 (define-public go-github-com-michiwend-golang-pretty
2120 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
2123 (name "go-github-com-michiwend-golang-pretty")
2124 (version (git-version "0.0.0" revision commit))
2130 "https://github.com/michiwend/golang-pretty")
2132 (file-name (git-file-name name version))
2135 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
2136 (build-system go-build-system)
2138 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
2140 `(#:tests? #f ; Upstream tests seem to be broken.
2141 #:import-path "github.com/michiwend/golang-pretty"))
2142 (home-page "https://github.com/michiwend/golang-pretty")
2143 (synopsis "Pretty printing for Go values")
2144 (description "Package @code{pretty} provides pretty-printing for Go
2145 values. This is useful during debugging, to avoid wrapping long output lines
2148 It provides a function, @code{Formatter}, that can be used with any function
2149 that accepts a format string. It also provides convenience wrappers for
2150 functions in packages @code{fmt} and @code{log}.")
2151 (license license:expat))))
2153 (define-public go-github-com-michiwend-gomusicbrainz
2154 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
2157 (name "go-github-com-michiwend-gomusicbrainz")
2158 (version (git-version "0.0.0" revision commit))
2164 "https://github.com/michiwend/gomusicbrainz")
2166 (file-name (git-file-name name version))
2169 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
2170 (build-system go-build-system)
2172 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
2173 ("go-github-com-kr-text" ,go-github-com-kr-text)))
2175 `(#:import-path "github.com/michiwend/gomusicbrainz"))
2176 (home-page "https://github.com/michiwend/gomusicbrainz")
2177 (synopsis "MusicBrainz WS2 client library for Golang")
2178 (description "Currently GoMusicBrainz provides methods to perform search
2179 and lookup requests. Browse requests are not supported yet.")
2180 (license license:expat))))
2182 (define-public go-github-com-wtolson-go-taglib
2183 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
2186 (name "go-github-com-wtolson-go-taglib")
2187 (version (git-version "0.0.0" revision commit))
2193 "https://github.com/wtolson/go-taglib")
2195 (file-name (git-file-name name version))
2198 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
2199 (build-system go-build-system)
2200 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2201 ;; when this package required as input for another one, it will have to
2202 ;; be built again. Thus its CGO requirements must be made available in
2203 ;; the environment, that is, they must be propagated.
2205 `(("pkg-config" ,pkg-config)
2206 ("taglib" ,taglib)))
2208 `(#:import-path "github.com/wtolson/go-taglib"
2209 ;; Tests don't pass "vet" on Go since 1.11. See
2210 ;; https://github.com/wtolson/go-taglib/issues/12.
2212 (modify-phases %standard-phases
2214 (lambda* (#:key import-path #:allow-other-keys)
2218 (home-page "https://github.com/wtolson/go-taglib")
2219 (synopsis "Go wrapper for taglib")
2220 (description "Go wrapper for taglib")
2221 (license license:unlicense))))
2223 (define-public go-github-com-gogo-protobuf
2225 (name "go-github-com-gogo-protobuf")
2230 (url "https://github.com/gogo/protobuf")
2231 (commit (string-append "v" version))))
2232 (file-name (git-file-name name version))
2235 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
2236 (build-system go-build-system)
2238 `(#:import-path "github.com/gogo/protobuf"
2239 ; Source-only package
2242 (modify-phases %standard-phases
2244 (synopsis "Protocol Buffers for Go with Gadgets")
2245 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
2246 generation features. This code generation is used to achieve:
2248 @item fast marshalling and unmarshalling
2249 @item more canonical Go structures
2250 @item goprotobuf compatibility
2251 @item less typing by optionally generating extra helper code
2252 @item peace of mind by optionally generating test and benchmark code
2253 @item other serialization formats
2255 (home-page "https://github.com/gogo/protobuf")
2256 (license license:bsd-3)))
2258 (define-public go-github-com-libp2p-go-flow-metrics
2259 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
2262 (name "go-github-com-libp2p-go-flow-metrics")
2263 (version (git-version "0.2.0" revision commit))
2268 (url "https://github.com/libp2p/go-flow-metrics")
2270 (file-name (git-file-name name version))
2273 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
2274 (build-system go-build-system)
2276 `(#:import-path "github.com/libp2p/go-flow-metrics"
2277 ;; TODO: Tests hang.
2280 "https://github.com/libp2p/go-flow-metrics")
2281 (synopsis "Simple library for tracking flow metrics")
2282 (description "A simple alternative to rcrowley's @command{go-metrics}
2283 that's a lot faster (and only does simple bandwidth metrics).")
2284 (license license:expat))))
2286 (define-public go-github-com-davecgh-go-spew
2288 (name "go-github-com-davecgh-go-spew")
2294 (url "https://github.com/davecgh/go-spew")
2295 (commit (string-append "v" version))))
2296 (file-name (git-file-name name version))
2299 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
2300 (build-system go-build-system)
2302 '(#:unpack-path "github.com/davecgh/go-spew"
2303 #:import-path "github.com/davecgh/go-spew/spew"))
2304 (home-page "https://github.com/davecgh/go-spew")
2305 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
2306 (description "Package @command{spew} implements a deep pretty printer
2307 for Go data structures to aid in debugging.
2309 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
2312 @item Pointers are dereferenced and followed.
2313 @item Circular data structures are detected and handled properly.
2314 @item Custom Stringer/error interfaces are optionally invoked, including on
2316 @item Custom types which only implement the Stringer/error interfaces via a
2317 pointer receiver are optionally invoked when passing non-pointer variables.
2318 @item Byte arrays and slices are dumped like the hexdump -C command which
2319 includes offsets, byte values in hex, and ASCII output (only when using Dump
2322 (license license:isc)))
2324 (define-public go-github-com-btcsuite-btclog
2325 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
2328 (name "go-github-com-btcsuite-btclog")
2329 (version (git-version "0.0.3" revision commit))
2334 (url "https://github.com/btcsuite/btclog")
2336 (file-name (git-file-name name version))
2339 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
2340 (build-system go-build-system)
2342 '(#:import-path "github.com/btcsuite/btclog"))
2343 (home-page "https://github.com/btcsuite/btclog")
2344 (synopsis "Subsystem aware logger for Go")
2345 (description "Package @command{btclog} defines a logger interface and
2346 provides a default implementation of a subsystem-aware leveled logger
2347 implementing the same interface.")
2348 (license license:isc))))
2350 (define-public go-github-com-btcsuite-btcd-btcec
2351 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
2354 (name "go-github-com-btcsuite-btcd-btcec")
2355 (version (git-version "0.12.0-beta" revision commit))
2360 (url "https://github.com/btcsuite/btcd")
2362 (file-name (git-file-name name version))
2365 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
2366 (build-system go-build-system)
2368 '(#:unpack-path "github.com/btcsuite/btcd"
2369 #:import-path "github.com/btcsuite/btcd/btcec"))
2371 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
2372 (home-page "https://github.com/btcsuite/btcd")
2373 (synopsis "Elliptic curve cryptography to work with Bitcoin")
2374 (description "Package @command{btcec} implements elliptic curve
2375 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
2376 designed so that it may be used with the standard crypto/ecdsa packages
2377 provided with Go. A comprehensive suite of test is provided to ensure proper
2378 functionality. Package @command{btcec} was originally based on work from
2379 ThePiachu which is licensed under the same terms as Go, but it has
2380 significantly diverged since then. The @command{btcsuite} developers original
2381 is licensed under the liberal ISC license.
2383 Although this package was primarily written for btcd, it has intentionally
2384 been designed so it can be used as a standalone package for any projects
2385 needing to use secp256k1 elliptic curve cryptography.")
2386 (license license:isc))))
2388 (define-public go-github-com-minio-sha256-simd
2390 (name "go-github-com-minio-sha256-simd")
2396 (url "https://github.com/minio/sha256-simd")
2397 (commit (string-append "v" version))))
2398 (file-name (git-file-name name version))
2401 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
2402 (build-system go-build-system)
2404 '(#:import-path "github.com/minio/sha256-simd"))
2405 (home-page "https://github.com/minio/sha256-simd")
2406 (synopsis "Accelerate SHA256 computations in pure Go")
2407 (description "Accelerate SHA256 computations in pure Go using AVX512 and
2408 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
2409 improvement (over 3 GB/s per core) in comparison to AVX2.
2411 This package is designed as a replacement for @command{crypto/sha256}. For
2412 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
2413 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
2414 of the SHA2 instructions resulting in a massive performance improvement.
2416 This package uses Golang assembly. The AVX512 version is based on the Intel's
2417 \"multi-buffer crypto library for IPSec\" whereas the other Intel
2418 implementations are described in \"Fast SHA-256 Implementations on Intel
2419 Architecture Processors\" by J. Guilford et al.")
2420 (license license:asl2.0)))
2422 (define-public go-github-com-libp2p-go-libp2p-crypto
2423 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
2426 (name "go-github-com-libp2p-go-libp2p-crypto")
2427 (version (git-version "2.0.1" revision commit))
2432 (url "https://github.com/libp2p/go-libp2p-crypto")
2434 (file-name (git-file-name name version))
2437 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
2438 (build-system go-build-system)
2440 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
2442 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2443 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2444 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2445 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
2447 "https://github.com/libp2p/go-libp2p-crypto")
2448 (synopsis "Various cryptographic utilities used by IPFS")
2449 (description "Various cryptographic utilities used by IPFS")
2450 (license license:expat))))
2452 (define-public go-github-com-mr-tron-base58
2453 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
2456 (name "go-github-com-mr-tron-base58")
2457 (version (git-version "1.1.0" revision commit))
2462 (url "https://github.com/mr-tron/base58")
2464 (file-name (git-file-name name version))
2467 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
2468 (build-system go-build-system)
2470 `(#:unpack-path "github.com/mr-tron/base58"
2471 #:import-path "github.com/mr-tron/base58/base58"))
2472 (home-page "https://github.com/mr-tron/base58")
2473 (synopsis "Fast implementation of base58 encoding on Golang")
2474 (description "Fast implementation of base58 encoding on Golang. A
2475 trivial @command{big.Int} encoding benchmark results in 6 times faster
2476 encoding and 8 times faster decoding.")
2477 (license license:expat))))
2479 (define-public go-github-com-gxed-hashland-keccakpg
2480 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
2483 (name "go-github-com-gxed-hashland-keccakpg")
2484 (version (git-version "0.0.0" revision commit))
2489 (url "https://github.com/gxed/hashland")
2491 (file-name (git-file-name name version))
2494 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
2495 (build-system go-build-system)
2497 '(#:unpack-path "github.com/gxed/hashland"
2498 #:import-path "github.com/gxed/hashland/keccakpg"))
2499 (home-page "https://github.com/gxed/hashland")
2500 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
2501 (description "Package @command{keccak} implements the Keccak (SHA-3)
2502 hash algorithm. See http://keccak.noekeon.org.")
2503 (license license:expat))))
2505 (define-public go-github-com-minio-blake2b-simd
2506 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
2509 (name "go-github-com-minio-blake2b-simd")
2510 (version (git-version "0.0.0" revision commit))
2515 (url "https://github.com/minio/blake2b-simd")
2517 (file-name (git-file-name name version))
2520 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
2521 (build-system go-build-system)
2523 '(#:import-path "github.com/minio/blake2b-simd"))
2524 (home-page "https://github.com/minio/blake2b-simd")
2525 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
2526 (description "This package was initially based on the pure go BLAKE2b
2527 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
2528 optimized BLAKE2 implementation (which in turn is based on the official
2529 implementation. It does so by using Go's Assembler for amd64 architectures
2530 with a golang only fallback for other architectures.
2532 In addition to AVX there is also support for AVX2 as well as SSE. Best
2533 performance is obtained with AVX2 which gives roughly a 4X performance
2534 increase approaching hashing speeds of 1GB/sec on a single core.")
2535 (license license:asl2.0))))
2537 (define-public go-github-com-spaolacci-murmur3
2539 (name "go-github-com-spaolacci-murmur3")
2545 (url "https://github.com/spaolacci/murmur3")
2546 (commit (string-append "v" version))))
2547 (file-name (git-file-name name version))
2550 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
2551 (build-system go-build-system)
2553 '(#:import-path "github.com/spaolacci/murmur3"))
2554 (home-page "https://github.com/spaolacci/murmur3")
2555 (synopsis "Native MurmurHash3 Go implementation")
2556 (description "Native Go implementation of Austin Appleby's third MurmurHash
2557 revision (aka MurmurHash3).
2559 Reference algorithm has been slightly hacked as to support the streaming mode
2560 required by Go's standard Hash interface.")
2561 (license license:bsd-3)))
2563 (define-public go-github-com-twmb-murmur3
2565 (name "go-github-com-twmb-murmur3")
2571 (url "https://github.com/twmb/murmur3")
2572 (commit (string-append "v" version))))
2573 (file-name (git-file-name name version))
2576 "00riapwkyf23l5wyis47mbr8rwr4yrjw491jfc30wpzs111c1gyy"))))
2577 (build-system go-build-system)
2579 '(#:import-path "github.com/twmb/murmur3"))
2580 (home-page "https://github.com/twmb/murmur3")
2581 (synopsis "Native MurmurHash3 Go implementation")
2582 (description "Native Go implementation of Austin Appleby's third
2583 MurmurHash revision (aka MurmurHash3).
2585 Reference algorithm has been slightly hacked as to support the streaming mode
2586 required by Go's standard Hash interface.")
2587 (license license:bsd-3)))
2589 (define-public go-github-com-multiformats-go-multihash
2590 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
2593 (name "go-github-com-multiformats-go-multihash")
2594 (version (git-version "1.0.8" revision commit))
2599 (url "https://github.com/multiformats/go-multihash")
2601 (file-name (git-file-name name version))
2604 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
2605 (build-system go-build-system)
2607 '(#:import-path "github.com/multiformats/go-multihash"))
2609 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2610 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2611 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2612 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2613 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2614 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2615 (home-page "https://github.com/multiformats/go-multihash")
2616 (synopsis "Multihash implementation in Go")
2617 (description "Multihash implementation in Go.")
2618 (license license:expat))))
2620 (define-public go-github-com-libp2p-go-libp2p-peer
2621 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
2624 (name "go-github-com-libp2p-go-libp2p-peer")
2625 (version (git-version "2.3.8" revision commit))
2630 (url "https://github.com/libp2p/go-libp2p-peer")
2632 (file-name (git-file-name name version))
2635 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
2636 (build-system go-build-system)
2638 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
2640 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2641 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2642 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2643 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2644 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2645 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2646 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2647 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2648 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2649 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2650 (home-page "https://github.com/libp2p/go-libp2p-peer")
2651 (synopsis "PKI based identities for use in go-libp2p")
2652 (description "PKI based identities for use in @command{go-libp2p}.")
2653 (license license:expat))))
2655 (define-public go-github-com-libp2p-go-libp2p-protocol
2656 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
2659 (name "go-github-com-libp2p-go-libp2p-protocol")
2660 (version (git-version "1.0.0" revision commit))
2665 (url "https://github.com/libp2p/go-libp2p-protocol")
2667 (file-name (git-file-name name version))
2670 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
2671 (build-system go-build-system)
2674 "github.com/libp2p/go-libp2p-protocol"))
2675 (home-page "https://github.com/libp2p/go-libp2p-protocol")
2676 (synopsis "Type for protocol strings in Golang")
2677 (description "Just a type for protocol strings. Nothing more.")
2678 (license license:expat))))
2680 (define-public go-github-com-libp2p-go-libp2p-metrics
2681 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
2684 (name "go-github-com-libp2p-go-libp2p-metrics")
2685 (version (git-version "2.1.6" revision commit))
2690 (url "https://github.com/libp2p/go-libp2p-metrics")
2692 (file-name (git-file-name name version))
2695 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
2696 (build-system go-build-system)
2698 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
2700 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
2701 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
2702 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
2703 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2704 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2705 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2706 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2707 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2708 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2709 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2710 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2711 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2712 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2713 (home-page "https://github.com/libp2p/go-libp2p-metrics")
2714 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
2715 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
2716 statistics for wrapped connections.")
2717 (license license:expat))))
2719 (define-public go-github-com-mitchellh-go-homedir
2720 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
2723 (name "go-github-com-mitchellh-go-homedir")
2724 (version (git-version "1.0.0" revision commit))
2729 (url "https://github.com/mitchellh/go-homedir")
2731 (file-name (git-file-name name version))
2734 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
2735 (build-system go-build-system)
2737 (quote (#:import-path "github.com/mitchellh/go-homedir"
2738 ;; TODO: Tests fail because it tries to access home.
2740 (home-page "https://github.com/mitchellh/go-homedir")
2741 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
2742 (description "This is a Go library for detecting the user's home
2743 directory without the use of @command{cgo}, so the library can be used in
2744 cross-compilation environments.
2746 Usage is simple, just call homedir.Dir() to get the home directory for a user,
2747 and homedir.Expand() to expand the @command{~} in a path to the home
2750 Why not just use @command{os/user}? The built-in @command{os/user} package
2751 requires cgo on Darwin systems. This means that any Go code that uses that
2752 package cannot cross compile. But 99% of the time the use for
2753 @command{os/user} is just to retrieve the home directory, which we can do for
2754 the current user without cgo. This library does that, enabling
2755 cross-compilation.")
2756 (license license:expat))))
2758 (define-public go-github-com-mitchellh-mapstructure
2760 (name "go-github-com-mitchellh-mapstructure")
2761 (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0
2766 (url "https://github.com/mitchellh/mapstructure")
2767 (commit (string-append "v" version))))
2768 (file-name (git-file-name name version))
2771 "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"))))
2772 (build-system go-build-system)
2774 `(#:import-path "github.com/mitchellh/mapstructure"))
2775 (home-page "https://github.com/mitchellh/mapstructure")
2776 (synopsis "Go library for decoding generic map values")
2777 (description "Go library for decoding generic map values")
2778 (license license:expat)))
2780 (define-public go-github-com-mitchellh-reflectwalk
2782 (name "go-github-com-mitchellh-reflectwalk")
2787 (url "https://github.com/mitchellh/reflectwalk")
2788 (commit (string-append "v" version))))
2789 (file-name (git-file-name name version))
2792 "0pa6a3nhzwv5s5yqcmsmsfhdp5ggxsg2wa86f3akawxrhrkjarnx"))))
2793 (build-system go-build-system)
2795 `(#:import-path "github.com/mitchellh/reflectwalk"))
2796 (home-page "https://github.com/mitchellh/reflectwalk/")
2797 (synopsis "Walk a value in Go using reflection")
2798 (description "reflectwalk is a Go library for \"walking\" a value in Go
2799 using reflection, in the same way a directory tree can be \"walked\" on the
2800 filesystem. Walking a complex structure can allow you to do manipulations on
2801 unknown structures such as those decoded from JSON.")
2802 (license license:expat)))
2804 (define-public go-github-com-mitchellh-copystructure
2806 (name "go-github-com-mitchellh-copystructure")
2812 (url "https://github.com/mitchellh/copystructure")
2813 (commit (string-append "v" version))))
2814 (file-name (git-file-name name version))
2817 "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
2818 (build-system go-build-system)
2820 `(#:import-path "github.com/mitchellh/copystructure"))
2822 `(("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)))
2823 (home-page "https://github.com/mitchellh/copystructure")
2824 (synopsis "Go library for decoding deep copying values")
2825 (description "@code{copystructure} is a Go library for deep copying values
2828 This allows you to copy Go values that may contain reference values such as
2829 maps, slices, or pointers, and copy their data as well instead of just their
2831 (license license:expat)))
2833 (define-public go-github-com-multiformats-go-multiaddr
2834 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
2837 (name "go-github-com-multiformats-go-multiaddr")
2838 (version (git-version "1.3.0" revision commit))
2843 (url "https://github.com/multiformats/go-multiaddr")
2845 (file-name (git-file-name name version))
2848 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
2849 (build-system go-build-system)
2852 "github.com/multiformats/go-multiaddr"))
2854 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2855 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2856 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2857 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2858 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2859 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2860 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2861 (home-page "https://github.com/multiformats/go-multiaddr")
2862 (synopsis "Composable and future-proof network addresses")
2863 (description "Multiaddr is a standard way to represent addresses that
2867 @item Support any standard network protocols.
2868 @item Self-describe (include protocols).
2869 @item Have a binary packed format.
2870 @item Have a nice string representation.
2871 @item Encapsulate well.
2873 (license license:expat))))
2875 (define-public go-github-com-multiformats-go-multiaddr-net
2876 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
2879 (name "go-github-com-multiformats-go-multiaddr-net")
2880 (version (git-version "1.6.3" revision commit))
2885 (url "https://github.com/multiformats/go-multiaddr-net")
2887 (file-name (git-file-name name version))
2890 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
2891 (build-system go-build-system)
2893 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
2894 ;; TODO: Tests fail because they try to access the network.
2897 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
2898 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2899 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2900 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2901 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2902 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2903 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2904 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2905 (home-page "https://github.com/multiformats/go-multiaddr-net")
2906 (synopsis "Multiaddress net tools")
2907 (description "This package provides Multiaddr specific versions of
2908 common functions in stdlib's @command{net} package. This means wrappers of
2909 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
2910 as conversion to and from @command{net.Addr}.")
2911 (license license:expat))))
2913 (define-public go-github-com-whyrusleeping-tar-utils
2914 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
2917 (name "go-github-com-whyrusleeping-tar-utils")
2918 (version (git-version "0.0.0" revision commit))
2923 (url "https://github.com/whyrusleeping/tar-utils")
2925 (file-name (git-file-name name version))
2928 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
2929 (build-system go-build-system)
2932 "github.com/whyrusleeping/tar-utils"))
2933 (home-page "https://github.com/whyrusleeping/tar-utils")
2934 (synopsis "Tar utilities extracted from go-ipfs codebase")
2935 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
2936 (license license:expat))))
2938 (define-public go-github-com-cheekybits-is
2939 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
2942 (name "go-github-com-cheekybits-is")
2943 (version (git-version "0.0.0" revision commit))
2948 (url "https://github.com/cheekybits/is")
2950 (file-name (git-file-name name version))
2953 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
2954 (build-system go-build-system)
2956 '(#:import-path "github.com/cheekybits/is"))
2957 (home-page "https://github.com/cheekybits/is")
2958 (synopsis "Mini testing helper for Go")
2959 (description "A mini testing helper for Go.
2962 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
2963 @item It plugs into existing Go toolchain (uses @command{testing.T}).
2964 @item It's obvious for newcomers.
2965 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
2966 - because testing panics is ugly.
2968 (license license:expat))))
2970 (define-public go-github-com-sabhiram-go-gitignore
2971 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
2974 (name "go-github-com-sabhiram-go-gitignore")
2975 (version (git-version "1.0.2" revision commit))
2980 (url "https://github.com/sabhiram/go-gitignore")
2982 (file-name (git-file-name name version))
2985 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
2986 (build-system go-build-system)
2989 "github.com/sabhiram/go-gitignore"))
2991 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2992 (home-page "https://github.com/sabhiram/go-gitignore")
2993 (synopsis "Gitignore parser for Go")
2994 (description "A @command{.gitignore} parser for Go.")
2995 (license license:expat))))
2997 (define-public go-github-com-urfave-cli
2999 (name "go-github-com-urfave-cli")
3005 (url "https://github.com/urfave/cli")
3006 (commit (string-append "v" version))))
3007 (file-name (git-file-name name version))
3010 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
3011 (build-system go-build-system)
3013 '(#:import-path "github.com/urfave/cli"))
3015 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
3016 (home-page "https://github.com/urfave/cli")
3017 (synopsis "Simple, fast, and fun package for building command line apps in Go")
3018 (description "@command{cli} is a simple, fast, and fun package for
3019 building command line apps in Go. The goal is to enable developers to write
3020 fast and distributable command line applications in an expressive way.")
3021 (license license:expat)))
3023 (define-public go-github-com-go-md2man
3025 (name "go-github-com-go-md2man")
3031 (url "https://github.com/cpuguy83/go-md2man")
3032 (commit (string-append "v" version))))
3033 (file-name (git-file-name name version))
3036 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
3037 (modules '((guix build utils)))
3039 (delete-file-recursively "vendor")
3041 (build-system go-build-system)
3043 '(#:import-path "github.com/cpuguy83/go-md2man"))
3045 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
3046 (home-page "https://github.com/cpuguy83/go-md2man")
3047 (synopsis "Convert markdown into roff")
3048 (description "Go-md2man is a Go program that converts markdown to roff for
3049 the purpose of building man pages.")
3050 (license license:expat)))
3052 (define-public go-github-com-russross-blackfriday
3054 (name "go-github-com-russross-blackfriday")
3060 (url "https://github.com/russross/blackfriday")
3061 (commit (string-append "v" version))))
3062 (file-name (git-file-name name version))
3065 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
3066 (build-system go-build-system)
3068 '(#:import-path "github.com/russross/blackfriday"))
3070 `(("go-github-com-shurcool-sanitized-anchor-name"
3071 ,go-github-com-shurcool-sanitized-anchor-name)))
3073 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
3074 (home-page "https://github.com/russross/blackfriday")
3075 (synopsis "Markdown processor in Go")
3076 (description "Blackfriday is a Markdown processor in Go.")
3077 (license license:bsd-2)))
3079 (define-public go-github-com-shurcool-sanitized-anchor-name
3081 (name "go-github-com-shurcool-sanitized-anchor-name")
3087 (url "https://github.com/shurcooL/sanitized_anchor_name")
3088 (commit (string-append "v" version))))
3089 (file-name (git-file-name name version))
3092 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
3093 (build-system go-build-system)
3095 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
3096 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
3097 (synopsis "Create sanitized anchor names")
3098 (description "This package provides a Go program for creating sanitized
3100 (license license:expat)))
3102 (define-public go-github-com-pmezard-go-difflib
3104 (name "go-github-com-pmezard-go-difflib")
3109 (url "https://github.com/pmezard/go-difflib")
3110 (commit (string-append "v" version))))
3111 (file-name (git-file-name name version))
3114 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
3115 (build-system go-build-system)
3117 '(#:import-path "github.com/pmezard/go-difflib/difflib"
3118 #:unpack-path "github.com/pmezard/go-difflib/"))
3119 (home-page "https://github.com/pmezard/go-difflib")
3120 (synopsis "Go diff implementation")
3121 (description "This package provides unified and context-aware diffs in Go.")
3122 (license license:bsd-3)))
3124 (define-public go-github-com-whyrusleeping-json-filter
3125 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
3128 (name "go-github-com-whyrusleeping-json-filter")
3129 (version (git-version "0.0.0" revision commit))
3134 (url "https://github.com/whyrusleeping/json-filter")
3136 (file-name (git-file-name name version))
3139 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
3140 (build-system go-build-system)
3143 "github.com/whyrusleeping/json-filter"))
3144 (home-page "https://github.com/whyrusleeping/json-filter")
3145 (synopsis "Library to query JSON objects marshalled into map[string]interface")
3146 (description "A library to query JSON objects marshalled into
3147 @command{map[string]interface{}}.")
3148 (license license:expat))))
3150 (define-public go-github-com-whyrusleeping-progmeter
3151 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
3154 (name "go-github-com-whyrusleeping-progmeter")
3155 (version (git-version "0.0.0" revision commit))
3160 (url "https://github.com/whyrusleeping/progmeter")
3162 (file-name (git-file-name name version))
3165 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
3166 (build-system go-build-system)
3169 "github.com/whyrusleeping/progmeter"))
3170 (home-page "https://github.com/whyrusleeping/progmeter")
3171 (synopsis "Progress meter for Go")
3172 (description "Progress meter for Go.")
3173 (license license:expat))))
3175 (define-public go-github-com-whyrusleeping-stump
3176 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
3179 (name "go-github-com-whyrusleeping-stump")
3180 (version (git-version "0.0.0" revision commit))
3185 (url "https://github.com/whyrusleeping/stump")
3187 (file-name (git-file-name name version))
3190 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
3191 (build-system go-build-system)
3193 '(#:import-path "github.com/whyrusleeping/stump"))
3194 (home-page "https://github.com/whyrusleeping/stump")
3195 (synopsis "Very basic logging package for Go")
3196 (description "A simple log library, for when you don't really care to
3197 have super fancy logs.")
3198 (license license:expat))))
3200 (define-public go-github-com-kr-fs
3201 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
3204 (name "go-github-com-kr-fs")
3205 (version (git-version "0.1.0" revision commit))
3210 (url "https://github.com/kr/fs")
3212 (file-name (git-file-name name version))
3215 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
3216 (build-system go-build-system)
3218 '(#:import-path "github.com/kr/fs"))
3219 (home-page "https://github.com/kr/fs")
3220 (synopsis "File-system-related functions for Go")
3222 "The fs package provides file-system-related Go functions.")
3223 (license license:bsd-3))))
3225 (define-public go-github-com-direnv-go-dotenv
3226 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
3229 (name "go-github-com-direnv-go-dotenv")
3230 (version (git-version "0.0.0" revision commit))
3235 (url "https://github.com/direnv/go-dotenv")
3237 (file-name (git-file-name name version))
3240 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
3241 (build-system go-build-system)
3243 '(#:import-path "github.com/direnv/go-dotenv"))
3244 (home-page "https://github.com/direnv/go-dotenv")
3245 (synopsis "Go dotenv parsing library")
3246 (description "This package provides a library for parsing the dotenv
3248 (license license:expat))))
3250 (define-public go-github-com-kr-pretty
3252 (name "go-github-com-kr-pretty")
3257 (url "https://github.com/kr/pretty")
3258 (commit (string-append "v" version))))
3259 (file-name (git-file-name name version))
3262 "1ywbfzz1h3a3qd8rpkiqwi1dm4w8ls9ijb4x1b7567grns9f0vnp"))))
3263 (build-system go-build-system)
3265 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
3267 '(#:import-path "github.com/kr/pretty"))
3268 (synopsis "A pretty printer for Go values")
3269 (description "This package provides a pretty printer for Go values.")
3270 (home-page "https://github.com/kr/pretty")
3271 (license license:expat)))
3273 (define-public go-github-com-kr-text
3275 (name "go-github-com-kr-text")
3280 (url "https://github.com/kr/text")
3281 (commit (string-append "v" version))))
3282 (file-name (git-file-name name version))
3285 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
3286 (build-system go-build-system)
3288 '(#:import-path "github.com/kr/text"))
3289 (synopsis "Text formatting in Go")
3290 (description "This package provides a text formatting functions in Go.")
3291 (home-page "https://github.com/kr/text")
3292 (license license:expat)))
3294 (define-public go-golang-org-sql-mock
3295 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
3299 (name "go-golang-org-sql-mock")
3300 (version (git-version version revision commit))
3304 (url "https://github.com/DATA-DOG/go-sqlmock")
3306 (file-name (git-file-name name version))
3309 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
3310 (build-system go-build-system)
3312 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
3313 (synopsis "Mock library implementing @code{sql/driver}")
3314 (description "This library simulates SQL-driver behavior in tests
3315 without requiring a real database connection.")
3316 (home-page "https://github.com/DATA-DOG/go-sqlmock")
3317 (license license:expat))))
3319 (define-public go-golang-org-colorful
3321 (name "go-golang-org-colorful")
3326 (url "https://github.com/lucasb-eyer/go-colorful")
3327 (commit (string-append "v" version))))
3328 (file-name (git-file-name name version))
3331 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
3332 (build-system go-build-system)
3334 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
3336 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
3337 (synopsis "Convert between colorspaces and generate colors")
3338 (description "This package implements Go's @code{color.Color} interface
3339 and provides a means of converting colors stored as RGB to various
3341 (home-page "https://github.com/lucasb-eyer/go-colorful")
3342 (license license:expat)))
3344 (define-public go-github-com-gdamore-encoding
3346 (name "go-github-com-gdamore-encoding")
3352 (url "https://github.com/gdamore/encoding")
3353 (commit (string-append "v" version))))
3354 (file-name (git-file-name name version))
3357 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
3358 (build-system go-build-system)
3360 '(#:import-path "github.com/gdamore/encoding"))
3362 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3363 (home-page "https://github.com/gdamore/encoding")
3364 (synopsis "Provide encodings missing from Go")
3365 (description "This package provides useful encodings not included in the
3366 standard @code{Text} package, including some for dealing with I/O streams from
3367 non-UTF-friendly sources.")
3368 (license license:expat)))
3370 (define-public go-github-com-gdamore-tcell
3371 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
3375 (name "go-github-com-gdamore-tcell")
3376 (version (git-version version revision commit))
3381 (url "https://github.com/gdamore/tcell")
3383 (file-name (git-file-name name version))
3386 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
3387 (build-system go-build-system)
3389 `(#:import-path "github.com/gdamore/tcell"
3391 (modify-phases %standard-phases
3392 (add-before 'reset-gzip-timestamps 'make-files-writable
3393 (lambda* (#:key outputs #:allow-other-keys)
3394 ;; Make sure .gz files are writable so that the
3395 ;; 'reset-gzip-timestamps' phase can do its work.
3396 (let ((out (assoc-ref outputs "out")))
3397 (for-each make-file-writable
3398 (find-files out "\\.gz$"))
3401 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
3402 ("go-golang-org-colorful" ,go-golang-org-colorful)
3403 ("go-golang-org-x-text" ,go-golang-org-x-text)
3404 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
3405 (home-page "https://github.com/gdamore/tcell")
3406 (synopsis "Provide a cell-based view for text terminals")
3407 (description "This package includes a full parser and expander for
3408 terminfo capability strings to avoid hard-coding escape strings for
3409 formatting. It also favors portability, and includes support for all POSIX
3411 (license license:expat))))
3413 (define-public go-github-com-mattn-go-shellwords
3414 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
3418 (name "go-github-com-mattn-go-shellwords")
3419 (version (git-version version revision commit))
3424 (url "https://github.com/mattn/go-shellwords")
3426 (file-name (git-file-name name version))
3429 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
3430 (build-system go-build-system)
3432 `(#:import-path "github.com/mattn/go-shellwords"
3433 ;; TODO: can't make homeless-shelter:
3434 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
3435 ;; initialization failure: mkdir /homeless-shelter: permission denied
3437 ;; This doesn't seem to work:
3440 ;; (modify-phases %standard-phases
3442 ;; (lambda* (#:key import-path #:allow-other-keys)
3443 ;; (setenv "HOME" "/tmp")
3444 ;; (invoke "go" "test" import-path))))
3446 ;; TODO: There are also a couple of tests that have stymied Debian in
3447 ;; the past. They seem to work when run locally.
3451 (home-page "https://github.com/mattn/go-shellwords")
3452 (synopsis "Parse lines into shell words")
3453 (description "This package parses text into shell arguments. Based on
3454 the @code{cpan} module @code{Parse::CommandLine}.")
3455 (license license:expat))))
3457 (define-public go-github-com-burntsushi-locker
3458 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
3461 (name "go-github-com-burntsushi-locker")
3462 (version (git-version "0.0.0" revision commit))
3467 (url "https://github.com/BurntSushi/locker")
3469 (file-name (git-file-name name version))
3472 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
3473 (build-system go-build-system)
3475 '(#:import-path "github.com/BurntSushi/locker"))
3476 (home-page "https://github.com/BurntSushi/locker")
3477 (synopsis "Manage named ReadWrite mutexes in Go")
3478 (description "Golang package for conveniently using named read/write
3479 locks. These appear to be especially useful for synchronizing access to
3480 session based information in web applications.
3482 The common use case is to use the package level functions, which use a package
3483 level set of locks (safe to use from multiple goroutines
3484 simultaneously). However, you may also create a new separate set of locks
3487 All locks are implemented with read-write mutexes. To use them like a regular
3488 mutex, simply ignore the RLock/RUnlock functions.")
3489 (license license:unlicense))))
3491 (define-public go-github-com-marten-seemann-qtls
3493 (name "go-github-com-marten-seemann-qtls")
3498 (url "https://github.com/marten-seemann/qtls")
3499 (commit (string-append "v" version))))
3500 (file-name (git-file-name name version))
3503 "0dz60y98nm7l70hamq0v2vrs2dspyr5yqhnrds2dfh7hchxvq76j"))))
3504 (build-system go-build-system)
3506 '(#:import-path "github.com/marten-seemann/qtls"
3507 ;; The test suite requires networking.
3510 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3511 (synopsis "TLS 1.3 with QUIC in Go")
3512 (description "This package provides @code{qtls}, a QUIC-capable variant of
3513 the Go standard library's TLS 1.3 implementation.")
3514 (home-page "https://github.com/marten-seemann/qtls")
3515 (license license:bsd-3)))
3517 (define-public go-github-com-marten-seemann-chacha20
3519 (name "go-github-com-marten-seemann-chacha20")
3524 (url "https://github.com/marten-seemann/chacha20")
3525 (commit (string-append "v" version))))
3526 (file-name (git-file-name name version))
3529 "0x1j4cvbap45zk962qkjalc1h3axhzzdy9cdzhcjmprmm1ql4gjm"))))
3530 (build-system go-build-system)
3532 '(#:import-path "github.com/marten-seemann/chacha20"))
3533 (synopsis "ChaCha20 in Go")
3534 (description "This package is an external copy of the Go standard library's
3535 internal ChaCha20 package.")
3536 (home-page "https://github.com/marten-seemann/chacha20")
3537 (license license:bsd-3)))
3539 (define-public go-github-com-cheekybits-genny
3541 (name "go-github-com-cheekybits-genny")
3546 (url "https://github.com/cheekybits/genny")
3547 (commit (string-append "v" version))))
3548 (file-name (git-file-name name version))
3551 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
3552 (build-system go-build-system)
3554 '(#:import-path "github.com/cheekybits/genny"))
3556 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
3557 (synopsis "Generics for Go")
3558 (description "This package provides @code{genny}, a Go language
3559 implementation of generics.")
3560 (home-page "https://github.com/cheekybits/genny/")
3561 (license license:expat)))
3563 (define-public go-github-com-lucas-clemente-quic-go
3565 (name "go-github-com-lucas-clemente-quic-go")
3570 (url "https://github.com/lucas-clemente/quic-go")
3571 (commit (string-append "v" version))))
3572 (file-name (git-file-name name version))
3575 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
3576 (build-system go-build-system)
3578 '(#:import-path "github.com/lucas-clemente/quic-go"
3579 ;; XXX More packages required...
3582 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3583 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
3584 ("go-github-com-marten-seemann-chacha20" ,go-github-com-marten-seemann-chacha20)
3585 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
3586 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
3587 (synopsis "QUIC in Go")
3588 (description "This package provides a Go language implementation of the QUIC
3590 (home-page "https://github.com/lucas-clemente/quic-go")
3591 (license license:expat)))
3593 (define-public go-github-com-francoispqt-gojay
3595 (name "go-github-com-francoispqt-gojay")
3600 (url "https://github.com/francoispqt/gojay")
3601 (commit (string-append "v" version))))
3602 (file-name (git-file-name name version))
3605 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
3606 (build-system go-build-system)
3608 '(#:import-path "github.com/francoispqt/gojay"))
3610 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3611 (synopsis "JSON encoder/decoder with powerful stream API for Golang")
3612 (description "GoJay is a performant JSON encoder/decoder for Golang. It has
3613 a simple API and doesn't use reflection. It relies on small interfaces to
3614 decode/encode structures and slices.")
3615 (home-page "https://github.com/francoispqt/gojay")
3616 (license license:expat)))
3618 (define-public go-github-com-pkg-errors
3620 (name "go-github-com-pkg-errors")
3625 (url "https://github.com/pkg/errors")
3626 (commit (string-append "v" version))))
3627 (file-name (git-file-name name version))
3630 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
3631 (build-system go-build-system)
3633 `(#:import-path "github.com/pkg/errors"))
3634 (synopsis "Go error handling primitives")
3635 (description "This package provides @code{error}, which offers simple
3636 error handling primitives in Go.")
3637 (home-page "https://github.com/pkg/errors")
3638 (license license:bsd-2)))
3640 (define-public go-github-com-maruel-panicparse
3642 (name "go-github-com-maruel-panicparse")
3647 (url "https://github.com/maruel/panicparse")
3648 (commit (string-append "v" version))))
3649 (file-name (git-file-name name version))
3652 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
3653 (build-system go-build-system)
3655 '(#:import-path "github.com/maruel/panicparse"))
3656 (synopsis "Toolkit for parsing Go stack traces")
3657 (description "This package provides a toolkit for parsing Go language panic
3658 stack traces. It simplifies the traces to make salient information more visible
3659 and aid debugging.")
3660 (home-page "https://github.com/maruel/panicparse")
3661 (license license:asl2.0)))
3663 (define-public go-github-com-robfig-cron
3665 (name "go-github-com-robfig-cron")
3671 (url "https://github.com/robfig/cron")
3672 (commit (string-append "v" version))))
3673 (file-name (git-file-name name version))
3676 "1agzbw2dfk2d1mpmddr85s5vh6ygm8kqrvfg87i9d2wqnlsnliqm"))))
3677 (build-system go-build-system)
3679 `(#:import-path "github.com/robfig/cron"))
3680 (home-page "https://godoc.org/github.com/robfig/cron")
3681 (synopsis "Cron library for Go")
3682 (description "This package provides a cron library for Go. It implements
3683 a cron spec parser and job runner.")
3684 (license license:expat)))
3686 (define-public go-github-com-shirou-gopsutil
3687 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
3690 (name "go-github-com-shirou-gopsutil")
3691 (version (git-version "v2.19.7" revision commit))
3695 (url "https://github.com/shirou/gopsutil")
3696 (commit commit))) ; XXX
3697 (file-name (git-file-name name version))
3700 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
3701 (build-system go-build-system)
3703 '(#:import-path "github.com/shirou/gopsutil"))
3704 (synopsis "Process and system monitoring in Go")
3705 (description "This package provides a library for retrieving information
3706 on running processes and system utilization (CPU, memory, disks, network,
3708 (home-page "https://github.com/shirou/gopsutil")
3709 (license license:bsd-3))))
3711 (define-public go-github-com-danwakefield-fnmatch
3712 (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
3715 (name "go-github-com-danwakefield-fnmatch")
3716 (version (git-version "0.0.0" revision commit))
3721 (url "https://github.com/danwakefield/fnmatch")
3725 "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
3726 (file-name (git-file-name name version))))
3727 (build-system go-build-system)
3729 '(#:import-path "github.com/danwakefield/fnmatch"))
3730 (home-page "https://github.com/danwakefield/fnmatch")
3731 (synopsis "Updated clone of kballards golang fnmatch gist")
3732 (description "This package provides an updated clone of kballards golang
3733 fnmatch gist (https://gist.github.com/kballard/272720).")
3734 (license license:bsd-2))))
3736 (define-public go-github-com-ddevault-go-libvterm
3737 (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
3740 (name "go-github-com-ddevault-go-libvterm")
3741 (version (git-version "0.0.0" revision commit))
3746 (url "https://github.com/ddevault/go-libvterm")
3750 "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
3751 (file-name (git-file-name name version))))
3752 (build-system go-build-system)
3754 '(#:import-path "github.com/ddevault/go-libvterm"))
3756 `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
3757 (home-page "https://github.com/ddevault/go-libvterm")
3758 (synopsis "Go binding to libvterm")
3760 "This is a fork of another go-libvterm library for use with aerc.")
3761 (license license:expat))))
3763 (define-public go-github-com-emersion-go-imap
3765 (name "go-github-com-emersion-go-imap")
3771 (url "https://github.com/emersion/go-imap")
3772 (commit (string-append "v" version))))
3775 "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
3776 (file-name (git-file-name name version))))
3777 (build-system go-build-system)
3779 '(#:import-path "github.com/emersion/go-imap"))
3781 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3782 (home-page "https://github.com/emersion/go-imap")
3783 (synopsis "IMAP4rev1 library written in Go")
3784 (description "This package provides an IMAP4rev1 library written in Go. It
3785 can be used to build a client and/or a server.")
3786 (license license:expat)))
3788 (define-public go-github-com-emersion-go-sasl
3789 (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
3792 (name "go-github-com-emersion-go-sasl")
3793 (version (git-version "0.0.0" revision commit))
3798 (url "https://github.com/emersion/go-sasl")
3802 "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
3803 (file-name (git-file-name name version))))
3804 (build-system go-build-system)
3806 '(#:import-path "github.com/emersion/go-sasl"))
3807 (home-page "https://github.com/emersion/go-sasl")
3808 (synopsis "SASL library written in Go")
3809 (description "This package provides a SASL library written in Go.")
3810 (license license:expat))))
3812 (define-public go-github-com-emersion-go-imap-idle
3813 (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
3816 (name "go-github-com-emersion-go-imap-idle")
3817 (version (git-version "0.0.0" revision commit))
3822 (url "https://github.com/emersion/go-imap-idle")
3826 "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
3827 (file-name (git-file-name name version))))
3828 (build-system go-build-system)
3830 '(#:import-path "github.com/emersion/go-imap-idle"))
3832 `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
3833 ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
3834 ("go-golang-org-x-text" ,go-golang-org-x-text)))
3835 (home-page "https://github.com/emersion/go-imap-idle")
3836 (synopsis "IDLE extension for go-imap")
3837 (description "This package provides an IDLE extension for go-imap.")
3838 (license license:expat))))
3840 (define-public go-github-com-fatih-color
3842 (name "go-github-com-fatih-color")
3847 (url "https://github.com/fatih/color")
3848 (commit (string-append "v" version))))
3849 (file-name (git-file-name name version))
3852 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
3853 (build-system go-build-system)
3855 '(#:import-path "github.com/fatih/color"))
3856 (synopsis "Print colored text in Go")
3857 (description "This package provides an ANSI color package to output
3858 colorized or SGR defined output to the standard output.")
3859 (home-page "https://godoc.org/github.com/fatih/color")
3860 (license license:expat)))
3862 (define-public go-github-com-google-go-cmp-cmp
3864 (name "go-github-com-google-go-cmp-cmp")
3869 (url "https://github.com/google/go-cmp")
3870 (commit (string-append "v" version))))
3871 (file-name (git-file-name name version))
3874 "1caw49i0plkjxir7kdf5qhwls3krqwfmi7g4h392rdfwi3kfahx1"))))
3875 (build-system go-build-system)
3877 '(#:import-path "github.com/google/go-cmp/cmp"
3878 #:unpack-path "github.com/google/go-cmp"))
3879 (synopsis "Determine equality of values in Go")
3880 (description "This package provides a more powerful and safer
3881 alternative to @code{reflect.DeepEqual} for comparing whether two values
3882 are semantically equal in Go (for writing tests).")
3883 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
3884 (license license:asl2.0)))
3886 (define-public go-github-com-google-uuid
3888 (name "go-github-com-google-uuid")
3893 (url "https://github.com/google/uuid")
3894 (commit (string-append "v" version))))
3895 (file-name (git-file-name name version))
3898 "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb"))))
3899 (build-system go-build-system)
3901 '(#:import-path "github.com/google/uuid"))
3902 (home-page "https://github.com/google/uuid/")
3903 (synopsis "Generate and inspect UUIDs based on RFC 4122 and DCE 1.1")
3904 (description "The uuid package generates and inspects UUIDs based on RFC
3905 4122 and DCE 1.1: Authentication and Security Services.")
3906 (license license:bsd-3)))
3908 (define-public go-github-com-google-goterm
3909 (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
3912 (name "go-github-com-google-goterm")
3913 (version (git-version "0.0.1" revision commit))
3917 (url "https://github.com/google/goterm")
3919 (file-name (git-file-name name version))
3922 "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb"))))
3923 (build-system go-build-system)
3925 `(#:import-path "github.com/google/goterm/term"
3926 #:unpack-path "github.com/google/goterm"))
3927 (home-page "https://github.com/google/goterm/")
3928 (synopsis "PTY creation and termios get/set attributes")
3929 (description "The term package implements PTY creation and termios get/set
3930 attributes. It also contains some convenience functions for colors, SSH to
3931 and from termios translations, readCh, reading passwords, etc.")
3932 (license license:bsd-3))))
3934 (define-public go-github-com-google-go-querystring
3935 (let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests
3938 (name "go-github-com-google-go-querystring")
3943 (url "https://github.com/google/go-querystring")
3945 (file-name (git-file-name name version))
3948 "0mbx4jvf7nz4sk2fgqfq1llz4xb3vc4625b4x398mspr3a5077rs"))))
3949 (build-system go-build-system)
3951 `(#:import-path "github.com/google/go-querystring/query"
3952 #:unpack-path "github.com/google/go-querystring"))
3953 (home-page "https://github.com/google/go-querystring/")
3954 (synopsis "Library for encoding structs into URL query parameters")
3955 (description "@code{go-querystring} is Go library for encoding structs
3956 into URL query parameters.")
3957 (license license:bsd-3))))
3959 (define-public go-github-com-google-go-github
3961 (name "go-github-com-google-go-github")
3966 (url "https://github.com/google/go-github")
3967 (commit (string-append "v" version))))
3968 (file-name (git-file-name name version))
3971 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
3972 (build-system go-build-system)
3974 `(#:tests? #f ;application/octet-stream instead of text/plain
3975 #:import-path "github.com/google/go-github/v26/github"
3976 #:unpack-path "github.com/google/go-github/v26"))
3978 `(("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring)
3979 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3980 (home-page "https://github.com/google/go-github/")
3981 (synopsis "Client library for accessing the GitHub API v3")
3982 (description "@code{go-github} is a Go client library for accessing the
3984 (license license:bsd-3)))
3986 (define-public go-github-com-google-renameio
3988 (name "go-github-com-google-renameio")
3993 (url "https://github.com/google/renameio")
3994 (commit (string-append "v" version))))
3995 (file-name (git-file-name name version))
3998 "1ki2x5a9nrj17sn092d6n4zr29lfg5ydv4xz5cp58z6cw8ip43jx"))))
3999 (build-system go-build-system)
4001 `(#:import-path "github.com/google/renameio"))
4002 (home-page "https://github.com/google/renameio/")
4003 (synopsis "Atomically create or replace a file or symbolic link")
4004 (description "@code{renameio} Go package provides a way to atomically
4005 create or replace a file or symbolic link.")
4006 (license license:asl2.0)))
4008 (define-public go-golang.org-x-sync-errgroup
4009 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
4012 (name "go-golang.org-x-sync-errgroup")
4013 (version (git-version "0.0.0" revision commit))
4017 (url "https://go.googlesource.com/sync")
4019 (file-name (git-file-name name version))
4022 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
4023 (build-system go-build-system)
4025 '(#:import-path "golang.org/x/sync/errgroup"
4026 #:unpack-path "golang.org/x/sync"))
4027 (synopsis "Synchronization, error propagation, and Context cancellation
4028 for groups of goroutines working on subtasks of a common task.")
4029 (description "This package provides synchronization, error propagation,
4030 and Context cancellation for groups of goroutines working on subtasks of a
4032 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
4033 (license license:bsd-3))))
4035 (define (go-gotest-tools-source version sha256-base32-hash)
4039 (url "https://github.com/gotestyourself/gotest.tools")
4040 (commit (string-append "v" version))))
4041 (file-name (git-file-name "go-gotest-tools" version))
4043 (base32 sha256-base32-hash))))
4045 ;; Note that version 3.0.0 is incompatible to 2.3.0.
4046 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
4047 (define (go-gotest-tools-package suffix)
4049 (name (string-append "go-gotest-tools-"
4050 (string-replace-substring suffix "/" "-")))
4053 (go-gotest-tools-source version
4054 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
4055 (build-system go-build-system)
4057 `(#:import-path ,(string-append "gotest.tools/" suffix)
4058 #:unpack-path "gotest.tools"))
4059 (synopsis "@code{gotest-tools} part")
4060 (description "This package provides a part of @code{gotest-tools}.")
4061 (home-page "https://github.com/gotestyourself/gotest.tools")
4062 (license license:asl2.0)))
4064 (define-public go-gotest-tools-internal-format
4065 (package (inherit (go-gotest-tools-package "internal/format"))
4067 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4068 ("go-github-com-google-go-cmp-cmp"
4069 ,go-github-com-google-go-cmp-cmp)))
4070 (synopsis "Formats messages for use with gotest-tools")
4071 (description "This package provides a way to format messages for use
4072 with gotest-tools.")))
4074 (define-public go-gotest-tools-internal-difflib
4075 (package (inherit (go-gotest-tools-package "internal/difflib"))
4076 (synopsis "Differences for use with gotest-tools")
4077 (description "This package computes differences for use
4078 with gotest-tools.")))
4080 (define-public go-gotest-tools-internal-source
4081 (package (inherit (go-gotest-tools-package "internal/source"))
4083 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4084 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
4085 (synopsis "Source code AST formatters for gotest-tools")
4086 (description "This package provides source code AST formatters for
4089 (define-public go-gotest-tools-assert
4090 (package (inherit (go-gotest-tools-package "assert"))
4091 (name "go-gotest-tools-assert")
4093 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
4094 #:import-path "gotest.tools/assert"
4095 #:unpack-path "gotest.tools"))
4097 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
4099 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4100 ("go-github-com-google-go-cmp-cmp"
4101 ,go-github-com-google-go-cmp-cmp)))
4102 (synopsis "Compare values and fail a test when a comparison fails")
4103 (description "This package provides a way to compare values and fail a
4104 test when a comparison fails.")
4105 (home-page "https://github.com/gotestyourself/gotest.tools")
4106 (license license:asl2.0)))
4108 (define-public gotestsum
4115 (url "https://github.com/gotestyourself/gotestsum")
4116 (commit (string-append "v" version))))
4117 (file-name (git-file-name name version))
4120 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
4121 (build-system go-build-system)
4123 '(#:import-path "gotest.tools/gotestsum"))
4125 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
4126 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
4127 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4128 ("go-github-com-sirupsen-logrus"
4129 ,go-github-com-sirupsen-logrus)
4130 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
4131 ("go-github-com-jonboulle-clockwork"
4132 ,go-github-com-jonboulle-clockwork)
4133 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4134 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
4135 ("go-github-com-google-go-cmp-cmp"
4136 ,go-github-com-google-go-cmp-cmp)
4137 ;; TODO: This would be better as a propagated-input of
4138 ;; go-gotest-tools-assert, but that does not work for
4140 ("go-gotest-tools-internal-format"
4141 ,go-gotest-tools-internal-format)
4142 ("go-gotest-tools-internal-difflib"
4143 ,go-gotest-tools-internal-difflib)
4144 ("go-gotest-tools-internal-source"
4145 ,go-gotest-tools-internal-source)
4146 ("go-github-com-google-go-cmp-cmp"
4147 ,go-github-com-google-go-cmp-cmp)))
4148 (synopsis "Go test runner with output optimized for humans")
4149 (description "This package provides a @code{go test} runner with output
4150 optimized for humans, JUnit XML for CI integration, and a summary of the
4152 (home-page "https://github.com/gotestyourself/gotestsum")
4153 (license license:asl2.0)))
4155 (define-public go-github-com-golang-protobuf-proto
4157 (name "go-github-com-golang-protobuf-proto")
4162 (url "https://github.com/golang/protobuf")
4163 (commit (string-append "v" version))))
4164 (file-name (git-file-name name version))
4167 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
4168 (build-system go-build-system)
4170 '(#:import-path "github.com/golang/protobuf/proto"
4171 #:unpack-path "github.com/golang/protobuf"
4172 ;; Requires unpackaged golang.org/x/sync/errgroup
4174 (synopsis "Go support for Protocol Buffers")
4175 (description "This package provides Go support for the Protocol Buffers
4176 data serialization format.")
4177 (home-page "https://github.com/golang/protobuf")
4178 (license license:bsd-3)))
4180 (define-public go-github-com-mattn-go-zglob
4182 (name "go-github-com-mattn-go-zglob")
4187 (url "https://github.com/mattn/go-zglob")
4188 (commit (string-append "v" version))))
4189 (file-name (git-file-name name version))
4192 "1sncdyq5fbd42al4amyy91h7vlzm3wm6c9vl8za2pjgfgsd581fz"))))
4193 (build-system go-build-system)
4195 `(#:import-path "github.com/mattn/go-zglob"))
4196 (home-page "https://github.com/mattn/go-zglob")
4197 (synopsis "Glob library that descends into other directories")
4198 (description " A glob library that implements descending into other
4199 directories. It is optimized for filewalking. ")
4200 (license license:expat)))
4202 (define-public go-github-com-willf-bitset
4204 (name "go-github-com-willf-bitset")
4209 (url "https://github.com/willf/bitset")
4210 (commit (string-append "v" version))))
4211 (file-name (git-file-name name version))
4214 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
4215 (build-system go-build-system)
4217 '(#:import-path "github.com/willf/bitset"))
4218 (synopsis "Bitsets in Go")
4219 (description "This package provides a Go implementation of bitsets, which
4220 are a mapping between non-negative integers and boolean values focused on
4221 efficient space usage.")
4222 (home-page "https://github.com/willf/bitset")
4223 (license license:bsd-3)))
4225 (define-public go-github-com-willf-bloom
4227 (name "go-github-com-willf-bloom")
4232 (url "https://github.com/willf/bloom")
4233 (commit (string-append "v" version))))
4234 (file-name (git-file-name name version))
4237 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
4238 (build-system go-build-system)
4240 '(#:import-path "github.com/willf/bloom"
4242 (modify-phases %standard-phases
4243 (add-after 'unpack 'patch-import-path
4245 ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for
4246 ;; more information.
4247 ;; <https://github.com/spaolacci/murmur3/issues/29>
4248 (substitute* "src/github.com/willf/bloom/bloom.go"
4249 (("spaolacci") "twmb"))
4252 `(("go-github-com-twmb-murmur3" ,go-github-com-twmb-murmur3)
4253 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
4254 (synopsis "Bloom filters in Go")
4255 (description "This package provides a Go implementation of bloom filters,
4256 based on murmurhash.")
4257 (home-page "https://github.com/willf/bloom")
4258 (license license:bsd-2)))
4260 (define-public go-golang-org-rainycape-unidecode
4261 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
4264 (name "go-golang-org-rainycape-unidecode")
4265 (version (git-version "0.0.0" revision commit))
4269 (url "https://github.com/rainycape/unidecode")
4271 (file-name (string-append "go-golang-org-rainycape-unidecode-"
4272 version "-checkout"))
4275 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
4276 (build-system go-build-system)
4278 `(#:import-path "golang.org/rainycape/unidecode"))
4279 (home-page "https://github.com/rainycape/unidecode")
4280 (synopsis "Unicode transliterator in Golang")
4281 (description "Unicode transliterator in Golang - Replaces non-ASCII
4282 characters with their ASCII approximations.")
4283 (license license:asl2.0))))
4285 (define-public go-github-com-golang-freetype
4286 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
4289 (name "go-github-com-golang-freetype")
4290 (version (git-version "0.0.0" revision commit))
4294 (url "https://github.com/golang/freetype")
4296 (file-name (string-append "go-github-com-golang-freetype-"
4297 version "-checkout"))
4300 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
4301 (build-system go-build-system)
4303 `(#:import-path "github.com/golang/freetype"))
4305 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
4306 (home-page "https://github.com/golang/freetype")
4307 (synopsis "Freetype font rasterizer in the Go programming language")
4308 (description "The Freetype font rasterizer in the Go programming language.")
4309 (license (list license:freetype
4312 (define-public go-github-com-fogleman-gg
4314 (name "go-github-com-fogleman-gg")
4319 (url "https://github.com/fogleman/gg")
4320 (commit (string-append "v" version))))
4321 (file-name (git-file-name name version))
4324 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
4325 (build-system go-build-system)
4327 `(#:tests? #f ; Issue with test flags.
4328 #:import-path "github.com/fogleman/gg"))
4330 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
4331 (home-page "https://github.com/fogleman/gg")
4332 (synopsis "2D rendering in Go")
4333 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
4334 (license license:expat)))
4336 (define-public go-github-com-gedex-inflector
4337 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
4340 (name "go-github-com-gedex-inflector")
4341 (version (git-version "0.0.0" revision commit))
4345 (url "https://github.com/gedex/inflector")
4347 (file-name (string-append "go-github-com-gedex-inflector-"
4348 version "-checkout"))
4351 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
4352 (build-system go-build-system)
4354 `(#:import-path "github.com/gedex/inflector"))
4355 (home-page "https://github.com/gedex/inflector")
4356 (synopsis "Go library that pluralizes and singularizes English nouns")
4357 (description "Go library that pluralizes and singularizes English nouns.")
4358 (license license:bsd-2))))
4360 (define-public go-github-com-klauspost-cpuid
4362 (name "go-github-com-klauspost-cpuid")
4367 (url "https://github.com/klauspost/cpuid")
4368 (commit (string-append "v" version))))
4369 (file-name (git-file-name name version))
4372 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
4373 (build-system go-build-system)
4375 `(#:import-path "github.com/klauspost/cpuid"))
4376 (home-page "https://github.com/klauspost/cpuid")
4377 (synopsis "CPU feature identification for Go")
4378 (description "@code{cpuid} provides information about the CPU running the
4379 current program. CPU features are detected on startup, and kept for fast access
4380 through the life of the application. Currently x86 / x64 (AMD64) is supported,
4381 and no external C (cgo) code is used, which should make the library very eas
4383 (license license:expat)))
4385 (define-public go-github-com-pbnjay-memory
4386 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
4389 (name "go-github-com-pbnjay-memory")
4390 (version (git-version "0.0.0" revision commit))
4394 (url "https://github.com/pbnjay/memory")
4396 (file-name (string-append "go-github-com-pbnjay-memory-"
4397 version "-checkout"))
4400 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
4401 (build-system go-build-system)
4403 `(#:import-path "github.com/pbnjay/memory"))
4404 (home-page "https://github.com/gedex/inflector")
4405 (synopsis "Go library to report total system memory")
4406 (description "@code{memory} provides a single method reporting total
4407 physical system memory accessible to the kernel. It does not account for memory
4408 used by other processes.")
4409 (license license:bsd-3))))
4411 (define-public go-github-com-surge-glog
4412 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
4415 (name "go-github-com-surge-glog")
4416 (version (git-version "0.0.0" revision commit))
4420 (url "https://github.com/surge/glog")
4422 (file-name (string-append "go-github-com-surge-glog-"
4423 version "-checkout"))
4426 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
4427 (build-system go-build-system)
4429 `(#:import-path "github.com/surge/glog"))
4430 (home-page "https://github.com/surge/glog")
4431 (synopsis "Leveled execution logs for Go")
4432 (description "Leveled execution logs for Go.")
4433 (license license:asl2.0))))
4435 (define-public go-github-com-surgebase-porter2
4436 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
4439 (name "go-github-com-surgebase-porter2")
4440 (version (git-version "0.0.0" revision commit))
4444 (url "https://github.com/surgebase/porter2")
4446 (file-name (string-append "go-github-com-surgebase-porter2-"
4447 version "-checkout"))
4450 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
4451 (build-system go-build-system)
4453 `(#:import-path "github.com/surgebase/porter2"))
4455 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
4456 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
4457 (home-page "https://github.com/surgebase/porter2")
4458 (synopsis "Go library implementing english Porter2 stemmer")
4459 (description "Porter2 implements the
4460 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
4461 Porter2 stemmer}. It is written completely using finite state machines to do
4462 suffix comparison, rather than the string-based or tree-based approaches.")
4463 (license license:asl2.0))))
4465 (define-public go-github-com-masterminds-goutils
4467 (name "go-github-com-masterminds-goutils")
4472 (url "https://github.com/Masterminds/goutils")
4473 (commit (string-append "v" version))))
4474 (file-name (git-file-name name version))
4477 "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq"))))
4478 (build-system go-build-system)
4480 `(#:import-path "github.com/Masterminds/goutils"))
4481 (home-page "https://github.com/Masterminds/goutils/")
4482 (synopsis "Utility functions to manipulate strings")
4483 (description "GoUtils provides utility functions to manipulate strings in
4484 various ways. It is a Go implementation of some string manipulation libraries
4485 of Java Apache Commons.")
4486 (license license:asl2.0)))
4488 (define-public go-github-com-masterminds-semver
4490 (name "go-github-com-masterminds-semver")
4495 (url "https://github.com/Masterminds/semver")
4496 (commit (string-append "v" version))))
4497 (file-name (git-file-name name version))
4500 "1g1wizfdy29d02l9dh8gsb029yr4m4swp13swf0pnh9ryh5f1msz"))))
4501 (build-system go-build-system)
4503 `(#:import-path "github.com/Masterminds/semver"))
4504 (home-page "https://github.com/Masterminds/semver/")
4505 (synopsis "@code{semver} helps to work with semantic versions")
4506 (description "The semver package provides the ability to work with
4507 semantic versions. Specifically it provides the ability to:
4509 @item Parse semantic versions
4510 @item Sort semantic versions
4511 @item Check if a semantic version fits within a set of constraints
4512 @item Optionally work with a @code{v} prefix
4514 (license license:expat)))
4516 (define-public go-github-com-huandu-xstrings
4518 (name "go-github-com-huandu-xstrings")
4523 (url "https://github.com/huandu/xstrings")
4524 (commit (string-append "v" version))))
4525 (file-name (git-file-name name version))
4528 "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
4529 (build-system go-build-system)
4531 `(#:import-path "github.com/huandu/xstrings"))
4532 (home-page "https://github.com/huandu/xstrings/")
4533 (synopsis "Collection of string functions")
4534 (description "Go package xstrings is a collection of string functions,
4535 which are widely used in other languages but absent in Go package strings.")
4536 (license license:expat)))
4538 (define-public go-github-com-imdario-mergo
4540 (name "go-github-com-imdario-mergo")
4545 (url "https://github.com/imdario/mergo")
4546 (commit (string-append "v" version))))
4547 (file-name (git-file-name name version))
4550 "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
4551 (build-system go-build-system)
4553 `(#:import-path "github.com/imdario/mergo"))
4555 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
4556 (home-page "https://github.com/imdario/mergo/")
4557 (synopsis "Helper to merge structs and maps in Golang")
4558 (description "Helper to merge structs and maps in Golang. Useful for
4559 configuration default values, avoiding messy if-statements.
4561 Mergo merges same-type structs and maps by setting default values in
4562 zero-value fields. Mergo won't merge unexported (private) fields. It will do
4563 recursively any exported one. It also won't merge structs inside
4564 maps (because they are not addressable using Go reflection).")
4565 (license license:bsd-3)))
4567 (define-public go-github-com-masterminds-sprig
4569 (name "go-github-com-masterminds-sprig")
4574 (url "https://github.com/Masterminds/sprig")
4575 (commit (string-append "v" version))))
4576 (file-name (git-file-name name version))
4579 "0wwi8n2adjc5jlga25lqq0hrz4jcgd5vpll68y2dfji034caaq18"))))
4580 (build-system go-build-system)
4582 `(#:tests? #f ;network tests only
4583 #:import-path "github.com/Masterminds/sprig"))
4585 `(("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils)
4586 ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver)
4587 ("go-github-com-google-uuid" ,go-github-com-google-uuid)
4588 ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings)
4589 ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo)
4590 ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)
4591 ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure)
4592 ("go-github-com-spf13-cast" ,go-github-com-spf13-cast)
4593 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4594 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4595 (home-page "https://github.com/Masterminds/sprig/")
4596 (synopsis "Template functions for Go templates")
4597 (description "Sprig is a library that provides more than 100 commonly used
4598 template functions.")
4599 (license license:expat)))
4601 (define-public go-github-com-bmatcuk-doublestar
4603 (name "go-github-com-bmatcuk-doublestar")
4608 (url "https://github.com/bmatcuk/doublestar")
4609 (commit (string-append "v" version))))
4610 (file-name (git-file-name name version))
4613 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
4614 (build-system go-build-system)
4616 `(#:import-path "github.com/bmatcuk/doublestar"))
4617 (home-page "https://github.com/bmatcuk/doublestar/")
4618 (synopsis "Path pattern matching and globbing supporting doublestar")
4619 (description "@code{doublestar} is a Go implementation of path pattern
4620 matching and globbing with support for \"doublestar\" patterns.")
4621 (license license:expat)))
4623 (define-public go-github-com-dlclark-regexp2
4625 (name "go-github-com-dlclark-regexp2")
4630 (url "https://github.com/dlclark/regexp2")
4631 (commit (string-append "v" version))))
4632 (file-name (git-file-name name version))
4635 "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng"))))
4636 (build-system go-build-system)
4638 `(#:import-path "github.com/dlclark/regexp2"))
4639 (home-page "https://github.com/dlclark/regexp2/")
4640 (synopsis "Full featured regular expressions for Go")
4641 (description "Regexp2 is a feature-rich RegExp engine for Go.")
4642 (license license:expat)))
4644 (define-public go-github-com-alecthomas-colour
4646 (name "go-github-com-alecthomas-colour")
4651 (url "https://github.com/alecthomas/colour")
4652 (commit (string-append "v" version))))
4653 (file-name (git-file-name name version))
4656 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
4657 (build-system go-build-system)
4659 `(#:import-path "github.com/alecthomas/colour"))
4661 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
4662 (home-page "https://github.com/alecthomas/colour/")
4663 (synopsis "Colour terminal text for Go")
4664 (description "Package colour provides Quake-style colour formatting for
4667 The package level functions can be used to write to stdout (or strings or
4668 other files). If stdout is not a terminal, colour formatting will be
4670 (license license:expat)))
4672 (define-public go-github-com-alecthomas-repr
4673 (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
4676 (name "go-github-com-alecthomas-repr")
4677 (version (git-version "0.0.1" revision commit))
4681 (url "https://github.com/alecthomas/repr")
4683 (file-name (git-file-name name version))
4686 "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
4687 (build-system go-build-system)
4689 `(#:import-path "github.com/alecthomas/repr"))
4691 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4692 (home-page "https://github.com/alecthomas/repr/")
4693 (synopsis "Represent Go values in an almost direct form")
4694 (description "This package attempts to represent Go values in a form that
4695 can be used almost directly in Go source code.")
4696 (license license:expat))))
4698 (define-public go-github-com-sergi-go-diff
4700 (name "go-github-com-sergi-go-diff")
4705 (url "https://github.com/sergi/go-diff")
4706 (commit (string-append "v" version))))
4707 (file-name (git-file-name name version))
4710 "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
4711 (build-system go-build-system)
4713 `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
4714 #:unpack-path "github.com/sergi/go-diff"))
4716 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4717 (home-page "https://github.com/sergi/go-diff/")
4718 (synopsis "Algorithms to perform operations for synchronizing plain text")
4719 (description "@code{go-diff} offers algorithms to perform operations required for
4720 synchronizing plain text:
4722 @item compare two texts and return their differences
4723 @item perform fuzzy matching of text
4724 @item apply patches onto text
4726 (license license:expat)))
4728 (define-public go-github-com-alecthomas-assert
4729 (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
4732 (name "go-github-com-alecthomas-assert")
4733 (version (git-version "0.0.1" revision commit))
4737 (url "https://github.com/alecthomas/assert")
4739 (file-name (git-file-name name version))
4742 "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
4743 (build-system go-build-system)
4745 `(#:import-path "github.com/alecthomas/assert"))
4747 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4748 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4749 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4750 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4751 (home-page "https://github.com/alecthomas/assert/")
4752 (synopsis "Go assertion library")
4753 (description "Assertion library that:
4755 @item makes spotting differences in equality much easier
4756 @item uses repr and diffmatchpatch to display structural differences in colour
4757 @item aborts tests on first assertion failure
4759 (license license:expat))))
4761 (define-public go-github-com-alecthomas-chroma
4763 (name "go-github-com-alecthomas-chroma")
4768 (url "https://github.com/alecthomas/chroma")
4769 (commit (string-append "v" version))))
4770 (file-name (git-file-name name version))
4773 "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
4774 (build-system go-build-system)
4776 `(#:import-path "github.com/alecthomas/chroma"))
4778 `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
4779 ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
4780 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4781 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4782 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4783 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4784 (home-page "https://github.com/alecthomas/chroma/")
4785 (synopsis "General purpose syntax highlighter in pure Go")
4786 (description "Chroma takes source code and other structured text and
4787 converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
4788 (license license:expat)))
4790 (define-public go-github-com-andybalholm-cascadia
4792 (name "go-github-com-andybalholm-cascadia")
4797 (url "https://github.com/andybalholm/cascadia")
4798 (commit (string-append "v" version))))
4799 (file-name (git-file-name name version))
4802 "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc"))))
4803 (build-system go-build-system)
4805 `(#:import-path "github.com/andybalholm/cascadia"))
4807 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
4808 (home-page "https://github.com/andybalholm/cascadia/")
4809 (synopsis "CSS selectors for HTML")
4810 (description "The Cascadia package implements CSS selectors for use with
4811 the parse trees produced by the html package.")
4812 (license license:bsd-2)))
4814 (define-public go-github-com-puerkitobio-goquery
4816 (name "go-github-com-puerkitobio-goquery")
4821 (url "https://github.com/PuerkitoBio/goquery")
4822 (commit (string-append "v" version))))
4823 (file-name (git-file-name name version))
4826 "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx"))))
4827 (build-system go-build-system)
4829 `(#:import-path "github.com/PuerkitoBio/goquery"))
4831 `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4832 ("go-golang-org-x-net" ,go-golang-org-x-net)))
4833 (home-page "https://github.com/PuerkitoBio/goquery")
4834 (synopsis "Features similar to jQuery to the Go language")
4835 (description "@code{goquery} brings a syntax and a set of features similar
4836 to jQuery to the Go language.")
4837 (license license:bsd-3)))
4839 (define-public go-github-com-aymerick-douceur
4841 (name "go-github-com-aymerick-douceur")
4846 (url "https://github.com/aymerick/douceur/")
4847 (commit (string-append "v" version))))
4848 (file-name (git-file-name name version))
4851 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4852 (build-system go-build-system)
4854 `(#:import-path "github.com/aymerick/douceur"))
4856 `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
4857 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4858 ("go-golang-org-x-net" ,go-golang-org-x-net)
4859 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
4860 (home-page "https://github.com/aymerick/douceur/")
4861 (synopsis "CSS parser and inliner")
4862 (description "This package provides a CSS parser and inliner.")
4863 (license license:expat)))
4865 (define-public go-github-com-chris-ramon-douceur
4867 (name "go-github-com-chris-ramon-douceur")
4872 (url "https://github.com/chris-ramon/douceur")
4873 (commit (string-append "v" version))))
4874 (file-name (git-file-name name version))
4877 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4878 (build-system go-build-system)
4880 `(#:import-path "github.com/chris-ramon/douceur"))
4882 `(("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
4883 ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
4884 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4885 ("go-golang-org-x-net" ,go-golang-org-x-net)
4886 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
4887 (home-page "https://github.com/chris-ramon/douceur/")
4888 (synopsis "CSS parser and inliner")
4889 (description "This package provides a CSS parser and inliner.")
4890 (license license:expat)))
4892 (define-public go-github-com-microcosm-cc-bluemonday
4894 (name "go-github-com-microcosm-cc-bluemonday")
4899 (url "https://github.com/microcosm-cc/bluemonday")
4900 (commit (string-append "v" version))))
4901 (file-name (git-file-name name version))
4904 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
4905 (build-system go-build-system)
4907 `(#:import-path "github.com/microcosm-cc/bluemonday"))
4909 `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
4910 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
4911 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
4912 ("go-golang-org-x-net" ,go-golang-org-x-net)))
4913 (home-page "https://github.com/microcosm-cc/bluemonday/")
4914 (synopsis "HTML sanitizer")
4915 (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
4916 (license license:bsd-3)))
4918 (define-public go-github-com-muesli-reflow-wordwrap
4920 (name "go-github-com-muesli-reflow-wordwrap")
4925 (url "https://github.com/muesli/reflow")
4926 (commit (string-append "v" version))))
4927 (file-name (git-file-name "go-github-com-muesli-reflow" version))
4930 "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
4931 (build-system go-build-system)
4933 `(#:import-path "github.com/muesli/reflow/wordwrap"
4934 #:unpack-path "github.com/muesli/reflow"))
4936 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
4937 (home-page "https://github.com/muesli/reflow/")
4938 (synopsis "Collection of methods helping to transform blocks of text")
4939 (description "This package provides a collection of ANSI-aware methods and
4940 io.Writers helping you to transform blocks of text.")
4941 (license license:expat)))
4943 (define-public go-github-com-muesli-reflow-ansi
4945 (inherit go-github-com-muesli-reflow-wordwrap)
4946 (name "go-github-com-muesli-reflow-ansi")
4948 `(#:import-path "github.com/muesli/reflow/ansi"
4949 #:unpack-path "github.com/muesli/reflow"))))
4951 (define-public go-github-com-muesli-reflow-indent
4953 (inherit go-github-com-muesli-reflow-wordwrap)
4954 (name "go-github-com-muesli-reflow-indent")
4956 `(#:import-path "github.com/muesli/reflow/indent"
4957 #:unpack-path "github.com/muesli/reflow"))))
4959 (define-public go-github-com-muesli-reflow-padding
4961 (inherit go-github-com-muesli-reflow-wordwrap)
4962 (name "go-github-com-muesli-reflow-padding")
4964 `(#:import-path "github.com/muesli/reflow/padding"
4965 #:unpack-path "github.com/muesli/reflow"))))
4967 (define-public go-github-com-muesli-termenv
4969 (name "go-github-com-muesli-termenv")
4974 (url "https://github.com/muesli/termenv")
4975 (commit (string-append "v" version))))
4976 (file-name (git-file-name name version))
4979 "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
4980 (build-system go-build-system)
4982 `(#:import-path "github.com/muesli/termenv"))
4984 `(("go-github-com-google-goterm" ,go-github-com-google-goterm)
4985 ("go-golang-org-colorful" ,go-golang-org-colorful)
4986 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4987 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
4988 (home-page "https://github.com/muesli/termenv/")
4989 (synopsis "Advanced styling options on the terminal")
4990 (description "termenv lets you safely use advanced styling options on the
4991 terminal. It gathers information about the terminal environment in terms of
4992 its ANSI and color support and offers you convenient methods to colorize and
4993 style your output, without you having to deal with all kinds of weird ANSI
4994 escape sequences and color conversions.")
4995 (license license:expat)))
4997 (define-public go-github-com-olekukonko-tablewriter
4999 (name "go-github-com-olekukonko-tablewriter")
5004 (url "https://github.com/olekukonko/tablewriter")
5005 (commit (string-append "v" version))))
5006 (file-name (git-file-name name version))
5009 "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x"))))
5010 (build-system go-build-system)
5012 `(#:import-path "github.com/olekukonko/tablewriter"))
5014 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5015 (home-page "https://github.com/olekukonko/tablewriter/")
5016 (synopsis "Generate ASCII table")
5017 (description "This package allows to generate ASCII table. Features:
5019 @item automatic Padding
5020 @item support Multiple Lines
5021 @item supports Alignment
5022 @item support Custom Separators
5023 @item automatic Alignment of numbers and percentage
5024 @item write directly to http , file etc via @code{io.Writer}
5025 @item read directly from CSV file
5026 @item optional row line via @code{SetRowLine}
5027 @item normalise table header
5028 @item make CSV Headers optional
5029 @item enable or disable table border
5030 @item set custom footer support
5031 @item optional identical cells merging
5032 @item set custom caption
5033 @item optional reflowing of paragrpahs in multi-line cells
5035 (license license:expat)))
5037 (define-public go-github-com-yuin-goldmark
5039 (name "go-github-com-yuin-goldmark")
5044 (url "https://github.com/yuin/goldmark")
5045 (commit (string-append "v" version))))
5046 (file-name (git-file-name name version))
5049 "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy"))))
5050 (build-system go-build-system)
5052 `(#:import-path "github.com/yuin/goldmark"))
5053 (home-page "https://github.com/yuin/goldmark/")
5054 (synopsis "Markdown parser")
5055 (description "This package provides a markdown parser.")
5056 (license license:expat)))
5058 (define-public go-github-com-charmbracelet-glamour
5060 (name "go-github-com-charmbracelet-glamour")
5065 (url "https://github.com/charmbracelet/glamour")
5066 (commit (string-append "v" version))))
5067 (file-name (git-file-name name version))
5070 "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
5071 (build-system go-build-system)
5073 `(#:import-path "github.com/charmbracelet/glamour"))
5075 `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
5076 ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
5077 ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
5078 ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
5079 ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5080 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5081 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5082 ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
5083 ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
5084 ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
5085 ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
5086 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
5087 ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
5088 ("go-github-com-google-goterm" ,go-github-com-google-goterm)
5089 ("go-golang-org-colorful" ,go-golang-org-colorful)
5090 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5091 ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
5092 ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
5093 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5094 (home-page "https://github.com/charmbracelet/glamour/")
5095 (synopsis "Write handsome command-line tools with glamour")
5096 (description "@code{glamour} lets you render markdown documents and
5097 templates on ANSI compatible terminals. You can create your own stylesheet or
5098 use one of our glamourous default themes.")
5099 (license license:expat)))
5101 (define-public go-github-com-coreos-go-semver
5103 (name "go-github-com-coreos-go-semver")
5108 (url "https://github.com/coreos/go-semver")
5109 (commit (string-append "v" version))))
5110 (file-name (git-file-name name version))
5113 "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9"))))
5114 (build-system go-build-system)
5116 `(#:import-path "github.com/coreos/go-semver"))
5117 (home-page "https://github.com/coreos/go-semver/")
5118 (synopsis "Semantic versioning library")
5119 (description "@code{go-semver} is a semantic versioning library for Go.
5120 It lets you parse and compare two semantic version strings.")
5121 (license license:asl2.0)))
5123 (define-public go-github-com-emirpasic-gods
5125 (name "go-github-com-emirpasic-gods")
5130 (url "https://github.com/emirpasic/gods")
5131 (commit (string-append "v" version))))
5132 (file-name (git-file-name name version))
5135 "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1"))))
5136 (build-system go-build-system)
5138 `(#:import-path "github.com/emirpasic/gods"
5139 ; Source-only package
5142 (modify-phases %standard-phases
5144 (home-page "https://github.com/emirpasic/gods/")
5145 (synopsis "Implementation of various data structures and algorithms in Go")
5146 (description "This package provides implementation of various data
5147 structures and algorithms in Go.")
5148 (license license:bsd-2)))
5150 (define-public go-gopkg-in-warnings
5152 (name "go-gopkg-in-warnings")
5157 (url "https://github.com/go-warnings/warnings")
5158 (commit (string-append "v" version))))
5159 (file-name (git-file-name name version))
5162 "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81"))))
5163 (build-system go-build-system)
5165 `(#:import-path "gopkg.in/warnings.v0"))
5166 (home-page "https://gopkg.in/warnings.v0")
5167 (synopsis "Error handling with non-fatal errors")
5168 (description "Package warnings implements error handling with non-fatal
5169 errors (warnings).")
5170 (license license:bsd-2)))
5172 (define-public go-github-com-go-git-gcfg
5174 (name "go-github-com-go-git-gcfg")
5179 (url "https://github.com/go-git/gcfg")
5180 (commit (string-append "v" version))))
5181 (file-name (git-file-name name version))
5184 "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83"))))
5186 `(#:import-path "github.com/go-git/gcfg"))
5188 `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings)
5189 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
5190 (build-system go-build-system)
5191 (home-page "https://github.com/go-git/gcfg/")
5192 (synopsis "Gcfg reads INI-style configuration files into Go structs")
5193 (description "Gcfg reads INI-style configuration files into Go structs.")
5194 (license license:bsd-3)))
5196 (define-public go-github-com-go-git-go-billy
5198 (name "go-github-com-go-git-go-billy")
5203 (url "https://github.com/go-git/go-billy")
5204 (commit (string-append "v" version))))
5205 (file-name (git-file-name name version))
5208 "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx"))))
5209 (build-system go-build-system)
5211 `(#:import-path "github.com/go-git/go-billy/v5"))
5213 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5214 (home-page "https://github.com/go-git/go-billy/")
5215 (synopsis "Filesystem abstraction for Go")
5216 (description "Billy implements an interface based on the os standard
5217 library, allowing to develop applications without dependency on the underlying
5218 storage. Makes it virtually free to implement mocks and testing over
5219 filesystem operations.")
5220 (license license:asl2.0)))
5222 (define-public go-github-com-jbenet-go-context
5223 (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
5226 (name "go-github-com-jbenet-go-context")
5227 (version (git-version "0.0.1" revision commit))
5231 (url "https://github.com/jbenet/go-context")
5233 (file-name (git-file-name name version))
5236 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
5237 (build-system go-build-system)
5239 `(#:import-path "github.com/jbenet/go-context"
5240 ; Source-only package
5243 (modify-phases %standard-phases
5245 (home-page "https://github.com/jbenet/go-context/")
5246 (synopsis "@code{jbenet's} context extensions")
5247 (description "This package provides @code{jbenet's} context
5249 (license license:expat))))
5251 (define-public go-github-com-kevinburke-ssh-config
5253 (name "go-github-com-kevinburke-ssh-config")
5258 (url "https://github.com/kevinburke/ssh_config")
5260 (file-name (git-file-name name version))
5263 "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f"))))
5265 `(#:import-path "github.com/kevinburke/ssh_config"))
5266 (build-system go-build-system)
5267 (home-page "https://github.com/kevinburke/ssh_config/")
5268 (synopsis "Parser for @file{ssh_config} files")
5269 (description "This is a Go parser for @file{ssh_config} files.
5270 Importantly, this parser attempts to preserve comments in a given file, so you
5271 can manipulate a @file{ssh_config} file from a program.")
5272 (license license:expat)))
5274 (define-public go-github-com-xanzy-ssh-agent
5276 (name "go-github-com-xanzy-ssh-agent")
5281 (url "https://github.com/xanzy/ssh-agent")
5282 (commit (string-append "v" version))))
5283 (file-name (git-file-name name version))
5286 "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
5287 (build-system go-build-system)
5289 `(#:import-path "github.com/xanzy/ssh-agent"))
5291 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
5292 (home-page "https://github.com/xanzy/ssh-agent/")
5293 (synopsis "Control ssh-agent from Go")
5294 (description "Package agent implements the ssh-agent protocol, and
5295 provides both a client and a server. The client can talk to a standard
5296 ssh-agent that uses UNIX sockets, and one could implement an alternative
5297 ssh-agent process using the sample server. ")
5298 (license license:asl2.0)))
5300 (define-public go-github-com-alcortesm-tgz
5301 (let ((commit "9c5fe88206d7765837fed3732a42ef88fc51f1a1")
5304 (name "go-github-com-alcortesm-tgz")
5305 (version (git-version "0.0.1" revision commit))
5309 (url "https://github.com/alcortesm/tgz")
5311 (file-name (git-file-name name version))
5314 "04dcwnz2c2i4wbq2vx3g2wrdgqpncr2r1h6p1k08rdwk4bq1h8c5"))
5315 (modules '((guix build utils)))
5318 (substitute* "tgz_test.go"
5320 (("t.Fatalf\\(\"%s: unexpected error extracting: %s\", err\\)")
5321 "t.Fatalf(\"%s: unexpected error extracting: %s\", com, err)"))
5323 (build-system go-build-system)
5325 `(#:import-path "github.com/alcortesm/tgz"
5327 (modify-phases %standard-phases
5328 (add-after 'unpack 'make-git-checkout-writable
5329 (lambda* (#:key outputs #:allow-other-keys)
5330 (for-each make-file-writable (find-files "."))
5331 (for-each make-file-writable (find-files (assoc-ref outputs "out")))
5333 (home-page "https://github.com/alcortesm/tgz/")
5334 (synopsis "Go library to extract tgz files to temporal directories")
5335 (description "This package provides a Go library to extract tgz files to
5336 temporal directories.")
5337 (license license:expat))))
5339 (define-public go-github-com-go-git-go-git-fixtures
5341 (name "go-github-com-go-git-go-git-fixtures")
5346 (url "https://github.com/go-git/go-git-fixtures")
5347 (commit (string-append "v" version))))
5348 (file-name (git-file-name name version))
5351 "002yb1s2mxq2xijkl39ip1iyc3l52k23ikyi9ijfl4bgqxy79ljg"))))
5352 (build-system go-build-system)
5354 `(#:import-path "github.com/go-git/go-git-fixtures/v4"
5356 (modify-phases %standard-phases
5357 (delete 'reset-gzip-timestamps))))
5359 `(("go-github-com-alcortesm-tgz" ,go-github-com-alcortesm-tgz)
5360 ("go-github-com-go-git-go-billy" ,go-github-com-go-git-go-billy)
5361 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
5362 ("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5363 (home-page "https://github.com/go-git/go-git-fixtures/")
5364 (synopsis "Fixtures used by @code{go-git}")
5365 (description "This package provides fixtures used by @code{go-git}.")
5366 (license license:asl2.0)))
5368 (define-public go-github-com-pkg-diff
5369 (let ((commit "531926345625d489a6b56f860a569e68245ace36")
5372 (name "go-github-com-pkg-diff")
5373 (version (git-version "0.0.1" revision commit))
5377 (url "https://github.com/pkg/diff")
5379 (file-name (git-file-name name version))
5382 "1770m7qhww6lm0wj1v3mhv6hwa2v92p4w2fqxj1xyrg5dd58d944"))))
5383 (build-system go-build-system)
5385 `(#:import-path "github.com/pkg/diff"))
5387 `(("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
5388 (home-page "https://github.com/pkg/diff/")
5389 (synopsis "Create and print diffs")
5391 "This package provides a Go library to create and print diffs.")
5392 (license license:bsd-3))))
5394 (define-public go-github-com-twpayne-go-shell
5396 (name "go-github-com-twpayne-go-shell")
5401 (url "https://github.com/twpayne/go-shell")
5402 (commit (string-append "v" version))))
5403 (file-name (git-file-name name version))
5406 "1hv0ggy3935iddjnmpp9vl0kqjknxpnbmm9w7xr3gds7fpbxz6yp"))))
5407 (build-system go-build-system)
5409 `(#:import-path "github.com/twpayne/go-shell"))
5410 (home-page "https://github.com/twpayne/go-shell/")
5411 (synopsis "Shell across multiple platforms")
5413 "Package @code{shell} returns a user's shell across multiple platforms.")
5414 (license license:expat)))
5416 (define-public go-github-com-twpayne-go-vfs
5418 (name "go-github-com-twpayne-go-vfs")
5423 (url "https://github.com/twpayne/go-vfs")
5424 (commit (string-append "v" version))))
5425 (file-name (git-file-name name version))
5428 "19dm3gi45znwaqbzxhwcgkiz8059bwa3ank80hc6qhdl579bpjnz"))))
5429 (build-system go-build-system)
5431 `(#:import-path "github.com/twpayne/go-vfs"))
5433 `(("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar)))
5434 (home-page "https://github.com/twpayne/go-vfs/")
5435 (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
5436 (description "Package @code{vfs} provides an abstraction of the @code{os}
5437 and @code{ioutil} packages that is easy to test.")
5438 (license license:expat)))
5440 (define-public go-github-com-twpayne-go-vfsafero
5442 (name "go-github-com-twpayne-go-vfsafero")
5447 (url "https://github.com/twpayne/go-vfsafero")
5448 (commit (string-append "v" version))))
5449 (file-name (git-file-name name version))
5452 "18jwxhlrjd06z8xzg9ij0irl4f79jfy5jpwiz6xqlhzb1fja19pw"))))
5453 (build-system go-build-system)
5455 `(#:import-path "github.com/twpayne/go-vfsafero"))
5457 `(("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)
5458 ("go-github-com-spf13-afero" ,go-github-com-spf13-afero)))
5459 (home-page "https://github.com/twpayne/go-vfsafero/")
5460 (synopsis "Compatibility later between @code{go-vfs} and @code{afero}")
5462 "Package @code{vfsafero} provides a compatibility later between
5463 @code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.")
5464 (license license:expat)))
5466 (define-public go-github-com-twpayne-go-xdg
5468 (name "go-github-com-twpayne-go-xdg")
5473 (url "https://github.com/twpayne/go-xdg")
5474 (commit (string-append "v" version))))
5475 (file-name (git-file-name name version))
5478 "0j8q7yzixs6jlaad0lpa8hs6b240gm2cmy0yxgnprrbpa0y2r7ln"))))
5479 (build-system go-build-system)
5481 `(#:import-path "github.com/twpayne/go-xdg/v3"))
5483 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
5484 ("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)))
5485 (home-page "https://github.com/twpayne/go-xdg/")
5486 (synopsis "Functions related to freedesktop.org")
5487 (description "Package @code{xdg} provides functions related to
5488 @uref{freedesktop.org}.")
5489 (license license:expat)))
5491 (define-public go-github-com-godbus-dbus
5493 (name "go-github-com-godbus-dbus")
5498 (url "https://github.com/godbus/dbus")
5499 (commit (string-append "v" version))))
5500 (file-name (git-file-name name version))
5503 "1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
5504 (build-system go-build-system)
5506 `(#:tests? #f ;no /var/run/dbus/system_bus_socket
5507 #:import-path "github.com/godbus/dbus"))
5509 `(("dbus" ,dbus))) ;dbus-launch
5510 (home-page "https://github.com/godbus/dbus/")
5511 (synopsis "Native Go client bindings for the D-Bus")
5512 (description "@code{dbus} is a library that implements native Go client
5513 bindings for the D-Bus message bus system.")
5514 (license license:bsd-2)))
5516 (define-public go-github-com-zalando-go-keyring
5518 (name "go-github-com-zalando-go-keyring")
5523 (url "https://github.com/zalando/go-keyring")
5524 (commit (string-append "v" version))))
5525 (file-name (git-file-name name version))
5528 "0kj54nkiyccy6m9iy9a53f6412a54xk96j88jaiq35yzdgfa4z3p"))))
5529 (build-system go-build-system)
5531 `(#:tests? #f ;XXX: Fix dbus tests
5532 #:import-path "github.com/zalando/go-keyring"))
5534 `(("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus)
5536 (home-page "https://github.com/zalando/go-keyring/")
5537 (synopsis "Library for working with system keyring")
5538 (description "@code{go-keyring} is a library for setting, getting and
5539 deleting secrets from the system keyring.")
5540 (license license:expat)))
5542 (define-public go-etcd-io-bbolt
5544 (name "go-etcd-io-bbolt")
5549 (url "https://github.com/etcd-io/bbolt")
5550 (commit (string-append "v" version))))
5551 (file-name (git-file-name name version))
5554 "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r"))))
5555 (build-system go-build-system)
5557 `(#:import-path "go.etcd.io/bbolt"))
5558 (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
5559 (synopsis "Low-level key/value store in Go")
5560 (description "This package implements a low-level key/value store in Go.")
5561 (license license:expat)))
5563 (define-public go-github-com-rogpeppe-go-internal
5565 (name "go-github-com-rogpeppe-go-internal")
5570 (url "https://github.com/rogpeppe/go-internal")
5571 (commit (string-append "v" version))))
5572 (file-name (git-file-name name version))
5575 "00j2vpp1bsggdvw1winkz23mg0q6drjiir5q0k49pmqx1sh7106l"))))
5576 (build-system go-build-system)
5578 `(#:import-path "github.com/rogpeppe/go-internal"
5579 ; Source-only package
5582 (modify-phases %standard-phases
5584 (home-page "https://github.com/rogpeppe/go-internal/")
5585 (synopsis "Internal packages from the Go standard library")
5586 (description "This repository factors out an opinionated selection of
5587 internal packages and functionality from the Go standard library. Currently
5588 this consists mostly of packages and testing code from within the Go tool
5591 Included are the following:
5593 @item dirhash: calculate hashes over directory trees the same way that the Go tool does.
5594 @item goproxytest: a GOPROXY implementation designed for test use.
5595 @item gotooltest: Use the Go tool inside test scripts (see testscript below)
5596 @item imports: list of known architectures and OSs, and support for reading import import statements.
5597 @item modfile: read and write go.mod files while preserving formatting and comments.
5598 @item module: module paths and versions.
5599 @item par: do work in parallel.
5600 @item semver: semantic version parsing.
5601 @item testenv: information on the current testing environment.
5602 @item testscript: script-based testing based on txtar files
5603 @item txtar: simple text-based file archives for testing.
5605 (license license:bsd-3)))
5607 (define-public gopkg-in-errgo-fmt-errors
5609 (name "gopkg-in-errgo-fmt-errors")
5614 (url "https://github.com/go-errgo/errgo")
5615 (commit (string-append "v" version))))
5616 (file-name (git-file-name name version))
5619 "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2"))))
5620 (build-system go-build-system)
5622 `(#:import-path "gopkg.in/errgo.v2/fmt/errors"
5624 ;; Source-only package
5626 (modify-phases %standard-phases
5628 (home-page "https://godoc.org/gopkg.in/errgo.v2")
5629 (synopsis "Functions that use the fmt package to format error messages")
5630 (description "This package is the same as @code{gopkg.in/errgo.v2/errors}
5631 except that it adds convenience functions that use the fmt package to format
5633 (license license:bsd-3)))