gnu: r-mixomics: Update to 6.12.2.
[jackhill/guix/guix.git] / gnu / packages / golang.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
3 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
4 ;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
5 ;;; Copyright © 2016, 2019 Ludovic Courtès <ludo@gnu.org>
6 ;;; Copyright © 2016, 2017 Petter <petter@mykolab.ch>
7 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
8 ;;; Copyright © 2017 Sergei Trofimovich <slyfox@inbox.ru>
9 ;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
10 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
11 ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
12 ;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
13 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
14 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
15 ;;; Copyright @ 2018, 2019, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
16 ;;; Copyright @ 2019 Giovanni Biscuolo <g@xelera.eu>
17 ;;; Copyright @ 2019, 2020 Alex Griffin <a@ajgrf.com>
18 ;;; Copyright © 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
20 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
21 ;;;
22 ;;; This file is part of GNU Guix.
23 ;;;
24 ;;; GNU Guix is free software; you can redistribute it and/or modify it
25 ;;; under the terms of the GNU General Public License as published by
26 ;;; the Free Software Foundation; either version 3 of the License, or (at
27 ;;; your option) any later version.
28 ;;;
29 ;;; GNU Guix is distributed in the hope that it will be useful, but
30 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
31 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 ;;; GNU General Public License for more details.
33 ;;;
34 ;;; You should have received a copy of the GNU General Public License
35 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
36
37 (define-module (gnu packages golang)
38 #:use-module ((guix licenses) #:prefix license:)
39 #:use-module (guix utils)
40 #:use-module (guix download)
41 #:use-module (guix git-download)
42 #:use-module (guix packages)
43 #:use-module (guix build-system gnu)
44 #:use-module (guix build-system trivial)
45 #:use-module (guix build-system go)
46 #:use-module (gnu packages)
47 #:use-module (gnu packages admin)
48 #:use-module (gnu packages gcc)
49 #:use-module (gnu packages glib)
50 #:use-module (gnu packages base)
51 #:use-module (gnu packages perl)
52 #:use-module (gnu packages pkg-config)
53 #:use-module (gnu packages pcre)
54 #:use-module (gnu packages lua)
55 #:use-module (gnu packages mp3)
56 #:use-module (gnu packages textutils)
57 #:use-module (gnu packages tls)
58 #:use-module (ice-9 match)
59 #:use-module (srfi srfi-1))
60
61 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
62 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
63 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
64 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
65 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
66 ;; gccgo-5. Mips is not officially supported, but it should work if it is
67 ;; bootstrapped.
68
69 (define-public go-1.4
70 (package
71 (name "go")
72 ;; The C-language bootstrap of Go:
73 ;; https://golang.org/doc/install/source#go14
74 (version "1.4-bootstrap-20171003")
75 (source (origin
76 (method url-fetch)
77 (uri (string-append "https://storage.googleapis.com/golang/"
78 name version ".tar.gz"))
79 (sha256
80 (base32
81 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
82 (build-system gnu-build-system)
83 (outputs '("out"
84 "doc"
85 "tests"))
86 (arguments
87 `(#:modules ((ice-9 match)
88 (guix build gnu-build-system)
89 (guix build utils)
90 (srfi srfi-1))
91 #:tests? #f ; Tests are run by the all.bash script.
92 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
93 (%current-target-system)))
94 '(#:system "armhf-linux")
95 '())
96 #:phases
97 (modify-phases %standard-phases
98 (delete 'configure)
99 (add-after 'patch-generated-file-shebangs 'chdir
100 (lambda _
101 (chdir "src")
102 #t))
103 (add-before 'build 'prebuild
104 (lambda* (#:key inputs outputs #:allow-other-keys)
105 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
106 (ld (string-append (assoc-ref inputs "libc") "/lib"))
107 (loader (car (find-files ld "^ld-linux.+")))
108 (net-base (assoc-ref inputs "net-base"))
109 (tzdata-path
110 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
111 (output (assoc-ref outputs "out")))
112
113 ;; Removing net/ tests, which fail when attempting to access
114 ;; network resources not present in the build container.
115 (for-each delete-file
116 '("net/multicast_test.go" "net/parse_test.go"
117 "net/port_test.go"))
118
119 ;; Add libgcc to the RUNPATH.
120 (substitute* "cmd/go/build.go"
121 (("cgoldflags := \\[\\]string\\{\\}")
122 (string-append "cgoldflags := []string{"
123 "\"-rpath=" gcclib "\"}"))
124 (("ldflags := buildLdflags")
125 (string-append
126 "ldflags := buildLdflags\n"
127 "ldflags = append(ldflags, \"-r\")\n"
128 "ldflags = append(ldflags, \"" gcclib "\")\n")))
129
130 (substitute* "os/os_test.go"
131 (("/usr/bin") (getcwd))
132 (("/bin/pwd") (which "pwd")))
133
134 ;; Disable failing tests: these tests attempt to access
135 ;; commands or network resources which are neither available or
136 ;; necessary for the build to succeed.
137 (for-each
138 (match-lambda
139 ((file regex)
140 (substitute* file
141 ((regex all before test_name)
142 (string-append before "Disabled" test_name)))))
143 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
144 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
145 ("os/os_test.go" "(.+)(TestHostname.+)")
146 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
147
148 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
149 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
150 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
151 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
152 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
153 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
154 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
155 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
156 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
157
158 (substitute* "net/lookup_unix.go"
159 (("/etc/protocols") (string-append net-base "/etc/protocols")))
160 (substitute* "time/zoneinfo_unix.go"
161 (("/usr/share/zoneinfo/") tzdata-path))
162 (substitute* (find-files "cmd" "asm.c")
163 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
164 #t)))
165
166 (replace 'build
167 (lambda* (#:key inputs outputs #:allow-other-keys)
168 ;; FIXME: Some of the .a files are not bit-reproducible.
169 (let* ((output (assoc-ref outputs "out")))
170 (setenv "CC" (which "gcc"))
171 (setenv "GOOS" "linux")
172 (setenv "GOROOT" (dirname (getcwd)))
173 (setenv "GOROOT_FINAL" output)
174 (setenv "GO14TESTS" "1")
175 (invoke "sh" "all.bash"))))
176
177 (replace 'install
178 (lambda* (#:key outputs inputs #:allow-other-keys)
179 (let* ((output (assoc-ref outputs "out"))
180 (doc_out (assoc-ref outputs "doc"))
181 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
182 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
183 (tests (string-append
184 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
185 (mkdir-p tests)
186 (copy-recursively "../test" (string-append tests "/test"))
187 (delete-file-recursively "../test")
188 (mkdir-p docs)
189 (copy-recursively "../api" (string-append docs "/api"))
190 (delete-file-recursively "../api")
191 (copy-recursively "../doc" (string-append docs "/doc"))
192 (delete-file-recursively "../doc")
193
194 (for-each (lambda (file)
195 (let ((file (string-append "../" file)))
196 (install-file file docs)
197 (delete-file file)))
198 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
199 "LICENSE" "VERSION" "robots.txt"))
200 (copy-recursively "../" output)
201 #t))))))
202 (inputs
203 `(("tzdata" ,tzdata)
204 ("pcre" ,pcre)
205 ("gcc:lib" ,(canonical-package gcc) "lib")))
206 (native-inputs
207 `(("pkg-config" ,pkg-config)
208 ("which" ,which)
209 ("net-base" ,net-base)
210 ("perl" ,perl)))
211
212 (home-page "https://golang.org/")
213 (synopsis "Compiler and libraries for Go, a statically-typed language")
214 (description "Go, also commonly referred to as golang, is an imperative
215 programming language designed primarily for systems programming. Go is a
216 compiled, statically typed language in the tradition of C and C++, but adds
217 garbage collection, various safety features, and concurrent programming features
218 in the style of communicating sequential processes (@dfn{CSP}).")
219 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
220 (license license:bsd-3)))
221
222 (define-public go-1.14
223 (package
224 (inherit go-1.4)
225 (name "go")
226 (version "1.14.4")
227 (source
228 (origin
229 (method git-fetch)
230 (uri (git-reference
231 (url "https://github.com/golang/go")
232 (commit (string-append "go" version))))
233 (file-name (git-file-name name version))
234 (sha256
235 (base32
236 "08bazglmqp123c9dgrxflvxd011xsqfxsgah2kzbvca0mhm6qcm3"))))
237 (arguments
238 (substitute-keyword-arguments (package-arguments go-1.4)
239 ((#:system system)
240 (if (string-prefix? "aarch64-linux" (or (%current-system)
241 (%current-target-system)))
242 "aarch64-linux"
243 system))
244 ((#:phases phases)
245 `(modify-phases ,phases
246 (replace 'prebuild
247 (lambda* (#:key inputs outputs #:allow-other-keys)
248 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
249 (ld (string-append (assoc-ref inputs "libc") "/lib"))
250 (loader (car (find-files ld "^ld-linux.+")))
251 (net-base (assoc-ref inputs "net-base"))
252 (tzdata-path
253 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
254 (output (assoc-ref outputs "out")))
255
256 ;; Having the patch in the 'patches' field of <origin> breaks
257 ;; the 'TestServeContent' test due to the fact that
258 ;; timestamps are reset. Thus, apply it from here.
259 (invoke "patch" "-p2" "--force" "-i"
260 (assoc-ref inputs "go-skip-gc-test.patch"))
261
262 ;; A side effect of these test scripts is testing
263 ;; cgo. Attempts at using cgo flags and directives with these
264 ;; scripts as specified here (https://golang.org/cmd/cgo/)
265 ;; have not worked. The tests continue to state that they can
266 ;; not find object files/headers despite being present.
267 (for-each
268 delete-file
269 '("cmd/go/testdata/script/mod_case_cgo.txt"
270 "cmd/go/testdata/script/list_find.txt"
271 "cmd/go/testdata/script/list_compiled_imports.txt"
272 "cmd/go/testdata/script/cgo_syso_issue29253.txt"
273 "cmd/go/testdata/script/cover_cgo.txt"
274 "cmd/go/testdata/script/cover_cgo_xtest.txt"
275 "cmd/go/testdata/script/cover_cgo_extra_test.txt"
276 "cmd/go/testdata/script/cover_cgo_extra_file.txt"))
277
278 (for-each make-file-writable (find-files "."))
279
280 (substitute* "os/os_test.go"
281 (("/usr/bin") (getcwd))
282 (("/bin/pwd") (which "pwd"))
283 (("/bin/sh") (which "sh")))
284
285 ;; Add libgcc to runpath
286 (substitute* "cmd/link/internal/ld/lib.go"
287 (("!rpath.set") "true"))
288 (substitute* "cmd/go/internal/work/gccgo.go"
289 (("cgoldflags := \\[\\]string\\{\\}")
290 (string-append "cgoldflags := []string{"
291 "\"-rpath=" gcclib "\""
292 "}"))
293 (("\"-lgcc_s\", ")
294 (string-append
295 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
296 (substitute* "cmd/go/internal/work/gc.go"
297 (("ldflags = setextld\\(ldflags, compiler\\)")
298 (string-append
299 "ldflags = setextld(ldflags, compiler)\n"
300 "ldflags = append(ldflags, \"-r\")\n"
301 "ldflags = append(ldflags, \"" gcclib "\")\n")))
302
303 ;; Disable failing tests: these tests attempt to access
304 ;; commands or network resources which are neither available
305 ;; nor necessary for the build to succeed.
306 (for-each
307 (match-lambda
308 ((file regex)
309 (substitute* file
310 ((regex all before test_name)
311 (string-append before "Disabled" test_name)))))
312 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
313 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
314 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
315 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
316 ;; 127.0.0.1 doesn't exist
317 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
318 ;; 127.0.0.1 doesn't exist
319 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
320 ;; /etc/services doesn't exist
321 ("net/parse_test.go" "(.+)(TestReadLine.+)")
322 ("os/os_test.go" "(.+)(TestHostname.+)")
323 ;; The user's directory doesn't exist
324 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
325 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
326 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
327 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
328 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
329 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
330 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
331 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
332 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
333 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
334 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
335 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
336 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
337 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
338 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
339 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
340 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
341 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
342 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
343 ("syscall/exec_linux_test.go"
344 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
345
346 ;; These tests fail on aarch64-linux
347 (substitute* "cmd/dist/test.go"
348 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
349
350 ;; fix shebang for testar script
351 ;; note the target script is generated at build time.
352 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
353 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
354
355 (substitute* "net/lookup_unix.go"
356 (("/etc/protocols") (string-append net-base "/etc/protocols")))
357 (substitute* "net/port_unix.go"
358 (("/etc/services") (string-append net-base "/etc/services")))
359 (substitute* "time/zoneinfo_unix.go"
360 (("/usr/share/zoneinfo/") tzdata-path))
361 (substitute* (find-files "cmd" "\\.go")
362 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
363 #t)))
364 (add-before 'build 'set-bootstrap-variables
365 (lambda* (#:key outputs inputs #:allow-other-keys)
366 ;; Tell the build system where to find the bootstrap Go.
367 (let ((go (assoc-ref inputs "go")))
368 (setenv "GOROOT_BOOTSTRAP" go)
369 (setenv "GOGC" "400")
370 #t)))
371 (replace 'build
372 (lambda* (#:key inputs outputs #:allow-other-keys)
373 ;; FIXME: Some of the .a files are not bit-reproducible.
374 (let* ((output (assoc-ref outputs "out")))
375 (setenv "CC" (which "gcc"))
376 (setenv "GOOS" "linux")
377 (setenv "GOROOT" (dirname (getcwd)))
378 (setenv "GOROOT_FINAL" output)
379 (setenv "CGO_ENABLED" "1")
380 (invoke "sh" "all.bash"))))
381 (replace 'install
382 ;; TODO: Most of this could be factorized with Go 1.4.
383 (lambda* (#:key outputs #:allow-other-keys)
384 (let* ((output (assoc-ref outputs "out"))
385 (doc_out (assoc-ref outputs "doc"))
386 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
387 (src (string-append
388 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
389 ;; Prevent installation of the build cache, which contains
390 ;; store references to most of the tools used to build Go and
391 ;; would unnecessarily increase the size of Go's closure if it
392 ;; was installed.
393 (delete-file-recursively "../pkg/obj")
394
395 (mkdir-p src)
396 (copy-recursively "../test" (string-append src "/test"))
397 (delete-file-recursively "../test")
398 (mkdir-p docs)
399 (copy-recursively "../api" (string-append docs "/api"))
400 (delete-file-recursively "../api")
401 (copy-recursively "../doc" (string-append docs "/doc"))
402 (delete-file-recursively "../doc")
403
404 (for-each
405 (lambda (file)
406 (let* ((filein (string-append "../" file))
407 (fileout (string-append docs "/" file)))
408 (copy-file filein fileout)
409 (delete-file filein)))
410 ;; Note the slightly different file names compared to 1.4.
411 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
412 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
413
414 (copy-recursively "../" output)
415 #t)))))))
416 (native-inputs
417 `(("go" ,go-1.4)
418 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
419 ,@(match (%current-system)
420 ((or "armhf-linux" "aarch64-linux")
421 `(("gold" ,binutils-gold)))
422 (_ `()))
423 ,@(package-native-inputs go-1.4)))
424 (supported-systems %supported-systems)))
425
426 (define-public go go-1.14)
427
428 (define-public go-github-com-alsm-ioprogress
429 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
430 (revision "0"))
431 (package
432 (name "go-github-com-alsm-ioprogress")
433 (version (git-version "0.0.0" revision commit))
434 (source (origin
435 (method git-fetch)
436 (uri (git-reference
437 (url "https://github.com/alsm/ioprogress")
438 (commit commit)))
439 (file-name (git-file-name name version))
440 (sha256
441 (base32
442 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
443 (build-system go-build-system)
444 (arguments
445 '(#:import-path "github.com/alsm/ioprogress"))
446 (synopsis "Textual progress bars in Go")
447 (description "@code{ioprogress} is a Go library with implementations of
448 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
449 case for these are for command-line applications but alternate progress bar
450 writers can be supplied for alternate environments.")
451 (home-page "https://github.com/alsm/ioprogress")
452 (license license:expat))))
453
454 (define-public go-github-com-aki237-nscjar
455 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
456 (revision "0"))
457 (package
458 (name "go-github-com-aki237-nscjar")
459 (version (git-version "0.0.0" revision commit))
460 (source (origin
461 (method git-fetch)
462 (uri (git-reference
463 (url "https://github.com/aki237/nscjar")
464 (commit commit)))
465 (file-name (git-file-name name version))
466 (sha256
467 (base32
468 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
469 (build-system go-build-system)
470 (arguments
471 '(#:import-path "github.com/aki237/nscjar"))
472 (synopsis "Handle Netscape / Mozilla cookies")
473 (description "@code{nscjar} is a Go library used to parse and output
474 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
475 jar struct to manage the cookies added to the cookie jar.")
476 (home-page "https://github.com/aki237/nscjar")
477 (license license:expat))))
478
479 (define-public go-github.com-jessevdk-go-flags
480 (package
481 (name "go-github.com-jessevdk-go-flags")
482 (version "1.3.0")
483 (source (origin
484 (method git-fetch)
485 (uri (git-reference
486 (url "https://github.com/jessevdk/go-flags")
487 (commit (string-append "v" version))))
488 (file-name (git-file-name name version))
489 (sha256
490 (base32
491 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
492 (build-system go-build-system)
493 (arguments
494 '(#:import-path "github.com/jessevdk/go-flags"))
495 (synopsis "Go library for parsing command line arguments")
496 (description
497 "The @code{flags} package provides a command line option parser. The
498 functionality is similar to the go builtin @code{flag} package, but
499 @code{flags} provides more options and uses reflection to provide a succinct
500 way of specifying command line options.")
501 (home-page "https://github.com/jessevdk/go-flags")
502 (license license:bsd-3)))
503
504 (define-public go-gopkg.in-tomb.v2
505 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
506 (revision "0"))
507 (package
508 (name "go-gopkg.in-tomb.v2")
509 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
510 (source (origin
511 (method git-fetch)
512 (uri (git-reference
513 (url "https://github.com/go-tomb/tomb")
514 (commit commit)))
515 (file-name (string-append name "-" version ".tar.gz"))
516 (sha256
517 (base32
518 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
519 (build-system go-build-system)
520 (arguments
521 '(#:import-path "gopkg.in/tomb.v2"
522 #:phases
523 (modify-phases %standard-phases
524 (add-after 'unpack 'patch-source
525 (lambda _
526 ;; Add a missing % to fix the compilation of this test
527 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
528 (("t.Fatalf\\(`Killf\\(\"BO%s")
529 "t.Fatalf(`Killf(\"BO%%s"))
530 #t)))))
531 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
532 (description
533 "The @code{tomb} package handles clean goroutine tracking and
534 termination.")
535 (home-page "https://gopkg.in/tomb.v2")
536 (license license:bsd-3))))
537
538 (define-public go-github.com-jtolds-gls
539 (package
540 (name "go-github.com-jtolds-gls")
541 (version "4.20")
542 (source (origin
543 (method git-fetch)
544 (uri (git-reference
545 (url "https://github.com/jtolds/gls")
546 (commit (string-append "v" version))))
547 (file-name (git-file-name name version))
548 (sha256
549 (base32
550 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
551 (build-system go-build-system)
552 (arguments
553 '(#:import-path "github.com/jtolds/gls"))
554 (synopsis "@code{gls} provides Goroutine local storage")
555 (description
556 "The @code{gls} package provides a way to store a retrieve values
557 per-goroutine.")
558 (home-page "https://github.com/jtolds/gls")
559 (license license:expat)))
560
561 (define-public go-github-com-tj-docopt
562 (package
563 (name "go-github-com-tj-docopt")
564 (version "1.0.0")
565 (source (origin
566 (method git-fetch)
567 (uri (git-reference
568 (url "https://github.com/tj/docopt")
569 (commit (string-append "v" version))))
570 (file-name (git-file-name name version))
571 (sha256
572 (base32
573 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
574 (build-system go-build-system)
575 (arguments
576 '(#:import-path "github.com/tj/docopt"))
577 (synopsis "Go implementation of docopt")
578 (description
579 "This library allows the user to define a command-line interface from a
580 program's help message rather than specifying it programmatically with
581 command-line parsers.")
582 (home-page "https://github.com/tj/docopt")
583 (license license:expat)))
584
585 (define-public go-github-com-hashicorp-hcl
586 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
587 (revision "0"))
588 (package
589 (name "go-github-com-hashicorp-hcl")
590 (version (git-version "0.0.0" revision commit))
591 (source (origin
592 (method git-fetch)
593 (uri (git-reference
594 (url "https://github.com/hashicorp/hcl")
595 (commit commit)))
596 (file-name (git-file-name name version))
597 (sha256
598 (base32
599 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
600 (build-system go-build-system)
601 (arguments
602 '(#:tests? #f
603 #:import-path "github.com/hashicorp/hcl"))
604 (synopsis "Go implementation of HashiCorp Configuration Language")
605 (description
606 "This package contains the main implementation of the @acronym{HCL,
607 HashiCorp Configuration Language}. HCL is designed to be a language for
608 expressing configuration which is easy for both humans and machines to read.")
609 (home-page "https://github.com/hashicorp/hcl")
610 (license license:mpl2.0))))
611
612 (define-public go-golang-org-x-tools
613 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
614 (revision "0"))
615 (package
616 (name "go-golang-org-x-tools")
617 (version (git-version "0.1.3" revision commit))
618 (source (origin
619 (method git-fetch)
620 (uri (git-reference
621 (url "https://go.googlesource.com/tools")
622 (commit commit)))
623 (file-name (string-append "go.googlesource.com-tools-"
624 version "-checkout"))
625 (sha256
626 (base32
627 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
628 (build-system go-build-system)
629 (arguments
630 `(#:import-path "golang.org/x/tools"
631 ;; Source-only package
632 #:tests? #f
633 #:phases
634 (modify-phases %standard-phases
635 ;; Source-only package
636 (delete 'build))))
637 (synopsis "Tools that support the Go programming language")
638 (description "This package provides miscellaneous tools that support the
639 Go programming language.")
640 (home-page "https://go.googlesource.com/tools/")
641 (license license:bsd-3))))
642
643 (define-public go-golang-org-x-crypto
644 (let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
645 (revision "5"))
646 (package
647 (name "go-golang-org-x-crypto")
648 (version (git-version "0.0.0" revision commit))
649 (source (origin
650 (method git-fetch)
651 (uri (git-reference
652 (url "https://go.googlesource.com/crypto")
653 (commit commit)))
654 (file-name (string-append "go.googlesource.com-crypto-"
655 version "-checkout"))
656 (sha256
657 (base32
658 "1yvis6fqbsd7f356aqyi18f76vnwj3bry6mxqnkvshq4cwrf92il"))))
659 (build-system go-build-system)
660 (arguments
661 '(#:import-path "golang.org/x/crypto"
662 ;; Source-only package
663 #:tests? #f
664 #:phases
665 (modify-phases %standard-phases
666 ;; Source-only package
667 (delete 'build)
668 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
669 (lambda* (#:key outputs #:allow-other-keys)
670 (map (lambda (file)
671 (make-file-writable file))
672 (find-files
673 (string-append (assoc-ref outputs "out")
674 "/src/golang.org/x/crypto/ed25519/testdata")
675 ".*\\.gz$"))
676 #t)))))
677 (propagated-inputs
678 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
679 (synopsis "Supplementary cryptographic libraries in Go")
680 (description "This package provides supplementary cryptographic libraries
681 for the Go language.")
682 (home-page "https://go.googlesource.com/crypto/")
683 (license license:bsd-3))))
684
685 (define-public go-golang-org-x-net
686 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
687 (revision "4"))
688 (package
689 (name "go-golang-org-x-net")
690 (version (git-version "0.0.0" revision commit))
691 (source (origin
692 (method git-fetch)
693 (uri (git-reference
694 (url "https://go.googlesource.com/net")
695 (commit commit)))
696 (file-name (git-file-name name version))
697 (sha256
698 (base32
699 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
700 (build-system go-build-system)
701 (arguments
702 `(#:import-path "golang.org/x/net"
703 ; Source-only package
704 #:tests? #f
705 #:phases
706 (modify-phases %standard-phases
707 (delete 'build))))
708 (synopsis "Go supplemental networking libraries")
709 (description "This package provides supplemental Go networking libraries.")
710 (home-page "https://go.googlesource.com/net")
711 (license license:bsd-3))))
712
713 (define-public go-golang-org-x-image
714 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
715 (revision "1"))
716 (package
717 (name "go-golang-org-x-image")
718 (version (git-version "0.0.0" revision commit))
719 (source (origin
720 (method git-fetch)
721 (uri (git-reference
722 (url "https://go.googlesource.com/image")
723 (commit commit)))
724 (file-name (string-append "go.googlesource.com-image-"
725 version "-checkout"))
726 (sha256
727 (base32
728 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
729 (build-system go-build-system)
730 (arguments
731 `(#:import-path "golang.org/x/image"
732 ; Source-only package
733 #:tests? #f
734 #:phases
735 (modify-phases %standard-phases
736 (delete 'build))))
737 (home-page "https://go.googlesource.com/image")
738 (synopsis "Supplemental Go image libraries")
739 (description "This package provides supplemental Go libraries for image
740 processing.")
741 (license license:bsd-3))))
742
743 (define-public go-golang-org-x-sys
744 (let ((commit "c709ea063b76879dc9915358f55d4d77c16ab6d5")
745 (revision "6"))
746 (package
747 (name "go-golang-org-x-sys")
748 (version (git-version "0.0.0" revision commit))
749 (source (origin
750 (method git-fetch)
751 (uri (git-reference
752 (url "https://go.googlesource.com/sys")
753 (commit commit)))
754 (file-name (git-file-name name version))
755 (sha256
756 (base32
757 "15nq53a6kcqchng4j0d1pjw0m6hny6126nhjdwqw5n9dzh6a226d"))))
758 (build-system go-build-system)
759 (arguments
760 `(#:import-path "golang.org/x/sys"
761 ;; Source-only package
762 #:tests? #f
763 #:phases
764 (modify-phases %standard-phases
765 (delete 'build))))
766 (synopsis "Go support for low-level system interaction")
767 (description "This package provides supplemental libraries offering Go
768 support for low-level interaction with the operating system.")
769 (home-page "https://go.googlesource.com/sys")
770 (license license:bsd-3))))
771
772 (define-public go-golang-org-x-text
773 (package
774 (name "go-golang-org-x-text")
775 (version "0.3.2")
776 (source (origin
777 (method git-fetch)
778 (uri (git-reference
779 (url "https://go.googlesource.com/text")
780 (commit (string-append "v" version))))
781 (file-name (string-append "go.googlesource.com-text-"
782 version "-checkout"))
783 (sha256
784 (base32
785 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
786 (build-system go-build-system)
787 (arguments
788 `(#:import-path "golang.org/x/text"
789 ; Source-only package
790 #:tests? #f
791 #:phases
792 (modify-phases %standard-phases
793 (delete 'build))))
794 (synopsis "Supplemental Go text processing libraries")
795 (description "This package provides supplemental Go libraries for text
796 processing.")
797 (home-page "https://go.googlesource.com/text")
798 (license license:bsd-3)))
799
800 (define-public go-golang-org-x-time
801 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
802 (revision "2"))
803 (package
804 (name "go-golang-org-x-time")
805 (version (git-version "0.0.0" revision commit))
806 (source (origin
807 (method git-fetch)
808 (uri (git-reference
809 (url "https://go.googlesource.com/time")
810 (commit commit)))
811 (file-name (git-file-name name version))
812 (sha256
813 (base32
814 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
815 (build-system go-build-system)
816 (arguments
817 `(#:import-path "golang.org/x/time"
818 ; Source-only package
819 #:tests? #f
820 #:phases
821 (modify-phases %standard-phases
822 (delete 'build))))
823 ; (propagated-inputs
824 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
825 (synopsis "Supplemental Go time libraries")
826 (description "This package provides supplemental Go libraries related to
827 time.")
828 (home-page "https://godoc.org/golang.org/x/time/rate")
829 (license license:bsd-3))))
830
831 (define-public go-golang-org-x-oauth2
832 (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
833 (revision "1"))
834 (package
835 (name "go-golang-org-x-oauth2")
836 (version (git-version "0.0.0" revision commit))
837 (source (origin
838 (method git-fetch)
839 (uri (git-reference
840 (url "https://go.googlesource.com/oauth2")
841 (commit commit)))
842 (file-name (string-append "go.googlesource.com-oauth2-"
843 version "-checkout"))
844 (sha256
845 (base32
846 "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
847 (build-system go-build-system)
848 (arguments
849 `(#:import-path "golang.org/x/oauth2"))
850 (propagated-inputs
851 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
852 (home-page "https://go.googlesource.com/oauth2")
853 (synopsis "Client implementation of the OAuth 2.0 spec")
854 (description "This package contains a client implementation for OAuth 2.0
855 spec in Go.")
856 (license license:bsd-3))))
857
858 (define-public go-github-com-burntsushi-toml
859 (package
860 (name "go-github-com-burntsushi-toml")
861 (version "0.3.1")
862 (source
863 (origin
864 (method git-fetch)
865 (uri (git-reference
866 (url "https://github.com/BurntSushi/toml")
867 (commit (string-append "v" version))))
868 (file-name (git-file-name name version))
869 (sha256
870 (base32
871 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
872 (build-system go-build-system)
873 (arguments
874 '(#:import-path "github.com/BurntSushi/toml"))
875 (home-page "https://github.com/BurntSushi/toml")
876 (synopsis "Toml parser and encoder for Go")
877 (description "This package is toml parser and encoder for Go. The interface
878 is similar to Go's standard library @code{json} and @code{xml} package.")
879 (license license:expat)))
880
881 (define-public go-github-com-getsentry-raven-go
882 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
883 (revision "0"))
884 (package
885 (name "go-github-com-getsentry-raven-go")
886 (version (git-version "0.2.0" revision commit))
887 (source
888 (origin
889 (method git-fetch)
890 (uri (git-reference
891 (url "https://github.com/getsentry/raven-go")
892 (commit commit)))
893 (file-name (git-file-name name version))
894 (sha256
895 (base32
896 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
897 (build-system go-build-system)
898 (arguments
899 '(#:import-path "github.com/getsentry/raven-go"))
900 (propagated-inputs
901 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
902 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
903 (home-page "https://github.com/getsentry/raven-go")
904 (synopsis "Sentry client in Go")
905 (description "This package is a Go client API for the Sentry event/error
906 logging system.")
907 (license license:bsd-3))))
908
909 (define-public go-github-com-hashicorp-go-version
910 (let ((commit
911 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
912 (revision "0"))
913 (package
914 (name "go-github-com-hashicorp-go-version")
915 (version (git-version "0.0.0" revision commit))
916 (source
917 (origin
918 (method git-fetch)
919 (uri (git-reference
920 (url "https://github.com/hashicorp/go-version")
921 (commit commit)))
922 (file-name (git-file-name name version))
923 (sha256
924 (base32
925 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
926 (build-system go-build-system)
927 (arguments
928 '(#:import-path "github.com/hashicorp/go-version"))
929 (home-page
930 "https://github.com/hashicorp/go-version")
931 (synopsis "Go library for parsing and verifying versions and version
932 constraints")
933 (description "This package is a library for parsing versions and version
934 constraints, and verifying versions against a set of constraints. It can sort
935 a collection of versions properly, handles prerelease/beta versions, can
936 increment versions.")
937 (license license:mpl2.0))))
938
939 (define-public go-github-com-jpillora-backoff
940 (let ((commit
941 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
942 (revision "0"))
943 (package
944 (name "go-github-com-jpillora-backoff")
945 (version (git-version "0.0.0" revision commit))
946 (source
947 (origin
948 (method git-fetch)
949 (uri (git-reference
950 (url "https://github.com/jpillora/backoff")
951 (commit commit)))
952 (file-name (git-file-name name version))
953 (sha256
954 (base32
955 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
956 (build-system go-build-system)
957 (arguments
958 '(#:import-path "github.com/jpillora/backoff"))
959 (home-page "https://github.com/jpillora/backoff")
960 (synopsis "Simple exponential backoff counter in Go")
961 (description "This package is a simple exponential backoff counter in
962 Go.")
963 (license license:expat))))
964
965 (define-public go-github-com-stretchr-objx
966 (package
967 (name "go-github-com-stretchr-objx")
968 (version "0.2.0")
969 (source
970 (origin
971 (method git-fetch)
972 (uri (git-reference
973 (url "https://github.com/stretchr/objx")
974 (commit (string-append "v" version))))
975 (file-name (git-file-name name version))
976 (sha256
977 (base32
978 "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
979 (build-system go-build-system)
980 (arguments
981 '(#:import-path "github.com/stretchr/objx"))
982 (home-page "https://github.com/stretchr/objx")
983 (synopsis "Go package for dealing with maps, slices, JSON and other data")
984 (description "This package provides a Go library for dealing with maps,
985 slices, JSON and other data.")
986 (license license:expat)))
987
988 (define-public go-github-com-stretchr-testify
989 (package
990 (name "go-github-com-stretchr-testify")
991 (version "1.5.1")
992 (source
993 (origin
994 (method git-fetch)
995 (uri (git-reference
996 (url "https://github.com/stretchr/testify")
997 (commit (string-append "v" version))))
998 (file-name (git-file-name name version))
999 (sha256
1000 (base32
1001 "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
1002 (build-system go-build-system)
1003 (arguments
1004 '(#:import-path "github.com/stretchr/testify"))
1005 (propagated-inputs
1006 `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1007 ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
1008 ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
1009 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1010 (home-page "https://github.com/stretchr/testify")
1011 (synopsis "Go helper library for tests and invariant checking")
1012 (description "This package provide many tools for testifying that your
1013 code will behave as you intend.
1014
1015 Features include:
1016 @itemize
1017 @item Easy assertions
1018 @item Mocking
1019 @item HTTP response trapping
1020 @item Testing suite interfaces and functions.
1021 @end itemize")
1022 (license license:expat)))
1023
1024 (define-public go-github-com-tevino-abool
1025 (let ((commit
1026 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
1027 (revision "0"))
1028 (package
1029 (name "go-github-com-tevino-abool")
1030 (version (git-version "0.0.0" revision commit))
1031 (source
1032 (origin
1033 (method git-fetch)
1034 (uri (git-reference
1035 (url "https://github.com/tevino/abool")
1036 (commit commit)))
1037 (file-name (git-file-name name version))
1038 (sha256
1039 (base32
1040 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
1041 (build-system go-build-system)
1042 (arguments
1043 '(#:import-path "github.com/tevino/abool"))
1044 (home-page "https://github.com/tevino/abool")
1045 (synopsis "Atomic boolean library for Go code")
1046 (description "This package is atomic boolean library for Go code,
1047 optimized for performance yet simple to use.")
1048 (license license:expat))))
1049
1050 (define-public go-github-com-blang-semver
1051 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
1052 (revision "0"))
1053 (package
1054 (name "go-github-com-blang-semver")
1055 (version (git-version "0.0.0" revision commit))
1056 (source
1057 (origin
1058 (method git-fetch)
1059 (uri (git-reference
1060 (url "https://github.com/blang/semver")
1061 (commit commit)))
1062 (file-name (git-file-name name version))
1063 (sha256
1064 (base32
1065 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
1066 (build-system go-build-system)
1067 (arguments
1068 '(#:import-path "github.com/blang/semver"))
1069 (home-page "https://github.com/blang/semver")
1070 (synopsis "Semantic versioning library written in Go")
1071 (description "Semver is a library for Semantic versioning written in Go.")
1072 (license license:expat))))
1073
1074 (define-public go-github-com-emicklei-go-restful
1075 (let ((commit "89ef8af493ab468a45a42bb0d89a06fccdd2fb22")
1076 (revision "0"))
1077 (package
1078 (name "go-github-com-emicklei-go-restful")
1079 (version (git-version "0.0.0" revision commit))
1080 (source
1081 (origin
1082 (method git-fetch)
1083 (uri (git-reference
1084 (url "https://github.com/emicklei/go-restful")
1085 (commit commit)))
1086 (file-name (git-file-name name version))
1087 (sha256
1088 (base32
1089 "0rrlfcfq80fkxifpih6bq31vavb5mf4530xz51pp9pq1mn2fzjfh"))))
1090 (build-system go-build-system)
1091 (arguments
1092 '(#:import-path "github.com/emicklei/go-restful"))
1093 (home-page "https://github.com/emicklei/go-restful")
1094 (synopsis "Build REST-style web services using Go")
1095 (description "This package provides @code{go-restful}, which helps
1096 developers to use @code{http} methods explicitly and in a way that's consistent
1097 with the HTTP protocol definition.")
1098 (license license:expat))))
1099
1100 (define-public go-github-com-google-cadvisor
1101 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
1102 (revision "0"))
1103 (package
1104 (name "go-github-com-google-cadvisor")
1105 (version (git-version "0.0.0" revision commit))
1106 (source
1107 (origin
1108 (method git-fetch)
1109 (uri (git-reference
1110 (url "https://github.com/google/cadvisor")
1111 (commit commit)))
1112 (file-name (git-file-name name version))
1113 (sha256
1114 (base32
1115 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
1116 (build-system go-build-system)
1117 (arguments
1118 '(#:import-path "github.com/google/cadvisor"))
1119 (home-page "https://github.com/google/cadvisor")
1120 (synopsis "Analyze resource usage of running containers")
1121 (description "The package provides @code{cadvisor}, which provides
1122 information about the resource usage and performance characteristics of running
1123 containers.")
1124 (license license:asl2.0))))
1125
1126 (define-public go-github-com-google-gofuzz
1127 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
1128 (revision "0"))
1129 (package
1130 (name "go-github-com-google-gofuzz")
1131 (version (git-version "0.0.0" revision commit))
1132 (source
1133 (origin
1134 (method git-fetch)
1135 (uri (git-reference
1136 (url "https://github.com/google/gofuzz")
1137 (commit commit)))
1138 (file-name (git-file-name name version))
1139 (sha256
1140 (base32
1141 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
1142 (build-system go-build-system)
1143 (arguments
1144 '(#:import-path "github.com/google/gofuzz"))
1145 (home-page "https://github.com/google/gofuzz")
1146 (synopsis "Fuzz testing library for Go")
1147 (description "Gofuzz is a library for populationg Go objects with random
1148 values for the purpose of fuzz testing.")
1149 (license license:asl2.0))))
1150
1151 (define-public go-github-com-gorilla-css
1152 (package
1153 (name "go-github-com-gorilla-css")
1154 (version "1.0.0")
1155 (source (origin
1156 (method git-fetch)
1157 (uri (git-reference
1158 (url "https://github.com/gorilla/css")
1159 (commit (string-append "v" version))))
1160 (file-name (git-file-name name version))
1161 (sha256
1162 (base32
1163 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
1164 (build-system go-build-system)
1165 (arguments
1166 `(#:import-path "github.com/gorilla/css/scanner"
1167 #:unpack-path "github.com/gorilla/css"))
1168 (home-page "https://github.com/gorilla/css/")
1169 (synopsis "CSS3 tokenizer")
1170 (description "This package provides a CSS3 tokenizer.")
1171 (license license:bsd-3)))
1172
1173 (define-public go-github-com-gorilla-context
1174 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
1175 (revision "0"))
1176 (package
1177 (name "go-github-com-gorilla-context")
1178 (version (git-version "0.0.0" revision commit))
1179 (source
1180 (origin
1181 (method git-fetch)
1182 (uri (git-reference
1183 (url "https://github.com/gorilla/context")
1184 (commit commit)))
1185 (file-name (git-file-name name version))
1186 (sha256
1187 (base32
1188 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
1189 (build-system go-build-system)
1190 (arguments
1191 '(#:import-path "github.com/gorilla/context"))
1192 (home-page "https://github.com/gorilla/context")
1193 (synopsis "Go registry for request variables")
1194 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
1195 (license license:bsd-3))))
1196
1197 (define-public go-github-com-gorilla-mux
1198 (let ((commit "599cba5e7b6137d46ddf58fb1765f5d928e69604")
1199 (revision "0"))
1200 (package
1201 (name "go-github-com-gorilla-mux")
1202 (version (git-version "0.0.0" revision commit))
1203 (source
1204 (origin
1205 (method git-fetch)
1206 (uri (git-reference
1207 (url "https://github.com/gorilla/mux")
1208 (commit commit)))
1209 (file-name (git-file-name name version))
1210 (sha256
1211 (base32
1212 "0wd6jjii1kg5s0nk3ri6gqriz6hbd6bbcn6x4jf8n7ncrb8qsxyz"))))
1213 (build-system go-build-system)
1214 (arguments
1215 '(#:import-path "github.com/gorilla/mux"))
1216 (home-page "https://github.com/gorilla/mux")
1217 (synopsis "URL router and dispatcher for Go")
1218 (description
1219 "Gorilla/Mux implements a request router and dispatcher for matching
1220 incoming requests with their respective handler.")
1221 (license license:bsd-3))))
1222
1223 (define-public go-github-com-jonboulle-clockwork
1224 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
1225 (revision "0"))
1226 (package
1227 (name "go-github-com-jonboulle-clockwork")
1228 (version (git-version "0.0.0" revision commit))
1229 (source
1230 (origin
1231 (method git-fetch)
1232 (uri (git-reference
1233 (url "https://github.com/jonboulle/clockwork")
1234 (commit commit)))
1235 (file-name (git-file-name name version))
1236 (sha256
1237 (base32
1238 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
1239 (build-system go-build-system)
1240 (arguments
1241 '(#:import-path "github.com/jonboulle/clockwork"))
1242 (home-page "https://github.com/jonboulle/clockwork")
1243 (synopsis "Fake clock library for Go")
1244 (description
1245 "Replace uses of the @code{time} package with the
1246 @code{clockwork.Clock} interface instead.")
1247 (license license:asl2.0))))
1248
1249 (define-public go-github-com-spf13-afero
1250 (package
1251 (name "go-github-com-spf13-afero")
1252 (version "1.2.2")
1253 (source
1254 (origin
1255 (method git-fetch)
1256 (uri (git-reference
1257 (url "https://github.com/spf13/afero")
1258 (commit (string-append "v" version))))
1259 (file-name (git-file-name name version))
1260 (sha256
1261 (base32
1262 "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"))))
1263 (build-system go-build-system)
1264 (arguments
1265 `(#:import-path "github.com/spf13/afero"))
1266 (propagated-inputs
1267 `(("golang.org/x/text" ,go-golang-org-x-text)))
1268 (home-page "https://github.com/spf13/afero")
1269 (synopsis "File system abstraction for Go")
1270 (description
1271 "This package provides a file system abstraction for Go.")
1272 (license license:asl2.0)))
1273
1274 (define-public go-github-com-spf13-cast
1275 (package
1276 (name "go-github-com-spf13-cast")
1277 (version "1.3.1")
1278 (source
1279 (origin
1280 (method git-fetch)
1281 (uri (git-reference
1282 (url "https://github.com/spf13/cast")
1283 (commit (string-append "v" version))))
1284 (file-name (git-file-name name version))
1285 (sha256
1286 (base32
1287 "0lb84788glr0qzrq2ifi36rgvp96qrgywvxrr3ggq5hrbr38hgn1"))))
1288 (build-system go-build-system)
1289 (arguments
1290 `(#:import-path "github.com/spf13/cast"))
1291 (native-inputs
1292 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1293 (home-page "https://github.com/spf13/cast")
1294 (synopsis "Safe and easy casting from one type to another in Go")
1295 (description "Safe and easy casting from one type to another in Go")
1296 (license license:expat)))
1297
1298 (define-public go-github-com-spf13-cobra
1299 (package
1300 (name "go-github-com-spf13-cobra")
1301 (version "1.0.0")
1302 (source
1303 (origin
1304 (method git-fetch)
1305 (uri (git-reference
1306 (url "https://github.com/spf13/cobra")
1307 (commit (string-append "v" version))))
1308 (file-name (git-file-name name version))
1309 (sha256
1310 (base32
1311 "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h"))))
1312 (build-system go-build-system)
1313 (arguments
1314 `(#:import-path "github.com/spf13/cobra"))
1315 (propagated-inputs
1316 `(("github.com/spf13/pflag" ,go-github-com-spf13-pflag)))
1317 (home-page "https://github.com/spf13/cobra")
1318 (synopsis "Go library for creating CLI applications")
1319 (description "Cobra is both a library for creating powerful modern CLI
1320 applications as well as a program to generate applications and command files.")
1321 (license license:asl2.0)))
1322
1323 (define-public go-github-com-spf13-jwalterweatherman
1324 (package
1325 (name "go-github-com-spf13-jwalterweatherman")
1326 (version "1.1.0")
1327 (source
1328 (origin
1329 (method git-fetch)
1330 (uri (git-reference
1331 (url "https://github.com/spf13/jwalterweatherman")
1332 (commit (string-append "v" version))))
1333 (file-name (git-file-name name version))
1334 (sha256
1335 (base32
1336 "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"))))
1337 (build-system go-build-system)
1338 (arguments
1339 `(#:import-path "github.com/spf13/jwalterweatherman"))
1340 (native-inputs
1341 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1342 (home-page "https://github.com/spf13/jwalterweatherman")
1343 (synopsis "Go logging library")
1344 (description "Go logging library")
1345 (license license:expat)))
1346
1347 (define-public go-github-com-spf13-pflag
1348 (package
1349 (name "go-github-com-spf13-pflag")
1350 (version "1.0.5")
1351 (source
1352 (origin
1353 (method git-fetch)
1354 (uri (git-reference
1355 (url "https://github.com/spf13/pflag")
1356 (commit (string-append "v" version))))
1357 (file-name (git-file-name name version))
1358 (sha256
1359 (base32
1360 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
1361 (build-system go-build-system)
1362 (arguments
1363 '(#:import-path "github.com/spf13/pflag"))
1364 (home-page "https://github.com/spf13/pflag")
1365 (synopsis "Replacement for Go's @code{flag} package")
1366 (description
1367 "Pflag is library to replace Go's @code{flag} package. It implements
1368 POSIX/GNU-style command-line options with double hyphens. It is is compatible
1369 with the
1370 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
1371 GNU extensions} to the POSIX recommendations for command-line options.")
1372 (license license:bsd-3)))
1373
1374 (define-public go-github-com-spf13-viper
1375 (package
1376 (name "go-github-com-spf13-viper")
1377 (version "1.7.0")
1378 (source
1379 (origin
1380 (method git-fetch)
1381 (uri (git-reference
1382 (url "https://github.com/spf13/viper")
1383 (commit (string-append "v" version))))
1384 (file-name (git-file-name name version))
1385 (sha256
1386 (base32
1387 "099n2g7fg6r8hqyszqw2axr775qyhyvwhsykvgw0f0s16ql48h5c"))))
1388 (build-system go-build-system)
1389 (arguments
1390 '(#:import-path "github.com/spf13/viper"))
1391 (propagated-inputs
1392 `(("github.com/spf13/afero" ,go-github-com-spf13-afero)
1393 ("github.com/spf13/cast" ,go-github-com-spf13-cast)
1394 ("github.com/spf13/pflag" ,go-github-com-spf13-pflag)
1395 ("github.com/spf13/jwalterweatherman" ,go-github-com-spf13-jwalterweatherman)
1396 ("github.com/fsnotify/fsnotify" ,go-github-com-fsnotify-fsnotify)
1397 ("github.com/hashicorp/hcl" ,go-github-com-hashicorp-hcl)
1398 ("github.com/magiconair/properties" ,go-github-com-magiconair-properties)
1399 ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)
1400 ("github.com/pelletier/go-toml" ,go-github-com-pelletier-go-toml)
1401 ("github.com/subosito/gotenv" ,go-github-com-subosito-gotenv)
1402
1403 ("gopkg.in/ini.v1" ,go-gopkg-in-ini-v1)
1404 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1405 (native-inputs
1406 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1407 (home-page "https://github.com/spf13/viper")
1408 (synopsis "Go configuration with fangs")
1409 (description
1410 "Viper is a complete configuration solution for Go applications including
1411 12-Factor apps. It is designed to work within an application, and can handle
1412 all types of configuration needs and formats.")
1413 (license license:expat)))
1414
1415 (define-public go-github-com-fsnotify-fsnotify
1416 (package
1417 (name "go-github-com-fsnotify-fsnotify")
1418 (version "1.4.9")
1419 (source
1420 (origin
1421 (method git-fetch)
1422 (uri (git-reference
1423 (url "https://github.com/fsnotify/fsnotify")
1424 (commit (string-append "v" version))))
1425 (file-name (git-file-name name version))
1426 (sha256
1427 (base32
1428 "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x"))))
1429 (build-system go-build-system)
1430 (arguments
1431 `(#:import-path "github.com/fsnotify/fsnotify"))
1432 (propagated-inputs
1433 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1434 (home-page "https://github.com/fsnotify/fsnotify")
1435 (synopsis "File system notifications for Go")
1436 (description "File system notifications for Go")
1437 (license license:bsd-3)))
1438
1439 (define-public go-github-com-magiconair-properties
1440 (package
1441 (name "go-github-com-magiconair-properties")
1442 (version "1.8.1")
1443 (source
1444 (origin
1445 (method git-fetch)
1446 (uri (git-reference
1447 (url "https://github.com/magiconair/properties")
1448 (commit (string-append "v" version))))
1449 (file-name (git-file-name name version))
1450 (sha256
1451 (base32
1452 "19zqw1x0w0crh8zc84yy82nkcc5yjz72gviaf2xjgfm5a8np7nyb"))))
1453 (build-system go-build-system)
1454 (arguments
1455 `(#:import-path "github.com/magiconair/properties"))
1456 (home-page "https://github.com/magiconair/properties")
1457 (synopsis "Java properties scanner for Go")
1458 (description "Java properties scanner for Go")
1459 (license license:bsd-2)))
1460
1461 (define-public go-github-com-pelletier-go-toml
1462 (package
1463 (name "go-github-com-pelletier-go-toml")
1464 (version "1.8.0")
1465 (source
1466 (origin
1467 (method git-fetch)
1468 (uri (git-reference
1469 (url "https://github.com/pelletier/go-toml")
1470 (commit (string-append "v" version))))
1471 (file-name (git-file-name name version))
1472 (sha256
1473 (base32
1474 "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y"))))
1475 (build-system go-build-system)
1476 (arguments
1477 `(#:import-path "github.com/pelletier/go-toml"))
1478 (native-inputs
1479 `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml)
1480 ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1481 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1482 (home-page "https://github.com/pelletier/go-toml")
1483 (synopsis "Go library for the TOML configuration language")
1484 (description "Go library for the TOML configuration language")
1485 (license license:expat)))
1486
1487 (define-public go-github-com-subosito-gotenv
1488 (package
1489 (name "go-github-com-subosito-gotenv")
1490 (version "1.2.0")
1491 (source
1492 (origin
1493 (method git-fetch)
1494 (uri (git-reference
1495 (url "https://github.com/subosito/gotenv")
1496 (commit (string-append "v" version))))
1497 (file-name (git-file-name name version))
1498 (sha256
1499 (base32
1500 "0mav91j7r4arjkpq5zcf9j74f6pww8ic53x43wy7kg3ibw31yjs5"))))
1501 (build-system go-build-system)
1502 (arguments
1503 `(#:import-path "github.com/subosito/gotenv"))
1504 (native-inputs
1505 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1506 (home-page "https://github.com/subosito/gotenv")
1507 (synopsis "Go library for loading environment variables from files")
1508 (description "Go library for loading environment variables from files")
1509 (license license:expat)))
1510
1511 (define-public go-github-com-sirupsen-logrus
1512 (package
1513 (name "go-github-com-sirupsen-logrus")
1514 (version "1.0.5")
1515 (source
1516 (origin
1517 (method git-fetch)
1518 (uri (git-reference
1519 (url "https://github.com/sirupsen/logrus")
1520 (commit (string-append "v" version))))
1521 (file-name (git-file-name name version))
1522 (sha256
1523 (base32
1524 "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz"))))
1525 (build-system go-build-system)
1526 (propagated-inputs
1527 `(("go-golang-org-x-crypto"
1528 ,go-golang-org-x-crypto)
1529 ("go-github-com-stretchr-testify"
1530 ,go-github-com-stretchr-testify)
1531 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1532 (arguments
1533 '(#:tests? #f ;FIXME missing dependencies
1534 #:import-path "github.com/sirupsen/logrus"))
1535 (home-page "https://github.com/sirupsen/logrus")
1536 (synopsis "Structured, pluggable logging for Go")
1537 (description "Logrus is a structured logger for Go, completely API
1538 compatible with the standard library logger.")
1539 (license license:expat)))
1540
1541 (define-public go-github-com-rifflock-lfshook
1542 (package
1543 (name "go-github-com-rifflock-lfshook")
1544 (version "2.4")
1545 (source (origin
1546 (method git-fetch)
1547 (uri (git-reference
1548 (url "https://github.com/rifflock/lfshook")
1549 (commit (string-append "v" version))))
1550 (file-name (git-file-name name version))
1551 (sha256
1552 (base32
1553 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
1554 (build-system go-build-system)
1555 (arguments
1556 `(#:import-path "github.com/rifflock/lfshook"))
1557 (propagated-inputs
1558 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
1559 (home-page "https://github.com/rifflock/lfshook")
1560 (synopsis "Local File System hook for Logrus logger")
1561 (description "This package provides a hook for Logrus to write directly to
1562 a file on the file system. The log levels are dynamic at instantiation of the
1563 hook, so it is capable of logging at some or all levels.")
1564 (license license:expat)))
1565
1566 (define-public go-github-com-kardianos-osext
1567 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
1568 (revision "1"))
1569 (package
1570 (name "go-github-com-kardianos-osext")
1571 (version (git-version "0.0.0" revision commit))
1572 (source (origin
1573 (method git-fetch)
1574 (uri (git-reference
1575 (url "https://github.com/kardianos/osext")
1576 (commit commit)))
1577 (file-name (git-file-name name version))
1578 (sha256
1579 (base32
1580 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
1581 (build-system go-build-system)
1582 (arguments
1583 `(#:import-path "github.com/kardianos/osext"
1584 ;; The tests are flaky:
1585 ;; <https://github.com/kardianos/osext/issues/21>
1586 #:tests? #f))
1587 (synopsis "Find the running executable")
1588 (description "Osext provides a method for finding the current executable
1589 file that is running. This can be used for upgrading the current executable or
1590 finding resources located relative to the executable file.")
1591 (home-page "https://github.com/kardianos/osext")
1592 (license license:bsd-3))))
1593
1594 (define-public go-github-com-ayufan-golang-kardianos-service
1595 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
1596 (revision "0"))
1597 (package
1598 (name "go-github-com-ayufan-golang-kardianos-service")
1599 (version (git-version "0.0.0" revision commit))
1600 (source
1601 (origin
1602 (method git-fetch)
1603 (uri (git-reference
1604 (url
1605 "https://github.com/ayufan/golang-kardianos-service.git")
1606 (commit commit)))
1607 (file-name (git-file-name name version))
1608 (sha256
1609 (base32
1610 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
1611 (build-system go-build-system)
1612 (native-inputs
1613 `(("go-github-com-kardianos-osext"
1614 ,go-github-com-kardianos-osext)))
1615 (arguments
1616 '(#:tests? #f ;FIXME tests fail: Service is not running.
1617 #:import-path "github.com/ayufan/golang-kardianos-service"))
1618 (home-page "https://github.com/ayufan/golang-kardianos-service")
1619 (synopsis "Go interface to a variety of service supervisors")
1620 (description "This package provides @code{service}, a Go module that can
1621 run programs as a service using a variety of supervisors, including systemd,
1622 SysVinit, and more.")
1623 (license license:zlib))))
1624
1625 (define-public go-github-com-docker-distribution
1626 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
1627 (revision "0"))
1628 (package
1629 (name "go-github-com-docker-distribution")
1630 (version (git-version "0.0.0" revision commit))
1631 (source
1632 ;; FIXME: This bundles many things, see
1633 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
1634 (origin
1635 (method git-fetch)
1636 (uri (git-reference
1637 (url "https://github.com/docker/distribution")
1638 (commit commit)))
1639 (file-name (git-file-name name version))
1640 (sha256
1641 (base32
1642 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
1643 (build-system go-build-system)
1644 (native-inputs
1645 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
1646 ("go-github-com-sirupsen-logrus"
1647 ,go-github-com-sirupsen-logrus)
1648 ("go-golang-org-x-crypto"
1649 ,go-golang-org-x-crypto)))
1650 (arguments
1651 '(#:import-path "github.com/docker/distribution"
1652 #:phases
1653 (modify-phases %standard-phases
1654 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1655 (lambda* (#:key outputs #:allow-other-keys)
1656 (map (lambda (file)
1657 (make-file-writable file))
1658 (find-files
1659 (assoc-ref outputs "out")
1660 ".*\\.gz$"))
1661 #t)))))
1662 (home-page
1663 "https://github.com/docker/distribution")
1664 (synopsis "This package is a Docker toolset to pack, ship, store, and
1665 deliver content")
1666 (description "Docker Distribution is a Docker toolset to pack, ship,
1667 store, and deliver content. It contains Docker Registry 2.0 and libraries
1668 to interact with distribution components.")
1669 (license license:asl2.0))))
1670
1671 (define-public go-github-com-docker-go-connections
1672 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
1673 (revision "0"))
1674 (package
1675 (name "go-github-com-docker-go-connections")
1676 (version (git-version "0.0.0" revision commit))
1677 (source
1678 (origin
1679 (method git-fetch)
1680 (uri (git-reference
1681 (url "https://github.com/docker/go-connections")
1682 (commit commit)))
1683 (file-name (git-file-name name version))
1684 (sha256
1685 (base32
1686 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
1687 (build-system go-build-system)
1688 (arguments
1689 '(#:import-path "github.com/docker/go-connections"))
1690 (home-page "https://github.com/docker/go-connections")
1691 (synopsis "Networking library for Go")
1692 (description
1693 "This package provides a library to work with network connections in
1694 the Go language. In particular it provides tools to deal with network address
1695 translation (NAT), proxies, sockets, and transport layer security (TLS).")
1696 (license license:asl2.0))))
1697
1698 (define-public go-github-com-docker-machine
1699 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
1700 (revision "0"))
1701 (package
1702 (name "go-github-com-docker-machine")
1703 (version (git-version "0.0.0" revision commit))
1704 (source
1705 (origin
1706 (method git-fetch)
1707 (uri (git-reference
1708 (url "https://github.com/docker/machine")
1709 (commit commit)))
1710 (file-name (git-file-name name version))
1711 (sha256
1712 (base32
1713 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
1714 (build-system go-build-system)
1715 (arguments
1716 '(#:import-path "github.com/docker/machine"))
1717 (home-page "https://github.com/docker/machine")
1718 (synopsis "Machine management for a container-centric world")
1719 (description
1720 "@dfn{Machine} lets you create Docker hosts on your computer, on
1721 hosting providers, and inside your data center. It creates servers, installs
1722 Docker on them, then configures the Docker client to talk to them.")
1723 (license license:asl2.0))))
1724
1725 (define-public go-github-com-gorhill-cronexpr
1726 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
1727 (revision "0"))
1728 (package
1729 (name "go-github-com-gorhill-cronexpr")
1730 (version (git-version "0.0.0" revision commit))
1731 (source
1732 (origin
1733 (method git-fetch)
1734 (uri (git-reference
1735 (url "https://github.com/gorhill/cronexpr")
1736 (commit commit)))
1737 (file-name (git-file-name name version))
1738 (sha256
1739 (base32
1740 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
1741 (build-system go-build-system)
1742 (arguments
1743 '(#:import-path "github.com/gorhill/cronexpr"))
1744 (home-page "https://github.com/gorhill/cronexpr")
1745 (synopsis "Cron expression parser in the Go language")
1746 (description
1747 "This package provides a cron expression parser in the Go language.
1748 Given a cron expression and a time stamp, you can get the next time stamp
1749 which satisfies the cron expression.")
1750 (license (list license:gpl3+
1751 license:asl2.0)))))
1752
1753 (define-public go-gopkg-in-check-v1
1754 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
1755 (revision "1"))
1756 (package
1757 (name "go-gopkg-in-check-v1")
1758 (version (git-version "1.0.0" revision commit))
1759 (source
1760 (origin
1761 (method git-fetch)
1762 (uri (git-reference
1763 (url "https://github.com/go-check/check")
1764 (commit commit)))
1765 (file-name (git-file-name name version))
1766 (sha256
1767 (base32
1768 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
1769 (build-system go-build-system)
1770 (arguments
1771 '(#:import-path "gopkg.in/check.v1"))
1772 (propagated-inputs
1773 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
1774 (home-page "https://gopkg.in/check.v1")
1775 (synopsis "Test framework for the Go language")
1776 (description "This package provides a test library for the Go language.")
1777 (license license:asl2.0))))
1778
1779 (define-public go-gopkg-in-ini-v1
1780 (package
1781 (name "go-gopkg-in-ini-v1")
1782 (version "1.56.0")
1783 (source
1784 (origin
1785 (method git-fetch)
1786 (uri (git-reference
1787 (url "https://github.com/go-ini/ini")
1788 (commit (string-append "v" version))))
1789 (file-name (git-file-name name version))
1790 (sha256
1791 (base32
1792 "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5"))))
1793 (build-system go-build-system)
1794 (arguments
1795 '(#:import-path "gopkg.in/ini.v1"
1796 ;; Requires large unpackaged test framework
1797 #:tests? #f))
1798 (home-page "https://gopkg.in/ini.v1")
1799 (synopsis "Go library for ini files")
1800 (description "Go library for ini files")
1801 (license license:asl2.0)))
1802
1803 (define-public go-gopkg-in-yaml-v2
1804 (package
1805 (name "go-gopkg-in-yaml-v2")
1806 (version "2.2.2")
1807 (source
1808 (origin
1809 (method git-fetch)
1810 (uri (git-reference
1811 (url "https://gopkg.in/yaml.v2.git")
1812 (commit (string-append "v" version))))
1813 (file-name (git-file-name name version))
1814 (sha256
1815 (base32
1816 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
1817 (build-system go-build-system)
1818 (arguments
1819 '(#:import-path "gopkg.in/yaml.v2"))
1820 (native-inputs
1821 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
1822 (home-page "https://gopkg.in/yaml.v2")
1823 (synopsis "YAML reader and writer for the Go language")
1824 (description
1825 "This package provides a Go library for encode and decode YAML
1826 values.")
1827 (license license:asl2.0)))
1828
1829 (define-public go-github-com-mattn-go-isatty
1830 (package
1831 (name "go-github-com-mattn-go-isatty")
1832 (version "0.0.11")
1833 (source
1834 (origin
1835 (method git-fetch)
1836 (uri (git-reference
1837 (url "https://github.com/mattn/go-isatty")
1838 (commit (string-append "v" version))))
1839 (file-name (git-file-name name version))
1840 (sha256
1841 (base32
1842 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
1843 (build-system go-build-system)
1844 (propagated-inputs
1845 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1846 (arguments
1847 '(#:import-path "github.com/mattn/go-isatty"))
1848 (home-page "https://github.com/mattn/go-isatty")
1849 (synopsis "Provide @code{isatty} for Golang")
1850 (description "This package provides @code{isatty}, a Go module that can
1851 tell you whether a file descriptor points to a terminal and the type of the
1852 terminal.")
1853 (license license:expat)))
1854
1855 (define-public go-github-com-mattn-go-colorable
1856 (let ((commit "efa589957cd060542a26d2dd7832fd6a6c6c3ade")
1857 (revision "0"))
1858 (package
1859 (name "go-github-com-mattn-go-colorable")
1860 (version (git-version "0.0.0" revision commit))
1861 (source
1862 (origin
1863 (method git-fetch)
1864 (uri (git-reference
1865 (url "https://github.com/mattn/go-colorable")
1866 (commit commit)))
1867 (file-name (git-file-name name version))
1868 (sha256
1869 (base32
1870 "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r"))))
1871 (build-system go-build-system)
1872 (native-inputs
1873 `(("go-github-com-mattn-go-isatty"
1874 ,go-github-com-mattn-go-isatty)))
1875 (arguments
1876 '(#:import-path "github.com/mattn/go-colorable"))
1877 (home-page "https://github.com/mattn/go-colorable")
1878 (synopsis "Handle ANSI color escapes on Windows")
1879 (description "This package provides @code{colorable}, a module that
1880 makes it possible to handle ANSI color escapes on Windows.")
1881 (license license:expat))))
1882
1883 (define-public go-github-com-mattn-go-pointer
1884 (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
1885 (revision "1"))
1886 (package
1887 (name "go-github-com-mattn-go-pointer")
1888 (version (git-version "0.0.0" revision commit))
1889 (source
1890 (origin
1891 (method git-fetch)
1892 (uri (git-reference
1893 (url "https://github.com/mattn/go-pointer")
1894 (commit commit)))
1895 (sha256
1896 (base32
1897 "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
1898 (file-name (git-file-name name version))))
1899 (build-system go-build-system)
1900 (arguments
1901 '(#:import-path "github.com/mattn/go-pointer"))
1902 (home-page "https://github.com/mattn/go-pointer")
1903 (synopsis "Utility for cgo")
1904 (description
1905 "This package allows for a cgo argument to be passed a Go pointer.")
1906 (license license:expat))))
1907
1908 (define-public go-github-com-mgutz-ansi
1909 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
1910 (revision "0"))
1911 (package
1912 (name "go-github-com-mgutz-ansi")
1913 (version (git-version "0.0.0" revision commit))
1914 (source
1915 (origin
1916 (method git-fetch)
1917 (uri (git-reference
1918 (url
1919 "https://github.com/mgutz/ansi")
1920 (commit commit)))
1921 (file-name (git-file-name name version))
1922 (sha256
1923 (base32
1924 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
1925 (build-system go-build-system)
1926 (native-inputs
1927 `(("go-github-com-mattn-go-isatty"
1928 ,go-github-com-mattn-go-isatty)
1929 ("go-github-com-mattn-go-colorable"
1930 ,go-github-com-mattn-go-colorable)))
1931 (arguments
1932 '(#:import-path "github.com/mgutz/ansi"))
1933 (home-page "https://github.com/mgutz/ansi")
1934 (synopsis "Small, fast library to create ANSI colored strings and codes")
1935 (description "This package provides @code{ansi}, a Go module that can
1936 generate ANSI colored strings.")
1937 (license license:expat))))
1938
1939 (define-public go-github-com-aarzilli-golua
1940 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
1941 (revision "0"))
1942 (package
1943 (name "go-github-com-aarzilli-golua")
1944 (version (git-version "0.0.0" revision commit))
1945 (source
1946 (origin
1947 (method git-fetch)
1948 (uri (git-reference
1949 (url
1950 "https://github.com/aarzilli/golua")
1951 (commit commit)))
1952 (file-name (git-file-name name version))
1953 (sha256
1954 (base32
1955 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
1956 (build-system go-build-system)
1957 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
1958 ;; when this package required as input for another one, it will have to
1959 ;; be built again. Thus its CGO requirements must be made available in
1960 ;; the environment, that is, they must be propagated.
1961 (propagated-inputs
1962 `(("lua" ,lua)))
1963 (arguments
1964 `(#:unpack-path "github.com/aarzilli/golua"
1965 #:import-path "github.com/aarzilli/golua/lua"
1966 #:phases
1967 (modify-phases %standard-phases
1968 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
1969 ;; command line argument, go-1.10+ does not re-use the produced pkg
1970 ;; for dependencies, which means we would need to propagate the
1971 ;; same "-tags" argument to all golua referrers. A substitution is
1972 ;; more convenient here. We also need to propagate the lua
1973 ;; dependency to make it available to referrers.
1974 (add-after 'unpack 'fix-lua-ldflags
1975 (lambda _
1976 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
1977 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
1978 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
1979 (home-page "https://github.com/aarzilli/golua")
1980 (synopsis "Go Bindings for the Lua C API")
1981 (description "This package provides @code{lua}, a Go module that can
1982 run a Lua virtual machine.")
1983 (license license:expat))))
1984
1985 (define-public go-gitlab-com-ambrevar-golua-unicode
1986 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
1987 (revision "0"))
1988 (package
1989 (name "go-gitlab-com-ambrevar-golua-unicode")
1990 (version (git-version "0.0.0" revision commit))
1991 (source
1992 (origin
1993 (method git-fetch)
1994 (uri (git-reference
1995 (url
1996 "https://gitlab.com/ambrevar/golua")
1997 (commit commit)))
1998 (file-name (git-file-name name version))
1999 (sha256
2000 (base32
2001 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
2002 (build-system go-build-system)
2003 (native-inputs
2004 `(("lua" ,lua)
2005 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2006 (arguments
2007 `(#:unpack-path "gitlab.com/ambrevar/golua"
2008 #:import-path "gitlab.com/ambrevar/golua/unicode"
2009 #:phases
2010 (modify-phases %standard-phases
2011 (replace 'check
2012 (lambda* (#:key import-path #:allow-other-keys)
2013 (setenv "USER" "homeless-dude")
2014 (invoke "go" "test" import-path))))))
2015 (home-page "https://gitlab.com/ambrevar/golua")
2016 (synopsis "Add Unicode support to Golua")
2017 (description "This extension to Arzilli's Golua adds Unicode support to
2018 all functions from the Lua string library. Lua patterns are replaced by Go
2019 regexps. This breaks compatibility with Lua, but Unicode support breaks it
2020 anyways and Go regexps are more powerful.")
2021 (license license:expat))))
2022
2023 (define-public go-github-com-yookoala-realpath
2024 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
2025 (revision "0"))
2026 (package
2027 (name "go-github-com-yookoala-realpath")
2028 (version (git-version "0.0.0" revision commit))
2029 (source
2030 (origin
2031 (method git-fetch)
2032 (uri (git-reference
2033 (url
2034 "https://github.com/yookoala/realpath")
2035 (commit commit)))
2036 (file-name (git-file-name name version))
2037 (sha256
2038 (base32
2039 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
2040 (build-system go-build-system)
2041 (arguments
2042 `(#:import-path "github.com/yookoala/realpath"))
2043 (home-page "https://github.com/yookoala/realpath")
2044 (synopsis "@code{realpath} for Golang")
2045 (description "This package provides @code{realpath}, a Go module that
2046 when provided with a valid relative path / alias path, it will return you with
2047 a string of its real absolute path in the system.")
2048 (license license:expat))))
2049
2050 (define-public go-gitlab-com-ambrevar-damerau
2051 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
2052 (revision "0"))
2053 (package
2054 (name "go-gitlab-com-ambrevar-damerau")
2055 (version (git-version "0.0.0" revision commit))
2056 (source
2057 (origin
2058 (method git-fetch)
2059 (uri (git-reference
2060 (url
2061 "https://gitlab.com/ambrevar/damerau")
2062 (commit commit)))
2063 (file-name (git-file-name name version))
2064 (sha256
2065 (base32
2066 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
2067 (build-system go-build-system)
2068 (arguments
2069 `(#:import-path "gitlab.com/ambrevar/damerau"))
2070 (home-page "https://gitlab.com/ambrevar/damerau")
2071 (synopsis "Damerau-Levenshtein distance for Golang")
2072 (description "This is a spelling corrector implementing the
2073 Damerau-Levenshtein distance. Takes a string value input from the user.
2074 Looks for an identical word on a list of words, if none is found, look for a
2075 similar word.")
2076 (license license:expat))))
2077
2078 (define-public go-github-com-stevedonovan-luar
2079 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
2080 (revision "0"))
2081 (package
2082 (name "go-github-com-stevedonovan-luar")
2083 (version (git-version "0.0.0" revision commit))
2084 (source
2085 (origin
2086 (method git-fetch)
2087 (uri (git-reference
2088 (url
2089 "https://github.com/stevedonovan/luar")
2090 (commit commit)))
2091 (file-name (git-file-name name version))
2092 (sha256
2093 (base32
2094 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
2095 (build-system go-build-system)
2096 (native-inputs
2097 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2098 (arguments
2099 `(#:tests? #f ; Upstream tests are broken.
2100 #:import-path "github.com/stevedonovan/luar"))
2101 (home-page "https://github.com/stevedonovan/luar")
2102 (synopsis "Lua reflection bindings for Go")
2103 (description "Luar is designed to make using Lua from Go more
2104 convenient. Go structs, slices and maps can be automatically converted to Lua
2105 tables and vice-versa. The resulting conversion can either be a copy or a
2106 proxy. In the latter case, any change made to the result will reflect on the
2107 source.
2108
2109 Any Go function can be made available to Lua scripts, without having to write
2110 C-style wrappers.
2111
2112 Luar support cyclic structures (lists, etc.).
2113
2114 User-defined types can be made available to Lua as well: their exported
2115 methods can be called and usual operations such as indexing or arithmetic can
2116 be performed.")
2117 (license license:expat))))
2118
2119 (define-public go-github-com-michiwend-golang-pretty
2120 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
2121 (revision "0"))
2122 (package
2123 (name "go-github-com-michiwend-golang-pretty")
2124 (version (git-version "0.0.0" revision commit))
2125 (source
2126 (origin
2127 (method git-fetch)
2128 (uri (git-reference
2129 (url
2130 "https://github.com/michiwend/golang-pretty")
2131 (commit commit)))
2132 (file-name (git-file-name name version))
2133 (sha256
2134 (base32
2135 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
2136 (build-system go-build-system)
2137 (native-inputs
2138 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
2139 (arguments
2140 `(#:tests? #f ; Upstream tests seem to be broken.
2141 #:import-path "github.com/michiwend/golang-pretty"))
2142 (home-page "https://github.com/michiwend/golang-pretty")
2143 (synopsis "Pretty printing for Go values")
2144 (description "Package @code{pretty} provides pretty-printing for Go
2145 values. This is useful during debugging, to avoid wrapping long output lines
2146 in the terminal.
2147
2148 It provides a function, @code{Formatter}, that can be used with any function
2149 that accepts a format string. It also provides convenience wrappers for
2150 functions in packages @code{fmt} and @code{log}.")
2151 (license license:expat))))
2152
2153 (define-public go-github-com-michiwend-gomusicbrainz
2154 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
2155 (revision "0"))
2156 (package
2157 (name "go-github-com-michiwend-gomusicbrainz")
2158 (version (git-version "0.0.0" revision commit))
2159 (source
2160 (origin
2161 (method git-fetch)
2162 (uri (git-reference
2163 (url
2164 "https://github.com/michiwend/gomusicbrainz")
2165 (commit commit)))
2166 (file-name (git-file-name name version))
2167 (sha256
2168 (base32
2169 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
2170 (build-system go-build-system)
2171 (native-inputs
2172 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
2173 ("go-github-com-kr-text" ,go-github-com-kr-text)))
2174 (arguments
2175 `(#:import-path "github.com/michiwend/gomusicbrainz"))
2176 (home-page "https://github.com/michiwend/gomusicbrainz")
2177 (synopsis "MusicBrainz WS2 client library for Golang")
2178 (description "Currently GoMusicBrainz provides methods to perform search
2179 and lookup requests. Browse requests are not supported yet.")
2180 (license license:expat))))
2181
2182 (define-public go-github-com-wtolson-go-taglib
2183 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
2184 (revision "0"))
2185 (package
2186 (name "go-github-com-wtolson-go-taglib")
2187 (version (git-version "0.0.0" revision commit))
2188 (source
2189 (origin
2190 (method git-fetch)
2191 (uri (git-reference
2192 (url
2193 "https://github.com/wtolson/go-taglib")
2194 (commit commit)))
2195 (file-name (git-file-name name version))
2196 (sha256
2197 (base32
2198 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
2199 (build-system go-build-system)
2200 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2201 ;; when this package required as input for another one, it will have to
2202 ;; be built again. Thus its CGO requirements must be made available in
2203 ;; the environment, that is, they must be propagated.
2204 (propagated-inputs
2205 `(("pkg-config" ,pkg-config)
2206 ("taglib" ,taglib)))
2207 (arguments
2208 `(#:import-path "github.com/wtolson/go-taglib"
2209 ;; Tests don't pass "vet" on Go since 1.11. See
2210 ;; https://github.com/wtolson/go-taglib/issues/12.
2211 #:phases
2212 (modify-phases %standard-phases
2213 (replace 'check
2214 (lambda* (#:key import-path #:allow-other-keys)
2215 (invoke "go" "test"
2216 "-vet=off"
2217 import-path))))))
2218 (home-page "https://github.com/wtolson/go-taglib")
2219 (synopsis "Go wrapper for taglib")
2220 (description "Go wrapper for taglib")
2221 (license license:unlicense))))
2222
2223 (define-public go-github-com-gogo-protobuf
2224 (package
2225 (name "go-github-com-gogo-protobuf")
2226 (version "1.3.1")
2227 (source (origin
2228 (method git-fetch)
2229 (uri (git-reference
2230 (url "https://github.com/gogo/protobuf")
2231 (commit (string-append "v" version))))
2232 (file-name (git-file-name name version))
2233 (sha256
2234 (base32
2235 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
2236 (build-system go-build-system)
2237 (arguments
2238 `(#:import-path "github.com/gogo/protobuf"
2239 ; Source-only package
2240 #:tests? #f
2241 #:phases
2242 (modify-phases %standard-phases
2243 (delete 'build))))
2244 (synopsis "Protocol Buffers for Go with Gadgets")
2245 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
2246 generation features. This code generation is used to achieve:
2247 @itemize
2248 @item fast marshalling and unmarshalling
2249 @item more canonical Go structures
2250 @item goprotobuf compatibility
2251 @item less typing by optionally generating extra helper code
2252 @item peace of mind by optionally generating test and benchmark code
2253 @item other serialization formats
2254 @end itemize")
2255 (home-page "https://github.com/gogo/protobuf")
2256 (license license:bsd-3)))
2257
2258 (define-public go-github-com-libp2p-go-flow-metrics
2259 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
2260 (revision "0"))
2261 (package
2262 (name "go-github-com-libp2p-go-flow-metrics")
2263 (version (git-version "0.2.0" revision commit))
2264 (source
2265 (origin
2266 (method git-fetch)
2267 (uri (git-reference
2268 (url "https://github.com/libp2p/go-flow-metrics")
2269 (commit commit)))
2270 (file-name (git-file-name name version))
2271 (sha256
2272 (base32
2273 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
2274 (build-system go-build-system)
2275 (arguments
2276 `(#:import-path "github.com/libp2p/go-flow-metrics"
2277 ;; TODO: Tests hang.
2278 #:tests? #f))
2279 (home-page
2280 "https://github.com/libp2p/go-flow-metrics")
2281 (synopsis "Simple library for tracking flow metrics")
2282 (description "A simple alternative to rcrowley's @command{go-metrics}
2283 that's a lot faster (and only does simple bandwidth metrics).")
2284 (license license:expat))))
2285
2286 (define-public go-github-com-davecgh-go-spew
2287 (package
2288 (name "go-github-com-davecgh-go-spew")
2289 (version "1.1.1")
2290 (source
2291 (origin
2292 (method git-fetch)
2293 (uri (git-reference
2294 (url "https://github.com/davecgh/go-spew")
2295 (commit (string-append "v" version))))
2296 (file-name (git-file-name name version))
2297 (sha256
2298 (base32
2299 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
2300 (build-system go-build-system)
2301 (arguments
2302 '(#:unpack-path "github.com/davecgh/go-spew"
2303 #:import-path "github.com/davecgh/go-spew/spew"))
2304 (home-page "https://github.com/davecgh/go-spew")
2305 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
2306 (description "Package @command{spew} implements a deep pretty printer
2307 for Go data structures to aid in debugging.
2308
2309 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
2310
2311 @itemize
2312 @item Pointers are dereferenced and followed.
2313 @item Circular data structures are detected and handled properly.
2314 @item Custom Stringer/error interfaces are optionally invoked, including on
2315 unexported types.
2316 @item Custom types which only implement the Stringer/error interfaces via a
2317 pointer receiver are optionally invoked when passing non-pointer variables.
2318 @item Byte arrays and slices are dumped like the hexdump -C command which
2319 includes offsets, byte values in hex, and ASCII output (only when using Dump
2320 style).
2321 @end itemize\n")
2322 (license license:isc)))
2323
2324 (define-public go-github-com-btcsuite-btclog
2325 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
2326 (revision "0"))
2327 (package
2328 (name "go-github-com-btcsuite-btclog")
2329 (version (git-version "0.0.3" revision commit))
2330 (source
2331 (origin
2332 (method git-fetch)
2333 (uri (git-reference
2334 (url "https://github.com/btcsuite/btclog")
2335 (commit commit)))
2336 (file-name (git-file-name name version))
2337 (sha256
2338 (base32
2339 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
2340 (build-system go-build-system)
2341 (arguments
2342 '(#:import-path "github.com/btcsuite/btclog"))
2343 (home-page "https://github.com/btcsuite/btclog")
2344 (synopsis "Subsystem aware logger for Go")
2345 (description "Package @command{btclog} defines a logger interface and
2346 provides a default implementation of a subsystem-aware leveled logger
2347 implementing the same interface.")
2348 (license license:isc))))
2349
2350 (define-public go-github-com-btcsuite-btcd-btcec
2351 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
2352 (revision "0"))
2353 (package
2354 (name "go-github-com-btcsuite-btcd-btcec")
2355 (version (git-version "0.12.0-beta" revision commit))
2356 (source
2357 (origin
2358 (method git-fetch)
2359 (uri (git-reference
2360 (url "https://github.com/btcsuite/btcd")
2361 (commit commit)))
2362 (file-name (git-file-name name version))
2363 (sha256
2364 (base32
2365 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
2366 (build-system go-build-system)
2367 (arguments
2368 '(#:unpack-path "github.com/btcsuite/btcd"
2369 #:import-path "github.com/btcsuite/btcd/btcec"))
2370 (native-inputs
2371 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
2372 (home-page "https://github.com/btcsuite/btcd")
2373 (synopsis "Elliptic curve cryptography to work with Bitcoin")
2374 (description "Package @command{btcec} implements elliptic curve
2375 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
2376 designed so that it may be used with the standard crypto/ecdsa packages
2377 provided with Go. A comprehensive suite of test is provided to ensure proper
2378 functionality. Package @command{btcec} was originally based on work from
2379 ThePiachu which is licensed under the same terms as Go, but it has
2380 significantly diverged since then. The @command{btcsuite} developers original
2381 is licensed under the liberal ISC license.
2382
2383 Although this package was primarily written for btcd, it has intentionally
2384 been designed so it can be used as a standalone package for any projects
2385 needing to use secp256k1 elliptic curve cryptography.")
2386 (license license:isc))))
2387
2388 (define-public go-github-com-minio-sha256-simd
2389 (package
2390 (name "go-github-com-minio-sha256-simd")
2391 (version "0.1.1")
2392 (source
2393 (origin
2394 (method git-fetch)
2395 (uri (git-reference
2396 (url "https://github.com/minio/sha256-simd")
2397 (commit (string-append "v" version))))
2398 (file-name (git-file-name name version))
2399 (sha256
2400 (base32
2401 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
2402 (build-system go-build-system)
2403 (arguments
2404 '(#:import-path "github.com/minio/sha256-simd"))
2405 (home-page "https://github.com/minio/sha256-simd")
2406 (synopsis "Accelerate SHA256 computations in pure Go")
2407 (description "Accelerate SHA256 computations in pure Go using AVX512 and
2408 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
2409 improvement (over 3 GB/s per core) in comparison to AVX2.
2410
2411 This package is designed as a replacement for @command{crypto/sha256}. For
2412 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
2413 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
2414 of the SHA2 instructions resulting in a massive performance improvement.
2415
2416 This package uses Golang assembly. The AVX512 version is based on the Intel's
2417 \"multi-buffer crypto library for IPSec\" whereas the other Intel
2418 implementations are described in \"Fast SHA-256 Implementations on Intel
2419 Architecture Processors\" by J. Guilford et al.")
2420 (license license:asl2.0)))
2421
2422 (define-public go-github-com-libp2p-go-libp2p-crypto
2423 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
2424 (revision "0"))
2425 (package
2426 (name "go-github-com-libp2p-go-libp2p-crypto")
2427 (version (git-version "2.0.1" revision commit))
2428 (source
2429 (origin
2430 (method git-fetch)
2431 (uri (git-reference
2432 (url "https://github.com/libp2p/go-libp2p-crypto")
2433 (commit commit)))
2434 (file-name (git-file-name name version))
2435 (sha256
2436 (base32
2437 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
2438 (build-system go-build-system)
2439 (arguments
2440 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
2441 (native-inputs
2442 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2443 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2444 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2445 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
2446 (home-page
2447 "https://github.com/libp2p/go-libp2p-crypto")
2448 (synopsis "Various cryptographic utilities used by IPFS")
2449 (description "Various cryptographic utilities used by IPFS")
2450 (license license:expat))))
2451
2452 (define-public go-github-com-mr-tron-base58
2453 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
2454 (revision "0"))
2455 (package
2456 (name "go-github-com-mr-tron-base58")
2457 (version (git-version "1.1.0" revision commit))
2458 (source
2459 (origin
2460 (method git-fetch)
2461 (uri (git-reference
2462 (url "https://github.com/mr-tron/base58")
2463 (commit commit)))
2464 (file-name (git-file-name name version))
2465 (sha256
2466 (base32
2467 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
2468 (build-system go-build-system)
2469 (arguments
2470 `(#:unpack-path "github.com/mr-tron/base58"
2471 #:import-path "github.com/mr-tron/base58/base58"))
2472 (home-page "https://github.com/mr-tron/base58")
2473 (synopsis "Fast implementation of base58 encoding on Golang")
2474 (description "Fast implementation of base58 encoding on Golang. A
2475 trivial @command{big.Int} encoding benchmark results in 6 times faster
2476 encoding and 8 times faster decoding.")
2477 (license license:expat))))
2478
2479 (define-public go-github-com-gxed-hashland-keccakpg
2480 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
2481 (revision "0"))
2482 (package
2483 (name "go-github-com-gxed-hashland-keccakpg")
2484 (version (git-version "0.0.0" revision commit))
2485 (source
2486 (origin
2487 (method git-fetch)
2488 (uri (git-reference
2489 (url "https://github.com/gxed/hashland")
2490 (commit commit)))
2491 (file-name (git-file-name name version))
2492 (sha256
2493 (base32
2494 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
2495 (build-system go-build-system)
2496 (arguments
2497 '(#:unpack-path "github.com/gxed/hashland"
2498 #:import-path "github.com/gxed/hashland/keccakpg"))
2499 (home-page "https://github.com/gxed/hashland")
2500 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
2501 (description "Package @command{keccak} implements the Keccak (SHA-3)
2502 hash algorithm. See http://keccak.noekeon.org.")
2503 (license license:expat))))
2504
2505 (define-public go-github-com-minio-blake2b-simd
2506 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
2507 (revision "0"))
2508 (package
2509 (name "go-github-com-minio-blake2b-simd")
2510 (version (git-version "0.0.0" revision commit))
2511 (source
2512 (origin
2513 (method git-fetch)
2514 (uri (git-reference
2515 (url "https://github.com/minio/blake2b-simd")
2516 (commit commit)))
2517 (file-name (git-file-name name version))
2518 (sha256
2519 (base32
2520 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
2521 (build-system go-build-system)
2522 (arguments
2523 '(#:import-path "github.com/minio/blake2b-simd"))
2524 (home-page "https://github.com/minio/blake2b-simd")
2525 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
2526 (description "This package was initially based on the pure go BLAKE2b
2527 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
2528 optimized BLAKE2 implementation (which in turn is based on the official
2529 implementation. It does so by using Go's Assembler for amd64 architectures
2530 with a golang only fallback for other architectures.
2531
2532 In addition to AVX there is also support for AVX2 as well as SSE. Best
2533 performance is obtained with AVX2 which gives roughly a 4X performance
2534 increase approaching hashing speeds of 1GB/sec on a single core.")
2535 (license license:asl2.0))))
2536
2537 (define-public go-github-com-spaolacci-murmur3
2538 (package
2539 (name "go-github-com-spaolacci-murmur3")
2540 (version "1.1.0")
2541 (source
2542 (origin
2543 (method git-fetch)
2544 (uri (git-reference
2545 (url "https://github.com/spaolacci/murmur3")
2546 (commit (string-append "v" version))))
2547 (file-name (git-file-name name version))
2548 (sha256
2549 (base32
2550 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
2551 (build-system go-build-system)
2552 (arguments
2553 '(#:import-path "github.com/spaolacci/murmur3"))
2554 (home-page "https://github.com/spaolacci/murmur3")
2555 (synopsis "Native MurmurHash3 Go implementation")
2556 (description "Native Go implementation of Austin Appleby's third MurmurHash
2557 revision (aka MurmurHash3).
2558
2559 Reference algorithm has been slightly hacked as to support the streaming mode
2560 required by Go's standard Hash interface.")
2561 (license license:bsd-3)))
2562
2563 (define-public go-github-com-twmb-murmur3
2564 (package
2565 (name "go-github-com-twmb-murmur3")
2566 (version "1.1.3")
2567 (source
2568 (origin
2569 (method git-fetch)
2570 (uri (git-reference
2571 (url "https://github.com/twmb/murmur3")
2572 (commit (string-append "v" version))))
2573 (file-name (git-file-name name version))
2574 (sha256
2575 (base32
2576 "00riapwkyf23l5wyis47mbr8rwr4yrjw491jfc30wpzs111c1gyy"))))
2577 (build-system go-build-system)
2578 (arguments
2579 '(#:import-path "github.com/twmb/murmur3"))
2580 (home-page "https://github.com/twmb/murmur3")
2581 (synopsis "Native MurmurHash3 Go implementation")
2582 (description "Native Go implementation of Austin Appleby's third
2583 MurmurHash revision (aka MurmurHash3).
2584
2585 Reference algorithm has been slightly hacked as to support the streaming mode
2586 required by Go's standard Hash interface.")
2587 (license license:bsd-3)))
2588
2589 (define-public go-github-com-multiformats-go-multihash
2590 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
2591 (revision "0"))
2592 (package
2593 (name "go-github-com-multiformats-go-multihash")
2594 (version (git-version "1.0.8" revision commit))
2595 (source
2596 (origin
2597 (method git-fetch)
2598 (uri (git-reference
2599 (url "https://github.com/multiformats/go-multihash")
2600 (commit commit)))
2601 (file-name (git-file-name name version))
2602 (sha256
2603 (base32
2604 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
2605 (build-system go-build-system)
2606 (arguments
2607 '(#:import-path "github.com/multiformats/go-multihash"))
2608 (native-inputs
2609 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2610 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2611 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2612 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2613 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2614 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2615 (home-page "https://github.com/multiformats/go-multihash")
2616 (synopsis "Multihash implementation in Go")
2617 (description "Multihash implementation in Go.")
2618 (license license:expat))))
2619
2620 (define-public go-github-com-libp2p-go-libp2p-peer
2621 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
2622 (revision "0"))
2623 (package
2624 (name "go-github-com-libp2p-go-libp2p-peer")
2625 (version (git-version "2.3.8" revision commit))
2626 (source
2627 (origin
2628 (method git-fetch)
2629 (uri (git-reference
2630 (url "https://github.com/libp2p/go-libp2p-peer")
2631 (commit commit)))
2632 (file-name (git-file-name name version))
2633 (sha256
2634 (base32
2635 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
2636 (build-system go-build-system)
2637 (arguments
2638 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
2639 (native-inputs
2640 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2641 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2642 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2643 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2644 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2645 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2646 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2647 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2648 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2649 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2650 (home-page "https://github.com/libp2p/go-libp2p-peer")
2651 (synopsis "PKI based identities for use in go-libp2p")
2652 (description "PKI based identities for use in @command{go-libp2p}.")
2653 (license license:expat))))
2654
2655 (define-public go-github-com-libp2p-go-libp2p-protocol
2656 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
2657 (revision "0"))
2658 (package
2659 (name "go-github-com-libp2p-go-libp2p-protocol")
2660 (version (git-version "1.0.0" revision commit))
2661 (source
2662 (origin
2663 (method git-fetch)
2664 (uri (git-reference
2665 (url "https://github.com/libp2p/go-libp2p-protocol")
2666 (commit commit)))
2667 (file-name (git-file-name name version))
2668 (sha256
2669 (base32
2670 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
2671 (build-system go-build-system)
2672 (arguments
2673 '(#:import-path
2674 "github.com/libp2p/go-libp2p-protocol"))
2675 (home-page "https://github.com/libp2p/go-libp2p-protocol")
2676 (synopsis "Type for protocol strings in Golang")
2677 (description "Just a type for protocol strings. Nothing more.")
2678 (license license:expat))))
2679
2680 (define-public go-github-com-libp2p-go-libp2p-metrics
2681 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
2682 (revision "0"))
2683 (package
2684 (name "go-github-com-libp2p-go-libp2p-metrics")
2685 (version (git-version "2.1.6" revision commit))
2686 (source
2687 (origin
2688 (method git-fetch)
2689 (uri (git-reference
2690 (url "https://github.com/libp2p/go-libp2p-metrics")
2691 (commit commit)))
2692 (file-name (git-file-name name version))
2693 (sha256
2694 (base32
2695 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
2696 (build-system go-build-system)
2697 (arguments
2698 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
2699 (native-inputs
2700 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
2701 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
2702 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
2703 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2704 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2705 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2706 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2707 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2708 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2709 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2710 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2711 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2712 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2713 (home-page "https://github.com/libp2p/go-libp2p-metrics")
2714 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
2715 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
2716 statistics for wrapped connections.")
2717 (license license:expat))))
2718
2719 (define-public go-github-com-mitchellh-go-homedir
2720 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
2721 (revision "0"))
2722 (package
2723 (name "go-github-com-mitchellh-go-homedir")
2724 (version (git-version "1.0.0" revision commit))
2725 (source
2726 (origin
2727 (method git-fetch)
2728 (uri (git-reference
2729 (url "https://github.com/mitchellh/go-homedir")
2730 (commit commit)))
2731 (file-name (git-file-name name version))
2732 (sha256
2733 (base32
2734 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
2735 (build-system go-build-system)
2736 (arguments
2737 (quote (#:import-path "github.com/mitchellh/go-homedir"
2738 ;; TODO: Tests fail because it tries to access home.
2739 #:tests? #f)))
2740 (home-page "https://github.com/mitchellh/go-homedir")
2741 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
2742 (description "This is a Go library for detecting the user's home
2743 directory without the use of @command{cgo}, so the library can be used in
2744 cross-compilation environments.
2745
2746 Usage is simple, just call homedir.Dir() to get the home directory for a user,
2747 and homedir.Expand() to expand the @command{~} in a path to the home
2748 directory.
2749
2750 Why not just use @command{os/user}? The built-in @command{os/user} package
2751 requires cgo on Darwin systems. This means that any Go code that uses that
2752 package cannot cross compile. But 99% of the time the use for
2753 @command{os/user} is just to retrieve the home directory, which we can do for
2754 the current user without cgo. This library does that, enabling
2755 cross-compilation.")
2756 (license license:expat))))
2757
2758 (define-public go-github-com-mitchellh-mapstructure
2759 (package
2760 (name "go-github-com-mitchellh-mapstructure")
2761 (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0
2762 (source
2763 (origin
2764 (method git-fetch)
2765 (uri (git-reference
2766 (url "https://github.com/mitchellh/mapstructure")
2767 (commit (string-append "v" version))))
2768 (file-name (git-file-name name version))
2769 (sha256
2770 (base32
2771 "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"))))
2772 (build-system go-build-system)
2773 (arguments
2774 `(#:import-path "github.com/mitchellh/mapstructure"))
2775 (home-page "https://github.com/mitchellh/mapstructure")
2776 (synopsis "Go library for decoding generic map values")
2777 (description "Go library for decoding generic map values")
2778 (license license:expat)))
2779
2780 (define-public go-github-com-mitchellh-reflectwalk
2781 (package
2782 (name "go-github-com-mitchellh-reflectwalk")
2783 (version "1.0.1")
2784 (source (origin
2785 (method git-fetch)
2786 (uri (git-reference
2787 (url "https://github.com/mitchellh/reflectwalk")
2788 (commit (string-append "v" version))))
2789 (file-name (git-file-name name version))
2790 (sha256
2791 (base32
2792 "0pa6a3nhzwv5s5yqcmsmsfhdp5ggxsg2wa86f3akawxrhrkjarnx"))))
2793 (build-system go-build-system)
2794 (arguments
2795 `(#:import-path "github.com/mitchellh/reflectwalk"))
2796 (home-page "https://github.com/mitchellh/reflectwalk/")
2797 (synopsis "Walk a value in Go using reflection")
2798 (description "reflectwalk is a Go library for \"walking\" a value in Go
2799 using reflection, in the same way a directory tree can be \"walked\" on the
2800 filesystem. Walking a complex structure can allow you to do manipulations on
2801 unknown structures such as those decoded from JSON.")
2802 (license license:expat)))
2803
2804 (define-public go-github-com-mitchellh-copystructure
2805 (package
2806 (name "go-github-com-mitchellh-copystructure")
2807 (version "1.0.0")
2808 (source
2809 (origin
2810 (method git-fetch)
2811 (uri (git-reference
2812 (url "https://github.com/mitchellh/copystructure")
2813 (commit (string-append "v" version))))
2814 (file-name (git-file-name name version))
2815 (sha256
2816 (base32
2817 "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
2818 (build-system go-build-system)
2819 (arguments
2820 `(#:import-path "github.com/mitchellh/copystructure"))
2821 (native-inputs
2822 `(("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)))
2823 (home-page "https://github.com/mitchellh/copystructure")
2824 (synopsis "Go library for decoding deep copying values")
2825 (description "@code{copystructure} is a Go library for deep copying values
2826 in Go.
2827
2828 This allows you to copy Go values that may contain reference values such as
2829 maps, slices, or pointers, and copy their data as well instead of just their
2830 references.")
2831 (license license:expat)))
2832
2833 (define-public go-github-com-multiformats-go-multiaddr
2834 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
2835 (revision "0"))
2836 (package
2837 (name "go-github-com-multiformats-go-multiaddr")
2838 (version (git-version "1.3.0" revision commit))
2839 (source
2840 (origin
2841 (method git-fetch)
2842 (uri (git-reference
2843 (url "https://github.com/multiformats/go-multiaddr")
2844 (commit commit)))
2845 (file-name (git-file-name name version))
2846 (sha256
2847 (base32
2848 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
2849 (build-system go-build-system)
2850 (arguments
2851 '(#:import-path
2852 "github.com/multiformats/go-multiaddr"))
2853 (native-inputs
2854 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2855 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2856 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2857 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2858 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2859 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2860 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2861 (home-page "https://github.com/multiformats/go-multiaddr")
2862 (synopsis "Composable and future-proof network addresses")
2863 (description "Multiaddr is a standard way to represent addresses that
2864 does the following:
2865
2866 @itemize
2867 @item Support any standard network protocols.
2868 @item Self-describe (include protocols).
2869 @item Have a binary packed format.
2870 @item Have a nice string representation.
2871 @item Encapsulate well.
2872 @end itemize\n")
2873 (license license:expat))))
2874
2875 (define-public go-github-com-multiformats-go-multiaddr-net
2876 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
2877 (revision "0"))
2878 (package
2879 (name "go-github-com-multiformats-go-multiaddr-net")
2880 (version (git-version "1.6.3" revision commit))
2881 (source
2882 (origin
2883 (method git-fetch)
2884 (uri (git-reference
2885 (url "https://github.com/multiformats/go-multiaddr-net")
2886 (commit commit)))
2887 (file-name (git-file-name name version))
2888 (sha256
2889 (base32
2890 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
2891 (build-system go-build-system)
2892 (arguments
2893 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
2894 ;; TODO: Tests fail because they try to access the network.
2895 #:tests? #f)))
2896 (native-inputs
2897 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
2898 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2899 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2900 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2901 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2902 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2903 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2904 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2905 (home-page "https://github.com/multiformats/go-multiaddr-net")
2906 (synopsis "Multiaddress net tools")
2907 (description "This package provides Multiaddr specific versions of
2908 common functions in stdlib's @command{net} package. This means wrappers of
2909 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
2910 as conversion to and from @command{net.Addr}.")
2911 (license license:expat))))
2912
2913 (define-public go-github-com-whyrusleeping-tar-utils
2914 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
2915 (revision "0"))
2916 (package
2917 (name "go-github-com-whyrusleeping-tar-utils")
2918 (version (git-version "0.0.0" revision commit))
2919 (source
2920 (origin
2921 (method git-fetch)
2922 (uri (git-reference
2923 (url "https://github.com/whyrusleeping/tar-utils")
2924 (commit commit)))
2925 (file-name (git-file-name name version))
2926 (sha256
2927 (base32
2928 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
2929 (build-system go-build-system)
2930 (arguments
2931 '(#:import-path
2932 "github.com/whyrusleeping/tar-utils"))
2933 (home-page "https://github.com/whyrusleeping/tar-utils")
2934 (synopsis "Tar utilities extracted from go-ipfs codebase")
2935 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
2936 (license license:expat))))
2937
2938 (define-public go-github-com-cheekybits-is
2939 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
2940 (revision "0"))
2941 (package
2942 (name "go-github-com-cheekybits-is")
2943 (version (git-version "0.0.0" revision commit))
2944 (source
2945 (origin
2946 (method git-fetch)
2947 (uri (git-reference
2948 (url "https://github.com/cheekybits/is")
2949 (commit commit)))
2950 (file-name (git-file-name name version))
2951 (sha256
2952 (base32
2953 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
2954 (build-system go-build-system)
2955 (arguments
2956 '(#:import-path "github.com/cheekybits/is"))
2957 (home-page "https://github.com/cheekybits/is")
2958 (synopsis "Mini testing helper for Go")
2959 (description "A mini testing helper for Go.
2960
2961 @itemize
2962 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
2963 @item It plugs into existing Go toolchain (uses @command{testing.T}).
2964 @item It's obvious for newcomers.
2965 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
2966 - because testing panics is ugly.
2967 @end itemize\n")
2968 (license license:expat))))
2969
2970 (define-public go-github-com-sabhiram-go-gitignore
2971 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
2972 (revision "0"))
2973 (package
2974 (name "go-github-com-sabhiram-go-gitignore")
2975 (version (git-version "1.0.2" revision commit))
2976 (source
2977 (origin
2978 (method git-fetch)
2979 (uri (git-reference
2980 (url "https://github.com/sabhiram/go-gitignore")
2981 (commit commit)))
2982 (file-name (git-file-name name version))
2983 (sha256
2984 (base32
2985 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
2986 (build-system go-build-system)
2987 (arguments
2988 '(#:import-path
2989 "github.com/sabhiram/go-gitignore"))
2990 (native-inputs
2991 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2992 (home-page "https://github.com/sabhiram/go-gitignore")
2993 (synopsis "Gitignore parser for Go")
2994 (description "A @command{.gitignore} parser for Go.")
2995 (license license:expat))))
2996
2997 (define-public go-github-com-urfave-cli
2998 (package
2999 (name "go-github-com-urfave-cli")
3000 (version "1.22.2")
3001 (source
3002 (origin
3003 (method git-fetch)
3004 (uri (git-reference
3005 (url "https://github.com/urfave/cli")
3006 (commit (string-append "v" version))))
3007 (file-name (git-file-name name version))
3008 (sha256
3009 (base32
3010 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
3011 (build-system go-build-system)
3012 (arguments
3013 '(#:import-path "github.com/urfave/cli"))
3014 (propagated-inputs
3015 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
3016 (home-page "https://github.com/urfave/cli")
3017 (synopsis "Simple, fast, and fun package for building command line apps in Go")
3018 (description "@command{cli} is a simple, fast, and fun package for
3019 building command line apps in Go. The goal is to enable developers to write
3020 fast and distributable command line applications in an expressive way.")
3021 (license license:expat)))
3022
3023 (define-public go-github-com-go-md2man
3024 (package
3025 (name "go-github-com-go-md2man")
3026 (version "2.0.0")
3027 (source
3028 (origin
3029 (method git-fetch)
3030 (uri (git-reference
3031 (url "https://github.com/cpuguy83/go-md2man")
3032 (commit (string-append "v" version))))
3033 (file-name (git-file-name name version))
3034 (sha256
3035 (base32
3036 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
3037 (modules '((guix build utils)))
3038 (snippet '(begin
3039 (delete-file-recursively "vendor")
3040 #t))))
3041 (build-system go-build-system)
3042 (arguments
3043 '(#:import-path "github.com/cpuguy83/go-md2man"))
3044 (propagated-inputs
3045 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
3046 (home-page "https://github.com/cpuguy83/go-md2man")
3047 (synopsis "Convert markdown into roff")
3048 (description "Go-md2man is a Go program that converts markdown to roff for
3049 the purpose of building man pages.")
3050 (license license:expat)))
3051
3052 (define-public go-github-com-russross-blackfriday
3053 (package
3054 (name "go-github-com-russross-blackfriday")
3055 (version "2.0.1")
3056 (source
3057 (origin
3058 (method git-fetch)
3059 (uri (git-reference
3060 (url "https://github.com/russross/blackfriday")
3061 (commit (string-append "v" version))))
3062 (file-name (git-file-name name version))
3063 (sha256
3064 (base32
3065 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
3066 (build-system go-build-system)
3067 (arguments
3068 '(#:import-path "github.com/russross/blackfriday"))
3069 (propagated-inputs
3070 `(("go-github-com-shurcool-sanitized-anchor-name"
3071 ,go-github-com-shurcool-sanitized-anchor-name)))
3072 (native-inputs
3073 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
3074 (home-page "https://github.com/russross/blackfriday")
3075 (synopsis "Markdown processor in Go")
3076 (description "Blackfriday is a Markdown processor in Go.")
3077 (license license:bsd-2)))
3078
3079 (define-public go-github-com-shurcool-sanitized-anchor-name
3080 (package
3081 (name "go-github-com-shurcool-sanitized-anchor-name")
3082 (version "1.0.0")
3083 (source
3084 (origin
3085 (method git-fetch)
3086 (uri (git-reference
3087 (url "https://github.com/shurcooL/sanitized_anchor_name")
3088 (commit (string-append "v" version))))
3089 (file-name (git-file-name name version))
3090 (sha256
3091 (base32
3092 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
3093 (build-system go-build-system)
3094 (arguments
3095 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
3096 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
3097 (synopsis "Create sanitized anchor names")
3098 (description "This package provides a Go program for creating sanitized
3099 anchor names.")
3100 (license license:expat)))
3101
3102 (define-public go-github-com-pmezard-go-difflib
3103 (package
3104 (name "go-github-com-pmezard-go-difflib")
3105 (version "1.0.0")
3106 (source (origin
3107 (method git-fetch)
3108 (uri (git-reference
3109 (url "https://github.com/pmezard/go-difflib")
3110 (commit (string-append "v" version))))
3111 (file-name (git-file-name name version))
3112 (sha256
3113 (base32
3114 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
3115 (build-system go-build-system)
3116 (arguments
3117 '(#:import-path "github.com/pmezard/go-difflib/difflib"
3118 #:unpack-path "github.com/pmezard/go-difflib/"))
3119 (home-page "https://github.com/pmezard/go-difflib")
3120 (synopsis "Go diff implementation")
3121 (description "This package provides unified and context-aware diffs in Go.")
3122 (license license:bsd-3)))
3123
3124 (define-public go-github-com-whyrusleeping-json-filter
3125 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
3126 (revision "0"))
3127 (package
3128 (name "go-github-com-whyrusleeping-json-filter")
3129 (version (git-version "0.0.0" revision commit))
3130 (source
3131 (origin
3132 (method git-fetch)
3133 (uri (git-reference
3134 (url "https://github.com/whyrusleeping/json-filter")
3135 (commit commit)))
3136 (file-name (git-file-name name version))
3137 (sha256
3138 (base32
3139 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
3140 (build-system go-build-system)
3141 (arguments
3142 '(#:import-path
3143 "github.com/whyrusleeping/json-filter"))
3144 (home-page "https://github.com/whyrusleeping/json-filter")
3145 (synopsis "Library to query JSON objects marshalled into map[string]interface")
3146 (description "A library to query JSON objects marshalled into
3147 @command{map[string]interface{}}.")
3148 (license license:expat))))
3149
3150 (define-public go-github-com-whyrusleeping-progmeter
3151 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
3152 (revision "0"))
3153 (package
3154 (name "go-github-com-whyrusleeping-progmeter")
3155 (version (git-version "0.0.0" revision commit))
3156 (source
3157 (origin
3158 (method git-fetch)
3159 (uri (git-reference
3160 (url "https://github.com/whyrusleeping/progmeter")
3161 (commit commit)))
3162 (file-name (git-file-name name version))
3163 (sha256
3164 (base32
3165 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
3166 (build-system go-build-system)
3167 (arguments
3168 '(#:import-path
3169 "github.com/whyrusleeping/progmeter"))
3170 (home-page "https://github.com/whyrusleeping/progmeter")
3171 (synopsis "Progress meter for Go")
3172 (description "Progress meter for Go.")
3173 (license license:expat))))
3174
3175 (define-public go-github-com-whyrusleeping-stump
3176 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
3177 (revision "0"))
3178 (package
3179 (name "go-github-com-whyrusleeping-stump")
3180 (version (git-version "0.0.0" revision commit))
3181 (source
3182 (origin
3183 (method git-fetch)
3184 (uri (git-reference
3185 (url "https://github.com/whyrusleeping/stump")
3186 (commit commit)))
3187 (file-name (git-file-name name version))
3188 (sha256
3189 (base32
3190 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
3191 (build-system go-build-system)
3192 (arguments
3193 '(#:import-path "github.com/whyrusleeping/stump"))
3194 (home-page "https://github.com/whyrusleeping/stump")
3195 (synopsis "Very basic logging package for Go")
3196 (description "A simple log library, for when you don't really care to
3197 have super fancy logs.")
3198 (license license:expat))))
3199
3200 (define-public go-github-com-kr-fs
3201 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
3202 (revision "0"))
3203 (package
3204 (name "go-github-com-kr-fs")
3205 (version (git-version "0.1.0" revision commit))
3206 (source
3207 (origin
3208 (method git-fetch)
3209 (uri (git-reference
3210 (url "https://github.com/kr/fs")
3211 (commit commit)))
3212 (file-name (git-file-name name version))
3213 (sha256
3214 (base32
3215 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
3216 (build-system go-build-system)
3217 (arguments
3218 '(#:import-path "github.com/kr/fs"))
3219 (home-page "https://github.com/kr/fs")
3220 (synopsis "File-system-related functions for Go")
3221 (description
3222 "The fs package provides file-system-related Go functions.")
3223 (license license:bsd-3))))
3224
3225 (define-public go-github-com-direnv-go-dotenv
3226 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
3227 (revision "0"))
3228 (package
3229 (name "go-github-com-direnv-go-dotenv")
3230 (version (git-version "0.0.0" revision commit))
3231 (source
3232 (origin
3233 (method git-fetch)
3234 (uri (git-reference
3235 (url "https://github.com/direnv/go-dotenv")
3236 (commit commit)))
3237 (file-name (git-file-name name version))
3238 (sha256
3239 (base32
3240 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
3241 (build-system go-build-system)
3242 (arguments
3243 '(#:import-path "github.com/direnv/go-dotenv"))
3244 (home-page "https://github.com/direnv/go-dotenv")
3245 (synopsis "Go dotenv parsing library")
3246 (description "This package provides a library for parsing the dotenv
3247 format in Go.")
3248 (license license:expat))))
3249
3250 (define-public go-github-com-kr-pretty
3251 (package
3252 (name "go-github-com-kr-pretty")
3253 (version "0.2.0")
3254 (source (origin
3255 (method git-fetch)
3256 (uri (git-reference
3257 (url "https://github.com/kr/pretty")
3258 (commit (string-append "v" version))))
3259 (file-name (git-file-name name version))
3260 (sha256
3261 (base32
3262 "1ywbfzz1h3a3qd8rpkiqwi1dm4w8ls9ijb4x1b7567grns9f0vnp"))))
3263 (build-system go-build-system)
3264 (propagated-inputs
3265 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
3266 (arguments
3267 '(#:import-path "github.com/kr/pretty"))
3268 (synopsis "A pretty printer for Go values")
3269 (description "This package provides a pretty printer for Go values.")
3270 (home-page "https://github.com/kr/pretty")
3271 (license license:expat)))
3272
3273 (define-public go-github-com-kr-text
3274 (package
3275 (name "go-github-com-kr-text")
3276 (version "0.1.0")
3277 (source (origin
3278 (method git-fetch)
3279 (uri (git-reference
3280 (url "https://github.com/kr/text")
3281 (commit (string-append "v" version))))
3282 (file-name (git-file-name name version))
3283 (sha256
3284 (base32
3285 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
3286 (build-system go-build-system)
3287 (arguments
3288 '(#:import-path "github.com/kr/text"))
3289 (synopsis "Text formatting in Go")
3290 (description "This package provides a text formatting functions in Go.")
3291 (home-page "https://github.com/kr/text")
3292 (license license:expat)))
3293
3294 (define-public go-golang-org-sql-mock
3295 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
3296 (version "1.3.3")
3297 (revision "1"))
3298 (package
3299 (name "go-golang-org-sql-mock")
3300 (version (git-version version revision commit))
3301 (source (origin
3302 (method git-fetch)
3303 (uri (git-reference
3304 (url "https://github.com/DATA-DOG/go-sqlmock")
3305 (commit commit)))
3306 (file-name (git-file-name name version))
3307 (sha256
3308 (base32
3309 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
3310 (build-system go-build-system)
3311 (arguments
3312 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
3313 (synopsis "Mock library implementing @code{sql/driver}")
3314 (description "This library simulates SQL-driver behavior in tests
3315 without requiring a real database connection.")
3316 (home-page "https://github.com/DATA-DOG/go-sqlmock")
3317 (license license:expat))))
3318
3319 (define-public go-golang-org-colorful
3320 (package
3321 (name "go-golang-org-colorful")
3322 (version "1.0.2")
3323 (source (origin
3324 (method git-fetch)
3325 (uri (git-reference
3326 (url "https://github.com/lucasb-eyer/go-colorful")
3327 (commit (string-append "v" version))))
3328 (file-name (git-file-name name version))
3329 (sha256
3330 (base32
3331 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
3332 (build-system go-build-system)
3333 (arguments
3334 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
3335 (native-inputs
3336 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
3337 (synopsis "Convert between colorspaces and generate colors")
3338 (description "This package implements Go's @code{color.Color} interface
3339 and provides a means of converting colors stored as RGB to various
3340 colorspaces.")
3341 (home-page "https://github.com/lucasb-eyer/go-colorful")
3342 (license license:expat)))
3343
3344 (define-public go-github-com-gdamore-encoding
3345 (package
3346 (name "go-github-com-gdamore-encoding")
3347 (version "1.0.0")
3348 (source
3349 (origin
3350 (method git-fetch)
3351 (uri (git-reference
3352 (url "https://github.com/gdamore/encoding")
3353 (commit (string-append "v" version))))
3354 (file-name (git-file-name name version))
3355 (sha256
3356 (base32
3357 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
3358 (build-system go-build-system)
3359 (arguments
3360 '(#:import-path "github.com/gdamore/encoding"))
3361 (inputs
3362 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3363 (home-page "https://github.com/gdamore/encoding")
3364 (synopsis "Provide encodings missing from Go")
3365 (description "This package provides useful encodings not included in the
3366 standard @code{Text} package, including some for dealing with I/O streams from
3367 non-UTF-friendly sources.")
3368 (license license:expat)))
3369
3370 (define-public go-github-com-gdamore-tcell
3371 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
3372 (version "1.1.2")
3373 (revision "1"))
3374 (package
3375 (name "go-github-com-gdamore-tcell")
3376 (version (git-version version revision commit))
3377 (source
3378 (origin
3379 (method git-fetch)
3380 (uri (git-reference
3381 (url "https://github.com/gdamore/tcell")
3382 (commit commit)))
3383 (file-name (git-file-name name version))
3384 (sha256
3385 (base32
3386 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
3387 (build-system go-build-system)
3388 (arguments
3389 `(#:import-path "github.com/gdamore/tcell"
3390 #:phases
3391 (modify-phases %standard-phases
3392 (add-before 'reset-gzip-timestamps 'make-files-writable
3393 (lambda* (#:key outputs #:allow-other-keys)
3394 ;; Make sure .gz files are writable so that the
3395 ;; 'reset-gzip-timestamps' phase can do its work.
3396 (let ((out (assoc-ref outputs "out")))
3397 (for-each make-file-writable
3398 (find-files out "\\.gz$"))
3399 #t))))))
3400 (inputs
3401 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
3402 ("go-golang-org-colorful" ,go-golang-org-colorful)
3403 ("go-golang-org-x-text" ,go-golang-org-x-text)
3404 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
3405 (home-page "https://github.com/gdamore/tcell")
3406 (synopsis "Provide a cell-based view for text terminals")
3407 (description "This package includes a full parser and expander for
3408 terminfo capability strings to avoid hard-coding escape strings for
3409 formatting. It also favors portability, and includes support for all POSIX
3410 systems.")
3411 (license license:expat))))
3412
3413 (define-public go-github-com-mattn-go-shellwords
3414 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
3415 (version "1.0.5")
3416 (revision "1"))
3417 (package
3418 (name "go-github-com-mattn-go-shellwords")
3419 (version (git-version version revision commit))
3420 (source
3421 (origin
3422 (method git-fetch)
3423 (uri (git-reference
3424 (url "https://github.com/mattn/go-shellwords")
3425 (commit commit)))
3426 (file-name (git-file-name name version))
3427 (sha256
3428 (base32
3429 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
3430 (build-system go-build-system)
3431 (arguments
3432 `(#:import-path "github.com/mattn/go-shellwords"
3433 ;; TODO: can't make homeless-shelter:
3434 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
3435 ;; initialization failure: mkdir /homeless-shelter: permission denied
3436
3437 ;; This doesn't seem to work:
3438
3439 ;; #:phases
3440 ;; (modify-phases %standard-phases
3441 ;; (replace 'check
3442 ;; (lambda* (#:key import-path #:allow-other-keys)
3443 ;; (setenv "HOME" "/tmp")
3444 ;; (invoke "go" "test" import-path))))
3445
3446 ;; TODO: There are also a couple of tests that have stymied Debian in
3447 ;; the past. They seem to work when run locally.
3448
3449 #:tests? #f
3450 ))
3451 (home-page "https://github.com/mattn/go-shellwords")
3452 (synopsis "Parse lines into shell words")
3453 (description "This package parses text into shell arguments. Based on
3454 the @code{cpan} module @code{Parse::CommandLine}.")
3455 (license license:expat))))
3456
3457 (define-public go-github-com-burntsushi-locker
3458 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
3459 (revision "0"))
3460 (package
3461 (name "go-github-com-burntsushi-locker")
3462 (version (git-version "0.0.0" revision commit))
3463 (source
3464 (origin
3465 (method git-fetch)
3466 (uri (git-reference
3467 (url "https://github.com/BurntSushi/locker")
3468 (commit commit)))
3469 (file-name (git-file-name name version))
3470 (sha256
3471 (base32
3472 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
3473 (build-system go-build-system)
3474 (arguments
3475 '(#:import-path "github.com/BurntSushi/locker"))
3476 (home-page "https://github.com/BurntSushi/locker")
3477 (synopsis "Manage named ReadWrite mutexes in Go")
3478 (description "Golang package for conveniently using named read/write
3479 locks. These appear to be especially useful for synchronizing access to
3480 session based information in web applications.
3481
3482 The common use case is to use the package level functions, which use a package
3483 level set of locks (safe to use from multiple goroutines
3484 simultaneously). However, you may also create a new separate set of locks
3485 test.
3486
3487 All locks are implemented with read-write mutexes. To use them like a regular
3488 mutex, simply ignore the RLock/RUnlock functions.")
3489 (license license:unlicense))))
3490
3491 (define-public go-github-com-marten-seemann-qtls
3492 (package
3493 (name "go-github-com-marten-seemann-qtls")
3494 (version "0.4.1")
3495 (source (origin
3496 (method git-fetch)
3497 (uri (git-reference
3498 (url "https://github.com/marten-seemann/qtls")
3499 (commit (string-append "v" version))))
3500 (file-name (git-file-name name version))
3501 (sha256
3502 (base32
3503 "0dz60y98nm7l70hamq0v2vrs2dspyr5yqhnrds2dfh7hchxvq76j"))))
3504 (build-system go-build-system)
3505 (arguments
3506 '(#:import-path "github.com/marten-seemann/qtls"
3507 ;; The test suite requires networking.
3508 #:tests? #f))
3509 (propagated-inputs
3510 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3511 (synopsis "TLS 1.3 with QUIC in Go")
3512 (description "This package provides @code{qtls}, a QUIC-capable variant of
3513 the Go standard library's TLS 1.3 implementation.")
3514 (home-page "https://github.com/marten-seemann/qtls")
3515 (license license:bsd-3)))
3516
3517 (define-public go-github-com-marten-seemann-chacha20
3518 (package
3519 (name "go-github-com-marten-seemann-chacha20")
3520 (version "0.2.0")
3521 (source (origin
3522 (method git-fetch)
3523 (uri (git-reference
3524 (url "https://github.com/marten-seemann/chacha20")
3525 (commit (string-append "v" version))))
3526 (file-name (git-file-name name version))
3527 (sha256
3528 (base32
3529 "0x1j4cvbap45zk962qkjalc1h3axhzzdy9cdzhcjmprmm1ql4gjm"))))
3530 (build-system go-build-system)
3531 (arguments
3532 '(#:import-path "github.com/marten-seemann/chacha20"))
3533 (synopsis "ChaCha20 in Go")
3534 (description "This package is an external copy of the Go standard library's
3535 internal ChaCha20 package.")
3536 (home-page "https://github.com/marten-seemann/chacha20")
3537 (license license:bsd-3)))
3538
3539 (define-public go-github-com-cheekybits-genny
3540 (package
3541 (name "go-github-com-cheekybits-genny")
3542 (version "1.0.0")
3543 (source (origin
3544 (method git-fetch)
3545 (uri (git-reference
3546 (url "https://github.com/cheekybits/genny")
3547 (commit (string-append "v" version))))
3548 (file-name (git-file-name name version))
3549 (sha256
3550 (base32
3551 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
3552 (build-system go-build-system)
3553 (arguments
3554 '(#:import-path "github.com/cheekybits/genny"))
3555 (propagated-inputs
3556 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
3557 (synopsis "Generics for Go")
3558 (description "This package provides @code{genny}, a Go language
3559 implementation of generics.")
3560 (home-page "https://github.com/cheekybits/genny/")
3561 (license license:expat)))
3562
3563 (define-public go-github-com-lucas-clemente-quic-go
3564 (package
3565 (name "go-github-com-lucas-clemente-quic-go")
3566 (version "0.14.4")
3567 (source (origin
3568 (method git-fetch)
3569 (uri (git-reference
3570 (url "https://github.com/lucas-clemente/quic-go")
3571 (commit (string-append "v" version))))
3572 (file-name (git-file-name name version))
3573 (sha256
3574 (base32
3575 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
3576 (build-system go-build-system)
3577 (arguments
3578 '(#:import-path "github.com/lucas-clemente/quic-go"
3579 ;; XXX More packages required...
3580 #:tests? #f))
3581 (propagated-inputs
3582 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3583 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
3584 ("go-github-com-marten-seemann-chacha20" ,go-github-com-marten-seemann-chacha20)
3585 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
3586 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
3587 (synopsis "QUIC in Go")
3588 (description "This package provides a Go language implementation of the QUIC
3589 network protocol.")
3590 (home-page "https://github.com/lucas-clemente/quic-go")
3591 (license license:expat)))
3592
3593 (define-public go-github-com-francoispqt-gojay
3594 (package
3595 (name "go-github-com-francoispqt-gojay")
3596 (version "1.2.13")
3597 (source (origin
3598 (method git-fetch)
3599 (uri (git-reference
3600 (url "https://github.com/francoispqt/gojay")
3601 (commit (string-append "v" version))))
3602 (file-name (git-file-name name version))
3603 (sha256
3604 (base32
3605 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
3606 (build-system go-build-system)
3607 (arguments
3608 '(#:import-path "github.com/francoispqt/gojay"))
3609 (propagated-inputs
3610 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3611 (synopsis "JSON encoder/decoder with powerful stream API for Golang")
3612 (description "GoJay is a performant JSON encoder/decoder for Golang. It has
3613 a simple API and doesn't use reflection. It relies on small interfaces to
3614 decode/encode structures and slices.")
3615 (home-page "https://github.com/francoispqt/gojay")
3616 (license license:expat)))
3617
3618 (define-public go-github-com-pkg-errors
3619 (package
3620 (name "go-github-com-pkg-errors")
3621 (version "0.9.1")
3622 (source (origin
3623 (method git-fetch)
3624 (uri (git-reference
3625 (url "https://github.com/pkg/errors")
3626 (commit (string-append "v" version))))
3627 (file-name (git-file-name name version))
3628 (sha256
3629 (base32
3630 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
3631 (build-system go-build-system)
3632 (arguments
3633 `(#:import-path "github.com/pkg/errors"))
3634 (synopsis "Go error handling primitives")
3635 (description "This package provides @code{error}, which offers simple
3636 error handling primitives in Go.")
3637 (home-page "https://github.com/pkg/errors")
3638 (license license:bsd-2)))
3639
3640 (define-public go-github-com-maruel-panicparse
3641 (package
3642 (name "go-github-com-maruel-panicparse")
3643 (version "1.3.0")
3644 (source (origin
3645 (method git-fetch)
3646 (uri (git-reference
3647 (url "https://github.com/maruel/panicparse")
3648 (commit (string-append "v" version))))
3649 (file-name (git-file-name name version))
3650 (sha256
3651 (base32
3652 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
3653 (build-system go-build-system)
3654 (arguments
3655 '(#:import-path "github.com/maruel/panicparse"))
3656 (synopsis "Toolkit for parsing Go stack traces")
3657 (description "This package provides a toolkit for parsing Go language panic
3658 stack traces. It simplifies the traces to make salient information more visible
3659 and aid debugging.")
3660 (home-page "https://github.com/maruel/panicparse")
3661 (license license:asl2.0)))
3662
3663 (define-public go-github-com-robfig-cron
3664 (package
3665 (name "go-github-com-robfig-cron")
3666 (version "3.0.1")
3667 (source
3668 (origin
3669 (method git-fetch)
3670 (uri (git-reference
3671 (url "https://github.com/robfig/cron")
3672 (commit (string-append "v" version))))
3673 (file-name (git-file-name name version))
3674 (sha256
3675 (base32
3676 "1agzbw2dfk2d1mpmddr85s5vh6ygm8kqrvfg87i9d2wqnlsnliqm"))))
3677 (build-system go-build-system)
3678 (arguments
3679 `(#:import-path "github.com/robfig/cron"))
3680 (home-page "https://godoc.org/github.com/robfig/cron")
3681 (synopsis "Cron library for Go")
3682 (description "This package provides a cron library for Go. It implements
3683 a cron spec parser and job runner.")
3684 (license license:expat)))
3685
3686 (define-public go-github-com-shirou-gopsutil
3687 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
3688 (revision "0"))
3689 (package
3690 (name "go-github-com-shirou-gopsutil")
3691 (version (git-version "v2.19.7" revision commit))
3692 (source (origin
3693 (method git-fetch)
3694 (uri (git-reference
3695 (url "https://github.com/shirou/gopsutil")
3696 (commit commit))) ; XXX
3697 (file-name (git-file-name name version))
3698 (sha256
3699 (base32
3700 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
3701 (build-system go-build-system)
3702 (arguments
3703 '(#:import-path "github.com/shirou/gopsutil"))
3704 (synopsis "Process and system monitoring in Go")
3705 (description "This package provides a library for retrieving information
3706 on running processes and system utilization (CPU, memory, disks, network,
3707 sensors).")
3708 (home-page "https://github.com/shirou/gopsutil")
3709 (license license:bsd-3))))
3710
3711 (define-public go-github-com-danwakefield-fnmatch
3712 (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
3713 (revision "0"))
3714 (package
3715 (name "go-github-com-danwakefield-fnmatch")
3716 (version (git-version "0.0.0" revision commit))
3717 (source
3718 (origin
3719 (method git-fetch)
3720 (uri (git-reference
3721 (url "https://github.com/danwakefield/fnmatch")
3722 (commit commit)))
3723 (sha256
3724 (base32
3725 "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
3726 (file-name (git-file-name name version))))
3727 (build-system go-build-system)
3728 (arguments
3729 '(#:import-path "github.com/danwakefield/fnmatch"))
3730 (home-page "https://github.com/danwakefield/fnmatch")
3731 (synopsis "Updated clone of kballards golang fnmatch gist")
3732 (description "This package provides an updated clone of kballards golang
3733 fnmatch gist (https://gist.github.com/kballard/272720).")
3734 (license license:bsd-2))))
3735
3736 (define-public go-github-com-ddevault-go-libvterm
3737 (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
3738 (revision "0"))
3739 (package
3740 (name "go-github-com-ddevault-go-libvterm")
3741 (version (git-version "0.0.0" revision commit))
3742 (source
3743 (origin
3744 (method git-fetch)
3745 (uri (git-reference
3746 (url "https://github.com/ddevault/go-libvterm")
3747 (commit commit)))
3748 (sha256
3749 (base32
3750 "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
3751 (file-name (git-file-name name version))))
3752 (build-system go-build-system)
3753 (arguments
3754 '(#:import-path "github.com/ddevault/go-libvterm"))
3755 (propagated-inputs
3756 `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
3757 (home-page "https://github.com/ddevault/go-libvterm")
3758 (synopsis "Go binding to libvterm")
3759 (description
3760 "This is a fork of another go-libvterm library for use with aerc.")
3761 (license license:expat))))
3762
3763 (define-public go-github-com-emersion-go-imap
3764 (package
3765 (name "go-github-com-emersion-go-imap")
3766 (version "1.0.0")
3767 (source
3768 (origin
3769 (method git-fetch)
3770 (uri (git-reference
3771 (url "https://github.com/emersion/go-imap")
3772 (commit (string-append "v" version))))
3773 (sha256
3774 (base32
3775 "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
3776 (file-name (git-file-name name version))))
3777 (build-system go-build-system)
3778 (arguments
3779 '(#:import-path "github.com/emersion/go-imap"))
3780 (native-inputs
3781 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3782 (home-page "https://github.com/emersion/go-imap")
3783 (synopsis "IMAP4rev1 library written in Go")
3784 (description "This package provides an IMAP4rev1 library written in Go. It
3785 can be used to build a client and/or a server.")
3786 (license license:expat)))
3787
3788 (define-public go-github-com-emersion-go-sasl
3789 (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
3790 (revision "0"))
3791 (package
3792 (name "go-github-com-emersion-go-sasl")
3793 (version (git-version "0.0.0" revision commit))
3794 (source
3795 (origin
3796 (method git-fetch)
3797 (uri (git-reference
3798 (url "https://github.com/emersion/go-sasl")
3799 (commit commit)))
3800 (sha256
3801 (base32
3802 "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
3803 (file-name (git-file-name name version))))
3804 (build-system go-build-system)
3805 (arguments
3806 '(#:import-path "github.com/emersion/go-sasl"))
3807 (home-page "https://github.com/emersion/go-sasl")
3808 (synopsis "SASL library written in Go")
3809 (description "This package provides a SASL library written in Go.")
3810 (license license:expat))))
3811
3812 (define-public go-github-com-emersion-go-imap-idle
3813 (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
3814 (revision "0"))
3815 (package
3816 (name "go-github-com-emersion-go-imap-idle")
3817 (version (git-version "0.0.0" revision commit))
3818 (source
3819 (origin
3820 (method git-fetch)
3821 (uri (git-reference
3822 (url "https://github.com/emersion/go-imap-idle")
3823 (commit commit)))
3824 (sha256
3825 (base32
3826 "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
3827 (file-name (git-file-name name version))))
3828 (build-system go-build-system)
3829 (arguments
3830 '(#:import-path "github.com/emersion/go-imap-idle"))
3831 (native-inputs
3832 `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
3833 ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
3834 ("go-golang-org-x-text" ,go-golang-org-x-text)))
3835 (home-page "https://github.com/emersion/go-imap-idle")
3836 (synopsis "IDLE extension for go-imap")
3837 (description "This package provides an IDLE extension for go-imap.")
3838 (license license:expat))))
3839
3840 (define-public go-github-com-fatih-color
3841 (package
3842 (name "go-github-com-fatih-color")
3843 (version "1.8.0")
3844 (source (origin
3845 (method git-fetch)
3846 (uri (git-reference
3847 (url "https://github.com/fatih/color")
3848 (commit (string-append "v" version))))
3849 (file-name (git-file-name name version))
3850 (sha256
3851 (base32
3852 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
3853 (build-system go-build-system)
3854 (arguments
3855 '(#:import-path "github.com/fatih/color"))
3856 (synopsis "Print colored text in Go")
3857 (description "This package provides an ANSI color package to output
3858 colorized or SGR defined output to the standard output.")
3859 (home-page "https://godoc.org/github.com/fatih/color")
3860 (license license:expat)))
3861
3862 (define-public go-github-com-google-go-cmp-cmp
3863 (package
3864 (name "go-github-com-google-go-cmp-cmp")
3865 (version "0.3.1")
3866 (source (origin
3867 (method git-fetch)
3868 (uri (git-reference
3869 (url "https://github.com/google/go-cmp")
3870 (commit (string-append "v" version))))
3871 (file-name (git-file-name name version))
3872 (sha256
3873 (base32
3874 "1caw49i0plkjxir7kdf5qhwls3krqwfmi7g4h392rdfwi3kfahx1"))))
3875 (build-system go-build-system)
3876 (arguments
3877 '(#:import-path "github.com/google/go-cmp/cmp"
3878 #:unpack-path "github.com/google/go-cmp"))
3879 (synopsis "Determine equality of values in Go")
3880 (description "This package provides a more powerful and safer
3881 alternative to @code{reflect.DeepEqual} for comparing whether two values
3882 are semantically equal in Go (for writing tests).")
3883 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
3884 (license license:asl2.0)))
3885
3886 (define-public go-github-com-google-uuid
3887 (package
3888 (name "go-github-com-google-uuid")
3889 (version "1.1.1")
3890 (source (origin
3891 (method git-fetch)
3892 (uri (git-reference
3893 (url "https://github.com/google/uuid")
3894 (commit (string-append "v" version))))
3895 (file-name (git-file-name name version))
3896 (sha256
3897 (base32
3898 "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb"))))
3899 (build-system go-build-system)
3900 (arguments
3901 '(#:import-path "github.com/google/uuid"))
3902 (home-page "https://github.com/google/uuid/")
3903 (synopsis "Generate and inspect UUIDs based on RFC 4122 and DCE 1.1")
3904 (description "The uuid package generates and inspects UUIDs based on RFC
3905 4122 and DCE 1.1: Authentication and Security Services.")
3906 (license license:bsd-3)))
3907
3908 (define-public go-github-com-google-goterm
3909 (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
3910 (revision "1"))
3911 (package
3912 (name "go-github-com-google-goterm")
3913 (version (git-version "0.0.1" revision commit))
3914 (source (origin
3915 (method git-fetch)
3916 (uri (git-reference
3917 (url "https://github.com/google/goterm")
3918 (commit commit)))
3919 (file-name (git-file-name name version))
3920 (sha256
3921 (base32
3922 "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb"))))
3923 (build-system go-build-system)
3924 (arguments
3925 `(#:import-path "github.com/google/goterm/term"
3926 #:unpack-path "github.com/google/goterm"))
3927 (home-page "https://github.com/google/goterm/")
3928 (synopsis "PTY creation and termios get/set attributes")
3929 (description "The term package implements PTY creation and termios get/set
3930 attributes. It also contains some convenience functions for colors, SSH to
3931 and from termios translations, readCh, reading passwords, etc.")
3932 (license license:bsd-3))))
3933
3934 (define-public go-github-com-google-go-querystring
3935 (let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests
3936 (revision "1"))
3937 (package
3938 (name "go-github-com-google-go-querystring")
3939 (version "1.0.0")
3940 (source (origin
3941 (method git-fetch)
3942 (uri (git-reference
3943 (url "https://github.com/google/go-querystring")
3944 (commit commit)))
3945 (file-name (git-file-name name version))
3946 (sha256
3947 (base32
3948 "0mbx4jvf7nz4sk2fgqfq1llz4xb3vc4625b4x398mspr3a5077rs"))))
3949 (build-system go-build-system)
3950 (arguments
3951 `(#:import-path "github.com/google/go-querystring/query"
3952 #:unpack-path "github.com/google/go-querystring"))
3953 (home-page "https://github.com/google/go-querystring/")
3954 (synopsis "Library for encoding structs into URL query parameters")
3955 (description "@code{go-querystring} is Go library for encoding structs
3956 into URL query parameters.")
3957 (license license:bsd-3))))
3958
3959 (define-public go-github-com-google-go-github
3960 (package
3961 (name "go-github-com-google-go-github")
3962 (version "26.1.3")
3963 (source (origin
3964 (method git-fetch)
3965 (uri (git-reference
3966 (url "https://github.com/google/go-github")
3967 (commit (string-append "v" version))))
3968 (file-name (git-file-name name version))
3969 (sha256
3970 (base32
3971 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
3972 (build-system go-build-system)
3973 (arguments
3974 `(#:tests? #f ;application/octet-stream instead of text/plain
3975 #:import-path "github.com/google/go-github/v26/github"
3976 #:unpack-path "github.com/google/go-github/v26"))
3977 (native-inputs
3978 `(("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring)
3979 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3980 (home-page "https://github.com/google/go-github/")
3981 (synopsis "Client library for accessing the GitHub API v3")
3982 (description "@code{go-github} is a Go client library for accessing the
3983 GitHub API v3.")
3984 (license license:bsd-3)))
3985
3986 (define-public go-github-com-google-renameio
3987 (package
3988 (name "go-github-com-google-renameio")
3989 (version "0.1.0")
3990 (source (origin
3991 (method git-fetch)
3992 (uri (git-reference
3993 (url "https://github.com/google/renameio")
3994 (commit (string-append "v" version))))
3995 (file-name (git-file-name name version))
3996 (sha256
3997 (base32
3998 "1ki2x5a9nrj17sn092d6n4zr29lfg5ydv4xz5cp58z6cw8ip43jx"))))
3999 (build-system go-build-system)
4000 (arguments
4001 `(#:import-path "github.com/google/renameio"))
4002 (home-page "https://github.com/google/renameio/")
4003 (synopsis "Atomically create or replace a file or symbolic link")
4004 (description "@code{renameio} Go package provides a way to atomically
4005 create or replace a file or symbolic link.")
4006 (license license:asl2.0)))
4007
4008 (define-public go-golang.org-x-sync-errgroup
4009 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
4010 (revision "0"))
4011 (package
4012 (name "go-golang.org-x-sync-errgroup")
4013 (version (git-version "0.0.0" revision commit))
4014 (source (origin
4015 (method git-fetch)
4016 (uri (git-reference
4017 (url "https://go.googlesource.com/sync")
4018 (commit commit)))
4019 (file-name (git-file-name name version))
4020 (sha256
4021 (base32
4022 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
4023 (build-system go-build-system)
4024 (arguments
4025 '(#:import-path "golang.org/x/sync/errgroup"
4026 #:unpack-path "golang.org/x/sync"))
4027 (synopsis "Synchronization, error propagation, and Context cancellation
4028 for groups of goroutines working on subtasks of a common task.")
4029 (description "This package provides synchronization, error propagation,
4030 and Context cancellation for groups of goroutines working on subtasks of a
4031 common task.")
4032 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
4033 (license license:bsd-3))))
4034
4035 (define (go-gotest-tools-source version sha256-base32-hash)
4036 (origin
4037 (method git-fetch)
4038 (uri (git-reference
4039 (url "https://github.com/gotestyourself/gotest.tools")
4040 (commit (string-append "v" version))))
4041 (file-name (git-file-name "go-gotest-tools" version))
4042 (sha256
4043 (base32 sha256-base32-hash))))
4044
4045 ;; Note that version 3.0.0 is incompatible to 2.3.0.
4046 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
4047 (define (go-gotest-tools-package suffix)
4048 (package
4049 (name (string-append "go-gotest-tools-"
4050 (string-replace-substring suffix "/" "-")))
4051 (version "2.3.0")
4052 (source
4053 (go-gotest-tools-source version
4054 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
4055 (build-system go-build-system)
4056 (arguments
4057 `(#:import-path ,(string-append "gotest.tools/" suffix)
4058 #:unpack-path "gotest.tools"))
4059 (synopsis "@code{gotest-tools} part")
4060 (description "This package provides a part of @code{gotest-tools}.")
4061 (home-page "https://github.com/gotestyourself/gotest.tools")
4062 (license license:asl2.0)))
4063
4064 (define-public go-gotest-tools-internal-format
4065 (package (inherit (go-gotest-tools-package "internal/format"))
4066 (native-inputs
4067 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4068 ("go-github-com-google-go-cmp-cmp"
4069 ,go-github-com-google-go-cmp-cmp)))
4070 (synopsis "Formats messages for use with gotest-tools")
4071 (description "This package provides a way to format messages for use
4072 with gotest-tools.")))
4073
4074 (define-public go-gotest-tools-internal-difflib
4075 (package (inherit (go-gotest-tools-package "internal/difflib"))
4076 (synopsis "Differences for use with gotest-tools")
4077 (description "This package computes differences for use
4078 with gotest-tools.")))
4079
4080 (define-public go-gotest-tools-internal-source
4081 (package (inherit (go-gotest-tools-package "internal/source"))
4082 (native-inputs
4083 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4084 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
4085 (synopsis "Source code AST formatters for gotest-tools")
4086 (description "This package provides source code AST formatters for
4087 gotest-tools.")))
4088
4089 (define-public go-gotest-tools-assert
4090 (package (inherit (go-gotest-tools-package "assert"))
4091 (name "go-gotest-tools-assert")
4092 (arguments
4093 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
4094 #:import-path "gotest.tools/assert"
4095 #:unpack-path "gotest.tools"))
4096 ;(propagated-inputs
4097 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
4098 (native-inputs
4099 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4100 ("go-github-com-google-go-cmp-cmp"
4101 ,go-github-com-google-go-cmp-cmp)))
4102 (synopsis "Compare values and fail a test when a comparison fails")
4103 (description "This package provides a way to compare values and fail a
4104 test when a comparison fails.")
4105 (home-page "https://github.com/gotestyourself/gotest.tools")
4106 (license license:asl2.0)))
4107
4108 (define-public gotestsum
4109 (package
4110 (name "gotestsum")
4111 (version "0.4.0")
4112 (source (origin
4113 (method git-fetch)
4114 (uri (git-reference
4115 (url "https://github.com/gotestyourself/gotestsum")
4116 (commit (string-append "v" version))))
4117 (file-name (git-file-name name version))
4118 (sha256
4119 (base32
4120 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
4121 (build-system go-build-system)
4122 (arguments
4123 '(#:import-path "gotest.tools/gotestsum"))
4124 (native-inputs
4125 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
4126 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
4127 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4128 ("go-github-com-sirupsen-logrus"
4129 ,go-github-com-sirupsen-logrus)
4130 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
4131 ("go-github-com-jonboulle-clockwork"
4132 ,go-github-com-jonboulle-clockwork)
4133 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4134 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
4135 ("go-github-com-google-go-cmp-cmp"
4136 ,go-github-com-google-go-cmp-cmp)
4137 ;; TODO: This would be better as a propagated-input of
4138 ;; go-gotest-tools-assert, but that does not work for
4139 ;; some reason.
4140 ("go-gotest-tools-internal-format"
4141 ,go-gotest-tools-internal-format)
4142 ("go-gotest-tools-internal-difflib"
4143 ,go-gotest-tools-internal-difflib)
4144 ("go-gotest-tools-internal-source"
4145 ,go-gotest-tools-internal-source)
4146 ("go-github-com-google-go-cmp-cmp"
4147 ,go-github-com-google-go-cmp-cmp)))
4148 (synopsis "Go test runner with output optimized for humans")
4149 (description "This package provides a @code{go test} runner with output
4150 optimized for humans, JUnit XML for CI integration, and a summary of the
4151 test results.")
4152 (home-page "https://github.com/gotestyourself/gotestsum")
4153 (license license:asl2.0)))
4154
4155 (define-public go-github-com-golang-protobuf-proto
4156 (package
4157 (name "go-github-com-golang-protobuf-proto")
4158 (version "1.3.1")
4159 (source (origin
4160 (method git-fetch)
4161 (uri (git-reference
4162 (url "https://github.com/golang/protobuf")
4163 (commit (string-append "v" version))))
4164 (file-name (git-file-name name version))
4165 (sha256
4166 (base32
4167 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
4168 (build-system go-build-system)
4169 (arguments
4170 '(#:import-path "github.com/golang/protobuf/proto"
4171 #:unpack-path "github.com/golang/protobuf"
4172 ;; Requires unpackaged golang.org/x/sync/errgroup
4173 #:tests? #f))
4174 (synopsis "Go support for Protocol Buffers")
4175 (description "This package provides Go support for the Protocol Buffers
4176 data serialization format.")
4177 (home-page "https://github.com/golang/protobuf")
4178 (license license:bsd-3)))
4179
4180 (define-public go-github-com-mattn-go-zglob
4181 (package
4182 (name "go-github-com-mattn-go-zglob")
4183 (version "0.0.1")
4184 (source (origin
4185 (method git-fetch)
4186 (uri (git-reference
4187 (url "https://github.com/mattn/go-zglob")
4188 (commit (string-append "v" version))))
4189 (file-name (git-file-name name version))
4190 (sha256
4191 (base32
4192 "1sncdyq5fbd42al4amyy91h7vlzm3wm6c9vl8za2pjgfgsd581fz"))))
4193 (build-system go-build-system)
4194 (arguments
4195 `(#:import-path "github.com/mattn/go-zglob"))
4196 (home-page "https://github.com/mattn/go-zglob")
4197 (synopsis "Glob library that descends into other directories")
4198 (description " A glob library that implements descending into other
4199 directories. It is optimized for filewalking. ")
4200 (license license:expat)))
4201
4202 (define-public go-github-com-willf-bitset
4203 (package
4204 (name "go-github-com-willf-bitset")
4205 (version "1.1.10")
4206 (source (origin
4207 (method git-fetch)
4208 (uri (git-reference
4209 (url "https://github.com/willf/bitset")
4210 (commit (string-append "v" version))))
4211 (file-name (git-file-name name version))
4212 (sha256
4213 (base32
4214 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
4215 (build-system go-build-system)
4216 (arguments
4217 '(#:import-path "github.com/willf/bitset"))
4218 (synopsis "Bitsets in Go")
4219 (description "This package provides a Go implementation of bitsets, which
4220 are a mapping between non-negative integers and boolean values focused on
4221 efficient space usage.")
4222 (home-page "https://github.com/willf/bitset")
4223 (license license:bsd-3)))
4224
4225 (define-public go-github-com-willf-bloom
4226 (package
4227 (name "go-github-com-willf-bloom")
4228 (version "2.0.3")
4229 (source (origin
4230 (method git-fetch)
4231 (uri (git-reference
4232 (url "https://github.com/willf/bloom")
4233 (commit (string-append "v" version))))
4234 (file-name (git-file-name name version))
4235 (sha256
4236 (base32
4237 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
4238 (build-system go-build-system)
4239 (arguments
4240 '(#:import-path "github.com/willf/bloom"
4241 #:phases
4242 (modify-phases %standard-phases
4243 (add-after 'unpack 'patch-import-path
4244 (lambda _
4245 ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for
4246 ;; more information.
4247 ;; <https://github.com/spaolacci/murmur3/issues/29>
4248 (substitute* "src/github.com/willf/bloom/bloom.go"
4249 (("spaolacci") "twmb"))
4250 #t)))))
4251 (propagated-inputs
4252 `(("go-github-com-twmb-murmur3" ,go-github-com-twmb-murmur3)
4253 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
4254 (synopsis "Bloom filters in Go")
4255 (description "This package provides a Go implementation of bloom filters,
4256 based on murmurhash.")
4257 (home-page "https://github.com/willf/bloom")
4258 (license license:bsd-2)))
4259
4260 (define-public go-golang-org-rainycape-unidecode
4261 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
4262 (revision "1"))
4263 (package
4264 (name "go-golang-org-rainycape-unidecode")
4265 (version (git-version "0.0.0" revision commit))
4266 (source (origin
4267 (method git-fetch)
4268 (uri (git-reference
4269 (url "https://github.com/rainycape/unidecode")
4270 (commit commit)))
4271 (file-name (string-append "go-golang-org-rainycape-unidecode-"
4272 version "-checkout"))
4273 (sha256
4274 (base32
4275 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
4276 (build-system go-build-system)
4277 (arguments
4278 `(#:import-path "golang.org/rainycape/unidecode"))
4279 (home-page "https://github.com/rainycape/unidecode")
4280 (synopsis "Unicode transliterator in Golang")
4281 (description "Unicode transliterator in Golang - Replaces non-ASCII
4282 characters with their ASCII approximations.")
4283 (license license:asl2.0))))
4284
4285 (define-public go-github-com-golang-freetype
4286 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
4287 (revision "1"))
4288 (package
4289 (name "go-github-com-golang-freetype")
4290 (version (git-version "0.0.0" revision commit))
4291 (source (origin
4292 (method git-fetch)
4293 (uri (git-reference
4294 (url "https://github.com/golang/freetype")
4295 (commit commit)))
4296 (file-name (string-append "go-github-com-golang-freetype-"
4297 version "-checkout"))
4298 (sha256
4299 (base32
4300 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
4301 (build-system go-build-system)
4302 (arguments
4303 `(#:import-path "github.com/golang/freetype"))
4304 (propagated-inputs
4305 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
4306 (home-page "https://github.com/golang/freetype")
4307 (synopsis "Freetype font rasterizer in the Go programming language")
4308 (description "The Freetype font rasterizer in the Go programming language.")
4309 (license (list license:freetype
4310 license:gpl2+)))))
4311
4312 (define-public go-github-com-fogleman-gg
4313 (package
4314 (name "go-github-com-fogleman-gg")
4315 (version "1.3.0")
4316 (source (origin
4317 (method git-fetch)
4318 (uri (git-reference
4319 (url "https://github.com/fogleman/gg")
4320 (commit (string-append "v" version))))
4321 (file-name (git-file-name name version))
4322 (sha256
4323 (base32
4324 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
4325 (build-system go-build-system)
4326 (arguments
4327 `(#:tests? #f ; Issue with test flags.
4328 #:import-path "github.com/fogleman/gg"))
4329 (propagated-inputs
4330 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
4331 (home-page "https://github.com/fogleman/gg")
4332 (synopsis "2D rendering in Go")
4333 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
4334 (license license:expat)))
4335
4336 (define-public go-github-com-gedex-inflector
4337 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
4338 (revision "1"))
4339 (package
4340 (name "go-github-com-gedex-inflector")
4341 (version (git-version "0.0.0" revision commit))
4342 (source (origin
4343 (method git-fetch)
4344 (uri (git-reference
4345 (url "https://github.com/gedex/inflector")
4346 (commit commit)))
4347 (file-name (string-append "go-github-com-gedex-inflector-"
4348 version "-checkout"))
4349 (sha256
4350 (base32
4351 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
4352 (build-system go-build-system)
4353 (arguments
4354 `(#:import-path "github.com/gedex/inflector"))
4355 (home-page "https://github.com/gedex/inflector")
4356 (synopsis "Go library that pluralizes and singularizes English nouns")
4357 (description "Go library that pluralizes and singularizes English nouns.")
4358 (license license:bsd-2))))
4359
4360 (define-public go-github-com-klauspost-cpuid
4361 (package
4362 (name "go-github-com-klauspost-cpuid")
4363 (version "1.2.3")
4364 (source (origin
4365 (method git-fetch)
4366 (uri (git-reference
4367 (url "https://github.com/klauspost/cpuid")
4368 (commit (string-append "v" version))))
4369 (file-name (git-file-name name version))
4370 (sha256
4371 (base32
4372 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
4373 (build-system go-build-system)
4374 (arguments
4375 `(#:import-path "github.com/klauspost/cpuid"))
4376 (home-page "https://github.com/klauspost/cpuid")
4377 (synopsis "CPU feature identification for Go")
4378 (description "@code{cpuid} provides information about the CPU running the
4379 current program. CPU features are detected on startup, and kept for fast access
4380 through the life of the application. Currently x86 / x64 (AMD64) is supported,
4381 and no external C (cgo) code is used, which should make the library very eas
4382 to use.")
4383 (license license:expat)))
4384
4385 (define-public go-github-com-pbnjay-memory
4386 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
4387 (revision "1"))
4388 (package
4389 (name "go-github-com-pbnjay-memory")
4390 (version (git-version "0.0.0" revision commit))
4391 (source (origin
4392 (method git-fetch)
4393 (uri (git-reference
4394 (url "https://github.com/pbnjay/memory")
4395 (commit commit)))
4396 (file-name (string-append "go-github-com-pbnjay-memory-"
4397 version "-checkout"))
4398 (sha256
4399 (base32
4400 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
4401 (build-system go-build-system)
4402 (arguments
4403 `(#:import-path "github.com/pbnjay/memory"))
4404 (home-page "https://github.com/gedex/inflector")
4405 (synopsis "Go library to report total system memory")
4406 (description "@code{memory} provides a single method reporting total
4407 physical system memory accessible to the kernel. It does not account for memory
4408 used by other processes.")
4409 (license license:bsd-3))))
4410
4411 (define-public go-github-com-surge-glog
4412 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
4413 (revision "1"))
4414 (package
4415 (name "go-github-com-surge-glog")
4416 (version (git-version "0.0.0" revision commit))
4417 (source (origin
4418 (method git-fetch)
4419 (uri (git-reference
4420 (url "https://github.com/surge/glog")
4421 (commit commit)))
4422 (file-name (string-append "go-github-com-surge-glog-"
4423 version "-checkout"))
4424 (sha256
4425 (base32
4426 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
4427 (build-system go-build-system)
4428 (arguments
4429 `(#:import-path "github.com/surge/glog"))
4430 (home-page "https://github.com/surge/glog")
4431 (synopsis "Leveled execution logs for Go")
4432 (description "Leveled execution logs for Go.")
4433 (license license:asl2.0))))
4434
4435 (define-public go-github-com-surgebase-porter2
4436 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
4437 (revision "1"))
4438 (package
4439 (name "go-github-com-surgebase-porter2")
4440 (version (git-version "0.0.0" revision commit))
4441 (source (origin
4442 (method git-fetch)
4443 (uri (git-reference
4444 (url "https://github.com/surgebase/porter2")
4445 (commit commit)))
4446 (file-name (string-append "go-github-com-surgebase-porter2-"
4447 version "-checkout"))
4448 (sha256
4449 (base32
4450 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
4451 (build-system go-build-system)
4452 (arguments
4453 `(#:import-path "github.com/surgebase/porter2"))
4454 (native-inputs
4455 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
4456 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
4457 (home-page "https://github.com/surgebase/porter2")
4458 (synopsis "Go library implementing english Porter2 stemmer")
4459 (description "Porter2 implements the
4460 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
4461 Porter2 stemmer}. It is written completely using finite state machines to do
4462 suffix comparison, rather than the string-based or tree-based approaches.")
4463 (license license:asl2.0))))
4464
4465 (define-public go-github-com-masterminds-goutils
4466 (package
4467 (name "go-github-com-masterminds-goutils")
4468 (version "1.1.0")
4469 (source (origin
4470 (method git-fetch)
4471 (uri (git-reference
4472 (url "https://github.com/Masterminds/goutils")
4473 (commit (string-append "v" version))))
4474 (file-name (git-file-name name version))
4475 (sha256
4476 (base32
4477 "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq"))))
4478 (build-system go-build-system)
4479 (arguments
4480 `(#:import-path "github.com/Masterminds/goutils"))
4481 (home-page "https://github.com/Masterminds/goutils/")
4482 (synopsis "Utility functions to manipulate strings")
4483 (description "GoUtils provides utility functions to manipulate strings in
4484 various ways. It is a Go implementation of some string manipulation libraries
4485 of Java Apache Commons.")
4486 (license license:asl2.0)))
4487
4488 (define-public go-github-com-masterminds-semver
4489 (package
4490 (name "go-github-com-masterminds-semver")
4491 (version "3.1.0")
4492 (source (origin
4493 (method git-fetch)
4494 (uri (git-reference
4495 (url "https://github.com/Masterminds/semver")
4496 (commit (string-append "v" version))))
4497 (file-name (git-file-name name version))
4498 (sha256
4499 (base32
4500 "1g1wizfdy29d02l9dh8gsb029yr4m4swp13swf0pnh9ryh5f1msz"))))
4501 (build-system go-build-system)
4502 (arguments
4503 `(#:import-path "github.com/Masterminds/semver"))
4504 (home-page "https://github.com/Masterminds/semver/")
4505 (synopsis "@code{semver} helps to work with semantic versions")
4506 (description "The semver package provides the ability to work with
4507 semantic versions. Specifically it provides the ability to:
4508 @itemize
4509 @item Parse semantic versions
4510 @item Sort semantic versions
4511 @item Check if a semantic version fits within a set of constraints
4512 @item Optionally work with a @code{v} prefix
4513 @end itemize\n")
4514 (license license:expat)))
4515
4516 (define-public go-github-com-huandu-xstrings
4517 (package
4518 (name "go-github-com-huandu-xstrings")
4519 (version "1.3.2")
4520 (source (origin
4521 (method git-fetch)
4522 (uri (git-reference
4523 (url "https://github.com/huandu/xstrings")
4524 (commit (string-append "v" version))))
4525 (file-name (git-file-name name version))
4526 (sha256
4527 (base32
4528 "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
4529 (build-system go-build-system)
4530 (arguments
4531 `(#:import-path "github.com/huandu/xstrings"))
4532 (home-page "https://github.com/huandu/xstrings/")
4533 (synopsis "Collection of string functions")
4534 (description "Go package xstrings is a collection of string functions,
4535 which are widely used in other languages but absent in Go package strings.")
4536 (license license:expat)))
4537
4538 (define-public go-github-com-imdario-mergo
4539 (package
4540 (name "go-github-com-imdario-mergo")
4541 (version "0.3.10")
4542 (source (origin
4543 (method git-fetch)
4544 (uri (git-reference
4545 (url "https://github.com/imdario/mergo")
4546 (commit (string-append "v" version))))
4547 (file-name (git-file-name name version))
4548 (sha256
4549 (base32
4550 "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
4551 (build-system go-build-system)
4552 (arguments
4553 `(#:import-path "github.com/imdario/mergo"))
4554 (native-inputs
4555 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
4556 (home-page "https://github.com/imdario/mergo/")
4557 (synopsis "Helper to merge structs and maps in Golang")
4558 (description "Helper to merge structs and maps in Golang. Useful for
4559 configuration default values, avoiding messy if-statements.
4560
4561 Mergo merges same-type structs and maps by setting default values in
4562 zero-value fields. Mergo won't merge unexported (private) fields. It will do
4563 recursively any exported one. It also won't merge structs inside
4564 maps (because they are not addressable using Go reflection).")
4565 (license license:bsd-3)))
4566
4567 (define-public go-github-com-masterminds-sprig
4568 (package
4569 (name "go-github-com-masterminds-sprig")
4570 (version "3.1.0")
4571 (source (origin
4572 (method git-fetch)
4573 (uri (git-reference
4574 (url "https://github.com/Masterminds/sprig")
4575 (commit (string-append "v" version))))
4576 (file-name (git-file-name name version))
4577 (sha256
4578 (base32
4579 "0wwi8n2adjc5jlga25lqq0hrz4jcgd5vpll68y2dfji034caaq18"))))
4580 (build-system go-build-system)
4581 (arguments
4582 `(#:tests? #f ;network tests only
4583 #:import-path "github.com/Masterminds/sprig"))
4584 (native-inputs
4585 `(("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils)
4586 ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver)
4587 ("go-github-com-google-uuid" ,go-github-com-google-uuid)
4588 ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings)
4589 ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo)
4590 ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)
4591 ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure)
4592 ("go-github-com-spf13-cast" ,go-github-com-spf13-cast)
4593 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4594 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4595 (home-page "https://github.com/Masterminds/sprig/")
4596 (synopsis "Template functions for Go templates")
4597 (description "Sprig is a library that provides more than 100 commonly used
4598 template functions.")
4599 (license license:expat)))
4600
4601 (define-public go-github-com-bmatcuk-doublestar
4602 (package
4603 (name "go-github-com-bmatcuk-doublestar")
4604 (version "1.3.0")
4605 (source (origin
4606 (method git-fetch)
4607 (uri (git-reference
4608 (url "https://github.com/bmatcuk/doublestar")
4609 (commit (string-append "v" version))))
4610 (file-name (git-file-name name version))
4611 (sha256
4612 (base32
4613 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
4614 (build-system go-build-system)
4615 (arguments
4616 `(#:import-path "github.com/bmatcuk/doublestar"))
4617 (home-page "https://github.com/bmatcuk/doublestar/")
4618 (synopsis "Path pattern matching and globbing supporting doublestar")
4619 (description "@code{doublestar} is a Go implementation of path pattern
4620 matching and globbing with support for \"doublestar\" patterns.")
4621 (license license:expat)))
4622
4623 (define-public go-github-com-dlclark-regexp2
4624 (package
4625 (name "go-github-com-dlclark-regexp2")
4626 (version "1.2.0")
4627 (source (origin
4628 (method git-fetch)
4629 (uri (git-reference
4630 (url "https://github.com/dlclark/regexp2")
4631 (commit (string-append "v" version))))
4632 (file-name (git-file-name name version))
4633 (sha256
4634 (base32
4635 "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng"))))
4636 (build-system go-build-system)
4637 (arguments
4638 `(#:import-path "github.com/dlclark/regexp2"))
4639 (home-page "https://github.com/dlclark/regexp2/")
4640 (synopsis "Full featured regular expressions for Go")
4641 (description "Regexp2 is a feature-rich RegExp engine for Go.")
4642 (license license:expat)))
4643
4644 (define-public go-github-com-alecthomas-colour
4645 (package
4646 (name "go-github-com-alecthomas-colour")
4647 (version "0.1.0")
4648 (source (origin
4649 (method git-fetch)
4650 (uri (git-reference
4651 (url "https://github.com/alecthomas/colour")
4652 (commit (string-append "v" version))))
4653 (file-name (git-file-name name version))
4654 (sha256
4655 (base32
4656 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
4657 (build-system go-build-system)
4658 (arguments
4659 `(#:import-path "github.com/alecthomas/colour"))
4660 (native-inputs
4661 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
4662 (home-page "https://github.com/alecthomas/colour/")
4663 (synopsis "Colour terminal text for Go")
4664 (description "Package colour provides Quake-style colour formatting for
4665 Unix terminals.
4666
4667 The package level functions can be used to write to stdout (or strings or
4668 other files). If stdout is not a terminal, colour formatting will be
4669 stripped.")
4670 (license license:expat)))
4671
4672 (define-public go-github-com-alecthomas-repr
4673 (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
4674 (revision "1"))
4675 (package
4676 (name "go-github-com-alecthomas-repr")
4677 (version (git-version "0.0.1" revision commit))
4678 (source (origin
4679 (method git-fetch)
4680 (uri (git-reference
4681 (url "https://github.com/alecthomas/repr")
4682 (commit commit)))
4683 (file-name (git-file-name name version))
4684 (sha256
4685 (base32
4686 "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
4687 (build-system go-build-system)
4688 (arguments
4689 `(#:import-path "github.com/alecthomas/repr"))
4690 (native-inputs
4691 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4692 (home-page "https://github.com/alecthomas/repr/")
4693 (synopsis "Represent Go values in an almost direct form")
4694 (description "This package attempts to represent Go values in a form that
4695 can be used almost directly in Go source code.")
4696 (license license:expat))))
4697
4698 (define-public go-github-com-sergi-go-diff
4699 (package
4700 (name "go-github-com-sergi-go-diff")
4701 (version "1.1.0")
4702 (source (origin
4703 (method git-fetch)
4704 (uri (git-reference
4705 (url "https://github.com/sergi/go-diff")
4706 (commit (string-append "v" version))))
4707 (file-name (git-file-name name version))
4708 (sha256
4709 (base32
4710 "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
4711 (build-system go-build-system)
4712 (arguments
4713 `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
4714 #:unpack-path "github.com/sergi/go-diff"))
4715 (native-inputs
4716 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4717 (home-page "https://github.com/sergi/go-diff/")
4718 (synopsis "Algorithms to perform operations for synchronizing plain text")
4719 (description "@code{go-diff} offers algorithms to perform operations required for
4720 synchronizing plain text:
4721 @itemize
4722 @item compare two texts and return their differences
4723 @item perform fuzzy matching of text
4724 @item apply patches onto text
4725 @end itemize\n")
4726 (license license:expat)))
4727
4728 (define-public go-github-com-alecthomas-assert
4729 (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
4730 (revision "1"))
4731 (package
4732 (name "go-github-com-alecthomas-assert")
4733 (version (git-version "0.0.1" revision commit))
4734 (source (origin
4735 (method git-fetch)
4736 (uri (git-reference
4737 (url "https://github.com/alecthomas/assert")
4738 (commit commit)))
4739 (file-name (git-file-name name version))
4740 (sha256
4741 (base32
4742 "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
4743 (build-system go-build-system)
4744 (arguments
4745 `(#:import-path "github.com/alecthomas/assert"))
4746 (native-inputs
4747 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4748 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4749 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4750 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4751 (home-page "https://github.com/alecthomas/assert/")
4752 (synopsis "Go assertion library")
4753 (description "Assertion library that:
4754 @itemize
4755 @item makes spotting differences in equality much easier
4756 @item uses repr and diffmatchpatch to display structural differences in colour
4757 @item aborts tests on first assertion failure
4758 @end itemize\n")
4759 (license license:expat))))
4760
4761 (define-public go-github-com-alecthomas-chroma
4762 (package
4763 (name "go-github-com-alecthomas-chroma")
4764 (version "0.8.0")
4765 (source (origin
4766 (method git-fetch)
4767 (uri (git-reference
4768 (url "https://github.com/alecthomas/chroma")
4769 (commit (string-append "v" version))))
4770 (file-name (git-file-name name version))
4771 (sha256
4772 (base32
4773 "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
4774 (build-system go-build-system)
4775 (arguments
4776 `(#:import-path "github.com/alecthomas/chroma"))
4777 (native-inputs
4778 `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
4779 ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
4780 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4781 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4782 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4783 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4784 (home-page "https://github.com/alecthomas/chroma/")
4785 (synopsis "General purpose syntax highlighter in pure Go")
4786 (description "Chroma takes source code and other structured text and
4787 converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
4788 (license license:expat)))
4789
4790 (define-public go-github-com-andybalholm-cascadia
4791 (package
4792 (name "go-github-com-andybalholm-cascadia")
4793 (version "1.0.0")
4794 (source (origin
4795 (method git-fetch)
4796 (uri (git-reference
4797 (url "https://github.com/andybalholm/cascadia")
4798 (commit (string-append "v" version))))
4799 (file-name (git-file-name name version))
4800 (sha256
4801 (base32
4802 "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc"))))
4803 (build-system go-build-system)
4804 (arguments
4805 `(#:import-path "github.com/andybalholm/cascadia"))
4806 (native-inputs
4807 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
4808 (home-page "https://github.com/andybalholm/cascadia/")
4809 (synopsis "CSS selectors for HTML")
4810 (description "The Cascadia package implements CSS selectors for use with
4811 the parse trees produced by the html package.")
4812 (license license:bsd-2)))
4813
4814 (define-public go-github-com-puerkitobio-goquery
4815 (package
4816 (name "go-github-com-puerkitobio-goquery")
4817 (version "1.5.1")
4818 (source (origin
4819 (method git-fetch)
4820 (uri (git-reference
4821 (url "https://github.com/PuerkitoBio/goquery")
4822 (commit (string-append "v" version))))
4823 (file-name (git-file-name name version))
4824 (sha256
4825 (base32
4826 "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx"))))
4827 (build-system go-build-system)
4828 (arguments
4829 `(#:import-path "github.com/PuerkitoBio/goquery"))
4830 (native-inputs
4831 `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4832 ("go-golang-org-x-net" ,go-golang-org-x-net)))
4833 (home-page "https://github.com/PuerkitoBio/goquery")
4834 (synopsis "Features similar to jQuery to the Go language")
4835 (description "@code{goquery} brings a syntax and a set of features similar
4836 to jQuery to the Go language.")
4837 (license license:bsd-3)))
4838
4839 (define-public go-github-com-aymerick-douceur
4840 (package
4841 (name "go-github-com-aymerick-douceur")
4842 (version "0.2.0")
4843 (source (origin
4844 (method git-fetch)
4845 (uri (git-reference
4846 (url "https://github.com/aymerick/douceur/")
4847 (commit (string-append "v" version))))
4848 (file-name (git-file-name name version))
4849 (sha256
4850 (base32
4851 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4852 (build-system go-build-system)
4853 (arguments
4854 `(#:import-path "github.com/aymerick/douceur"))
4855 (native-inputs
4856 `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
4857 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4858 ("go-golang-org-x-net" ,go-golang-org-x-net)
4859 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
4860 (home-page "https://github.com/aymerick/douceur/")
4861 (synopsis "CSS parser and inliner")
4862 (description "This package provides a CSS parser and inliner.")
4863 (license license:expat)))
4864
4865 (define-public go-github-com-chris-ramon-douceur
4866 (package
4867 (name "go-github-com-chris-ramon-douceur")
4868 (version "0.2.0")
4869 (source (origin
4870 (method git-fetch)
4871 (uri (git-reference
4872 (url "https://github.com/chris-ramon/douceur")
4873 (commit (string-append "v" version))))
4874 (file-name (git-file-name name version))
4875 (sha256
4876 (base32
4877 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4878 (build-system go-build-system)
4879 (arguments
4880 `(#:import-path "github.com/chris-ramon/douceur"))
4881 (native-inputs
4882 `(("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
4883 ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
4884 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4885 ("go-golang-org-x-net" ,go-golang-org-x-net)
4886 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
4887 (home-page "https://github.com/chris-ramon/douceur/")
4888 (synopsis "CSS parser and inliner")
4889 (description "This package provides a CSS parser and inliner.")
4890 (license license:expat)))
4891
4892 (define-public go-github-com-microcosm-cc-bluemonday
4893 (package
4894 (name "go-github-com-microcosm-cc-bluemonday")
4895 (version "1.0.3")
4896 (source (origin
4897 (method git-fetch)
4898 (uri (git-reference
4899 (url "https://github.com/microcosm-cc/bluemonday")
4900 (commit (string-append "v" version))))
4901 (file-name (git-file-name name version))
4902 (sha256
4903 (base32
4904 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
4905 (build-system go-build-system)
4906 (arguments
4907 `(#:import-path "github.com/microcosm-cc/bluemonday"))
4908 (native-inputs
4909 `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
4910 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
4911 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
4912 ("go-golang-org-x-net" ,go-golang-org-x-net)))
4913 (home-page "https://github.com/microcosm-cc/bluemonday/")
4914 (synopsis "HTML sanitizer")
4915 (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
4916 (license license:bsd-3)))
4917
4918 (define-public go-github-com-muesli-reflow-wordwrap
4919 (package
4920 (name "go-github-com-muesli-reflow-wordwrap")
4921 (version "0.1.0")
4922 (source (origin
4923 (method git-fetch)
4924 (uri (git-reference
4925 (url "https://github.com/muesli/reflow")
4926 (commit (string-append "v" version))))
4927 (file-name (git-file-name "go-github-com-muesli-reflow" version))
4928 (sha256
4929 (base32
4930 "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
4931 (build-system go-build-system)
4932 (arguments
4933 `(#:import-path "github.com/muesli/reflow/wordwrap"
4934 #:unpack-path "github.com/muesli/reflow"))
4935 (native-inputs
4936 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
4937 (home-page "https://github.com/muesli/reflow/")
4938 (synopsis "Collection of methods helping to transform blocks of text")
4939 (description "This package provides a collection of ANSI-aware methods and
4940 io.Writers helping you to transform blocks of text.")
4941 (license license:expat)))
4942
4943 (define-public go-github-com-muesli-reflow-ansi
4944 (package
4945 (inherit go-github-com-muesli-reflow-wordwrap)
4946 (name "go-github-com-muesli-reflow-ansi")
4947 (arguments
4948 `(#:import-path "github.com/muesli/reflow/ansi"
4949 #:unpack-path "github.com/muesli/reflow"))))
4950
4951 (define-public go-github-com-muesli-reflow-indent
4952 (package
4953 (inherit go-github-com-muesli-reflow-wordwrap)
4954 (name "go-github-com-muesli-reflow-indent")
4955 (arguments
4956 `(#:import-path "github.com/muesli/reflow/indent"
4957 #:unpack-path "github.com/muesli/reflow"))))
4958
4959 (define-public go-github-com-muesli-reflow-padding
4960 (package
4961 (inherit go-github-com-muesli-reflow-wordwrap)
4962 (name "go-github-com-muesli-reflow-padding")
4963 (arguments
4964 `(#:import-path "github.com/muesli/reflow/padding"
4965 #:unpack-path "github.com/muesli/reflow"))))
4966
4967 (define-public go-github-com-muesli-termenv
4968 (package
4969 (name "go-github-com-muesli-termenv")
4970 (version "0.7.0")
4971 (source (origin
4972 (method git-fetch)
4973 (uri (git-reference
4974 (url "https://github.com/muesli/termenv")
4975 (commit (string-append "v" version))))
4976 (file-name (git-file-name name version))
4977 (sha256
4978 (base32
4979 "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
4980 (build-system go-build-system)
4981 (arguments
4982 `(#:import-path "github.com/muesli/termenv"))
4983 (native-inputs
4984 `(("go-github-com-google-goterm" ,go-github-com-google-goterm)
4985 ("go-golang-org-colorful" ,go-golang-org-colorful)
4986 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4987 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
4988 (home-page "https://github.com/muesli/termenv/")
4989 (synopsis "Advanced styling options on the terminal")
4990 (description "termenv lets you safely use advanced styling options on the
4991 terminal. It gathers information about the terminal environment in terms of
4992 its ANSI and color support and offers you convenient methods to colorize and
4993 style your output, without you having to deal with all kinds of weird ANSI
4994 escape sequences and color conversions.")
4995 (license license:expat)))
4996
4997 (define-public go-github-com-olekukonko-tablewriter
4998 (package
4999 (name "go-github-com-olekukonko-tablewriter")
5000 (version "0.0.4")
5001 (source (origin
5002 (method git-fetch)
5003 (uri (git-reference
5004 (url "https://github.com/olekukonko/tablewriter")
5005 (commit (string-append "v" version))))
5006 (file-name (git-file-name name version))
5007 (sha256
5008 (base32
5009 "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x"))))
5010 (build-system go-build-system)
5011 (arguments
5012 `(#:import-path "github.com/olekukonko/tablewriter"))
5013 (native-inputs
5014 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5015 (home-page "https://github.com/olekukonko/tablewriter/")
5016 (synopsis "Generate ASCII table")
5017 (description "This package allows to generate ASCII table. Features:
5018 @itemize
5019 @item automatic Padding
5020 @item support Multiple Lines
5021 @item supports Alignment
5022 @item support Custom Separators
5023 @item automatic Alignment of numbers and percentage
5024 @item write directly to http , file etc via @code{io.Writer}
5025 @item read directly from CSV file
5026 @item optional row line via @code{SetRowLine}
5027 @item normalise table header
5028 @item make CSV Headers optional
5029 @item enable or disable table border
5030 @item set custom footer support
5031 @item optional identical cells merging
5032 @item set custom caption
5033 @item optional reflowing of paragrpahs in multi-line cells
5034 @end itemize\n")
5035 (license license:expat)))
5036
5037 (define-public go-github-com-yuin-goldmark
5038 (package
5039 (name "go-github-com-yuin-goldmark")
5040 (version "1.2.1")
5041 (source (origin
5042 (method git-fetch)
5043 (uri (git-reference
5044 (url "https://github.com/yuin/goldmark")
5045 (commit (string-append "v" version))))
5046 (file-name (git-file-name name version))
5047 (sha256
5048 (base32
5049 "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy"))))
5050 (build-system go-build-system)
5051 (arguments
5052 `(#:import-path "github.com/yuin/goldmark"))
5053 (home-page "https://github.com/yuin/goldmark/")
5054 (synopsis "Markdown parser")
5055 (description "This package provides a markdown parser.")
5056 (license license:expat)))
5057
5058 (define-public go-github-com-charmbracelet-glamour
5059 (package
5060 (name "go-github-com-charmbracelet-glamour")
5061 (version "0.2.0")
5062 (source (origin
5063 (method git-fetch)
5064 (uri (git-reference
5065 (url "https://github.com/charmbracelet/glamour")
5066 (commit (string-append "v" version))))
5067 (file-name (git-file-name name version))
5068 (sha256
5069 (base32
5070 "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
5071 (build-system go-build-system)
5072 (arguments
5073 `(#:import-path "github.com/charmbracelet/glamour"))
5074 (native-inputs
5075 `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
5076 ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
5077 ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
5078 ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
5079 ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5080 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5081 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5082 ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
5083 ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
5084 ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
5085 ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
5086 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
5087 ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
5088 ("go-github-com-google-goterm" ,go-github-com-google-goterm)
5089 ("go-golang-org-colorful" ,go-golang-org-colorful)
5090 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5091 ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
5092 ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
5093 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5094 (home-page "https://github.com/charmbracelet/glamour/")
5095 (synopsis "Write handsome command-line tools with glamour")
5096 (description "@code{glamour} lets you render markdown documents and
5097 templates on ANSI compatible terminals. You can create your own stylesheet or
5098 use one of our glamourous default themes.")
5099 (license license:expat)))
5100
5101 (define-public go-github-com-coreos-go-semver
5102 (package
5103 (name "go-github-com-coreos-go-semver")
5104 (version "0.3.0")
5105 (source (origin
5106 (method git-fetch)
5107 (uri (git-reference
5108 (url "https://github.com/coreos/go-semver")
5109 (commit (string-append "v" version))))
5110 (file-name (git-file-name name version))
5111 (sha256
5112 (base32
5113 "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9"))))
5114 (build-system go-build-system)
5115 (arguments
5116 `(#:import-path "github.com/coreos/go-semver"))
5117 (home-page "https://github.com/coreos/go-semver/")
5118 (synopsis "Semantic versioning library")
5119 (description "@code{go-semver} is a semantic versioning library for Go.
5120 It lets you parse and compare two semantic version strings.")
5121 (license license:asl2.0)))
5122
5123 (define-public go-github-com-emirpasic-gods
5124 (package
5125 (name "go-github-com-emirpasic-gods")
5126 (version "1.12.0")
5127 (source (origin
5128 (method git-fetch)
5129 (uri (git-reference
5130 (url "https://github.com/emirpasic/gods")
5131 (commit (string-append "v" version))))
5132 (file-name (git-file-name name version))
5133 (sha256
5134 (base32
5135 "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1"))))
5136 (build-system go-build-system)
5137 (arguments
5138 `(#:import-path "github.com/emirpasic/gods"
5139 ; Source-only package
5140 #:tests? #f
5141 #:phases
5142 (modify-phases %standard-phases
5143 (delete 'build))))
5144 (home-page "https://github.com/emirpasic/gods/")
5145 (synopsis "Implementation of various data structures and algorithms in Go")
5146 (description "This package provides implementation of various data
5147 structures and algorithms in Go.")
5148 (license license:bsd-2)))
5149
5150 (define-public go-gopkg-in-warnings
5151 (package
5152 (name "go-gopkg-in-warnings")
5153 (version "0.1.2")
5154 (source (origin
5155 (method git-fetch)
5156 (uri (git-reference
5157 (url "https://github.com/go-warnings/warnings")
5158 (commit (string-append "v" version))))
5159 (file-name (git-file-name name version))
5160 (sha256
5161 (base32
5162 "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81"))))
5163 (build-system go-build-system)
5164 (arguments
5165 `(#:import-path "gopkg.in/warnings.v0"))
5166 (home-page "https://gopkg.in/warnings.v0")
5167 (synopsis "Error handling with non-fatal errors")
5168 (description "Package warnings implements error handling with non-fatal
5169 errors (warnings).")
5170 (license license:bsd-2)))
5171
5172 (define-public go-github-com-go-git-gcfg
5173 (package
5174 (name "go-github-com-go-git-gcfg")
5175 (version "1.5.0")
5176 (source (origin
5177 (method git-fetch)
5178 (uri (git-reference
5179 (url "https://github.com/go-git/gcfg")
5180 (commit (string-append "v" version))))
5181 (file-name (git-file-name name version))
5182 (sha256
5183 (base32
5184 "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83"))))
5185 (arguments
5186 `(#:import-path "github.com/go-git/gcfg"))
5187 (native-inputs
5188 `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings)
5189 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
5190 (build-system go-build-system)
5191 (home-page "https://github.com/go-git/gcfg/")
5192 (synopsis "Gcfg reads INI-style configuration files into Go structs")
5193 (description "Gcfg reads INI-style configuration files into Go structs.")
5194 (license license:bsd-3)))
5195
5196 (define-public go-github-com-go-git-go-billy
5197 (package
5198 (name "go-github-com-go-git-go-billy")
5199 (version "5.0.0")
5200 (source (origin
5201 (method git-fetch)
5202 (uri (git-reference
5203 (url "https://github.com/go-git/go-billy")
5204 (commit (string-append "v" version))))
5205 (file-name (git-file-name name version))
5206 (sha256
5207 (base32
5208 "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx"))))
5209 (build-system go-build-system)
5210 (arguments
5211 `(#:import-path "github.com/go-git/go-billy/v5"))
5212 (native-inputs
5213 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5214 (home-page "https://github.com/go-git/go-billy/")
5215 (synopsis "Filesystem abstraction for Go")
5216 (description "Billy implements an interface based on the os standard
5217 library, allowing to develop applications without dependency on the underlying
5218 storage. Makes it virtually free to implement mocks and testing over
5219 filesystem operations.")
5220 (license license:asl2.0)))
5221
5222 (define-public go-github-com-jbenet-go-context
5223 (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
5224 (revision "1"))
5225 (package
5226 (name "go-github-com-jbenet-go-context")
5227 (version (git-version "0.0.1" revision commit))
5228 (source (origin
5229 (method git-fetch)
5230 (uri (git-reference
5231 (url "https://github.com/jbenet/go-context")
5232 (commit commit)))
5233 (file-name (git-file-name name version))
5234 (sha256
5235 (base32
5236 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
5237 (build-system go-build-system)
5238 (arguments
5239 `(#:import-path "github.com/jbenet/go-context"
5240 ; Source-only package
5241 #:tests? #f
5242 #:phases
5243 (modify-phases %standard-phases
5244 (delete 'build))))
5245 (home-page "https://github.com/jbenet/go-context/")
5246 (synopsis "@code{jbenet's} context extensions")
5247 (description "This package provides @code{jbenet's} context
5248 extensions.")
5249 (license license:expat))))
5250
5251 (define-public go-github-com-kevinburke-ssh-config
5252 (package
5253 (name "go-github-com-kevinburke-ssh-config")
5254 (version "1.0")
5255 (source (origin
5256 (method git-fetch)
5257 (uri (git-reference
5258 (url "https://github.com/kevinburke/ssh_config")
5259 (commit version)))
5260 (file-name (git-file-name name version))
5261 (sha256
5262 (base32
5263 "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f"))))
5264 (arguments
5265 `(#:import-path "github.com/kevinburke/ssh_config"))
5266 (build-system go-build-system)
5267 (home-page "https://github.com/kevinburke/ssh_config/")
5268 (synopsis "Parser for @file{ssh_config} files")
5269 (description "This is a Go parser for @file{ssh_config} files.
5270 Importantly, this parser attempts to preserve comments in a given file, so you
5271 can manipulate a @file{ssh_config} file from a program.")
5272 (license license:expat)))
5273
5274 (define-public go-github-com-xanzy-ssh-agent
5275 (package
5276 (name "go-github-com-xanzy-ssh-agent")
5277 (version "0.2.1")
5278 (source (origin
5279 (method git-fetch)
5280 (uri (git-reference
5281 (url "https://github.com/xanzy/ssh-agent")
5282 (commit (string-append "v" version))))
5283 (file-name (git-file-name name version))
5284 (sha256
5285 (base32
5286 "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
5287 (build-system go-build-system)
5288 (arguments
5289 `(#:import-path "github.com/xanzy/ssh-agent"))
5290 (native-inputs
5291 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
5292 (home-page "https://github.com/xanzy/ssh-agent/")
5293 (synopsis "Control ssh-agent from Go")
5294 (description "Package agent implements the ssh-agent protocol, and
5295 provides both a client and a server. The client can talk to a standard
5296 ssh-agent that uses UNIX sockets, and one could implement an alternative
5297 ssh-agent process using the sample server. ")
5298 (license license:asl2.0)))
5299
5300 (define-public go-github-com-alcortesm-tgz
5301 (let ((commit "9c5fe88206d7765837fed3732a42ef88fc51f1a1")
5302 (revision "1"))
5303 (package
5304 (name "go-github-com-alcortesm-tgz")
5305 (version (git-version "0.0.1" revision commit))
5306 (source (origin
5307 (method git-fetch)
5308 (uri (git-reference
5309 (url "https://github.com/alcortesm/tgz")
5310 (commit commit)))
5311 (file-name (git-file-name name version))
5312 (sha256
5313 (base32
5314 "04dcwnz2c2i4wbq2vx3g2wrdgqpncr2r1h6p1k08rdwk4bq1h8c5"))
5315 (modules '((guix build utils)))
5316 (snippet
5317 '(begin
5318 (substitute* "tgz_test.go"
5319 ;; Fix format error
5320 (("t.Fatalf\\(\"%s: unexpected error extracting: %s\", err\\)")
5321 "t.Fatalf(\"%s: unexpected error extracting: %s\", com, err)"))
5322 #t))))
5323 (build-system go-build-system)
5324 (arguments
5325 `(#:import-path "github.com/alcortesm/tgz"
5326 #:phases
5327 (modify-phases %standard-phases
5328 (add-after 'unpack 'make-git-checkout-writable
5329 (lambda* (#:key outputs #:allow-other-keys)
5330 (for-each make-file-writable (find-files "."))
5331 (for-each make-file-writable (find-files (assoc-ref outputs "out")))
5332 #t)))))
5333 (home-page "https://github.com/alcortesm/tgz/")
5334 (synopsis "Go library to extract tgz files to temporal directories")
5335 (description "This package provides a Go library to extract tgz files to
5336 temporal directories.")
5337 (license license:expat))))
5338
5339 (define-public go-github-com-go-git-go-git-fixtures
5340 (package
5341 (name "go-github-com-go-git-go-git-fixtures")
5342 (version "4.0.1")
5343 (source (origin
5344 (method git-fetch)
5345 (uri (git-reference
5346 (url "https://github.com/go-git/go-git-fixtures")
5347 (commit (string-append "v" version))))
5348 (file-name (git-file-name name version))
5349 (sha256
5350 (base32
5351 "002yb1s2mxq2xijkl39ip1iyc3l52k23ikyi9ijfl4bgqxy79ljg"))))
5352 (build-system go-build-system)
5353 (arguments
5354 `(#:import-path "github.com/go-git/go-git-fixtures/v4"
5355 #:phases
5356 (modify-phases %standard-phases
5357 (delete 'reset-gzip-timestamps))))
5358 (native-inputs
5359 `(("go-github-com-alcortesm-tgz" ,go-github-com-alcortesm-tgz)
5360 ("go-github-com-go-git-go-billy" ,go-github-com-go-git-go-billy)
5361 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
5362 ("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5363 (home-page "https://github.com/go-git/go-git-fixtures/")
5364 (synopsis "Fixtures used by @code{go-git}")
5365 (description "This package provides fixtures used by @code{go-git}.")
5366 (license license:asl2.0)))
5367
5368 (define-public go-github-com-pkg-diff
5369 (let ((commit "531926345625d489a6b56f860a569e68245ace36")
5370 (revision "1"))
5371 (package
5372 (name "go-github-com-pkg-diff")
5373 (version (git-version "0.0.1" revision commit))
5374 (source (origin
5375 (method git-fetch)
5376 (uri (git-reference
5377 (url "https://github.com/pkg/diff")
5378 (commit commit)))
5379 (file-name (git-file-name name version))
5380 (sha256
5381 (base32
5382 "1770m7qhww6lm0wj1v3mhv6hwa2v92p4w2fqxj1xyrg5dd58d944"))))
5383 (build-system go-build-system)
5384 (arguments
5385 `(#:import-path "github.com/pkg/diff"))
5386 (native-inputs
5387 `(("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
5388 (home-page "https://github.com/pkg/diff/")
5389 (synopsis "Create and print diffs")
5390 (description
5391 "This package provides a Go library to create and print diffs.")
5392 (license license:bsd-3))))
5393
5394 (define-public go-github-com-twpayne-go-shell
5395 (package
5396 (name "go-github-com-twpayne-go-shell")
5397 (version "0.3.0")
5398 (source (origin
5399 (method git-fetch)
5400 (uri (git-reference
5401 (url "https://github.com/twpayne/go-shell")
5402 (commit (string-append "v" version))))
5403 (file-name (git-file-name name version))
5404 (sha256
5405 (base32
5406 "1hv0ggy3935iddjnmpp9vl0kqjknxpnbmm9w7xr3gds7fpbxz6yp"))))
5407 (build-system go-build-system)
5408 (arguments
5409 `(#:import-path "github.com/twpayne/go-shell"))
5410 (home-page "https://github.com/twpayne/go-shell/")
5411 (synopsis "Shell across multiple platforms")
5412 (description
5413 "Package @code{shell} returns a user's shell across multiple platforms.")
5414 (license license:expat)))
5415
5416 (define-public go-github-com-twpayne-go-vfs
5417 (package
5418 (name "go-github-com-twpayne-go-vfs")
5419 (version "1.5.0")
5420 (source (origin
5421 (method git-fetch)
5422 (uri (git-reference
5423 (url "https://github.com/twpayne/go-vfs")
5424 (commit (string-append "v" version))))
5425 (file-name (git-file-name name version))
5426 (sha256
5427 (base32
5428 "19dm3gi45znwaqbzxhwcgkiz8059bwa3ank80hc6qhdl579bpjnz"))))
5429 (build-system go-build-system)
5430 (arguments
5431 `(#:import-path "github.com/twpayne/go-vfs"))
5432 (native-inputs
5433 `(("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar)))
5434 (home-page "https://github.com/twpayne/go-vfs/")
5435 (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
5436 (description "Package @code{vfs} provides an abstraction of the @code{os}
5437 and @code{ioutil} packages that is easy to test.")
5438 (license license:expat)))
5439
5440 (define-public go-github-com-twpayne-go-vfsafero
5441 (package
5442 (name "go-github-com-twpayne-go-vfsafero")
5443 (version "1.0.0")
5444 (source (origin
5445 (method git-fetch)
5446 (uri (git-reference
5447 (url "https://github.com/twpayne/go-vfsafero")
5448 (commit (string-append "v" version))))
5449 (file-name (git-file-name name version))
5450 (sha256
5451 (base32
5452 "18jwxhlrjd06z8xzg9ij0irl4f79jfy5jpwiz6xqlhzb1fja19pw"))))
5453 (build-system go-build-system)
5454 (arguments
5455 `(#:import-path "github.com/twpayne/go-vfsafero"))
5456 (native-inputs
5457 `(("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)
5458 ("go-github-com-spf13-afero" ,go-github-com-spf13-afero)))
5459 (home-page "https://github.com/twpayne/go-vfsafero/")
5460 (synopsis "Compatibility later between @code{go-vfs} and @code{afero}")
5461 (description
5462 "Package @code{vfsafero} provides a compatibility later between
5463 @code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.")
5464 (license license:expat)))
5465
5466 (define-public go-github-com-twpayne-go-xdg
5467 (package
5468 (name "go-github-com-twpayne-go-xdg")
5469 (version "3.1.0")
5470 (source (origin
5471 (method git-fetch)
5472 (uri (git-reference
5473 (url "https://github.com/twpayne/go-xdg")
5474 (commit (string-append "v" version))))
5475 (file-name (git-file-name name version))
5476 (sha256
5477 (base32
5478 "0j8q7yzixs6jlaad0lpa8hs6b240gm2cmy0yxgnprrbpa0y2r7ln"))))
5479 (build-system go-build-system)
5480 (arguments
5481 `(#:import-path "github.com/twpayne/go-xdg/v3"))
5482 (native-inputs
5483 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
5484 ("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)))
5485 (home-page "https://github.com/twpayne/go-xdg/")
5486 (synopsis "Functions related to freedesktop.org")
5487 (description "Package @code{xdg} provides functions related to
5488 @uref{freedesktop.org}.")
5489 (license license:expat)))
5490
5491 (define-public go-github-com-godbus-dbus
5492 (package
5493 (name "go-github-com-godbus-dbus")
5494 (version "5.0.3")
5495 (source (origin
5496 (method git-fetch)
5497 (uri (git-reference
5498 (url "https://github.com/godbus/dbus")
5499 (commit (string-append "v" version))))
5500 (file-name (git-file-name name version))
5501 (sha256
5502 (base32
5503 "1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
5504 (build-system go-build-system)
5505 (arguments
5506 `(#:tests? #f ;no /var/run/dbus/system_bus_socket
5507 #:import-path "github.com/godbus/dbus"))
5508 (native-inputs
5509 `(("dbus" ,dbus))) ;dbus-launch
5510 (home-page "https://github.com/godbus/dbus/")
5511 (synopsis "Native Go client bindings for the D-Bus")
5512 (description "@code{dbus} is a library that implements native Go client
5513 bindings for the D-Bus message bus system.")
5514 (license license:bsd-2)))
5515
5516 (define-public go-github-com-zalando-go-keyring
5517 (package
5518 (name "go-github-com-zalando-go-keyring")
5519 (version "0.1.0")
5520 (source (origin
5521 (method git-fetch)
5522 (uri (git-reference
5523 (url "https://github.com/zalando/go-keyring")
5524 (commit (string-append "v" version))))
5525 (file-name (git-file-name name version))
5526 (sha256
5527 (base32
5528 "0kj54nkiyccy6m9iy9a53f6412a54xk96j88jaiq35yzdgfa4z3p"))))
5529 (build-system go-build-system)
5530 (arguments
5531 `(#:tests? #f ;XXX: Fix dbus tests
5532 #:import-path "github.com/zalando/go-keyring"))
5533 (native-inputs
5534 `(("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus)
5535 ("dbus" ,dbus)))
5536 (home-page "https://github.com/zalando/go-keyring/")
5537 (synopsis "Library for working with system keyring")
5538 (description "@code{go-keyring} is a library for setting, getting and
5539 deleting secrets from the system keyring.")
5540 (license license:expat)))
5541
5542 (define-public go-etcd-io-bbolt
5543 (package
5544 (name "go-etcd-io-bbolt")
5545 (version "1.3.5")
5546 (source (origin
5547 (method git-fetch)
5548 (uri (git-reference
5549 (url "https://github.com/etcd-io/bbolt")
5550 (commit (string-append "v" version))))
5551 (file-name (git-file-name name version))
5552 (sha256
5553 (base32
5554 "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r"))))
5555 (build-system go-build-system)
5556 (arguments
5557 `(#:import-path "go.etcd.io/bbolt"))
5558 (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
5559 (synopsis "Low-level key/value store in Go")
5560 (description "This package implements a low-level key/value store in Go.")
5561 (license license:expat)))
5562
5563 (define-public go-github-com-rogpeppe-go-internal
5564 (package
5565 (name "go-github-com-rogpeppe-go-internal")
5566 (version "1.6.1")
5567 (source (origin
5568 (method git-fetch)
5569 (uri (git-reference
5570 (url "https://github.com/rogpeppe/go-internal")
5571 (commit (string-append "v" version))))
5572 (file-name (git-file-name name version))
5573 (sha256
5574 (base32
5575 "00j2vpp1bsggdvw1winkz23mg0q6drjiir5q0k49pmqx1sh7106l"))))
5576 (build-system go-build-system)
5577 (arguments
5578 `(#:import-path "github.com/rogpeppe/go-internal"
5579 ; Source-only package
5580 #:tests? #f
5581 #:phases
5582 (modify-phases %standard-phases
5583 (delete 'build))))
5584 (home-page "https://github.com/rogpeppe/go-internal/")
5585 (synopsis "Internal packages from the Go standard library")
5586 (description "This repository factors out an opinionated selection of
5587 internal packages and functionality from the Go standard library. Currently
5588 this consists mostly of packages and testing code from within the Go tool
5589 implementation.
5590
5591 Included are the following:
5592 @itemize
5593 @item dirhash: calculate hashes over directory trees the same way that the Go tool does.
5594 @item goproxytest: a GOPROXY implementation designed for test use.
5595 @item gotooltest: Use the Go tool inside test scripts (see testscript below)
5596 @item imports: list of known architectures and OSs, and support for reading import import statements.
5597 @item modfile: read and write go.mod files while preserving formatting and comments.
5598 @item module: module paths and versions.
5599 @item par: do work in parallel.
5600 @item semver: semantic version parsing.
5601 @item testenv: information on the current testing environment.
5602 @item testscript: script-based testing based on txtar files
5603 @item txtar: simple text-based file archives for testing.
5604 @end itemize\n")
5605 (license license:bsd-3)))
5606
5607 (define-public gopkg-in-errgo-fmt-errors
5608 (package
5609 (name "gopkg-in-errgo-fmt-errors")
5610 (version "2.1.0")
5611 (source (origin
5612 (method git-fetch)
5613 (uri (git-reference
5614 (url "https://github.com/go-errgo/errgo")
5615 (commit (string-append "v" version))))
5616 (file-name (git-file-name name version))
5617 (sha256
5618 (base32
5619 "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2"))))
5620 (build-system go-build-system)
5621 (arguments
5622 `(#:import-path "gopkg.in/errgo.v2/fmt/errors"
5623 #:tests? #f
5624 ;; Source-only package
5625 #:phases
5626 (modify-phases %standard-phases
5627 (delete 'build))))
5628 (home-page "https://godoc.org/gopkg.in/errgo.v2")
5629 (synopsis "Functions that use the fmt package to format error messages")
5630 (description "This package is the same as @code{gopkg.in/errgo.v2/errors}
5631 except that it adds convenience functions that use the fmt package to format
5632 error messages.")
5633 (license license:bsd-3)))