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 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 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
21 ;;; This file is part of GNU Guix.
23 ;;; GNU Guix is free software; you can redistribute it and/or modify it
24 ;;; under the terms of the GNU General Public License as published by
25 ;;; the Free Software Foundation; either version 3 of the License, or (at
26 ;;; your option) any later version.
28 ;;; GNU Guix is distributed in the hope that it will be useful, but
29 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
30 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31 ;;; GNU General Public License for more details.
33 ;;; You should have received a copy of the GNU General Public License
34 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
36 (define-module (gnu packages golang)
37 #:use-module ((guix licenses) #:prefix license:)
38 #:use-module (guix utils)
39 #:use-module (guix download)
40 #:use-module (guix git-download)
41 #:use-module (guix packages)
42 #:use-module (guix build-system gnu)
43 #:use-module (guix build-system trivial)
44 #:use-module (guix build-system go)
45 #:use-module (gnu packages)
46 #:use-module (gnu packages admin)
47 #:use-module (gnu packages gcc)
48 #:use-module (gnu packages base)
49 #:use-module (gnu packages perl)
50 #:use-module (gnu packages pkg-config)
51 #:use-module (gnu packages pcre)
52 #:use-module (gnu packages lua)
53 #:use-module (gnu packages mp3)
54 #:use-module (gnu packages textutils)
55 #:use-module (gnu packages tls)
56 #:use-module (ice-9 match)
57 #:use-module (srfi srfi-1))
59 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
60 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
61 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
62 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
63 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
64 ;; gccgo-5. Mips is not officially supported, but it should work if it is
70 ;; The C-language bootstrap of Go:
71 ;; https://golang.org/doc/install/source#go14
72 (version "1.4-bootstrap-20171003")
75 (uri (string-append "https://storage.googleapis.com/golang/"
76 name version ".tar.gz"))
79 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
80 (build-system gnu-build-system)
85 `(#:modules ((ice-9 match)
86 (guix build gnu-build-system)
89 #:tests? #f ; Tests are run by the all.bash script.
90 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
91 (%current-target-system)))
92 '(#:system "armhf-linux")
95 (modify-phases %standard-phases
97 (add-after 'patch-generated-file-shebangs 'chdir
101 (add-before 'build 'prebuild
102 (lambda* (#:key inputs outputs #:allow-other-keys)
103 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
104 (ld (string-append (assoc-ref inputs "libc") "/lib"))
105 (loader (car (find-files ld "^ld-linux.+")))
106 (net-base (assoc-ref inputs "net-base"))
108 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
109 (output (assoc-ref outputs "out")))
111 ;; Removing net/ tests, which fail when attempting to access
112 ;; network resources not present in the build container.
113 (for-each delete-file
114 '("net/multicast_test.go" "net/parse_test.go"
117 ;; Add libgcc to the RUNPATH.
118 (substitute* "cmd/go/build.go"
119 (("cgoldflags := \\[\\]string\\{\\}")
120 (string-append "cgoldflags := []string{"
121 "\"-rpath=" gcclib "\"}"))
122 (("ldflags := buildLdflags")
124 "ldflags := buildLdflags\n"
125 "ldflags = append(ldflags, \"-r\")\n"
126 "ldflags = append(ldflags, \"" gcclib "\")\n")))
128 (substitute* "os/os_test.go"
129 (("/usr/bin") (getcwd))
130 (("/bin/pwd") (which "pwd")))
132 ;; Disable failing tests: these tests attempt to access
133 ;; commands or network resources which are neither available or
134 ;; necessary for the build to succeed.
139 ((regex all before test_name)
140 (string-append before "Disabled" test_name)))))
141 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
142 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
143 ("os/os_test.go" "(.+)(TestHostname.+)")
144 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
146 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
147 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
148 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
149 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
150 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
151 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
152 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
153 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
154 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
156 (substitute* "net/lookup_unix.go"
157 (("/etc/protocols") (string-append net-base "/etc/protocols")))
158 (substitute* "time/zoneinfo_unix.go"
159 (("/usr/share/zoneinfo/") tzdata-path))
160 (substitute* (find-files "cmd" "asm.c")
161 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
165 (lambda* (#:key inputs outputs #:allow-other-keys)
166 ;; FIXME: Some of the .a files are not bit-reproducible.
167 (let* ((output (assoc-ref outputs "out")))
168 (setenv "CC" (which "gcc"))
169 (setenv "GOOS" "linux")
170 (setenv "GOROOT" (dirname (getcwd)))
171 (setenv "GOROOT_FINAL" output)
172 (setenv "GO14TESTS" "1")
173 (invoke "sh" "all.bash"))))
176 (lambda* (#:key outputs inputs #:allow-other-keys)
177 (let* ((output (assoc-ref outputs "out"))
178 (doc_out (assoc-ref outputs "doc"))
179 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
180 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
181 (tests (string-append
182 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
184 (copy-recursively "../test" (string-append tests "/test"))
185 (delete-file-recursively "../test")
187 (copy-recursively "../api" (string-append docs "/api"))
188 (delete-file-recursively "../api")
189 (copy-recursively "../doc" (string-append docs "/doc"))
190 (delete-file-recursively "../doc")
192 (for-each (lambda (file)
193 (let ((file (string-append "../" file)))
194 (install-file file docs)
196 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
197 "LICENSE" "VERSION" "robots.txt"))
198 (copy-recursively "../" output)
203 ("gcc:lib" ,gcc "lib")))
205 `(("pkg-config" ,pkg-config)
207 ("net-base" ,net-base)
210 (home-page "https://golang.org/")
211 (synopsis "Compiler and libraries for Go, a statically-typed language")
212 (description "Go, also commonly referred to as golang, is an imperative
213 programming language designed primarily for systems programming. Go is a
214 compiled, statically typed language in the tradition of C and C++, but adds
215 garbage collection, various safety features, and concurrent programming features
216 in the style of communicating sequential processes (@dfn{CSP}).")
217 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
218 (license license:bsd-3)))
220 (define-public go-1.13
228 (uri (string-append "https://storage.googleapis.com/golang/"
229 name version ".src.tar.gz"))
232 "07gksk9194wa90xyd6yhagxfv7syvsx29bh8ypc4mg700vc1kfrl"))))
234 (substitute-keyword-arguments (package-arguments go-1.4)
236 `(modify-phases ,phases
238 (lambda* (#:key inputs outputs #:allow-other-keys)
239 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
240 (ld (string-append (assoc-ref inputs "libc") "/lib"))
241 (loader (car (find-files ld "^ld-linux.+")))
242 (net-base (assoc-ref inputs "net-base"))
244 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
245 (output (assoc-ref outputs "out")))
247 ;; Having the patch in the 'patches' field of <origin> breaks
248 ;; the 'TestServeContent' test due to the fact that
249 ;; timestamps are reset. Thus, apply it from here.
250 (invoke "patch" "-p2" "--force" "-i"
251 (assoc-ref inputs "go-skip-gc-test.patch"))
253 ;; A side effect of these test scripts is testing
254 ;; cgo. Attempts at using cgo flags and directives with these
255 ;; scripts as specified here (https://golang.org/cmd/cgo/)
256 ;; have not worked. The tests continue to state that they can
257 ;; not find object files/headers despite being present.
260 '("cmd/go/testdata/script/mod_case_cgo.txt"
261 "cmd/go/testdata/script/list_find.txt"
262 "cmd/go/testdata/script/list_compiled_imports.txt"
263 "cmd/go/testdata/script/cgo_syso_issue29253.txt"))
265 (substitute* "os/os_test.go"
266 (("/usr/bin") (getcwd))
267 (("/bin/pwd") (which "pwd"))
268 (("/bin/sh") (which "sh")))
270 ;; Add libgcc to runpath
271 (substitute* "cmd/link/internal/ld/lib.go"
272 (("!rpath.set") "true"))
273 (substitute* "cmd/go/internal/work/gccgo.go"
274 (("cgoldflags := \\[\\]string\\{\\}")
275 (string-append "cgoldflags := []string{"
276 "\"-rpath=" gcclib "\""
280 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
281 (substitute* "cmd/go/internal/work/gc.go"
282 (("ldflags = setextld\\(ldflags, compiler\\)")
284 "ldflags = setextld(ldflags, compiler)\n"
285 "ldflags = append(ldflags, \"-r\")\n"
286 "ldflags = append(ldflags, \"" gcclib "\")\n")))
288 ;; Disable failing tests: these tests attempt to access
289 ;; commands or network resources which are neither available
290 ;; nor necessary for the build to succeed.
295 ((regex all before test_name)
296 (string-append before "Disabled" test_name)))))
297 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
298 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
299 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
300 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
301 ;; 127.0.0.1 doesn't exist
302 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
303 ;; 127.0.0.1 doesn't exist
304 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
305 ;; /etc/services doesn't exist
306 ("net/parse_test.go" "(.+)(TestReadLine.+)")
307 ("os/os_test.go" "(.+)(TestHostname.+)")
308 ;; The user's directory doesn't exist
309 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
310 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
311 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
312 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
313 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
314 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
315 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
316 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
317 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
318 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
319 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
320 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
321 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
322 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
323 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
324 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
325 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
326 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
327 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
328 ("syscall/exec_linux_test.go"
329 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
331 ;; fix shebang for testar script
332 ;; note the target script is generated at build time.
333 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
334 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
336 (substitute* "net/lookup_unix.go"
337 (("/etc/protocols") (string-append net-base "/etc/protocols")))
338 (substitute* "net/port_unix.go"
339 (("/etc/services") (string-append net-base "/etc/services")))
340 (substitute* "time/zoneinfo_unix.go"
341 (("/usr/share/zoneinfo/") tzdata-path))
342 (substitute* (find-files "cmd" "\\.go")
343 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
345 (add-before 'build 'set-bootstrap-variables
346 (lambda* (#:key outputs inputs #:allow-other-keys)
347 ;; Tell the build system where to find the bootstrap Go.
348 (let ((go (assoc-ref inputs "go")))
349 (setenv "GOROOT_BOOTSTRAP" go)
350 (setenv "GOGC" "400")
353 (lambda* (#:key inputs outputs #:allow-other-keys)
354 ;; FIXME: Some of the .a files are not bit-reproducible.
355 (let* ((output (assoc-ref outputs "out")))
356 (setenv "CC" (which "gcc"))
357 (setenv "GOOS" "linux")
358 (setenv "GOROOT" (dirname (getcwd)))
359 (setenv "GOROOT_FINAL" output)
360 (setenv "CGO_ENABLED" "1")
361 (invoke "sh" "all.bash"))))
364 ;; TODO: Most of this could be factorized with Go 1.4.
365 (lambda* (#:key outputs #:allow-other-keys)
366 (let* ((output (assoc-ref outputs "out"))
367 (doc_out (assoc-ref outputs "doc"))
368 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
370 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
371 ;; Prevent installation of the build cache, which contains
372 ;; store references to most of the tools used to build Go and
373 ;; would unnecessarily increase the size of Go's closure if it
375 (delete-file-recursively "../pkg/obj")
378 (copy-recursively "../test" (string-append src "/test"))
379 (delete-file-recursively "../test")
381 (copy-recursively "../api" (string-append docs "/api"))
382 (delete-file-recursively "../api")
383 (copy-recursively "../doc" (string-append docs "/doc"))
384 (delete-file-recursively "../doc")
388 (let* ((filein (string-append "../" file))
389 (fileout (string-append docs "/" file)))
390 (copy-file filein fileout)
391 (delete-file filein)))
392 ;; Note the slightly different file names compared to 1.4.
393 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
394 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
396 (copy-recursively "../" output)
400 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
401 ,@(match (%current-system)
402 ((or "armhf-linux" "aarch64-linux")
403 `(("gold" ,binutils-gold)))
405 ,@(package-native-inputs go-1.4)))
406 (supported-systems %supported-systems)))
408 (define-public go go-1.13)
410 (define-public go-github-com-alsm-ioprogress
411 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
414 (name "go-github-com-alsm-ioprogress")
415 (version (git-version "0.0.0" revision commit))
419 (url "https://github.com/alsm/ioprogress.git")
421 (file-name (git-file-name name version))
424 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
425 (build-system go-build-system)
427 '(#:import-path "github.com/alsm/ioprogress"))
428 (synopsis "Textual progress bars in Go")
429 (description "@code{ioprogress} is a Go library with implementations of
430 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
431 case for these are for command-line applications but alternate progress bar
432 writers can be supplied for alternate environments.")
433 (home-page "https://github.com/alsm/ioprogress")
434 (license license:expat))))
436 (define-public go-github-com-aki237-nscjar
437 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
440 (name "go-github-com-aki237-nscjar")
441 (version (git-version "0.0.0" revision commit))
445 (url "https://github.com/aki237/nscjar.git")
447 (file-name (git-file-name name version))
450 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
451 (build-system go-build-system)
453 '(#:import-path "github.com/aki237/nscjar"))
454 (synopsis "Handle Netscape / Mozilla cookies")
455 (description "@code{nscjar} is a Go library used to parse and output
456 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
457 jar struct to manage the cookies added to the cookie jar.")
458 (home-page "https://github.com/aki237/nscjar")
459 (license license:expat))))
461 (define-public go-github.com-jessevdk-go-flags
463 (name "go-github.com-jessevdk-go-flags")
468 (url "https://github.com/jessevdk/go-flags")
469 (commit (string-append "v" version))))
470 (file-name (git-file-name name version))
473 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
474 (build-system go-build-system)
476 '(#:import-path "github.com/jessevdk/go-flags"))
477 (synopsis "Go library for parsing command line arguments")
479 "The @code{flags} package provides a command line option parser. The
480 functionality is similar to the go builtin @code{flag} package, but
481 @code{flags} provides more options and uses reflection to provide a succinct
482 way of specifying command line options.")
483 (home-page "https://github.com/jessevdk/go-flags")
484 (license license:bsd-3)))
486 (define-public go-gopkg.in-tomb.v2
487 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
490 (name "go-gopkg.in-tomb.v2")
491 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
495 (url "https://github.com/go-tomb/tomb.git")
497 (file-name (string-append name "-" version ".tar.gz"))
500 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
501 (build-system go-build-system)
503 '(#:import-path "gopkg.in/tomb.v2"
505 (modify-phases %standard-phases
506 (add-after 'unpack 'patch-source
508 ;; Add a missing % to fix the compilation of this test
509 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
510 (("t.Fatalf\\(`Killf\\(\"BO%s")
511 "t.Fatalf(`Killf(\"BO%%s"))
513 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
515 "The @code{tomb} package handles clean goroutine tracking and
517 (home-page "https://gopkg.in/tomb.v2")
518 (license license:bsd-3))))
520 (define-public go-github.com-jtolds-gls
522 (name "go-github.com-jtolds-gls")
527 (url "https://github.com/jtolds/gls")
528 (commit (string-append "v" version))))
529 (file-name (git-file-name name version))
532 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
533 (build-system go-build-system)
535 '(#:import-path "github.com/jtolds/gls"))
536 (synopsis "@code{gls} provides Goroutine local storage")
538 "The @code{gls} package provides a way to store a retrieve values
540 (home-page "https://github.com/jtolds/gls")
541 (license license:expat)))
543 (define-public go-github-com-tj-docopt
545 (name "go-github-com-tj-docopt")
550 (url "https://github.com/tj/docopt")
551 (commit (string-append "v" version))))
552 (file-name (git-file-name name version))
555 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
556 (build-system go-build-system)
558 '(#:import-path "github.com/tj/docopt"))
559 (synopsis "Go implementation of docopt")
561 "This library allows the user to define a command-line interface from a
562 program's help message rather than specifying it programmatically with
563 command-line parsers.")
564 (home-page "https://github.com/tj/docopt")
565 (license license:expat)))
567 (define-public go-github-com-hashicorp-hcl
568 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
571 (name "go-github-com-hashicorp-hcl")
572 (version (git-version "0.0.0" revision commit))
576 (url "https://github.com/hashicorp/hcl")
578 (file-name (git-file-name name version))
581 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
582 (build-system go-build-system)
585 #:import-path "github.com/hashicorp/hcl"))
586 (synopsis "Go implementation of HashiCorp Configuration Language")
588 "This package contains the main implementation of the @acronym{HCL,
589 HashiCorp Configuration Language}. HCL is designed to be a language for
590 expressing configuration which is easy for both humans and machines to read.")
591 (home-page "https://github.com/hashicorp/hcl")
592 (license license:mpl2.0))))
594 (define-public go-golang-org-x-tools
595 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
598 (name "go-golang-org-x-tools")
599 (version (git-version "0.1.3" revision commit))
603 (url "https://go.googlesource.com/tools")
605 (file-name (string-append "go.googlesource.com-tools-"
606 version "-checkout"))
609 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
610 (build-system go-build-system)
612 `(#:import-path "golang.org/x/tools"
613 ;; Source-only package
616 (modify-phases %standard-phases
617 ;; Source-only package
619 (synopsis "Tools that support the Go programming language")
620 (description "This package provides miscellaneous tools that support the
621 Go programming language.")
622 (home-page "https://go.googlesource.com/tools/")
623 (license license:bsd-3))))
625 (define-public go-golang-org-x-crypto
626 (let ((commit "9756ffdc24725223350eb3266ffb92590d28f278")
629 (name "go-golang-org-x-crypto")
630 (version (git-version "0.0.0" revision commit))
634 (url "https://go.googlesource.com/crypto")
636 (file-name (string-append "go.googlesource.com-crypto-"
637 version "-checkout"))
640 "0q7hxaaq6lp0v8qqzifvysl47z5rfdlrxkh3d29vsl3wyby3dxl8"))))
641 (build-system go-build-system)
643 '(#:import-path "golang.org/x/crypto"
644 ;; Source-only package
647 (modify-phases %standard-phases
648 ;; Source-only package
650 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
651 (lambda* (#:key outputs #:allow-other-keys)
653 (make-file-writable file))
655 (string-append (assoc-ref outputs "out")
656 "/src/golang.org/x/crypto/ed25519/testdata")
660 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
661 (synopsis "Supplementary cryptographic libraries in Go")
662 (description "This package provides supplementary cryptographic libraries
663 for the Go language.")
664 (home-page "https://go.googlesource.com/crypto/")
665 (license license:bsd-3))))
667 (define-public go-golang-org-x-net
668 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
671 (name "go-golang-org-x-net")
672 (version (git-version "0.0.0" revision commit))
676 (url "https://go.googlesource.com/net")
678 (file-name (git-file-name name version))
681 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
682 (build-system go-build-system)
684 `(#:import-path "golang.org/x/net"
685 ; Source-only package
688 (modify-phases %standard-phases
690 (synopsis "Go supplemental networking libraries")
691 (description "This package provides supplemental Go networking libraries.")
692 (home-page "https://go.googlesource.com/net")
693 (license license:bsd-3))))
695 (define-public go-golang-org-x-image
696 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
699 (name "go-golang-org-x-image")
700 (version (git-version "0.0.0" revision commit))
704 (url "https://go.googlesource.com/image")
706 (file-name (string-append "go.googlesource.com-image-"
707 version "-checkout"))
710 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
711 (build-system go-build-system)
713 `(#:import-path "golang.org/x/image"
714 ; Source-only package
717 (modify-phases %standard-phases
719 (home-page "https://go.googlesource.com/image")
720 (synopsis "Supplemental Go image libraries")
721 (description "This package provides supplemental Go libraries for image
723 (license license:bsd-3))))
725 (define-public go-golang-org-x-sys
726 (let ((commit "749cb33beabd9aa6d3178e3de05bcc914f70b2bf")
729 (name "go-golang-org-x-sys")
730 (version (git-version "0.0.0" revision commit))
734 (url "https://go.googlesource.com/sys")
736 (file-name (git-file-name name version))
739 "0dm3257q3rv2kyn5lmqqim2fqg634v6rhrqq4glvbk4wx4l3v337"))))
740 (build-system go-build-system)
742 `(#:import-path "golang.org/x/sys"
743 ;; Source-only package
746 (modify-phases %standard-phases
748 (synopsis "Go support for low-level system interaction")
749 (description "This package provides supplemental libraries offering Go
750 support for low-level interaction with the operating system.")
751 (home-page "https://go.googlesource.com/sys")
752 (license license:bsd-3))))
754 (define-public go-golang-org-x-text
756 (name "go-golang-org-x-text")
761 (url "https://go.googlesource.com/text")
762 (commit (string-append "v" version))))
763 (file-name (string-append "go.googlesource.com-text-"
764 version "-checkout"))
767 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
768 (build-system go-build-system)
770 `(#:import-path "golang.org/x/text"
771 ; Source-only package
774 (modify-phases %standard-phases
776 (synopsis "Supplemental Go text processing libraries")
777 (description "This package provides supplemental Go libraries for text
779 (home-page "https://go.googlesource.com/text")
780 (license license:bsd-3)))
782 (define-public go-golang-org-x-time
783 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
786 (name "go-golang-org-x-time")
787 (version (git-version "0.0.0" revision commit))
791 (url "https://go.googlesource.com/time")
793 (file-name (git-file-name name version))
796 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
797 (build-system go-build-system)
799 `(#:import-path "golang.org/x/time"
800 ; Source-only package
803 (modify-phases %standard-phases
806 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
807 (synopsis "Supplemental Go time libraries")
808 (description "This package provides supplemental Go libraries related to
810 (home-page "https://godoc.org/golang.org/x/time/rate")
811 (license license:bsd-3))))
813 (define-public go-github-com-burntsushi-toml
815 (name "go-github-com-burntsushi-toml")
821 (url "https://github.com/BurntSushi/toml.git")
822 (commit (string-append "v" version))))
823 (file-name (git-file-name name version))
826 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
827 (build-system go-build-system)
829 '(#:import-path "github.com/BurntSushi/toml"))
830 (home-page "https://github.com/BurntSushi/toml")
831 (synopsis "Toml parser and encoder for Go")
832 (description "This package is toml parser and encoder for Go. The interface
833 is similar to Go's standard library @code{json} and @code{xml} package.")
834 (license license:expat)))
836 (define-public go-github-com-getsentry-raven-go
837 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
840 (name "go-github-com-getsentry-raven-go")
841 (version (git-version "0.2.0" revision commit))
846 (url "https://github.com/getsentry/raven-go.git")
848 (file-name (git-file-name name version))
851 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
852 (build-system go-build-system)
854 '(#:import-path "github.com/getsentry/raven-go"))
856 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
857 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
858 (home-page "https://github.com/getsentry/raven-go")
859 (synopsis "Sentry client in Go")
860 (description "This package is a Go client API for the Sentry event/error
862 (license license:bsd-3))))
864 (define-public go-github-com-hashicorp-go-version
866 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
869 (name "go-github-com-hashicorp-go-version")
870 (version (git-version "0.0.0" revision commit))
875 (url "https://github.com/hashicorp/go-version.git")
877 (file-name (git-file-name name version))
880 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
881 (build-system go-build-system)
883 '(#:import-path "github.com/hashicorp/go-version"))
885 "https://github.com/hashicorp/go-version")
886 (synopsis "Go library for parsing and verifying versions and version
888 (description "This package is a library for parsing versions and version
889 constraints, and verifying versions against a set of constraints. It can sort
890 a collection of versions properly, handles prerelease/beta versions, can
891 increment versions.")
892 (license license:mpl2.0))))
894 (define-public go-github-com-jpillora-backoff
896 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
899 (name "go-github-com-jpillora-backoff")
900 (version (git-version "0.0.0" revision commit))
905 (url "https://github.com/jpillora/backoff.git")
907 (file-name (git-file-name name version))
910 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
911 (build-system go-build-system)
913 '(#:import-path "github.com/jpillora/backoff"))
914 (home-page "https://github.com/jpillora/backoff")
915 (synopsis "Simple exponential backoff counter in Go")
916 (description "This package is a simple exponential backoff counter in
918 (license license:expat))))
920 (define-public go-github-com-stretchr-testify
922 "b1f989447a57594c728884458a39abf3a73447f7")
925 (name "go-github-com-stretchr-testify")
926 (version (git-version "1.1.4" revision commit))
931 (url "https://github.com/stretchr/testify.git")
933 (file-name (git-file-name name version))
936 "0p0gkqzh2p8r5g0rxm885ljl7ghih7h7hx9w562imx5ka0vdgixv"))))
937 (build-system go-build-system)
939 '(#:import-path "github.com/stretchr/testify"))
940 (home-page "https://github.com/stretchr/testify")
941 (synopsis "Go helper library for tests and invariant checking")
942 (description "This package provide many tools for testifying that your
943 code will behave as you intend.
947 @item Easy assertions
949 @item HTTP response trapping
950 @item Testing suite interfaces and functions.
952 (license license:expat))))
954 (define-public go-github-com-tevino-abool
956 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
959 (name "go-github-com-tevino-abool")
960 (version (git-version "0.0.0" revision commit))
965 (url "https://github.com/tevino/abool.git")
967 (file-name (git-file-name name version))
970 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
971 (build-system go-build-system)
973 '(#:import-path "github.com/tevino/abool"))
974 (home-page "https://github.com/tevino/abool")
975 (synopsis "Atomic boolean library for Go code")
976 (description "This package is atomic boolean library for Go code,
977 optimized for performance yet simple to use.")
978 (license license:expat))))
980 (define-public go-github-com-blang-semver
981 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
984 (name "go-github-com-blang-semver")
985 (version (git-version "0.0.0" revision commit))
990 (url "https://github.com/blang/semver.git")
992 (file-name (git-file-name name version))
995 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
996 (build-system go-build-system)
998 '(#:import-path "github.com/blang/semver"))
999 (home-page "https://github.com/blang/semver")
1000 (synopsis "Semantic versioning library written in Go")
1001 (description "Semver is a library for Semantic versioning written in Go.")
1002 (license license:expat))))
1004 (define-public go-github-com-emicklei-go-restful
1005 (let ((commit "89ef8af493ab468a45a42bb0d89a06fccdd2fb22")
1008 (name "go-github-com-emicklei-go-restful")
1009 (version (git-version "0.0.0" revision commit))
1014 (url "https://github.com/emicklei/go-restful.git")
1016 (file-name (git-file-name name version))
1019 "0rrlfcfq80fkxifpih6bq31vavb5mf4530xz51pp9pq1mn2fzjfh"))))
1020 (build-system go-build-system)
1022 '(#:import-path "github.com/emicklei/go-restful"))
1023 (home-page "https://github.com/emicklei/go-restful")
1024 (synopsis "Build REST-style web services using Go")
1025 (description "This package provides @code{go-restful}, which helps
1026 developers to use @code{http} methods explicitly and in a way that's consistent
1027 with the HTTP protocol definition.")
1028 (license license:expat))))
1030 (define-public go-github-com-google-cadvisor
1031 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
1034 (name "go-github-com-google-cadvisor")
1035 (version (git-version "0.0.0" revision commit))
1040 (url "https://github.com/google/cadvisor.git")
1042 (file-name (git-file-name name version))
1045 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
1046 (build-system go-build-system)
1048 '(#:import-path "github.com/google/cadvisor"))
1049 (home-page "https://github.com/google/cadvisor")
1050 (synopsis "Analyze resource usage of running containers")
1051 (description "The package provides @code{cadvisor}, which provides
1052 information about the resource usage and performance characteristics of running
1054 (license license:asl2.0))))
1056 (define-public go-github-com-google-gofuzz
1057 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
1060 (name "go-github-com-google-gofuzz")
1061 (version (git-version "0.0.0" revision commit))
1066 (url "https://github.com/google/gofuzz.git")
1068 (file-name (git-file-name name version))
1071 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
1072 (build-system go-build-system)
1074 '(#:import-path "github.com/google/gofuzz"))
1075 (home-page "https://github.com/google/gofuzz")
1076 (synopsis "Fuzz testing library for Go")
1077 (description "Gofuzz is a library for populationg Go objects with random
1078 values for the purpose of fuzz testing.")
1079 (license license:asl2.0))))
1081 (define-public go-github-com-gorilla-context
1082 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
1085 (name "go-github-com-gorilla-context")
1086 (version (git-version "0.0.0" revision commit))
1091 (url "https://github.com/gorilla/context.git")
1093 (file-name (git-file-name name version))
1096 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
1097 (build-system go-build-system)
1099 '(#:import-path "github.com/gorilla/context"))
1100 (home-page "https://github.com/gorilla/context")
1101 (synopsis "Go registry for request variables")
1102 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
1103 (license license:bsd-3))))
1105 (define-public go-github-com-gorilla-mux
1106 (let ((commit "599cba5e7b6137d46ddf58fb1765f5d928e69604")
1109 (name "go-github-com-gorilla-mux")
1110 (version (git-version "0.0.0" revision commit))
1115 (url "https://github.com/gorilla/mux.git")
1117 (file-name (git-file-name name version))
1120 "0wd6jjii1kg5s0nk3ri6gqriz6hbd6bbcn6x4jf8n7ncrb8qsxyz"))))
1121 (build-system go-build-system)
1123 '(#:import-path "github.com/gorilla/mux"))
1124 (home-page "https://github.com/gorilla/mux")
1125 (synopsis "URL router and dispatcher for Go")
1127 "Gorilla/Mux implements a request router and dispatcher for matching
1128 incoming requests with their respective handler.")
1129 (license license:bsd-3))))
1131 (define-public go-github-com-jonboulle-clockwork
1132 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
1135 (name "go-github-com-jonboulle-clockwork")
1136 (version (git-version "0.0.0" revision commit))
1141 (url "https://github.com/jonboulle/clockwork.git")
1143 (file-name (git-file-name name version))
1146 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
1147 (build-system go-build-system)
1149 '(#:import-path "github.com/jonboulle/clockwork"))
1150 (home-page "https://github.com/jonboulle/clockwork")
1151 (synopsis "Fake clock library for Go")
1153 "Replace uses of the @code{time} package with the
1154 @code{clockwork.Clock} interface instead.")
1155 (license license:asl2.0))))
1157 (define-public go-github-com-spf13-pflag
1159 (name "go-github-com-spf13-pflag")
1165 (url "https://github.com/spf13/pflag.git")
1166 (commit (string-append "v" version))))
1167 (file-name (git-file-name name version))
1170 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
1171 (build-system go-build-system)
1173 '(#:import-path "github.com/spf13/pflag"))
1174 (home-page "https://github.com/spf13/pflag")
1175 (synopsis "Replacement for Go's @code{flag} package")
1177 "Pflag is library to replace Go's @code{flag} package. It implements
1178 POSIX/GNU-style command-line options with double hyphens. It is is compatible
1180 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
1181 GNU extensions} to the POSIX recommendations for command-line options.")
1182 (license license:bsd-3)))
1184 (define-public go-github-com-sirupsen-logrus
1186 (name "go-github-com-sirupsen-logrus")
1192 (url "https://github.com/sirupsen/logrus.git")
1193 (commit (string-append "v" version))))
1194 (file-name (git-file-name name version))
1197 "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz"))))
1198 (build-system go-build-system)
1200 `(("go-golang-org-x-crypto"
1201 ,go-golang-org-x-crypto)
1202 ("go-github-com-stretchr-testify"
1203 ,go-github-com-stretchr-testify)
1204 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1206 '(#:tests? #f ;FIXME missing dependencies
1207 #:import-path "github.com/sirupsen/logrus"))
1208 (home-page "https://github.com/sirupsen/logrus")
1209 (synopsis "Structured, pluggable logging for Go")
1210 (description "Logrus is a structured logger for Go, completely API
1211 compatible with the standard library logger.")
1212 (license license:expat)))
1214 (define-public go-github-com-rifflock-lfshook
1216 (name "go-github-com-rifflock-lfshook")
1221 (url "https://github.com/rifflock/lfshook.git")
1222 (commit (string-append "v" version))))
1223 (file-name (git-file-name name version))
1226 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
1227 (build-system go-build-system)
1229 `(#:import-path "github.com/rifflock/lfshook"))
1231 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
1232 (home-page "https://github.com/rifflock/lfshook")
1233 (synopsis "Local File System hook for Logrus logger")
1234 (description "This package provides a hook for Logrus to write directly to
1235 a file on the filesystem. The log levels are dynamic at instantiation of the
1236 hook, so it is capable of logging at some or all levels.")
1237 (license license:expat)))
1239 (define-public go-github-com-kardianos-osext
1240 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
1243 (name "go-github-com-kardianos-osext")
1244 (version (git-version "0.0.0" revision commit))
1248 (url "https://github.com/kardianos/osext")
1250 (file-name (git-file-name name version))
1253 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
1254 (build-system go-build-system)
1256 `(#:import-path "github.com/kardianos/osext"
1257 ;; The tests are flaky:
1258 ;; <https://github.com/kardianos/osext/issues/21>
1260 (synopsis "Find the running executable")
1261 (description "Osext provides a method for finding the current executable
1262 file that is running. This can be used for upgrading the current executable or
1263 finding resources located relative to the executable file.")
1264 (home-page "https://github.com/kardianos/osext")
1265 (license license:bsd-3))))
1267 (define-public go-github-com-ayufan-golang-kardianos-service
1268 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
1271 (name "go-github-com-ayufan-golang-kardianos-service")
1272 (version (git-version "0.0.0" revision commit))
1278 "https://github.com/ayufan/golang-kardianos-service.git")
1280 (file-name (git-file-name name version))
1283 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
1284 (build-system go-build-system)
1286 `(("go-github-com-kardianos-osext"
1287 ,go-github-com-kardianos-osext)))
1289 '(#:tests? #f ;FIXME tests fail: Service is not running.
1290 #:import-path "github.com/ayufan/golang-kardianos-service"))
1291 (home-page "https://github.com/ayufan/golang-kardianos-service")
1292 (synopsis "Go interface to a variety of service supervisors")
1293 (description "This package provides @code{service}, a Go module that can
1294 run programs as a service using a variety of supervisors, including systemd,
1295 SysVinit, and more.")
1296 (license license:zlib))))
1298 (define-public go-github-com-docker-distribution
1299 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
1302 (name "go-github-com-docker-distribution")
1303 (version (git-version "0.0.0" revision commit))
1305 ;; FIXME: This bundles many things, see
1306 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
1310 (url "https://github.com/docker/distribution")
1312 (file-name (git-file-name name version))
1315 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
1316 (build-system go-build-system)
1318 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
1319 ("go-github-com-sirupsen-logrus"
1320 ,go-github-com-sirupsen-logrus)
1321 ("go-golang-org-x-crypto"
1322 ,go-golang-org-x-crypto)))
1324 '(#:import-path "github.com/docker/distribution"
1326 (modify-phases %standard-phases
1327 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1328 (lambda* (#:key outputs #:allow-other-keys)
1330 (make-file-writable file))
1332 (assoc-ref outputs "out")
1336 "https://github.com/docker/distribution")
1337 (synopsis "This package is a Docker toolset to pack, ship, store, and
1339 (description "Docker Distribution is a Docker toolset to pack, ship,
1340 store, and deliver content. It contains Docker Registry 2.0 and libraries
1341 to interact with distribution components.")
1342 (license license:asl2.0))))
1344 (define-public go-github-com-docker-go-connections
1345 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
1348 (name "go-github-com-docker-go-connections")
1349 (version (git-version "0.0.0" revision commit))
1354 (url "https://github.com/docker/go-connections.git")
1356 (file-name (git-file-name name version))
1359 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
1360 (build-system go-build-system)
1362 '(#:import-path "github.com/docker/go-connections"))
1363 (home-page "https://github.com/docker/go-connections")
1364 (synopsis "Networking library for Go")
1366 "This package provides a library to work with network connections in
1367 the Go language. In particular it provides tools to deal with network address
1368 translation (NAT), proxies, sockets, and transport layer security (TLS).")
1369 (license license:asl2.0))))
1371 (define-public go-github-com-docker-machine
1372 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
1375 (name "go-github-com-docker-machine")
1376 (version (git-version "0.0.0" revision commit))
1381 (url "https://github.com/docker/machine.git")
1383 (file-name (git-file-name name version))
1386 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
1387 (build-system go-build-system)
1389 '(#:import-path "github.com/docker/machine"))
1390 (home-page "https://github.com/docker/machine")
1391 (synopsis "Machine management for a container-centric world")
1393 "@dfn{Machine} lets you create Docker hosts on your computer, on
1394 hosting providers, and inside your data center. It creates servers, installs
1395 Docker on them, then configures the Docker client to talk to them.")
1396 (license license:asl2.0))))
1398 (define-public go-github-com-gorhill-cronexpr
1399 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
1402 (name "go-github-com-gorhill-cronexpr")
1403 (version (git-version "0.0.0" revision commit))
1408 (url "https://github.com/gorhill/cronexpr.git")
1410 (file-name (git-file-name name version))
1413 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
1414 (build-system go-build-system)
1416 '(#:import-path "github.com/gorhill/cronexpr"))
1417 (home-page "https://github.com/gorhill/cronexpr")
1418 (synopsis "Cron expression parser in the Go language")
1420 "This package provides a cron expression parser in the Go language.
1421 Given a cron expression and a time stamp, you can get the next time stamp
1422 which satisfies the cron expression.")
1423 (license (list license:gpl3+
1426 (define-public go-gopkg-in-check-v1
1427 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
1430 (name "go-gopkg-in-check-v1")
1431 (version (git-version "1.0.0" revision commit))
1436 (url "https://github.com/go-check/check")
1438 (file-name (git-file-name name version))
1441 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
1442 (build-system go-build-system)
1444 '(#:import-path "gopkg.in/check.v1"))
1446 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
1447 (home-page "https://gopkg.in/check.v1")
1448 (synopsis "Test framework for the Go language")
1449 (description "This package provides a test library for the Go language.")
1450 (license license:asl2.0))))
1452 (define-public go-gopkg-in-yaml-v2
1454 (name "go-gopkg-in-yaml-v2")
1460 (url "https://gopkg.in/yaml.v2.git")
1461 (commit (string-append "v" version))))
1462 (file-name (git-file-name name version))
1465 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
1466 (build-system go-build-system)
1468 '(#:import-path "gopkg.in/yaml.v2"))
1470 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
1471 (home-page "https://gopkg.in/yaml.v2")
1472 (synopsis "YAML reader and writer for the Go language")
1474 "This package provides a Go library for encode and decode YAML
1476 (license license:asl2.0)))
1478 (define-public go-github-com-mattn-go-isatty
1480 (name "go-github-com-mattn-go-isatty")
1486 (url "https://github.com/mattn/go-isatty")
1487 (commit (string-append "v" version))))
1488 (file-name (git-file-name name version))
1491 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
1492 (build-system go-build-system)
1494 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1496 '(#:import-path "github.com/mattn/go-isatty"))
1497 (home-page "https://github.com/mattn/go-isatty")
1498 (synopsis "Provide @code{isatty} for Golang")
1499 (description "This package provides @code{isatty}, a Go module that can
1500 tell you whether a file descriptor points to a terminal and the type of the
1502 (license license:expat)))
1504 (define-public go-github-com-mattn-go-colorable
1505 (let ((commit "efa589957cd060542a26d2dd7832fd6a6c6c3ade")
1508 (name "go-github-com-mattn-go-colorable")
1509 (version (git-version "0.0.0" revision commit))
1514 (url "https://github.com/mattn/go-colorable")
1516 (file-name (git-file-name name version))
1519 "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r"))))
1520 (build-system go-build-system)
1522 `(("go-github-com-mattn-go-isatty"
1523 ,go-github-com-mattn-go-isatty)))
1525 '(#:import-path "github.com/mattn/go-colorable"))
1526 (home-page "https://github.com/mattn/go-colorable")
1527 (synopsis "Handle ANSI color escapes on Windows")
1528 (description "This package provides @code{colorable}, a module that
1529 makes it possible to handle ANSI color escapes on Windows.")
1530 (license license:expat))))
1532 (define-public go-github-com-mgutz-ansi
1533 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
1536 (name "go-github-com-mgutz-ansi")
1537 (version (git-version "0.0.0" revision commit))
1543 "https://github.com/mgutz/ansi")
1545 (file-name (git-file-name name version))
1548 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
1549 (build-system go-build-system)
1551 `(("go-github-com-mattn-go-isatty"
1552 ,go-github-com-mattn-go-isatty)
1553 ("go-github-com-mattn-go-colorable"
1554 ,go-github-com-mattn-go-colorable)))
1556 '(#:import-path "github.com/mgutz/ansi"))
1557 (home-page "https://github.com/mgutz/ansi")
1558 (synopsis "Small, fast library to create ANSI colored strings and codes")
1559 (description "This package provides @code{ansi}, a Go module that can
1560 generate ANSI colored strings.")
1561 (license license:expat))))
1563 (define-public go-github-com-aarzilli-golua
1564 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
1567 (name "go-github-com-aarzilli-golua")
1568 (version (git-version "0.0.0" revision commit))
1574 "https://github.com/aarzilli/golua")
1576 (file-name (git-file-name name version))
1579 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
1580 (build-system go-build-system)
1581 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
1582 ;; when this package required as input for another one, it will have to
1583 ;; be built again. Thus its CGO requirements must be made available in
1584 ;; the environment, that is, they must be propagated.
1588 `(#:unpack-path "github.com/aarzilli/golua"
1589 #:import-path "github.com/aarzilli/golua/lua"
1591 (modify-phases %standard-phases
1592 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
1593 ;; command line argument, go-1.10+ does not re-use the produced pkg
1594 ;; for dependencies, which means we would need to propagate the
1595 ;; same "-tags" argument to all golua referrers. A substitution is
1596 ;; more convenient here. We also need to propagate the lua
1597 ;; dependency to make it available to referrers.
1598 (add-after 'unpack 'fix-lua-ldflags
1600 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
1601 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
1602 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
1603 (home-page "https://github.com/aarzilli/golua")
1604 (synopsis "Go Bindings for the Lua C API")
1605 (description "This package provides @code{lua}, a Go module that can
1606 run a Lua virtual machine.")
1607 (license license:expat))))
1609 (define-public go-gitlab-com-ambrevar-golua-unicode
1610 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
1613 (name "go-gitlab-com-ambrevar-golua-unicode")
1614 (version (git-version "0.0.0" revision commit))
1620 "https://gitlab.com/ambrevar/golua")
1622 (file-name (git-file-name name version))
1625 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
1626 (build-system go-build-system)
1629 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
1631 `(#:unpack-path "gitlab.com/ambrevar/golua"
1632 #:import-path "gitlab.com/ambrevar/golua/unicode"
1634 (modify-phases %standard-phases
1636 (lambda* (#:key import-path #:allow-other-keys)
1637 (setenv "USER" "homeless-dude")
1638 (invoke "go" "test" import-path))))))
1639 (home-page "https://gitlab.com/ambrevar/golua")
1640 (synopsis "Add Unicode support to Golua")
1641 (description "This extension to Arzilli's Golua adds Unicode support to
1642 all functions from the Lua string library. Lua patterns are replaced by Go
1643 regexps. This breaks compatibility with Lua, but Unicode support breaks it
1644 anyways and Go regexps are more powerful.")
1645 (license license:expat))))
1647 (define-public go-github-com-yookoala-realpath
1648 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
1651 (name "go-github-com-yookoala-realpath")
1652 (version (git-version "0.0.0" revision commit))
1658 "https://github.com/yookoala/realpath")
1660 (file-name (git-file-name name version))
1663 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
1664 (build-system go-build-system)
1666 `(#:import-path "github.com/yookoala/realpath"))
1667 (home-page "https://github.com/yookoala/realpath")
1668 (synopsis "@code{realpath} for Golang")
1669 (description "This package provides @code{realpath}, a Go module that
1670 when provided with a valid relative path / alias path, it will return you with
1671 a string of its real absolute path in the system.")
1672 (license license:expat))))
1674 (define-public go-gitlab-com-ambrevar-damerau
1675 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
1678 (name "go-gitlab-com-ambrevar-damerau")
1679 (version (git-version "0.0.0" revision commit))
1685 "https://gitlab.com/ambrevar/damerau")
1687 (file-name (git-file-name name version))
1690 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
1691 (build-system go-build-system)
1693 `(#:import-path "gitlab.com/ambrevar/damerau"))
1694 (home-page "https://gitlab.com/ambrevar/damerau")
1695 (synopsis "Damerau-Levenshtein distance for Golang")
1696 (description "This is a spelling corrector implementing the
1697 Damerau-Levenshtein distance. Takes a string value input from the user.
1698 Looks for an identical word on a list of words, if none is found, look for a
1700 (license license:expat))))
1702 (define-public go-github-com-stevedonovan-luar
1703 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
1706 (name "go-github-com-stevedonovan-luar")
1707 (version (git-version "0.0.0" revision commit))
1713 "https://github.com/stevedonovan/luar")
1715 (file-name (git-file-name name version))
1718 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
1719 (build-system go-build-system)
1721 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
1723 `(#:tests? #f ; Upstream tests are broken.
1724 #:import-path "github.com/stevedonovan/luar"))
1725 (home-page "https://github.com/stevedonovan/luar")
1726 (synopsis "Lua reflection bindings for Go")
1727 (description "Luar is designed to make using Lua from Go more
1728 convenient. Go structs, slices and maps can be automatically converted to Lua
1729 tables and vice-versa. The resulting conversion can either be a copy or a
1730 proxy. In the latter case, any change made to the result will reflect on the
1733 Any Go function can be made available to Lua scripts, without having to write
1736 Luar support cyclic structures (lists, etc.).
1738 User-defined types can be made available to Lua as well: their exported
1739 methods can be called and usual operations such as indexing or arithmetic can
1741 (license license:expat))))
1743 (define-public go-github-com-michiwend-golang-pretty
1744 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
1747 (name "go-github-com-michiwend-golang-pretty")
1748 (version (git-version "0.0.0" revision commit))
1754 "https://github.com/michiwend/golang-pretty")
1756 (file-name (git-file-name name version))
1759 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
1760 (build-system go-build-system)
1762 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
1764 `(#:tests? #f ; Upstream tests seem to be broken.
1765 #:import-path "github.com/michiwend/golang-pretty"))
1766 (home-page "https://github.com/michiwend/golang-pretty")
1767 (synopsis "Pretty printing for Go values")
1768 (description "Package @code{pretty} provides pretty-printing for Go
1769 values. This is useful during debugging, to avoid wrapping long output lines
1772 It provides a function, @code{Formatter}, that can be used with any function
1773 that accepts a format string. It also provides convenience wrappers for
1774 functions in packages @code{fmt} and @code{log}.")
1775 (license license:expat))))
1777 (define-public go-github-com-michiwend-gomusicbrainz
1778 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
1781 (name "go-github-com-michiwend-gomusicbrainz")
1782 (version (git-version "0.0.0" revision commit))
1788 "https://github.com/michiwend/gomusicbrainz")
1790 (file-name (git-file-name name version))
1793 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
1794 (build-system go-build-system)
1796 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
1797 ("go-github-com-kr-text" ,go-github-com-kr-text)))
1799 `(#:import-path "github.com/michiwend/gomusicbrainz"))
1800 (home-page "https://github.com/michiwend/gomusicbrainz")
1801 (synopsis "MusicBrainz WS2 client library for Golang")
1802 (description "Currently GoMusicBrainz provides methods to perform search
1803 and lookup requests. Browse requests are not supported yet.")
1804 (license license:expat))))
1806 (define-public go-github-com-wtolson-go-taglib
1807 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
1810 (name "go-github-com-wtolson-go-taglib")
1811 (version (git-version "0.0.0" revision commit))
1817 "https://github.com/wtolson/go-taglib")
1819 (file-name (git-file-name name version))
1822 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
1823 (build-system go-build-system)
1824 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
1825 ;; when this package required as input for another one, it will have to
1826 ;; be built again. Thus its CGO requirements must be made available in
1827 ;; the environment, that is, they must be propagated.
1829 `(("pkg-config" ,pkg-config)
1830 ("taglib" ,taglib)))
1832 `(#:import-path "github.com/wtolson/go-taglib"
1833 ;; Tests don't pass "vet" on Go since 1.11. See
1834 ;; https://github.com/wtolson/go-taglib/issues/12.
1836 (modify-phases %standard-phases
1838 (lambda* (#:key import-path #:allow-other-keys)
1842 (home-page "https://github.com/wtolson/go-taglib")
1843 (synopsis "Go wrapper for taglib")
1844 (description "Go wrapper for taglib")
1845 (license license:unlicense))))
1847 (define-public go-github-com-gogo-protobuf
1849 (name "go-github-com-gogo-protobuf")
1854 (url "https://github.com/gogo/protobuf")
1855 (commit (string-append "v" version))))
1856 (file-name (git-file-name name version))
1859 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
1860 (build-system go-build-system)
1862 `(#:import-path "github.com/gogo/protobuf"
1863 ; Source-only package
1866 (modify-phases %standard-phases
1868 (synopsis "Protocol Buffers for Go with Gadgets")
1869 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
1870 generation features. This code generation is used to achieve:
1872 @item fast marshalling and unmarshalling
1873 @item more canonical Go structures
1874 @item goprotobuf compatibility
1875 @item less typing by optionally generating extra helper code
1876 @item peace of mind by optionally generating test and benchmark code
1877 @item other serialization formats
1879 (home-page "https://github.com/gogo/protobuf")
1880 (license license:bsd-3)))
1882 (define-public go-github-com-libp2p-go-flow-metrics
1883 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
1886 (name "go-github-com-libp2p-go-flow-metrics")
1887 (version (git-version "0.2.0" revision commit))
1892 (url "https://github.com/libp2p/go-flow-metrics.git")
1894 (file-name (git-file-name name version))
1897 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
1898 (build-system go-build-system)
1900 `(#:import-path "github.com/libp2p/go-flow-metrics"
1901 ;; TODO: Tests hang.
1904 "https://github.com/libp2p/go-flow-metrics")
1905 (synopsis "Simple library for tracking flow metrics")
1906 (description "A simple alternative to rcrowley's @command{go-metrics}
1907 that's a lot faster (and only does simple bandwidth metrics).")
1908 (license license:expat))))
1910 (define-public go-github-com-davecgh-go-spew
1911 (let ((commit "d8f796af33cc11cb798c1aaeb27a4ebc5099927d")
1914 (name "go-github-com-davecgh-go-spew")
1915 (version (git-version "0.0.0" revision commit))
1920 (url "https://github.com/davecgh/go-spew.git")
1922 (file-name (git-file-name name version))
1925 "19z27f306fpsrjdvkzd61w1bdazcdbczjyjck177g33iklinhpvx"))))
1926 (build-system go-build-system)
1928 '(#:unpack-path "github.com/davecgh/go-spew"
1929 #:import-path "github.com/davecgh/go-spew/spew"))
1930 (home-page "https://github.com/davecgh/go-spew")
1931 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
1932 (description "Package @command{spew} implements a deep pretty printer
1933 for Go data structures to aid in debugging.
1935 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
1938 @item Pointers are dereferenced and followed.
1939 @item Circular data structures are detected and handled properly.
1940 @item Custom Stringer/error interfaces are optionally invoked, including on
1942 @item Custom types which only implement the Stringer/error interfaces via a
1943 pointer receiver are optionally invoked when passing non-pointer variables.
1944 @item Byte arrays and slices are dumped like the hexdump -C command which
1945 includes offsets, byte values in hex, and ASCII output (only when using Dump
1948 (license license:isc))))
1950 (define-public go-github-com-btcsuite-btclog
1951 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
1954 (name "go-github-com-btcsuite-btclog")
1955 (version (git-version "0.0.3" revision commit))
1960 (url "https://github.com/btcsuite/btclog.git")
1962 (file-name (git-file-name name version))
1965 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
1966 (build-system go-build-system)
1968 '(#:import-path "github.com/btcsuite/btclog"))
1969 (home-page "https://github.com/btcsuite/btclog")
1970 (synopsis "Subsystem aware logger for Go")
1971 (description "Package @command{btclog} defines a logger interface and
1972 provides a default implementation of a subsystem-aware leveled logger
1973 implementing the same interface.")
1974 (license license:isc))))
1976 (define-public go-github-com-btcsuite-btcd-btcec
1977 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
1980 (name "go-github-com-btcsuite-btcd-btcec")
1981 (version (git-version "0.12.0-beta" revision commit))
1986 (url "https://github.com/btcsuite/btcd.git")
1988 (file-name (git-file-name name version))
1991 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
1992 (build-system go-build-system)
1994 '(#:unpack-path "github.com/btcsuite/btcd"
1995 #:import-path "github.com/btcsuite/btcd/btcec"))
1997 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
1998 (home-page "https://github.com/btcsuite/btcd")
1999 (synopsis "Elliptic curve cryptography to work with Bitcoin")
2000 (description "Package @command{btcec} implements elliptic curve
2001 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
2002 designed so that it may be used with the standard crypto/ecdsa packages
2003 provided with Go. A comprehensive suite of test is provided to ensure proper
2004 functionality. Package @command{btcec} was originally based on work from
2005 ThePiachu which is licensed under the same terms as Go, but it has
2006 significantly diverged since then. The @command{btcsuite} developers original
2007 is licensed under the liberal ISC license.
2009 Although this package was primarily written for btcd, it has intentionally
2010 been designed so it can be used as a standalone package for any projects
2011 needing to use secp256k1 elliptic curve cryptography.")
2012 (license license:isc))))
2014 (define-public go-github-com-minio-sha256-simd
2016 (name "go-github-com-minio-sha256-simd")
2022 (url "https://github.com/minio/sha256-simd.git")
2023 (commit (string-append "v" version))))
2024 (file-name (git-file-name name version))
2027 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
2028 (build-system go-build-system)
2030 '(#:import-path "github.com/minio/sha256-simd"))
2031 (home-page "https://github.com/minio/sha256-simd")
2032 (synopsis "Accelerate SHA256 computations in pure Go")
2033 (description "Accelerate SHA256 computations in pure Go using AVX512 and
2034 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
2035 improvement (over 3 GB/s per core) in comparison to AVX2.
2037 This package is designed as a replacement for @command{crypto/sha256}. For
2038 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
2039 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
2040 of the SHA2 instructions resulting in a massive performance improvement.
2042 This package uses Golang assembly. The AVX512 version is based on the Intel's
2043 \"multi-buffer crypto library for IPSec\" whereas the other Intel
2044 implementations are described in \"Fast SHA-256 Implementations on Intel
2045 Architecture Processors\" by J. Guilford et al.")
2046 (license license:asl2.0)))
2048 (define-public go-github-com-libp2p-go-libp2p-crypto
2049 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
2052 (name "go-github-com-libp2p-go-libp2p-crypto")
2053 (version (git-version "2.0.1" revision commit))
2058 (url "https://github.com/libp2p/go-libp2p-crypto.git")
2060 (file-name (git-file-name name version))
2063 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
2064 (build-system go-build-system)
2066 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
2068 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2069 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2070 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2071 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
2073 "https://github.com/libp2p/go-libp2p-crypto")
2074 (synopsis "Various cryptographic utilities used by IPFS")
2075 (description "Various cryptographic utilities used by IPFS")
2076 (license license:expat))))
2078 (define-public go-github-com-mr-tron-base58
2079 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
2082 (name "go-github-com-mr-tron-base58")
2083 (version (git-version "1.1.0" revision commit))
2088 (url "https://github.com/mr-tron/base58.git")
2090 (file-name (git-file-name name version))
2093 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
2094 (build-system go-build-system)
2096 `(#:unpack-path "github.com/mr-tron/base58"
2097 #:import-path "github.com/mr-tron/base58/base58"))
2098 (home-page "https://github.com/mr-tron/base58")
2099 (synopsis "Fast implementation of base58 encoding on Golang")
2100 (description "Fast implementation of base58 encoding on Golang. A
2101 trivial @command{big.Int} encoding benchmark results in 6 times faster
2102 encoding and 8 times faster decoding.")
2103 (license license:expat))))
2105 (define-public go-github-com-gxed-hashland-keccakpg
2106 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
2109 (name "go-github-com-gxed-hashland-keccakpg")
2110 (version (git-version "0.0.0" revision commit))
2115 (url "https://github.com/gxed/hashland.git")
2117 (file-name (git-file-name name version))
2120 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
2121 (build-system go-build-system)
2123 '(#:unpack-path "github.com/gxed/hashland"
2124 #:import-path "github.com/gxed/hashland/keccakpg"))
2125 (home-page "https://github.com/gxed/hashland")
2126 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
2127 (description "Package @command{keccak} implements the Keccak (SHA-3)
2128 hash algorithm. See http://keccak.noekeon.org.")
2129 (license license:expat))))
2131 (define-public go-github-com-minio-blake2b-simd
2132 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
2135 (name "go-github-com-minio-blake2b-simd")
2136 (version (git-version "0.0.0" revision commit))
2141 (url "https://github.com/minio/blake2b-simd.git")
2143 (file-name (git-file-name name version))
2146 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
2147 (build-system go-build-system)
2149 '(#:import-path "github.com/minio/blake2b-simd"))
2150 (home-page "https://github.com/minio/blake2b-simd")
2151 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
2152 (description "This package was initially based on the pure go BLAKE2b
2153 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
2154 optimized BLAKE2 implementation (which in turn is based on the official
2155 implementation. It does so by using Go's Assembler for amd64 architectures
2156 with a golang only fallback for other architectures.
2158 In addition to AVX there is also support for AVX2 as well as SSE. Best
2159 performance is obtained with AVX2 which gives roughly a 4X performance
2160 increase approaching hashing speeds of 1GB/sec on a single core.")
2161 (license license:asl2.0))))
2163 (define-public go-github-com-spaolacci-murmur3
2165 (name "go-github-com-spaolacci-murmur3")
2171 (url "https://github.com/spaolacci/murmur3.git")
2172 (commit (string-append "v" version))))
2173 (file-name (git-file-name name version))
2176 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
2177 (build-system go-build-system)
2179 '(#:import-path "github.com/spaolacci/murmur3"))
2180 (home-page "https://github.com/spaolacci/murmur3")
2181 (synopsis "Native MurmurHash3 Go implementation")
2182 (description "Native Go implementation of Austin Appleby's third MurmurHash
2183 revision (aka MurmurHash3).
2185 Reference algorithm has been slightly hacked as to support the streaming mode
2186 required by Go's standard Hash interface.")
2187 (license license:bsd-3)))
2189 (define-public go-github-com-calmh-murmur3
2190 (let ((commit "74e9af8f47ac56901c490d45546ca167b60c7066")
2193 (name "go-github-com-calmh-murmur3")
2194 (version (git-version "1.1.0" revision commit))
2199 (url "https://github.com/calmh/murmur3.git")
2201 (file-name (git-file-name name version))
2204 "0k8345ivx228qdbkl8bisd2wxwsinkb44ghba6r09538fr3fbr5w"))))
2205 (build-system go-build-system)
2207 '(#:import-path "github.com/calmh/murmur3"))
2208 (home-page "https://github.com/calmh/murmur3")
2209 (synopsis "Native MurmurHash3 Go implementation")
2210 (description "Native Go implementation of Austin Appleby's third
2211 MurmurHash revision (aka MurmurHash3).
2213 Reference algorithm has been slightly hacked as to support the streaming mode
2214 required by Go's standard Hash interface.")
2215 (license license:bsd-3))))
2217 (define-public go-github-com-multiformats-go-multihash
2218 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
2221 (name "go-github-com-multiformats-go-multihash")
2222 (version (git-version "1.0.8" revision commit))
2227 (url "https://github.com/multiformats/go-multihash.git")
2229 (file-name (git-file-name name version))
2232 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
2233 (build-system go-build-system)
2235 '(#:import-path "github.com/multiformats/go-multihash"))
2237 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2238 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2239 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2240 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2241 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2242 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2243 (home-page "https://github.com/multiformats/go-multihash")
2244 (synopsis "Multihash implementation in Go")
2245 (description "Multihash implementation in Go.")
2246 (license license:expat))))
2248 (define-public go-github-com-libp2p-go-libp2p-peer
2249 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
2252 (name "go-github-com-libp2p-go-libp2p-peer")
2253 (version (git-version "2.3.8" revision commit))
2258 (url "https://github.com/libp2p/go-libp2p-peer.git")
2260 (file-name (git-file-name name version))
2263 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
2264 (build-system go-build-system)
2266 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
2268 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2269 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2270 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2271 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2272 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2273 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2274 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2275 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2276 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2277 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2278 (home-page "https://github.com/libp2p/go-libp2p-peer")
2279 (synopsis "PKI based identities for use in go-libp2p")
2280 (description "PKI based identities for use in @command{go-libp2p}.")
2281 (license license:expat))))
2283 (define-public go-github-com-libp2p-go-libp2p-protocol
2284 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
2287 (name "go-github-com-libp2p-go-libp2p-protocol")
2288 (version (git-version "1.0.0" revision commit))
2293 (url "https://github.com/libp2p/go-libp2p-protocol.git")
2295 (file-name (git-file-name name version))
2298 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
2299 (build-system go-build-system)
2302 "github.com/libp2p/go-libp2p-protocol"))
2303 (home-page "https://github.com/libp2p/go-libp2p-protocol")
2304 (synopsis "Type for protocol strings in Golang")
2305 (description "Just a type for protocol strings. Nothing more.")
2306 (license license:expat))))
2308 (define-public go-github-com-libp2p-go-libp2p-metrics
2309 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
2312 (name "go-github-com-libp2p-go-libp2p-metrics")
2313 (version (git-version "2.1.6" revision commit))
2318 (url "https://github.com/libp2p/go-libp2p-metrics.git")
2320 (file-name (git-file-name name version))
2323 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
2324 (build-system go-build-system)
2326 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
2328 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
2329 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
2330 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
2331 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2332 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2333 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2334 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2335 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2336 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2337 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2338 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2339 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2340 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2341 (home-page "https://github.com/libp2p/go-libp2p-metrics")
2342 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
2343 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
2344 statistics for wrapped connections.")
2345 (license license:expat))))
2347 (define-public go-github-com-mitchellh-go-homedir
2348 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
2351 (name "go-github-com-mitchellh-go-homedir")
2352 (version (git-version "1.0.0" revision commit))
2357 (url "https://github.com/mitchellh/go-homedir.git")
2359 (file-name (git-file-name name version))
2362 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
2363 (build-system go-build-system)
2365 (quote (#:import-path "github.com/mitchellh/go-homedir"
2366 ;; TODO: Tests fail because it tries to access home.
2368 (home-page "https://github.com/mitchellh/go-homedir")
2369 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
2370 (description "This is a Go library for detecting the user's home
2371 directory without the use of @command{cgo}, so the library can be used in
2372 cross-compilation environments.
2374 Usage is simple, just call homedir.Dir() to get the home directory for a user,
2375 and homedir.Expand() to expand the @command{~} in a path to the home
2378 Why not just use @command{os/user}? The built-in @command{os/user} package
2379 requires cgo on Darwin systems. This means that any Go code that uses that
2380 package cannot cross compile. But 99% of the time the use for
2381 @command{os/user} is just to retrieve the home directory, which we can do for
2382 the current user without cgo. This library does that, enabling
2383 cross-compilation.")
2384 (license license:expat))))
2386 (define-public go-github-com-multiformats-go-multiaddr
2387 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
2390 (name "go-github-com-multiformats-go-multiaddr")
2391 (version (git-version "1.3.0" revision commit))
2396 (url "https://github.com/multiformats/go-multiaddr.git")
2398 (file-name (git-file-name name version))
2401 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
2402 (build-system go-build-system)
2405 "github.com/multiformats/go-multiaddr"))
2407 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2408 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2409 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2410 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2411 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2412 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2413 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2414 (home-page "https://github.com/multiformats/go-multiaddr")
2415 (synopsis "Composable and future-proof network addresses")
2416 (description "Multiaddr is a standard way to represent addresses that
2420 @item Support any standard network protocols.
2421 @item Self-describe (include protocols).
2422 @item Have a binary packed format.
2423 @item Have a nice string representation.
2424 @item Encapsulate well.
2426 (license license:expat))))
2428 (define-public go-github-com-multiformats-go-multiaddr-net
2429 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
2432 (name "go-github-com-multiformats-go-multiaddr-net")
2433 (version (git-version "1.6.3" revision commit))
2438 (url "https://github.com/multiformats/go-multiaddr-net.git")
2440 (file-name (git-file-name name version))
2443 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
2444 (build-system go-build-system)
2446 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
2447 ;; TODO: Tests fail because they try to access the network.
2450 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
2451 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2452 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2453 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2454 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2455 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2456 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2457 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2458 (home-page "https://github.com/multiformats/go-multiaddr-net")
2459 (synopsis "Multiaddress net tools")
2460 (description "This package provides Multiaddr specific versions of
2461 common functions in stdlib's @command{net} package. This means wrappers of
2462 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
2463 as conversion to and from @command{net.Addr}.")
2464 (license license:expat))))
2466 (define-public go-github-com-whyrusleeping-tar-utils
2467 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
2470 (name "go-github-com-whyrusleeping-tar-utils")
2471 (version (git-version "0.0.0" revision commit))
2476 (url "https://github.com/whyrusleeping/tar-utils.git")
2478 (file-name (git-file-name name version))
2481 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
2482 (build-system go-build-system)
2485 "github.com/whyrusleeping/tar-utils"))
2486 (home-page "https://github.com/whyrusleeping/tar-utils")
2487 (synopsis "Tar utilities extracted from go-ipfs codebase")
2488 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
2489 (license license:expat))))
2491 (define-public go-github-com-cheekybits-is
2492 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
2495 (name "go-github-com-cheekybits-is")
2496 (version (git-version "0.0.0" revision commit))
2501 (url "https://github.com/cheekybits/is.git")
2503 (file-name (git-file-name name version))
2506 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
2507 (build-system go-build-system)
2509 '(#:import-path "github.com/cheekybits/is"))
2510 (home-page "https://github.com/cheekybits/is")
2511 (synopsis "Mini testing helper for Go")
2512 (description "A mini testing helper for Go.
2515 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
2516 @item It plugs into existing Go toolchain (uses @command{testing.T}).
2517 @item It's obvious for newcomers.
2518 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
2519 - because testing panics is ugly.
2521 (license license:expat))))
2523 (define-public go-github-com-sabhiram-go-gitignore
2524 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
2527 (name "go-github-com-sabhiram-go-gitignore")
2528 (version (git-version "1.0.2" revision commit))
2533 (url "https://github.com/sabhiram/go-gitignore.git")
2535 (file-name (git-file-name name version))
2538 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
2539 (build-system go-build-system)
2542 "github.com/sabhiram/go-gitignore"))
2544 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2545 (home-page "https://github.com/sabhiram/go-gitignore")
2546 (synopsis "Gitignore parser for Go")
2547 (description "A @command{.gitignore} parser for Go.")
2548 (license license:expat))))
2550 (define-public go-github-com-urfave-cli
2552 (name "go-github-com-urfave-cli")
2558 (url "https://github.com/urfave/cli.git")
2559 (commit (string-append "v" version))))
2560 (file-name (git-file-name name version))
2563 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
2564 (build-system go-build-system)
2566 '(#:import-path "github.com/urfave/cli"))
2568 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
2569 (home-page "https://github.com/urfave/cli")
2570 (synopsis "Simple, fast, and fun package for building command line apps in Go")
2571 (description "@command{cli} is a simple, fast, and fun package for
2572 building command line apps in Go. The goal is to enable developers to write
2573 fast and distributable command line applications in an expressive way.")
2574 (license license:expat)))
2576 (define-public go-github-com-go-md2man
2578 (name "go-github-com-go-md2man")
2584 (url "https://github.com/cpuguy83/go-md2man")
2585 (commit (string-append "v" version))))
2586 (file-name (git-file-name name version))
2589 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
2590 (modules '((guix build utils)))
2592 (delete-file-recursively "vendor")
2594 (build-system go-build-system)
2596 '(#:import-path "github.com/cpuguy83/go-md2man"))
2598 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
2599 (home-page "https://github.com/cpuguy83/go-md2man")
2600 (synopsis "Convert markdown into roff")
2601 (description "Go-md2man is a Go program that converts markdown to roff for
2602 the purpose of building man pages.")
2603 (license license:expat)))
2605 (define-public go-github-com-russross-blackfriday
2607 (name "go-github-com-russross-blackfriday")
2613 (url "https://github.com/russross/blackfriday")
2614 (commit (string-append "v" version))))
2615 (file-name (git-file-name name version))
2618 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
2619 (build-system go-build-system)
2621 '(#:import-path "github.com/russross/blackfriday"))
2623 `(("go-github-com-shurcool-sanitized-anchor-name"
2624 ,go-github-com-shurcool-sanitized-anchor-name)))
2626 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
2627 (home-page "https://github.com/russross/blackfriday")
2628 (synopsis "Markdown processor in Go")
2629 (description "Blackfriday is a Markdown processor in Go.")
2630 (license license:bsd-2)))
2632 (define-public go-github-com-shurcool-sanitized-anchor-name
2634 (name "go-github-com-shurcool-sanitized-anchor-name")
2640 (url "https://github.com/shurcooL/sanitized_anchor_name")
2641 (commit (string-append "v" version))))
2642 (file-name (git-file-name name version))
2645 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
2646 (build-system go-build-system)
2648 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
2649 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
2650 (synopsis "Create sanitized anchor names")
2651 (description "This package provides a Go program for creating sanitized
2653 (license license:expat)))
2655 (define-public go-github-com-pmezard-go-difflib
2657 (name "go-github-com-pmezard-go-difflib")
2662 (url "https://github.com/pmezard/go-difflib")
2663 (commit (string-append "v" version))))
2664 (file-name (git-file-name name version))
2667 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
2668 (build-system go-build-system)
2670 '(#:import-path "github.com/pmezard/go-difflib/difflib"
2671 #:unpack-path "github.com/pmezard/go-difflib/"))
2672 (home-page "https://github.com/pmezard/go-difflib")
2673 (synopsis "Go diff implementation")
2674 (description "This package provides unified and context-aware diffs in Go.")
2675 (license license:bsd-3)))
2677 (define-public go-github-com-whyrusleeping-json-filter
2678 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
2681 (name "go-github-com-whyrusleeping-json-filter")
2682 (version (git-version "0.0.0" revision commit))
2687 (url "https://github.com/whyrusleeping/json-filter.git")
2689 (file-name (git-file-name name version))
2692 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
2693 (build-system go-build-system)
2696 "github.com/whyrusleeping/json-filter"))
2697 (home-page "https://github.com/whyrusleeping/json-filter")
2698 (synopsis "Library to query JSON objects marshalled into map[string]interface")
2699 (description "A library to query JSON objects marshalled into
2700 @command{map[string]interface{}}.")
2701 (license license:expat))))
2703 (define-public go-github-com-whyrusleeping-progmeter
2704 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
2707 (name "go-github-com-whyrusleeping-progmeter")
2708 (version (git-version "0.0.0" revision commit))
2713 (url "https://github.com/whyrusleeping/progmeter.git")
2715 (file-name (git-file-name name version))
2718 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
2719 (build-system go-build-system)
2722 "github.com/whyrusleeping/progmeter"))
2723 (home-page "https://github.com/whyrusleeping/progmeter")
2724 (synopsis "Progress meter for Go")
2725 (description "Progress meter for Go.")
2726 (license license:expat))))
2728 (define-public go-github-com-whyrusleeping-stump
2729 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
2732 (name "go-github-com-whyrusleeping-stump")
2733 (version (git-version "0.0.0" revision commit))
2738 (url "https://github.com/whyrusleeping/stump.git")
2740 (file-name (git-file-name name version))
2743 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
2744 (build-system go-build-system)
2746 '(#:import-path "github.com/whyrusleeping/stump"))
2747 (home-page "https://github.com/whyrusleeping/stump")
2748 (synopsis "Very basic logging package for Go")
2749 (description "A simple log library, for when you don't really care to
2750 have super fancy logs.")
2751 (license license:expat))))
2753 (define-public go-github-com-kr-fs
2754 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
2757 (name "go-github-com-kr-fs")
2758 (version (git-version "0.1.0" revision commit))
2763 (url "https://github.com/kr/fs.git")
2765 (file-name (git-file-name name version))
2768 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
2769 (build-system go-build-system)
2771 '(#:import-path "github.com/kr/fs"))
2772 (home-page "https://github.com/kr/fs")
2773 (synopsis "File-system-related functions for Go")
2775 "The fs package provides file-system-related Go functions.")
2776 (license license:bsd-3))))
2778 (define-public go-github-com-direnv-go-dotenv
2779 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
2782 (name "go-github-com-direnv-go-dotenv")
2783 (version (git-version "0.0.0" revision commit))
2788 (url "https://github.com/direnv/go-dotenv")
2790 (file-name (git-file-name name version))
2793 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
2794 (build-system go-build-system)
2796 '(#:import-path "github.com/direnv/go-dotenv"))
2797 (home-page "https://github.com/direnv/go-dotenv")
2798 (synopsis "Go dotenv parsing library")
2799 (description "This package provides a library for parsing the dotenv
2801 (license license:expat))))
2803 (define-public go-github-com-kr-pretty
2805 (name "go-github-com-kr-pretty")
2810 (url "https://github.com/kr/pretty.git")
2811 (commit (string-append "v" version))))
2812 (file-name (git-file-name name version))
2815 "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp"))))
2816 (build-system go-build-system)
2818 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
2820 '(#:import-path "github.com/kr/pretty"))
2821 (synopsis "A pretty printer for Go values")
2822 (description "This package provides a pretty printer for Go values.")
2823 (home-page "https://github.com/kr/pretty")
2824 (license license:expat)))
2826 (define-public go-github-com-kr-text
2828 (name "go-github-com-kr-text")
2833 (url "https://github.com/kr/text.git")
2834 (commit (string-append "v" version))))
2835 (file-name (git-file-name name version))
2838 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
2839 (build-system go-build-system)
2841 '(#:import-path "github.com/kr/text"))
2842 (synopsis "Text formatting in Go")
2843 (description "This package provides a text formatting functions in Go.")
2844 (home-page "https://github.com/kr/text")
2845 (license license:expat)))
2847 (define-public go-golang-org-sql-mock
2848 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
2852 (name "go-golang-org-sql-mock")
2853 (version (git-version version revision commit))
2857 (url "https://github.com/DATA-DOG/go-sqlmock")
2859 (file-name (git-file-name name version))
2862 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
2863 (build-system go-build-system)
2865 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
2866 (synopsis "Mock library implementing @code{sql/driver}")
2867 (description "This library simulates SQL-driver behavior in tests
2868 without requiring a real database connection.")
2869 (home-page "https://github.com/DATA-DOG/go-sqlmock")
2870 (license license:expat))))
2872 (define-public go-golang-org-colorful
2874 (name "go-golang-org-colorful")
2879 (url "https://github.com/lucasb-eyer/go-colorful")
2880 (commit (string-append "v" version))))
2881 (file-name (git-file-name name version))
2884 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
2885 (build-system go-build-system)
2887 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
2889 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
2890 (synopsis "Convert between colorspaces and generate colors")
2891 (description "This package implements Go's @code{color.Color} interface
2892 and provides a means of converting colors stored as RGB to various
2894 (home-page "https://github.com/lucasb-eyer/go-colorful")
2895 (license license:expat)))
2897 (define-public go-github-com-gdamore-encoding
2899 (name "go-github-com-gdamore-encoding")
2905 (url "https://github.com/gdamore/encoding")
2906 (commit (string-append "v" version))))
2907 (file-name (git-file-name name version))
2910 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
2911 (build-system go-build-system)
2913 '(#:import-path "github.com/gdamore/encoding"))
2915 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
2916 (home-page "https://github.com/gdamore/encoding")
2917 (synopsis "Provide encodings missing from Go")
2918 (description "This package provides useful encodings not included in the
2919 standard @code{Text} package, including some for dealing with I/O streams from
2920 non-UTF-friendly sources.")
2921 (license license:expat)))
2923 (define-public go-github-com-gdamore-tcell
2924 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
2928 (name "go-github-com-gdamore-tcell")
2929 (version (git-version version revision commit))
2934 (url "https://github.com/gdamore/tcell")
2936 (file-name (git-file-name name version))
2939 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
2940 (build-system go-build-system)
2942 `(#:import-path "github.com/gdamore/tcell"
2944 (modify-phases %standard-phases
2945 (add-before 'reset-gzip-timestamps 'make-files-writable
2946 (lambda* (#:key outputs #:allow-other-keys)
2947 ;; Make sure .gz files are writable so that the
2948 ;; 'reset-gzip-timestamps' phase can do its work.
2949 (let ((out (assoc-ref outputs "out")))
2950 (for-each make-file-writable
2951 (find-files out "\\.gz$"))
2954 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
2955 ("go-golang-org-colorful" ,go-golang-org-colorful)
2956 ("go-golang-org-x-text" ,go-golang-org-x-text)
2957 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
2958 (home-page "https://github.com/gdamore/tcell")
2959 (synopsis "Provide a cell-based view for text terminals")
2960 (description "This package includes a full parser and expander for
2961 terminfo capability strings to avoid hard-coding escape strings for
2962 formatting. It also favors portability, and includes support for all POSIX
2964 (license license:expat))))
2966 (define-public go-github-com-mattn-go-shellwords
2967 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
2971 (name "go-github-com-mattn-go-shellwords")
2972 (version (git-version version revision commit))
2977 (url "https://github.com/mattn/go-shellwords")
2979 (file-name (git-file-name name version))
2982 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
2983 (build-system go-build-system)
2985 `(#:import-path "github.com/mattn/go-shellwords"
2986 ;; TODO: can't make homeless-shelter:
2987 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
2988 ;; initialization failure: mkdir /homeless-shelter: permission denied
2990 ;; This doesn't seem to work:
2993 ;; (modify-phases %standard-phases
2995 ;; (lambda* (#:key import-path #:allow-other-keys)
2996 ;; (setenv "HOME" "/tmp")
2997 ;; (invoke "go" "test" import-path))))
2999 ;; TODO: There are also a couple of tests that have stymied Debian in
3000 ;; the past. They seem to work when run locally.
3004 (home-page "https://github.com/mattn/go-shellwords")
3005 (synopsis "Parse lines into shell words")
3006 (description "This package parses text into shell arguments. Based on
3007 the @code{cpan} module @code{Parse::CommandLine}.")
3008 (license license:expat))))
3010 (define-public go-github-com-burntsushi-locker
3011 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
3014 (name "go-github-com-burntsushi-locker")
3015 (version (git-version "0.0.0" revision commit))
3020 (url "https://github.com/BurntSushi/locker")
3022 (file-name (git-file-name name version))
3025 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
3026 (build-system go-build-system)
3028 '(#:import-path "github.com/BurntSushi/locker"))
3029 (home-page "https://github.com/BurntSushi/locker")
3030 (synopsis "Manage named ReadWrite mutexes in Go")
3031 (description "Golang package for conveniently using named read/write
3032 locks. These appear to be especially useful for synchronizing access to
3033 session based information in web applications.
3035 The common use case is to use the package level functions, which use a package
3036 level set of locks (safe to use from multiple goroutines
3037 simultaneously). However, you may also create a new separate set of locks
3040 All locks are implemented with read-write mutexes. To use them like a regular
3041 mutex, simply ignore the RLock/RUnlock functions.")
3042 (license license:unlicense))))
3044 (define-public go-github-com-marten-seemann-qtls
3046 (name "go-github-com-marten-seemann-qtls")
3051 (url "https://github.com/marten-seemann/qtls")
3052 (commit (string-append "v" version))))
3053 (file-name (git-file-name name version))
3056 "1mdymj66qrqy80pfkwy9s9z9ifkg251whngw5lim09zm90wv2q7a"))))
3057 (build-system go-build-system)
3059 '(#:import-path "github.com/marten-seemann/qtls"
3060 ;; The test suite requires networking.
3063 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3064 (synopsis "TLS 1.3 with QUIC in Go")
3065 (description "This package provides @code{qtls}, a QUIC-capable variant of
3066 the Go standard library's TLS 1.3 implementation.")
3067 (home-page "https://github.com/marten-seemann/qtls")
3068 (license license:bsd-3)))
3070 (define-public go-github-com-cheekybits-genny
3072 (name "go-github-com-cheekybits-genny")
3077 (url "https://github.com/cheekybits/genny")
3078 (commit (string-append "v" version))))
3079 (file-name (git-file-name name version))
3082 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
3083 (build-system go-build-system)
3085 '(#:import-path "github.com/cheekybits/genny"))
3087 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
3088 (synopsis "Generics for Go")
3089 (description "This package provides @code{genny}, a Go language
3090 implementation of generics.")
3091 (home-page "https://github.com/cheekybits/genny/")
3092 (license license:expat)))
3094 (define-public go-github-com-lucas-clemente-quic-go
3096 (name "go-github-com-lucas-clemente-quic-go")
3101 (url "https://github.com/lucas-clemente/quic-go")
3102 (commit (string-append "v" version))))
3103 (file-name (git-file-name name version))
3106 "156nhq4dvw7mr08j952248v81q7702phbn4mp228319sahnbv65h"))))
3107 (build-system go-build-system)
3109 '(#:import-path "github.com/lucas-clemente/quic-go"
3110 ;; XXX More packages required...
3113 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3114 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
3115 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
3116 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
3117 (synopsis "QUIC in Go")
3118 (description "This package provides a Go language implementation of the QUIC
3120 (home-page "https://github.com/lucas-clemente/quic-go")
3121 (license license:expat)))
3123 (define-public go-github-com-pkg-errors
3125 (name "go-github-com-pkg-errors")
3130 (url "https://github.com/pkg/errors.git")
3131 (commit (string-append "v" version))))
3132 (file-name (git-file-name name version))
3135 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
3136 (build-system go-build-system)
3138 `(#:import-path "github.com/pkg/errors"))
3139 (synopsis "Go error handling primitives")
3140 (description "This package provides @code{error}, which offers simple
3141 error handling primitives in Go.")
3142 (home-page "https://github.com/pkg/errors")
3143 (license license:bsd-2)))
3145 (define-public go-github-com-maruel-panicparse
3147 (name "go-github-com-maruel-panicparse")
3152 (url "https://github.com/maruel/panicparse")
3153 (commit (string-append "v" version))))
3154 (file-name (git-file-name name version))
3157 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
3158 (build-system go-build-system)
3160 '(#:import-path "github.com/maruel/panicparse"))
3161 (synopsis "Toolkit for parsing Go stack traces")
3162 (description "This package provides a toolkit for parsing Go language panic
3163 stack traces. It simplifies the traces to make salient information more visible
3164 and aid debugging.")
3165 (home-page "https://github.com/maruel/panicparse")
3166 (license license:asl2.0)))
3168 (define-public go-github-com-robfig-cron
3170 (name "go-github-com-robfig-cron")
3176 (url "https://github.com/robfig/cron")
3177 (commit (string-append "v" version))))
3178 (file-name (git-file-name name version))
3181 "0bvq5gxkhyj21lq32nma23i4dpwp7bswnp2yks6372ilkcyisx2z"))))
3182 (build-system go-build-system)
3184 `(#:import-path "github.com/robfig/cron"))
3185 (home-page "https://godoc.org/github.com/robfig/cron")
3186 (synopsis "Cron library for Go")
3187 (description "This package provides a cron library for Go. It implements
3188 a cron spec parser and job runner.")
3189 (license license:expat)))
3191 (define-public go-github-com-shirou-gopsutil
3192 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
3195 (name "go-github-com-shirou-gopsutil")
3196 (version (git-version "v2.19.7" revision commit))
3200 (url "https://github.com/shirou/gopsutil")
3201 (commit commit))) ; XXX
3202 (file-name (git-file-name name version))
3205 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
3206 (build-system go-build-system)
3208 '(#:import-path "github.com/shirou/gopsutil"))
3209 (synopsis "Process and system monitoring in Go")
3210 (description "This package provides a library for retrieving information
3211 on running processes and system utilization (CPU, memory, disks, network,
3213 (home-page "https://github.com/shirou/gopsutil")
3214 (license license:bsd-3))))
3216 (define-public go-github-com-fatih-color
3218 (name "go-github-com-fatih-color")
3223 (url "https://github.com/fatih/color.git")
3224 (commit (string-append "v" version))))
3225 (file-name (git-file-name name version))
3228 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
3229 (build-system go-build-system)
3231 '(#:import-path "github.com/fatih/color"))
3232 (synopsis "Print colored text in Go")
3233 (description "This package provides an ANSI color package to output
3234 colorized or SGR defined output to the standard output.")
3235 (home-page "https://godoc.org/github.com/fatih/color")
3236 (license license:expat)))
3238 (define-public go-github-com-google-go-cmp-cmp
3240 (name "go-github-com-google-go-cmp-cmp")
3245 (url "https://github.com/google/go-cmp.git")
3246 (commit (string-append "v" version))))
3247 (file-name (git-file-name name version))
3250 "1caw49i0plkjxir7kdf5qhwls3krqwfmi7g4h392rdfwi3kfahx1"))))
3251 (build-system go-build-system)
3253 '(#:import-path "github.com/google/go-cmp/cmp"
3254 #:unpack-path "github.com/google/go-cmp"))
3255 (synopsis "Determine equality of values in Go")
3256 (description "This package provides a more powerful and safer
3257 alternative to @code{reflect.DeepEqual} for comparing whether two values
3258 are semantically equal in Go (for writing tests).")
3259 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
3260 (license license:asl2.0)))
3262 (define-public go-golang.org-x-sync-errgroup
3263 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
3266 (name "go-golang.org-x-sync-errgroup")
3267 (version (git-version "0.0.0" revision commit))
3271 (url "https://go.googlesource.com/sync")
3273 (file-name (git-file-name name version))
3276 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
3277 (build-system go-build-system)
3279 '(#:import-path "golang.org/x/sync/errgroup"
3280 #:unpack-path "golang.org/x/sync"))
3281 (synopsis "Synchronization, error propagation, and Context cancellation
3282 for groups of goroutines working on subtasks of a common task.")
3283 (description "This package provides synchronization, error propagation,
3284 and Context cancelation for groups of goroutines working on subtasks of a
3286 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
3287 (license license:bsd-3))))
3289 (define (go-gotest-tools-source version sha256-base32-hash)
3293 (url "https://github.com/gotestyourself/gotest.tools.git")
3294 (commit (string-append "v" version))))
3295 (file-name (git-file-name "go-gotest-tools" version))
3297 (base32 sha256-base32-hash))))
3299 ;; Note that version 3.0.0 is incompatible to 2.3.0.
3300 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
3301 (define (go-gotest-tools-package suffix)
3303 (name (string-append "go-gotest-tools-"
3304 (string-replace-substring suffix "/" "-")))
3307 (go-gotest-tools-source version
3308 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
3309 (build-system go-build-system)
3311 `(#:import-path ,(string-append "gotest.tools/" suffix)
3312 #:unpack-path "gotest.tools"))
3313 (synopsis "@code{gotest-tools} part")
3314 (description "This package provides a part of @code{gotest-tools}.")
3315 (home-page "https://github.com/gotestyourself/gotest.tools")
3316 (license license:asl2.0)))
3318 (define-public go-gotest-tools-internal-format
3319 (package (inherit (go-gotest-tools-package "internal/format"))
3321 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
3322 ("go-github-com-google-go-cmp-cmp"
3323 ,go-github-com-google-go-cmp-cmp)))
3324 (synopsis "Formats messages for use with gotest-tools")
3325 (description "This package provides a way to format messages for use
3326 with gotest-tools.")))
3328 (define-public go-gotest-tools-internal-difflib
3329 (package (inherit (go-gotest-tools-package "internal/difflib"))
3330 (synopsis "Differences for use with gotest-tools")
3331 (description "This package computes differences for use
3332 with gotest-tools.")))
3334 (define-public go-gotest-tools-internal-source
3335 (package (inherit (go-gotest-tools-package "internal/source"))
3337 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
3338 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
3339 (synopsis "Source code AST formatters for gotest-tools")
3340 (description "This package provides source code AST formatters for
3343 (define-public go-gotest-tools-assert
3344 (package (inherit (go-gotest-tools-package "assert"))
3345 (name "go-gotest-tools-assert")
3347 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
3348 #:import-path "gotest.tools/assert"
3349 #:unpack-path "gotest.tools"))
3351 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
3353 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
3354 ("go-github-com-google-go-cmp-cmp"
3355 ,go-github-com-google-go-cmp-cmp)))
3356 (synopsis "Compare values and fail a test when a comparison fails")
3357 (description "This package provides a way to compare values and fail a
3358 test when a comparison fails.")
3359 (home-page "https://github.com/gotestyourself/gotest.tools")
3360 (license license:asl2.0)))
3362 (define-public gotestsum
3369 (url "https://github.com/gotestyourself/gotestsum.git")
3370 (commit (string-append "v" version))))
3371 (file-name (git-file-name name version))
3374 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
3375 (build-system go-build-system)
3377 '(#:import-path "gotest.tools/gotestsum"))
3379 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
3380 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
3381 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
3382 ("go-github-com-sirupsen-logrus"
3383 ,go-github-com-sirupsen-logrus)
3384 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
3385 ("go-github-com-jonboulle-clockwork"
3386 ,go-github-com-jonboulle-clockwork)
3387 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3388 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
3389 ("go-github-com-google-go-cmp-cmp"
3390 ,go-github-com-google-go-cmp-cmp)
3391 ;; TODO: This would be better as a propagated-input of
3392 ;; go-gotest-tools-assert, but that does not work for
3394 ("go-gotest-tools-internal-format"
3395 ,go-gotest-tools-internal-format)
3396 ("go-gotest-tools-internal-difflib"
3397 ,go-gotest-tools-internal-difflib)
3398 ("go-gotest-tools-internal-source"
3399 ,go-gotest-tools-internal-source)
3400 ("go-github-com-google-go-cmp-cmp"
3401 ,go-github-com-google-go-cmp-cmp)))
3402 (synopsis "Go test runner with output optimized for humans")
3403 (description "This package provides a @code{go test} runner with output
3404 optimized for humans, JUnit XML for CI integration, and a summary of the
3406 (home-page "https://github.com/gotestyourself/gotestsum")
3407 (license license:asl2.0)))
3409 (define-public go-github-com-golang-protobuf-proto
3411 (name "go-github-com-golang-protobuf-proto")
3416 (url "https://github.com/golang/protobuf.git")
3417 (commit (string-append "v" version))))
3418 (file-name (git-file-name name version))
3421 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
3422 (build-system go-build-system)
3424 '(#:import-path "github.com/golang/protobuf/proto"
3425 #:unpack-path "github.com/golang/protobuf"
3426 ;; Requires unpackaged golang.org/x/sync/errgroup
3428 (synopsis "Go support for Protocol Buffers")
3429 (description "This package provides Go support for the Protocol Buffers
3430 data serialization format.")
3431 (home-page "https://github.com/golang/protobuf")
3432 (license license:bsd-3)))
3434 (define-public go-github-com-mattn-go-zglob
3436 (name "go-github-com-mattn-go-zglob")
3441 (url "https://github.com/mattn/go-zglob.git")
3442 (commit (string-append "v" version))))
3443 (file-name (git-file-name name version))
3446 "1sncdyq5fbd42al4amyy91h7vlzm3wm6c9vl8za2pjgfgsd581fz"))))
3447 (build-system go-build-system)
3449 `(#:import-path "github.com/mattn/go-zglob"))
3450 (home-page "https://github.com/mattn/go-zglob")
3451 (synopsis "Glob library that descends into other directories")
3452 (description " A glob library that implements descending into other
3453 directories. It is optimized for filewalking. ")
3454 (license license:expat)))
3456 (define-public go-github-com-willf-bitset
3458 (name "go-github-com-willf-bitset")
3463 (url "https://github.com/willf/bitset")
3464 (commit (string-append "v" version))))
3465 (file-name (git-file-name name version))
3468 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
3469 (build-system go-build-system)
3471 '(#:import-path "github.com/willf/bitset"))
3472 (synopsis "Bitsets in Go")
3473 (description "This package provides a Go implementation of bitsets, which
3474 are a mapping between non-negative integers and boolean values focused on
3475 efficient space usage.")
3476 (home-page "https://github.com/willf/bitset")
3477 (license license:bsd-3)))
3479 (define-public go-github-com-willf-bloom
3481 (name "go-github-com-willf-bloom")
3486 (url "https://github.com/willf/bloom")
3487 (commit (string-append "v" version))))
3488 (file-name (git-file-name name version))
3491 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
3492 (build-system go-build-system)
3494 '(#:import-path "github.com/willf/bloom"
3496 (modify-phases %standard-phases
3497 (add-after 'unpack 'patch-import-path
3499 ;; See 'go.mod' in the source distribution of Syncthing 1.4.1 for
3500 ;; more information.
3501 ;; <https://github.com/spaolacci/murmur3/issues/29>
3502 (substitute* "src/github.com/willf/bloom/bloom.go"
3503 (("spaolacci") "calmh"))
3506 `(("go-github-com-calmh-murmur3" ,go-github-com-calmh-murmur3)
3507 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
3508 (synopsis "Bloom filters in Go")
3509 (description "This package provides a Go implementation of bloom filters,
3510 based on murmurhash.")
3511 (home-page "https://github.com/willf/bloom")
3512 (license license:bsd-2)))
3514 (define-public go-golang-org-rainycape-unidecode
3515 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
3518 (name "go-golang-org-rainycape-unidecode")
3519 (version (git-version "0.0.0" revision commit))
3523 (url "https://github.com/rainycape/unidecode")
3525 (file-name (string-append "go-golang-org-rainycape-unidecode-"
3526 version "-checkout"))
3529 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
3530 (build-system go-build-system)
3532 `(#:import-path "golang.org/rainycape/unidecode"))
3533 (home-page "https://github.com/rainycape/unidecode")
3534 (synopsis "Unicode transliterator in Golang")
3535 (description "Unicode transliterator in Golang - Replaces non-ASCII
3536 characters with their ASCII approximations.")
3537 (license license:asl2.0))))
3539 (define-public go-github-com-golang-freetype
3540 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
3543 (name "go-github-com-golang-freetype")
3544 (version (git-version "0.0.0" revision commit))
3548 (url "https://github.com/golang/freetype")
3550 (file-name (string-append "go-github-com-golang-freetype-"
3551 version "-checkout"))
3554 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
3555 (build-system go-build-system)
3557 `(#:import-path "github.com/golang/freetype"))
3559 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
3560 (home-page "https://github.com/golang/freetype")
3561 (synopsis "Freetype font rasterizer in the Go programming language")
3562 (description "The Freetype font rasterizer in the Go programming language.")
3563 (license (list license:freetype
3566 (define-public go-github-com-fogleman-gg
3568 (name "go-github-com-fogleman-gg")
3573 (url "https://github.com/fogleman/gg")
3574 (commit (string-append "v" version))))
3575 (file-name (git-file-name name version))
3578 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
3579 (build-system go-build-system)
3581 `(#:tests? #f ; Issue with test flags.
3582 #:import-path "github.com/fogleman/gg"))
3584 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
3585 (home-page "https://github.com/fogleman/gg")
3586 (synopsis "2D rendering in Go")
3587 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
3588 (license license:expat)))
3590 (define-public go-github-com-gedex-inflector
3591 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
3594 (name "go-github-com-gedex-inflector")
3595 (version (git-version "0.0.0" revision commit))
3599 (url "https://github.com/gedex/inflector")
3601 (file-name (string-append "go-github-com-gedex-inflector-"
3602 version "-checkout"))
3605 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
3606 (build-system go-build-system)
3608 `(#:import-path "github.com/gedex/inflector"))
3609 (home-page "https://github.com/gedex/inflector")
3610 (synopsis "Go library that pluralizes and singularizes English nouns")
3611 (description "Go library that pluralizes and singularizes English nouns.")
3612 (license license:bsd-2))))
3614 (define-public go-github-com-klauspost-cpuid
3616 (name "go-github-com-klauspost-cpuid")
3621 (url "https://github.com/klauspost/cpuid")
3622 (commit (string-append "v" version))))
3623 (file-name (git-file-name name version))
3626 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
3627 (build-system go-build-system)
3629 `(#:import-path "github.com/klauspost/cpuid"))
3630 (home-page "https://github.com/klauspost/cpuid")
3631 (synopsis "CPU feature identification for Go")
3632 (description "@code{cpuid} provides information about the CPU running the
3633 current program. CPU features are detected on startup, and kept for fast access
3634 through the life of the application. Currently x86 / x64 (AMD64) is supported,
3635 and no external C (cgo) code is used, which should make the library very eas
3637 (license license:expat)))
3639 (define-public go-github-com-pbnjay-memory
3640 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
3643 (name "go-github-com-pbnjay-memory")
3644 (version (git-version "0.0.0" revision commit))
3648 (url "https://github.com/pbnjay/memory")
3650 (file-name (string-append "go-github-com-pbnjay-memory-"
3651 version "-checkout"))
3654 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
3655 (build-system go-build-system)
3657 `(#:import-path "github.com/pbnjay/memory"))
3658 (home-page "https://github.com/gedex/inflector")
3659 (synopsis "Go library to report total system memory")
3660 (description "@code{memory} provides a single method reporting total
3661 physical system memory accessible to the kernel. It does not account for memory
3662 used by other processes.")
3663 (license license:bsd-3))))
3665 (define-public go-github-com-surge-glog
3666 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
3669 (name "go-github-com-surge-glog")
3670 (version (git-version "0.0.0" revision commit))
3674 (url "https://github.com/surge/glog")
3676 (file-name (string-append "go-github-com-surge-glog-"
3677 version "-checkout"))
3680 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
3681 (build-system go-build-system)
3683 `(#:import-path "github.com/surge/glog"))
3684 (home-page "https://github.com/surge/glog")
3685 (synopsis "Leveled execution logs for Go")
3686 (description "Leveled execution logs for Go.")
3687 (license license:asl2.0))))
3689 (define-public go-github-com-surgebase-porter2
3690 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
3693 (name "go-github-com-surgebase-porter2")
3694 (version (git-version "0.0.0" revision commit))
3698 (url "https://github.com/surgebase/porter2")
3700 (file-name (string-append "go-github-com-surgebase-porter2-"
3701 version "-checkout"))
3704 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
3705 (build-system go-build-system)
3707 `(#:import-path "github.com/surgebase/porter2"))
3709 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
3710 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
3711 (home-page "https://github.com/surgebase/porter2")
3712 (synopsis "Go library implementing english Porter2 stemmer")
3713 (description "Porter2 implements the
3714 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
3715 Porter2 stemmer}. It is written completely using finite state machines to do
3716 suffix comparison, rather than the string-based or tree-based approaches.")
3717 (license license:asl2.0))))