1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 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, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
11 ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
12 ;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
13 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
14 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
15 ;;; Copyright © 2018, 2019, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
16 ;;; Copyright © 2019 Giovanni Biscuolo <g@xelera.eu>
17 ;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
18 ;;; Copyright © 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
20 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
21 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.com>
22 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
23 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
24 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
25 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
26 ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
27 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
28 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@mgail.com>
29 ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
30 ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
31 ;;; Copyright © 2021 jgart <jgart@dismail.de>
33 ;;; This file is part of GNU Guix.
35 ;;; GNU Guix is free software; you can redistribute it and/or modify it
36 ;;; under the terms of the GNU General Public License as published by
37 ;;; the Free Software Foundation; either version 3 of the License, or (at
38 ;;; your option) any later version.
40 ;;; GNU Guix is distributed in the hope that it will be useful, but
41 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
42 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43 ;;; GNU General Public License for more details.
45 ;;; You should have received a copy of the GNU General Public License
46 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
48 (define-module (gnu packages golang)
49 #:use-module ((guix licenses) #:prefix license:)
50 #:use-module (guix utils)
51 #:use-module ((guix build utils) #:select (alist-replace))
52 #:use-module (guix download)
53 #:use-module (guix git-download)
54 #:use-module (guix packages)
55 #:use-module (guix build-system gnu)
56 #:use-module (guix build-system trivial)
57 #:use-module (guix build-system go)
58 #:use-module (gnu packages)
59 #:use-module (gnu packages admin)
60 #:use-module (gnu packages base)
61 #:use-module ((gnu packages bootstrap) #:select (glibc-dynamic-linker))
62 #:use-module (gnu packages gcc)
63 #:use-module (gnu packages glib)
64 #:use-module (gnu packages lua)
65 #:use-module (gnu packages mp3)
66 #:use-module (gnu packages pcre)
67 #:use-module (gnu packages perl)
68 #:use-module (gnu packages pkg-config)
69 #:use-module (gnu packages pulseaudio)
70 #:use-module (gnu packages terminals)
71 #:use-module (gnu packages textutils)
72 #:use-module (gnu packages tls)
73 #:use-module (gnu packages web)
74 #:use-module (ice-9 match)
75 #:use-module (srfi srfi-1))
77 (define-public go-github-com-apparentlymart-go-openvpn-mgmt
78 (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
81 (name "go-github-com-apparentlymart-go-openvpn-mgmt")
82 (version (git-version "0.0.0" revision commit))
88 (url "https://github.com/apparentlymart/go-openvpn-mgmt")
90 (file-name (git-file-name name version))
92 (base32 "1dn431jnswg5ns1ah10wswnw6wiv48zq21zr5xp1178l4waswj7k"))))
93 (build-system go-build-system)
95 `(#:unpack-path "github.com/apparentlymart/go-openvpn-mgmt"
97 (modify-phases %standard-phases
102 (apply (assoc-ref %standard-phases 'build)
103 `(,@arguments #:import-path ,directory)))
105 "github.com/apparentlymart/go-openvpn-mgmt/demux"
106 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))))
111 (apply (assoc-ref %standard-phases 'check)
112 `(,@arguments #:import-path ,directory)))
114 "github.com/apparentlymart/go-openvpn-mgmt/demux"
115 "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))))
120 (apply (assoc-ref %standard-phases 'install)
121 `(,@arguments #:import-path ,directory)))
123 "github.com/apparentlymart/go-openvpn-mgmt/demux"
124 "github.com/apparentlymart/go-openvpn-mgmt/openvpn")))))))
125 (home-page "https://github.com/apparentlymart/go-openvpn-mgmt")
126 (synopsis "Go client library for OpenVPN's management protocol")
127 (description "Go-OpenVPN-Mgmt implements a client for the OpenVPN
128 management interface. It can be used to monitor and control an OpenVPN process
129 running with its management port enabled.")
130 (license license:expat))))
132 (define-public go-github-com-emersion-go-autostart
133 (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c")
136 (name "go-github-com-emersion-go-autostart")
137 (version (git-version "0.0.0" revision commit))
143 (url "https://github.com/emersion/go-autostart")
145 (file-name (git-file-name name version))
147 (base32 "0cqqvbzn32xv5lknfygrx01rx2sc6pi833k7008nlk9lsfgry06v"))))
148 (build-system go-build-system)
150 `(#:import-path "github.com/emersion/go-autostart"))
151 (home-page "https://github.com/emersion/go-autostart")
152 (synopsis "Autostart library in Go")
153 (description "Go-Autostart is a Go library to run a command after login.")
154 (license license:expat))))
156 (define-public go-github-com-dchest-siphash
158 (name "go-github-com-dchest-siphash")
165 (url "https://github.com/dchest/siphash")
166 (commit (string-append "v" version))))
167 (file-name (git-file-name name version))
169 (base32 "08s076y7vmjqnq7jz0762hkm896r6r31v8b31a3gy0n8rfa01k8k"))))
170 (build-system go-build-system)
172 `(#:import-path "github.com/dchest/siphash"))
173 (home-page "https://github.com/dchest/siphash")
174 (synopsis "Go library for pseudorandom functions")
175 (description "SipHash is a family of pseudorandom functions (PRFs) optimized
176 for speed on short messages.")
177 (license license:cc0)))
179 (define-public go-github-com-rakyll-statik
181 (name "go-github-com-rakyll-statik")
188 (url "https://github.com/rakyll/statik")
189 (commit (string-append "v" version))))
190 (file-name (git-file-name name version))
192 (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va"))))
193 (build-system go-build-system)
195 `(#:import-path "github.com/rakyll/statik"))
196 (home-page "https://github.com/rakyll/statik/")
197 (synopsis "Embed files into a Go executable")
198 (description "Statik allows you to embed a directory of static files into
199 your Go binary to be later served from an http.FileSystem.")
200 (license license:asl2.0)))
202 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
203 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
204 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
205 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
206 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
207 ;; gccgo-5. Mips is not officially supported, but it should work if it is
210 (define-public go-1.4
213 ;; The C-language bootstrap of Go:
214 ;; https://golang.org/doc/install/source#go14
215 (version "1.4-bootstrap-20171003")
218 (uri (string-append "https://storage.googleapis.com/golang/"
219 name version ".tar.gz"))
222 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
223 (build-system gnu-build-system)
228 `(#:modules ((ice-9 match)
229 (guix build gnu-build-system)
232 #:tests? #f ; Tests are run by the all.bash script.
233 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
234 (%current-target-system)))
235 '(#:system "armhf-linux")
238 (modify-phases %standard-phases
240 (add-after 'patch-generated-file-shebangs 'chdir
244 (add-before 'build 'prebuild
245 (lambda* (#:key inputs outputs #:allow-other-keys)
246 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
247 (ld (string-append (assoc-ref inputs "libc") "/lib"))
248 (loader (car (find-files ld "^ld-linux.+")))
249 (net-base (assoc-ref inputs "net-base"))
251 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
252 (output (assoc-ref outputs "out")))
254 ;; Removing net/ tests, which fail when attempting to access
255 ;; network resources not present in the build container.
256 (for-each delete-file
257 '("net/multicast_test.go" "net/parse_test.go"
260 ;; Add libgcc to the RUNPATH.
261 (substitute* "cmd/go/build.go"
262 (("cgoldflags := \\[\\]string\\{\\}")
263 (string-append "cgoldflags := []string{"
264 "\"-rpath=" gcclib "\"}"))
265 (("ldflags := buildLdflags")
267 "ldflags := buildLdflags\n"
268 "ldflags = append(ldflags, \"-r\")\n"
269 "ldflags = append(ldflags, \"" gcclib "\")\n")))
271 (substitute* "os/os_test.go"
272 (("/usr/bin") (getcwd))
273 (("/bin/pwd") (which "pwd")))
275 ;; Disable failing tests: these tests attempt to access
276 ;; commands or network resources which are neither available or
277 ;; necessary for the build to succeed.
282 ((regex all before test_name)
283 (string-append before "Disabled" test_name)))))
284 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
285 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
286 ("os/os_test.go" "(.+)(TestHostname.+)")
287 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
289 ;; XXX: This test fails with tzdata 2020b and newer. Later
290 ;; Go releases work fine, so just disable this for the
292 ("time/example_test.go" "(.+)(ExampleParseInLocation.+)")
294 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
295 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
296 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
297 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
298 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
299 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
300 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
301 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
302 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
304 (substitute* "net/lookup_unix.go"
305 (("/etc/protocols") (string-append net-base "/etc/protocols")))
306 (substitute* "time/zoneinfo_unix.go"
307 (("/usr/share/zoneinfo/") tzdata-path))
308 (substitute* (find-files "cmd" "asm.c")
309 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
313 (lambda* (#:key inputs outputs #:allow-other-keys)
314 ;; FIXME: Some of the .a files are not bit-reproducible.
315 (let* ((output (assoc-ref outputs "out")))
316 (setenv "CC" (which "gcc"))
317 (setenv "GOOS" "linux")
318 (setenv "GOROOT" (dirname (getcwd)))
319 (setenv "GOROOT_FINAL" output)
320 (setenv "GO14TESTS" "1")
321 (invoke "sh" "all.bash"))))
324 (lambda* (#:key outputs inputs #:allow-other-keys)
325 (let* ((output (assoc-ref outputs "out"))
326 (doc_out (assoc-ref outputs "doc"))
327 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
328 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
329 (tests (string-append
330 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
332 (copy-recursively "../test" (string-append tests "/test"))
333 (delete-file-recursively "../test")
335 (copy-recursively "../api" (string-append docs "/api"))
336 (delete-file-recursively "../api")
337 (copy-recursively "../doc" (string-append docs "/doc"))
338 (delete-file-recursively "../doc")
340 (for-each (lambda (file)
341 (let ((file (string-append "../" file)))
342 (install-file file docs)
344 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
345 "LICENSE" "VERSION" "robots.txt"))
346 (copy-recursively "../" output)
351 ("gcc:lib" ,(canonical-package gcc) "lib")))
353 `(("pkg-config" ,pkg-config)
355 ("net-base" ,net-base)
358 (home-page "https://golang.org/")
359 (synopsis "Compiler and libraries for Go, a statically-typed language")
360 (description "Go, also commonly referred to as golang, is an imperative
361 programming language designed primarily for systems programming. Go is a
362 compiled, statically typed language in the tradition of C and C++, but adds
363 garbage collection, various safety features, and concurrent programming features
364 in the style of communicating sequential processes (@dfn{CSP}).")
365 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
366 (license license:bsd-3)))
368 (define-public go-1.14
377 (url "https://github.com/golang/go")
378 (commit (string-append "go" version))))
379 (file-name (git-file-name name version))
382 "1crh90qkvhlx23hwsi4wxy3l3h8973lr18135y6h1nnzzwr3n3ps"))))
384 (substitute-keyword-arguments (package-arguments go-1.4)
386 (if (string-prefix? "aarch64-linux" (or (%current-system)
387 (%current-target-system)))
391 `(modify-phases ,phases
393 (lambda* (#:key inputs outputs #:allow-other-keys)
394 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
395 (ld (string-append (assoc-ref inputs "libc") "/lib"))
396 (loader (car (find-files ld "^ld-linux.+")))
397 (net-base (assoc-ref inputs "net-base"))
399 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
400 (output (assoc-ref outputs "out")))
402 ;; Having the patch in the 'patches' field of <origin> breaks
403 ;; the 'TestServeContent' test due to the fact that
404 ;; timestamps are reset. Thus, apply it from here.
405 (invoke "patch" "-p2" "--force" "-i"
406 (assoc-ref inputs "go-skip-gc-test.patch"))
408 ;; A side effect of these test scripts is testing
409 ;; cgo. Attempts at using cgo flags and directives with these
410 ;; scripts as specified here (https://golang.org/cmd/cgo/)
411 ;; have not worked. The tests continue to state that they can
412 ;; not find object files/headers despite being present.
415 '("cmd/go/testdata/script/mod_case_cgo.txt"
416 "cmd/go/testdata/script/list_find.txt"
417 "cmd/go/testdata/script/list_compiled_imports.txt"
418 "cmd/go/testdata/script/cgo_syso_issue29253.txt"
419 "cmd/go/testdata/script/cover_cgo.txt"
420 "cmd/go/testdata/script/cover_cgo_xtest.txt"
421 "cmd/go/testdata/script/cover_cgo_extra_test.txt"
422 "cmd/go/testdata/script/cover_cgo_extra_file.txt"
423 "cmd/go/testdata/script/cgo_path_space.txt"
424 "cmd/go/testdata/script/ldflag.txt"
425 "cmd/go/testdata/script/cgo_path.txt"))
427 (for-each make-file-writable (find-files "."))
429 (substitute* "os/os_test.go"
430 (("/usr/bin") (getcwd))
431 (("/bin/pwd") (which "pwd"))
432 (("/bin/sh") (which "sh")))
434 ;; Add libgcc to runpath
435 (substitute* "cmd/link/internal/ld/lib.go"
436 (("!rpath.set") "true"))
437 (substitute* "cmd/go/internal/work/gccgo.go"
438 (("cgoldflags := \\[\\]string\\{\\}")
439 (string-append "cgoldflags := []string{"
440 "\"-rpath=" gcclib "\""
444 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
445 (substitute* "cmd/go/internal/work/gc.go"
446 (("ldflags = setextld\\(ldflags, compiler\\)")
448 "ldflags = setextld(ldflags, compiler)\n"
449 "ldflags = append(ldflags, \"-r\")\n"
450 "ldflags = append(ldflags, \"" gcclib "\")\n")))
452 ;; Disable failing tests: these tests attempt to access
453 ;; commands or network resources which are neither available
454 ;; nor necessary for the build to succeed.
459 ((regex all before test_name)
460 (string-append before "Disabled" test_name)))))
461 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
462 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
463 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
464 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
465 ;; 127.0.0.1 doesn't exist
466 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
467 ;; 127.0.0.1 doesn't exist
468 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
469 ;; /etc/services doesn't exist
470 ("net/parse_test.go" "(.+)(TestReadLine.+)")
471 ("os/os_test.go" "(.+)(TestHostname.+)")
472 ;; The user's directory doesn't exist
473 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
474 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
475 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
476 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
477 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
478 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
479 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
480 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
481 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
482 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
483 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
484 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
485 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
486 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
487 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
488 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
489 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
490 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
491 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
492 ("syscall/exec_linux_test.go"
493 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
495 ;; These tests fail on aarch64-linux
496 (substitute* "cmd/dist/test.go"
497 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
499 ;; fix shebang for testar script
500 ;; note the target script is generated at build time.
501 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
502 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
504 (substitute* "net/lookup_unix.go"
505 (("/etc/protocols") (string-append net-base "/etc/protocols")))
506 (substitute* "net/port_unix.go"
507 (("/etc/services") (string-append net-base "/etc/services")))
508 (substitute* "time/zoneinfo_unix.go"
509 (("/usr/share/zoneinfo/") tzdata-path))
510 (substitute* (find-files "cmd" "\\.go")
511 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
513 (add-before 'build 'set-bootstrap-variables
514 (lambda* (#:key outputs inputs #:allow-other-keys)
515 ;; Tell the build system where to find the bootstrap Go.
516 (let ((go (assoc-ref inputs "go")))
517 (setenv "GOROOT_BOOTSTRAP" go)
518 (setenv "GOGC" "400")
521 (lambda* (#:key inputs outputs #:allow-other-keys)
522 ;; FIXME: Some of the .a files are not bit-reproducible.
523 (let* ((output (assoc-ref outputs "out")))
524 (setenv "CC" (which "gcc"))
525 (setenv "GOOS" "linux")
526 (setenv "GOROOT" (dirname (getcwd)))
527 (setenv "GOROOT_FINAL" output)
528 (setenv "CGO_ENABLED" "1")
529 (invoke "sh" "all.bash"))))
531 ;; TODO: Most of this could be factorized with Go 1.4.
532 (lambda* (#:key outputs #:allow-other-keys)
533 (let* ((output (assoc-ref outputs "out"))
534 (doc_out (assoc-ref outputs "doc"))
535 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
537 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
538 ;; Prevent installation of the build cache, which contains
539 ;; store references to most of the tools used to build Go and
540 ;; would unnecessarily increase the size of Go's closure if it
542 (delete-file-recursively "../pkg/obj")
545 (copy-recursively "../test" (string-append src "/test"))
546 (delete-file-recursively "../test")
548 (copy-recursively "../api" (string-append docs "/api"))
549 (delete-file-recursively "../api")
550 (copy-recursively "../doc" (string-append docs "/doc"))
551 (delete-file-recursively "../doc")
555 (let* ((filein (string-append "../" file))
556 (fileout (string-append docs "/" file)))
557 (copy-file filein fileout)
558 (delete-file filein)))
559 ;; Note the slightly different file names compared to 1.4.
560 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
561 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
563 (copy-recursively "../" output)
567 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
568 ,@(match (%current-system)
569 ((or "armhf-linux" "aarch64-linux")
570 `(("gold" ,binutils-gold)))
572 ,@(package-native-inputs go-1.4)))
573 (supported-systems %supported-systems)))
575 (define-public go-1.16
584 (url "https://github.com/golang/go")
585 (commit (string-append "go" version))))
586 (file-name (git-file-name name version))
589 "19a93p217h5xi2sgh34qzv24pkd4df0sw4fc5z6k47lspjp3vx2l"))))
591 (substitute-keyword-arguments (package-arguments go-1.14)
594 `(modify-phases ,phases
595 (add-after 'unpack 'remove-unused-sourcecode-generators
597 ;; Prevent perl from inclusion in closure through unused files
598 (for-each delete-file (find-files "src" "\\.pl$"))))
600 (lambda* (#:key inputs outputs #:allow-other-keys)
601 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
602 (net-base (assoc-ref inputs "net-base"))
604 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo")))
606 ;; Having the patch in the 'patches' field of <origin> breaks
607 ;; the 'TestServeContent' test due to the fact that
608 ;; timestamps are reset. Thus, apply it from here.
609 (invoke "patch" "-p2" "--force" "-i"
610 (assoc-ref inputs "go-skip-gc-test.patch"))
611 (invoke "patch" "-p2" "--force" "-i"
612 (assoc-ref inputs "go-fix-script-tests.patch"))
614 (for-each make-file-writable (find-files "."))
616 (substitute* "os/os_test.go"
617 (("/usr/bin") (getcwd))
618 (("/bin/sh") (which "sh")))
620 (substitute* "cmd/go/testdata/script/cgo_path_space.txt"
621 (("/bin/sh") (which "sh")))
623 ;; Add libgcc to runpath
624 (substitute* "cmd/link/internal/ld/lib.go"
625 (("!rpath.set") "true"))
626 (substitute* "cmd/go/internal/work/gccgo.go"
627 (("cgoldflags := \\[\\]string\\{\\}")
628 (string-append "cgoldflags := []string{"
629 "\"-Wl,-rpath=" gcclib "\""
633 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
634 (substitute* "cmd/go/internal/work/gc.go"
635 (("ldflags = setextld\\(ldflags, compiler\\)")
637 "ldflags = setextld(ldflags, compiler)\n"
638 "ldflags = append(ldflags, \"-r\")\n"
639 "ldflags = append(ldflags, \"" gcclib "\")\n")))
641 ;; Disable failing tests: these tests attempt to access
642 ;; commands or network resources which are neither available
643 ;; nor necessary for the build to succeed.
648 ((regex all before test_name)
649 (string-append before "Disabled" test_name)))))
650 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
651 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
652 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
653 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
654 ;; 127.0.0.1 doesn't exist
655 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
656 ;; 127.0.0.1 doesn't exist
657 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
658 ;; /etc/services doesn't exist
659 ("net/parse_test.go" "(.+)(TestReadLine.+)")
660 ("os/os_test.go" "(.+)(TestHostname.+)")
661 ;; The user's directory doesn't exist
662 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
663 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
664 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
665 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
666 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
667 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
668 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
669 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
670 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
671 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
672 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
673 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
674 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
675 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
676 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
677 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
678 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
679 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
680 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
681 ("syscall/exec_linux_test.go"
682 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
684 ;; These tests fail on aarch64-linux
685 (substitute* "cmd/dist/test.go"
686 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
688 ;; fix shebang for testar script
689 ;; note the target script is generated at build time.
690 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
691 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
693 (substitute* "net/lookup_unix.go"
694 (("/etc/protocols") (string-append net-base "/etc/protocols")))
695 (substitute* "net/port_unix.go"
696 (("/etc/services") (string-append net-base "/etc/services")))
697 (substitute* "time/zoneinfo_unix.go"
698 (("/usr/share/zoneinfo/") tzdata-path)))))
700 (lambda* (#:key inputs outputs #:allow-other-keys)
701 ;; FIXME: Some of the .a files are not bit-reproducible.
702 ;; (Is this still true?)
703 (let* ((output (assoc-ref outputs "out"))
704 (loader (string-append (assoc-ref inputs "libc")
705 ,(glibc-dynamic-linker))))
706 (setenv "CC" (which "gcc"))
707 (setenv "GO_LDSO" loader)
708 (setenv "GOOS" "linux")
709 (setenv "GOROOT" (dirname (getcwd)))
710 (setenv "GOROOT_FINAL" output)
711 (setenv "GOCACHE" "/tmp/go-cache")
712 (invoke "sh" "make.bash" "--no-banner"))))
714 (lambda* (#:key target (tests? (not target)) (parallel-tests? #t)
716 (let* ((njobs (if parallel-tests? (parallel-job-count) 1)))
718 (setenv "GOMAXPROCS" (number->string njobs))
719 (invoke "sh" "run.bash" "--no-rebuild")))))
720 (add-before 'install 'unpatch-perl-shebangs
722 ;; Rewrite references to perl input in test scripts
723 (substitute* "net/http/cgi/testdata/test.cgi"
724 (("^#!.*") "#!/usr/bin/env perl\n"))))))))
726 `(("go-fix-script-tests.patch" ,(search-patch "go-fix-script-tests.patch"))
727 ,@(if (not (member (%current-system) (package-supported-systems go-1.4)))
728 (alist-replace "go" (list gccgo-10) (package-native-inputs go-1.14))
729 (package-native-inputs go-1.14))))))
731 (define-public go go-1.14)
733 (define-public go-github-com-alsm-ioprogress
734 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
737 (name "go-github-com-alsm-ioprogress")
738 (version (git-version "0.0.0" revision commit))
742 (url "https://github.com/alsm/ioprogress")
744 (file-name (git-file-name name version))
747 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
748 (build-system go-build-system)
750 '(#:import-path "github.com/alsm/ioprogress"))
751 (synopsis "Textual progress bars in Go")
752 (description "@code{ioprogress} is a Go library with implementations of
753 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
754 case for these are for command-line applications but alternate progress bar
755 writers can be supplied for alternate environments.")
756 (home-page "https://github.com/alsm/ioprogress")
757 (license license:expat))))
759 (define-public go-github-com-aki237-nscjar
760 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
763 (name "go-github-com-aki237-nscjar")
764 (version (git-version "0.0.0" revision commit))
768 (url "https://github.com/aki237/nscjar")
770 (file-name (git-file-name name version))
773 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
774 (build-system go-build-system)
776 '(#:import-path "github.com/aki237/nscjar"))
777 (synopsis "Handle Netscape / Mozilla cookies")
778 (description "@code{nscjar} is a Go library used to parse and output
779 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
780 jar struct to manage the cookies added to the cookie jar.")
781 (home-page "https://github.com/aki237/nscjar")
782 (license license:expat))))
784 (define-public go-github-com-gizak-termui
786 (name "go-github-com-gizak-termui")
792 (url "https://github.com/gizak/termui")
793 (commit (string-append "v" version))))
794 (file-name (git-file-name name version))
796 (base32 "1v3k8l5p95kb1v297ra5mw9sxdd59y82y6ibjzya5ma2pry6k5cn"))))
797 (build-system go-build-system)
799 '(#:unpack-path "github.com/gizak/termui"
800 #:import-path "github.com/gizak/termui/v3"))
802 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
803 ("go-github-com-mitchellh-go-wordwrap"
804 ,go-github-com-mitchellh-go-wordwrap)
805 ("go-github.com-nsf-termbox-go" ,go-github.com-nsf-termbox-go)))
806 (home-page "https://github.com/gizak/termui")
807 (synopsis "Terminal dashboard widget Go library")
809 "The termui Go library draws customizable dashboard widgets in a text
810 terminal. It includes several common widgets: lists, trees, tables and tabs,
811 but also more complex items such as (stacked) bar and pie charts, scatter plots,
812 gauges, and even images and a canvas for drawing `high resolution' braille dots.
814 You can also easily create new custom widgets. Widgets can be coloured and
815 styled and positioned absolutely or relatively. They respond to keyboard,
816 mouse, and terminal resizing events.")
817 (license license:expat)))
819 (define-public go-github-com-golangplus-fmt
821 (name "go-github-com-golangplus-fmt")
823 (home-page "https://github.com/golangplus/fmt")
828 (commit (string-append "v" version))))
829 (file-name (git-file-name name version))
831 (base32 "07d5kxz0f8ss3v46y0c8jg02sagi0wlaaijhjzzp0r462jyzqii7"))))
832 (build-system go-build-system)
834 '(#:import-path "github.com/golangplus/fmt"))
835 (synopsis "Additions to Go's standard @code{fmt} package")
836 (description "This package provides additions to Go's stdlib @code{fmt}.")
837 (license license:bsd-3)))
839 (define-public go-github-com-mitchellh-go-wordwrap
841 (name "go-github-com-mitchellh-go-wordwrap")
847 (url "https://github.com/mitchellh/go-wordwrap")
848 (commit (string-append "v" version))))
849 (file-name (git-file-name name version))
851 (base32 "12imq66hgj8q9ii2xqdy8apc0icphh6yimjb0div1pvl3s9gn83y"))))
852 (build-system go-build-system)
854 '(#:import-path "github.com/mitchellh/go-wordwrap"))
856 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
857 (home-page "https://github.com/mitchellh/go-wordwrap")
858 (synopsis "Go library for word-wrapping strings")
860 "This Go library automatically wraps words onto multiple lines. It's
861 primary goal is to format command-line output, but of course word wrapping is a
862 generally useful thing to do.")
863 (license license:expat)))
865 (define-public go-github-com-motemen-go-colorine
866 (let ((commit "45d19169413a019e4e2be69629dde5c7d92f8706")
869 (name "go-github-com-motemen-go-colorine")
870 (version (git-version "0.0.0" revision commit))
871 (home-page "https://github.com/motemen/go-colorine")
877 (file-name (git-file-name name version))
879 (base32 "1mdy6q0926s1frj027nlzlvm2qssmkpjis7ic3l2smajkzh07118"))))
880 (build-system go-build-system)
882 '(#:import-path "github.com/motemen/go-colorine"))
884 `(("github.com/daviddengcn/go-colortext" ,go-github-com-daviddengcn-go-colortext)))
885 (synopsis "Simple colorized console logger for golang")
887 "This package provides simple colorized console logger for golang.")
888 (license license:expat))))
890 (define-public go-github-com-daviddengcn-go-colortext
892 (name "go-github-com-daviddengcn-go-colortext")
894 (home-page "https://github.com/daviddengcn/go-colortext")
899 (commit (string-append "v" version))))
900 (file-name (git-file-name name version))
902 (base32 "0j5ldwg3a768d3nniiglghr9axj4p87k7f7asqxa1a688xvcms48"))))
903 (build-system go-build-system)
905 '(#:import-path "github.com/daviddengcn/go-colortext"))
907 `(("go-github-com-golangplus-testing" ,go-github-com-golangplus-testing)))
908 (synopsis "Change the color of console text and background")
910 "This is a package to change the color of the text and background in the
911 console, working both under Windows and other systems.
913 Under Windows, the console APIs are used. Otherwise, ANSI texts are output.")
915 (license (list license:bsd-3 license:expat))))
917 (define-public go-github-com-golangplus-testing
919 (name "go-github-com-golangplus-testing")
921 (home-page "https://github.com/golangplus/testing")
926 (commit (string-append "v" version))))
927 (file-name (git-file-name name version))
929 (base32 "1a29m4zplf9m14k74lrb55dids2l17vx28sv0g3y3qcv1xygksiv"))))
930 (build-system go-build-system)
932 '(#:import-path "github.com/golangplus/testing"))
934 `(("go-github-com-golangplus-fmt" ,go-github-com-golangplus-fmt)))
935 (synopsis "Additions to Go's standard testing package")
936 (description "This package provides additions to Go's stdlib testing.")
937 (license license:bsd-3)))
939 (define-public go-github-com-leodido-go-urn
941 (name "go-github-com-leodido-go-urn")
943 (home-page "https://github.com/leodido/go-urn")
949 (commit (string-append "v" version))))
950 (file-name (git-file-name name version))
952 (base32 "1d4g1vkhc1180l1n7q48vl84b27c7cziywml78cyijbcdz2f8vim"))))
953 (build-system go-build-system)
955 '(#:import-path "github.com/leodido/go-urn"))
957 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
958 (synopsis "Parser for uniform resource names as seen on RFC 2141")
960 "This package implements a parser for uniform resource names (URN) as
961 specified by @uref{https://tools.ietf.org/html/rfc2141, IETF RFC 2141}.")
962 (license license:expat)))
964 (define-public go-github.com-jessevdk-go-flags
966 (name "go-github.com-jessevdk-go-flags")
971 (url "https://github.com/jessevdk/go-flags")
972 (commit (string-append "v" version))))
973 (file-name (git-file-name name version))
976 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
977 (build-system go-build-system)
979 '(#:import-path "github.com/jessevdk/go-flags"))
980 (synopsis "Go library for parsing command line arguments")
982 "The @code{flags} package provides a command line option parser. The
983 functionality is similar to the go builtin @code{flag} package, but
984 @code{flags} provides more options and uses reflection to provide a succinct
985 way of specifying command line options.")
986 (home-page "https://github.com/jessevdk/go-flags")
987 (license license:bsd-3)))
989 (define-public go-gopkg-in-go-playground-assert-v1
991 (name "go-gopkg-in-go-playground-assert-v1")
993 (home-page "https://github.com/go-playground/assert")
999 (commit (string-append "v" version))))
1000 (file-name (git-file-name name version))
1002 (base32 "1h4amgykpa0djwi619llr3g55p75ia0mi184h9s5zdl8l4rhn9pm"))))
1003 (build-system go-build-system)
1005 '(#:import-path "gopkg.in/go-playground/assert.v1"))
1006 (synopsis "Basic assertion library used alongside native Go testing")
1008 "This package provides basic assertions along with building blocks for
1009 custom assertions to be used alongside native Go testing.")
1010 (license license:expat)))
1012 (define-public go-github-com-go-playground-locales
1014 (name "go-github-com-go-playground-locales")
1016 (home-page "https://github.com/go-playground/locales")
1022 (commit (string-append "v" version))))
1023 (file-name (git-file-name name version))
1025 (base32 "0qydcpkvss3mf8mk3xzg6a34n8i69aydrigcl2apifrkx72jw7pf"))))
1026 (build-system go-build-system)
1028 '(#:import-path "github.com/go-playground/locales"))
1029 (synopsis "Set of locales generated from the CLDR Unicode Project")
1031 "This package provides a set of locales generated from the
1032 @uref{http://cldr.unicode.org/, Unicode CLDR Project} which can be used
1033 independently or within an internalization (i18n) package. Its currently
1034 implemented features include
1037 @item Rules generated from the CLDR data, v31.0.3
1038 @item Contains Cardinal, Ordinal and Range Plural Rules
1039 @item Contains Month, Weekday and Timezone translations built in
1040 @item Contains Date & Time formatting functions
1041 @item Contains Number, Currency, Accounting and Percent formatting functions
1042 @item Supports the \"Gregorian\" calendar only
1044 (license license:expat)))
1046 (define-public go-github-com-go-playground-universal-translator
1048 (name "go-github-com-go-playground-universal-translator")
1050 (home-page "https://github.com/go-playground/universal-translator")
1056 (commit (string-append "v" version))))
1057 (file-name (git-file-name name version))
1059 (base32 "1zdiaisb32iv4x93cpbqrgx8ll7sxh4hcd2iibpswy4bwvjbjlz6"))))
1060 (build-system go-build-system)
1062 '(#:import-path "github.com/go-playground/universal-translator"))
1064 `(("go-github-com-go-playground-locales" ,go-github-com-go-playground-locales)))
1065 (synopsis "Translator using Unicode CLDR data and pluralization rules")
1067 "This package offers an Internalization Translator for Go using
1068 @uref{http://cldr.unicode.org/, Unicode CLDR Project} data and pluralization
1069 rules. Its currently implemented features include
1072 @item Rules generated from the CLDR data, v30.0.3
1073 @item Contains Cardinal, Ordinal and Range Plural Rules
1074 @item Contains Month, Weekday and Timezone translations built in
1075 @item Contains Date & Time formatting functions
1076 @item Contains Number, Currency, Accounting and Percent formatting functions
1077 @item Supports the \"Gregorian\" calendar only
1078 @item Support loading translations from files
1079 @item Exporting translations to file(s), mainly for getting them
1080 professionally translated
1082 (license license:expat)))
1084 (define-public go-gopkg-in-go-playground-validator-v9
1086 (name "go-gopkg-in-go-playground-validator-v9")
1088 (home-page "https://gopkg.in/go-playground/validator.v9")
1093 (url "https://github.com/go-playground/validator")
1094 (commit (string-append "v" version))))
1095 (file-name (git-file-name name version))
1097 (base32 "1f8c77s8kx9rip2jarv27x5s4xkcmanh4ndyhbcwvrhncs5rq061"))))
1098 (build-system go-build-system)
1100 '(#:import-path "gopkg.in/go-playground/validator.v9"))
1102 `(("go-gopkg-in-go-playground-assert-v1"
1103 ,go-gopkg-in-go-playground-assert-v1)))
1105 `(("go-github-com-go-playground-universal-translator"
1106 ,go-github-com-go-playground-universal-translator)
1107 ("go-github-com-leodido-go-urn" ,go-github-com-leodido-go-urn)))
1108 (synopsis "Validator for structs and individual fields based on tags")
1110 "This package implements value validations for structs and individual
1111 fields based on tags. It has the following unique features:
1114 @item Cross Field and Cross Struct validations by using validation tags or
1116 @item Slice, Array and Map diving, which allows any or all levels of a
1117 multidimensional field to be validated
1118 @item Ability to dive into both map keys and values for validation
1119 @item Handles type interface by determining it's underlying type prior to validation
1120 @item Handles custom field types such as sql driver
1121 @uref{https://golang.org/src/database/sql/driver/types.go?s=1210:1293#L29,
1123 @item Alias validation tags, which allows for mapping of several validations
1124 to a single tag for easier defining of validations on structs
1125 @item Extraction of custom defined Field Name e.g. can specify to extract the
1126 JSON name while validating and have it available in the resulting FieldError
1127 @item Customizable i18n aware error messages.
1128 @item Default validator for the @uref{https://github.com/gin-gonic/gin, gin}
1131 (license license:expat)))
1133 (define-public go-github-com-aws-sdk
1135 (name "go-github-com-aws-sdk")
1141 (url "https://github.com/aws/aws-sdk-go")
1142 (commit (string-append "v" version))))
1143 (file-name (git-file-name name version))
1146 "1ky5lw2s2zpslnnqcs6hgsrwvwbxwgflb5jwf16dd4aga3vrg10c"))))
1147 (build-system go-build-system)
1149 '(#:import-path "github.com/aws/aws-sdk-go/aws"
1150 #:unpack-path "github.com/aws/aws-sdk-go"))
1152 `(("go-github-com-go-sql-driver-mysql" ,go-github-com-go-sql-driver-mysql)
1153 ("go-github-com-jmespath-go-jmespath" ,go-github-com-jmespath-go-jmespath)
1154 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
1155 ("go-golang-org-x-net" ,go-golang-org-x-net)))
1156 (home-page "https://github.com/aws/aws-sdk-go")
1157 (synopsis "Library to access Amazon Web Services (AWS)")
1159 "This is the official AWS SDK for the Go programming language.")
1160 (license license:asl2.0)))
1162 (define-public go-gopkg.in-tomb.v2
1163 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
1166 (name "go-gopkg.in-tomb.v2")
1167 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
1171 (url "https://github.com/go-tomb/tomb")
1173 (file-name (string-append name "-" version ".tar.gz"))
1176 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
1177 (build-system go-build-system)
1179 '(#:import-path "gopkg.in/tomb.v2"
1181 (modify-phases %standard-phases
1182 (add-after 'unpack 'patch-source
1184 ;; Add a missing % to fix the compilation of this test
1185 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
1186 (("t.Fatalf\\(`Killf\\(\"BO%s")
1187 "t.Fatalf(`Killf(\"BO%%s"))
1189 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
1191 "The @code{tomb} package handles clean goroutine tracking and
1193 (home-page "https://gopkg.in/tomb.v2")
1194 (license license:bsd-3))))
1196 (define-public go-gopkg-in-natefinch-lumberjack.v2
1198 (name "go-gopkg-in-natefinch-lumberjack.v2")
1204 (url "https://github.com/natefinch/lumberjack")
1205 (commit (string-append "v" version))))
1206 (file-name (git-file-name name version))
1209 "1l3vlv72b7rfkpy1164kwd3qzrqmmjnb67akzxqp2mlvc66k6p3d"))))
1210 (build-system go-build-system)
1212 '(#:import-path "gopkg.in/natefinch/lumberjack.v2"))
1214 `(("github.com/burntsush/toml" ,go-github-com-burntsushi-toml)
1215 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1216 (home-page "https://github.com/natefinch/lumberjack")
1217 (synopsis "Rolling logger for Go")
1219 "Lumberjack is a Go package for writing logs to rolling files.")
1220 (license license:expat)))
1222 (define-public go-github.com-jtolds-gls
1224 (name "go-github.com-jtolds-gls")
1229 (url "https://github.com/jtolds/gls")
1230 (commit (string-append "v" version))))
1231 (file-name (git-file-name name version))
1234 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
1235 (build-system go-build-system)
1237 '(#:import-path "github.com/jtolds/gls"))
1238 (synopsis "@code{gls} provides Goroutine local storage")
1240 "The @code{gls} package provides a way to store a retrieve values
1242 (home-page "https://github.com/jtolds/gls")
1243 (license license:expat)))
1245 (define-public go-github-com-saracen-walker
1247 (name "go-github-com-saracen-walker")
1253 (url "https://github.com/saracen/walker")
1254 (commit (string-append "v" version))))
1255 (file-name (git-file-name name version))
1257 (base32 "1rq1lrp99lx7k1ysbfznn4c1iagnxdhb4lnnklsadnnzi3gvygqz"))))
1258 (build-system go-build-system)
1260 `(#:import-path "github.com/saracen/walker"))
1262 `(("go-golang-org-x-sync" ,go-golang-org-x-sync)))
1263 (home-page "https://github.com/saracen/walker")
1264 (synopsis "Faster, parallel version of Go's filepath.Walk")
1265 (license license:expat)
1266 (description "The @code{walker} function is a faster, parallel version, of
1267 @code{filepath.Walk}")))
1269 (define-public go-github-com-tj-docopt
1271 (name "go-github-com-tj-docopt")
1276 (url "https://github.com/tj/docopt")
1277 (commit (string-append "v" version))))
1278 (file-name (git-file-name name version))
1281 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
1282 (build-system go-build-system)
1284 '(#:import-path "github.com/tj/docopt"))
1285 (synopsis "Go implementation of docopt")
1287 "This library allows the user to define a command-line interface from a
1288 program's help message rather than specifying it programmatically with
1289 command-line parsers.")
1290 (home-page "https://github.com/tj/docopt")
1291 (license license:expat)))
1293 (define-public go-github-com-hashicorp-hcl
1294 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
1297 (name "go-github-com-hashicorp-hcl")
1298 (version (git-version "0.0.0" revision commit))
1302 (url "https://github.com/hashicorp/hcl")
1304 (file-name (git-file-name name version))
1307 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
1308 (build-system go-build-system)
1311 #:import-path "github.com/hashicorp/hcl"))
1312 (synopsis "Go implementation of HashiCorp Configuration Language")
1314 "This package contains the main implementation of the @acronym{HCL,
1315 HashiCorp Configuration Language}. HCL is designed to be a language for
1316 expressing configuration which is easy for both humans and machines to read.")
1317 (home-page "https://github.com/hashicorp/hcl")
1318 (license license:mpl2.0))))
1320 (define-public go-golang-org-x-tools
1321 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
1324 (name "go-golang-org-x-tools")
1325 (version (git-version "0.1.3" revision commit))
1329 (url "https://go.googlesource.com/tools")
1331 (file-name (string-append "go.googlesource.com-tools-"
1332 version "-checkout"))
1335 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
1336 (build-system go-build-system)
1338 `(#:import-path "golang.org/x/tools"
1339 ;; Source-only package
1342 (modify-phases %standard-phases
1343 ;; Source-only package
1345 (synopsis "Tools that support the Go programming language")
1346 (description "This package provides miscellaneous tools that support the
1347 Go programming language.")
1348 (home-page "https://go.googlesource.com/tools/")
1349 (license license:bsd-3))))
1351 (define-public go-golang-org-x-crypto
1352 (let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
1355 (name "go-golang-org-x-crypto")
1356 (version (git-version "0.0.0" revision commit))
1360 (url "https://go.googlesource.com/crypto")
1362 (file-name (string-append "go.googlesource.com-crypto-"
1363 version "-checkout"))
1366 "1yvis6fqbsd7f356aqyi18f76vnwj3bry6mxqnkvshq4cwrf92il"))))
1367 (build-system go-build-system)
1369 '(#:import-path "golang.org/x/crypto"
1370 ;; Source-only package
1373 (modify-phases %standard-phases
1374 ;; Source-only package
1376 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1377 (lambda* (#:key outputs #:allow-other-keys)
1379 (make-file-writable file))
1381 (string-append (assoc-ref outputs "out")
1382 "/src/golang.org/x/crypto/ed25519/testdata")
1386 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1387 (synopsis "Supplementary cryptographic libraries in Go")
1388 (description "This package provides supplementary cryptographic libraries
1389 for the Go language.")
1390 (home-page "https://go.googlesource.com/crypto/")
1391 (license license:bsd-3))))
1393 (define-public go-golang-org-x-net
1394 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
1397 (name "go-golang-org-x-net")
1398 (version (git-version "0.0.0" revision commit))
1402 (url "https://go.googlesource.com/net")
1404 (file-name (git-file-name name version))
1407 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
1408 (build-system go-build-system)
1410 `(#:import-path "golang.org/x/net"
1411 ; Source-only package
1414 (modify-phases %standard-phases
1416 (synopsis "Go supplemental networking libraries")
1417 (description "This package provides supplemental Go networking libraries.")
1418 (home-page "https://go.googlesource.com/net")
1419 (license license:bsd-3))))
1421 (define-public go-golang-org-x-net-html
1423 (inherit go-golang-org-x-net)
1424 (name "go-golang.org-x-net-html")
1426 '(#:import-path "golang.org/x/net/html"
1427 #:unpack-path "golang.org/x/net"))
1428 (synopsis "HTML5-compliant tokenizer and parser")
1430 "This package provides an HTML5-compliant tokenizer and parser.")
1431 (home-page "https://godoc.org/golang.org/x/net/html")))
1433 (define-public go-golang-org-x-image
1434 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
1437 (name "go-golang-org-x-image")
1438 (version (git-version "0.0.0" revision commit))
1442 (url "https://go.googlesource.com/image")
1444 (file-name (string-append "go.googlesource.com-image-"
1445 version "-checkout"))
1448 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
1449 (build-system go-build-system)
1451 `(#:import-path "golang.org/x/image"
1452 ; Source-only package
1455 (modify-phases %standard-phases
1457 (home-page "https://go.googlesource.com/image")
1458 (synopsis "Supplemental Go image libraries")
1459 (description "This package provides supplemental Go libraries for image
1461 (license license:bsd-3))))
1463 (define-public go-golang-org-x-sync
1464 (let ((commit "6e8e738ad208923de99951fe0b48239bfd864f28")
1467 (name "go-golang-org-x-sync")
1468 (version (git-version "0.0.0" revision commit))
1472 (url "https://go.googlesource.com/sync")
1474 (file-name (git-file-name name version))
1477 "1avk27pszd5l5df6ff7j78wgla46ir1hhy2jwfl9a3c0ys602yx9"))))
1478 (build-system go-build-system)
1480 `(#:import-path "golang.org/x/sync"
1482 ;; Source-only package
1484 (modify-phases %standard-phases
1486 (synopsis "Additional Go concurrency primitives")
1487 (description "This package provides Go concurrency primitives in addition
1488 to the ones provided by the language and “sync” and “sync/atomic”
1490 (home-page "https://go.googlesource.com/sync/")
1491 (license license:bsd-3))))
1493 (define-public go-golang-org-x-sys
1494 (let ((commit "05986578812163b26672dabd9b425240ae2bb0ad")
1497 (name "go-golang-org-x-sys")
1498 (version (git-version "0.0.0" revision commit))
1502 (url "https://go.googlesource.com/sys")
1504 (file-name (git-file-name name version))
1507 "1q2rxb6z5l6pmlckjsz2l0b8lw7bqgk6frhzbmi1dv0y5irb2ka7"))))
1508 (build-system go-build-system)
1510 `(#:import-path "golang.org/x/sys"
1511 ;; Source-only package
1514 (modify-phases %standard-phases
1516 (synopsis "Go support for low-level system interaction")
1517 (description "This package provides supplemental libraries offering Go
1518 support for low-level interaction with the operating system.")
1519 (home-page "https://go.googlesource.com/sys")
1520 (license license:bsd-3))))
1522 (define-public go-golang-org-x-text
1524 (name "go-golang-org-x-text")
1529 (url "https://go.googlesource.com/text")
1530 (commit (string-append "v" version))))
1531 (file-name (string-append "go.googlesource.com-text-"
1532 version "-checkout"))
1535 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
1536 (build-system go-build-system)
1538 `(#:import-path "golang.org/x/text"
1539 ; Source-only package
1542 (modify-phases %standard-phases
1544 (synopsis "Supplemental Go text processing libraries")
1545 (description "This package provides supplemental Go libraries for text
1547 (home-page "https://go.googlesource.com/text")
1548 (license license:bsd-3)))
1550 (define-public go-golang-org-x-time
1551 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
1554 (name "go-golang-org-x-time")
1555 (version (git-version "0.0.0" revision commit))
1559 (url "https://go.googlesource.com/time")
1561 (file-name (git-file-name name version))
1564 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
1565 (build-system go-build-system)
1567 `(#:import-path "golang.org/x/time"
1568 ; Source-only package
1571 (modify-phases %standard-phases
1573 ; (propagated-inputs
1574 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
1575 (synopsis "Supplemental Go time libraries")
1576 (description "This package provides supplemental Go libraries related to
1578 (home-page "https://godoc.org/golang.org/x/time/rate")
1579 (license license:bsd-3))))
1581 (define-public go-golang-org-x-oauth2
1582 (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
1585 (name "go-golang-org-x-oauth2")
1586 (version (git-version "0.0.0" revision commit))
1590 (url "https://go.googlesource.com/oauth2")
1592 (file-name (string-append "go.googlesource.com-oauth2-"
1593 version "-checkout"))
1596 "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
1597 (build-system go-build-system)
1599 `(#:import-path "golang.org/x/oauth2"))
1601 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
1602 (home-page "https://go.googlesource.com/oauth2")
1603 (synopsis "Client implementation of the OAuth 2.0 spec")
1604 (description "This package contains a client implementation for OAuth 2.0
1606 (license license:bsd-3))))
1608 (define-public go-golang-org-x-xerrors
1609 (let ((commit "5ec99f83aff198f5fbd629d6c8d8eb38a04218ca")
1612 (name "go-golang-org-x-xerrors")
1613 (version (git-version "0.0.0" revision commit))
1617 (url "https://go.googlesource.com/xerrors")
1619 (file-name (git-file-name name version))
1622 "1dbzc3gmf2haazpv7cgmv97rq40g2xzwbglc17vas8dwhgwgwrzb"))))
1623 (build-system go-build-system)
1625 '(#:import-path "golang.org/x/xerrors"))
1626 (synopsis "Go 1.13 error values")
1628 "This package holds the transition packages for the new Go 1.13 error values.")
1629 (home-page "https://godoc.org/golang.org/x/xerrors")
1630 (license license:bsd-3))))
1632 (define-public go-github-com-burntsushi-toml
1634 (name "go-github-com-burntsushi-toml")
1640 (url "https://github.com/BurntSushi/toml")
1641 (commit (string-append "v" version))))
1642 (file-name (git-file-name name version))
1645 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
1646 (build-system go-build-system)
1648 '(#:import-path "github.com/BurntSushi/toml"))
1649 (home-page "https://github.com/BurntSushi/toml")
1650 (synopsis "Toml parser and encoder for Go")
1651 (description "This package is toml parser and encoder for Go. The interface
1652 is similar to Go's standard library @code{json} and @code{xml} package.")
1653 (license license:expat)))
1655 (define-public go-github-com-getsentry-raven-go
1656 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
1659 (name "go-github-com-getsentry-raven-go")
1660 (version (git-version "0.2.0" revision commit))
1665 (url "https://github.com/getsentry/raven-go")
1667 (file-name (git-file-name name version))
1670 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
1671 (build-system go-build-system)
1673 '(#:import-path "github.com/getsentry/raven-go"))
1675 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
1676 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
1677 (home-page "https://github.com/getsentry/raven-go")
1678 (synopsis "Sentry client in Go")
1679 (description "This package is a Go client API for the Sentry event/error
1681 (license license:bsd-3))))
1683 (define-public go-github-com-hashicorp-go-version
1685 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
1688 (name "go-github-com-hashicorp-go-version")
1689 (version (git-version "0.0.0" revision commit))
1694 (url "https://github.com/hashicorp/go-version")
1696 (file-name (git-file-name name version))
1699 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
1700 (build-system go-build-system)
1702 '(#:import-path "github.com/hashicorp/go-version"))
1704 "https://github.com/hashicorp/go-version")
1705 (synopsis "Go library for parsing and verifying versions and version
1707 (description "This package is a library for parsing versions and version
1708 constraints, and verifying versions against a set of constraints. It can sort
1709 a collection of versions properly, handles prerelease/beta versions, can
1710 increment versions.")
1711 (license license:mpl2.0))))
1713 (define-public go-github-com-jpillora-backoff
1715 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
1718 (name "go-github-com-jpillora-backoff")
1719 (version (git-version "0.0.0" revision commit))
1724 (url "https://github.com/jpillora/backoff")
1726 (file-name (git-file-name name version))
1729 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
1730 (build-system go-build-system)
1732 '(#:import-path "github.com/jpillora/backoff"))
1733 (home-page "https://github.com/jpillora/backoff")
1734 (synopsis "Simple exponential backoff counter in Go")
1735 (description "This package is a simple exponential backoff counter in
1737 (license license:expat))))
1739 (define-public go-github-com-stretchr-objx
1741 (name "go-github-com-stretchr-objx")
1747 (url "https://github.com/stretchr/objx")
1748 (commit (string-append "v" version))))
1749 (file-name (git-file-name name version))
1752 "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
1753 (build-system go-build-system)
1755 '(#:import-path "github.com/stretchr/objx"))
1756 (home-page "https://github.com/stretchr/objx")
1757 (synopsis "Go package for dealing with maps, slices, JSON and other data")
1758 (description "This package provides a Go library for dealing with maps,
1759 slices, JSON and other data.")
1760 (license license:expat)))
1762 (define-public go-github-com-stretchr-testify
1764 (name "go-github-com-stretchr-testify")
1770 (url "https://github.com/stretchr/testify")
1771 (commit (string-append "v" version))))
1772 (file-name (git-file-name name version))
1775 "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
1776 (build-system go-build-system)
1778 '(#:import-path "github.com/stretchr/testify"))
1780 `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1781 ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
1782 ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
1783 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1784 (home-page "https://github.com/stretchr/testify")
1785 (synopsis "Go helper library for tests and invariant checking")
1786 (description "This package provide many tools for testifying that your
1787 code will behave as you intend.
1791 @item Easy assertions
1793 @item HTTP response trapping
1794 @item Testing suite interfaces and functions.
1796 (license license:expat)))
1798 (define-public go-github-com-tevino-abool
1800 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
1803 (name "go-github-com-tevino-abool")
1804 (version (git-version "0.0.0" revision commit))
1809 (url "https://github.com/tevino/abool")
1811 (file-name (git-file-name name version))
1814 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
1815 (build-system go-build-system)
1817 '(#:import-path "github.com/tevino/abool"))
1818 (home-page "https://github.com/tevino/abool")
1819 (synopsis "Atomic boolean library for Go code")
1820 (description "This package is atomic boolean library for Go code,
1821 optimized for performance yet simple to use.")
1822 (license license:expat))))
1824 (define-public go-github-com-tomnomnom-gron
1828 (home-page "https://github.com/tomnomnom/gron")
1834 (commit (string-append "v" version))))
1835 (file-name (git-file-name name version))
1837 (base32 "0qmzawkhg0qn9kxxrssbdjni2khvamhrcklv3yxc0ljmh77mh61m"))))
1838 (build-system go-build-system)
1840 (let ((import-path "github.com/tomnomnom/gron"))
1841 `(#:import-path ,import-path
1843 (modify-phases %standard-phases
1844 (add-after 'check 'remove-non-source
1846 (for-each (lambda (dir)
1847 (delete-file-recursively
1848 (string-append "src/" ,import-path dir)))
1849 '("/docs" "/script" "/testdata"))
1852 `(("github.com/fatih/color" ,go-github-com-fatih-color)
1853 ("github.com/mattn/go-colorable" ,go-github-com-mattn-go-colorable)
1854 ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
1855 ("github.com/nwidger/jsoncolor" ,go-github-com-nwidger-jsoncolor)
1856 ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
1857 (synopsis "Transform JSON to make it easier to grep")
1859 "This package transforms JSON into discrete assignments to make it easier
1860 to use line-based tools such as grep to search for what you want and see the
1861 absolute \"path\" to it.")
1862 (license license:expat)))
1864 (define-public go-github-com-tv42-httpunix
1865 (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
1868 (name "go-github-com-tv42-httpunix")
1869 (version (git-version "0.0.0" revision commit))
1874 (url "https://github.com/tv42/httpunix")
1876 (file-name (git-file-name name version))
1878 (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
1879 (build-system go-build-system)
1881 '(#:import-path "github.com/tv42/httpunix"))
1882 (home-page "https://github.com/tv42/httpunix")
1883 (synopsis "Go library to talk HTTP over Unix domain sockets")
1884 (description "This package is a Go library to talk HTTP over Unix domain
1886 (license license:expat))))
1888 (define-public go-github-com-blang-semver
1889 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
1892 (name "go-github-com-blang-semver")
1893 (version (git-version "0.0.0" revision commit))
1898 (url "https://github.com/blang/semver")
1900 (file-name (git-file-name name version))
1903 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
1904 (build-system go-build-system)
1906 '(#:import-path "github.com/blang/semver"))
1907 (home-page "https://github.com/blang/semver")
1908 (synopsis "Semantic versioning library written in Go")
1909 (description "Semver is a library for Semantic versioning written in Go.")
1910 (license license:expat))))
1912 (define-public go-github-com-emicklei-go-restful
1914 (name "go-github-com-emicklei-go-restful")
1920 (url "https://github.com/emicklei/go-restful")
1921 (commit (string-append "v" version))))
1922 (file-name (git-file-name name version))
1925 "0m1y5a6xr6hmdj77afrvyh2llkbhn1166lcrgis654shl8zs9qhz"))))
1926 (build-system go-build-system)
1928 '(#:import-path "github.com/emicklei/go-restful"))
1929 (home-page "https://github.com/emicklei/go-restful")
1930 (synopsis "Build REST-style web services using Go")
1931 (description "This package provides @code{go-restful}, which helps
1932 developers to use @code{http} methods explicitly and in a way that's consistent
1933 with the HTTP protocol definition.")
1934 (license license:expat)))
1936 (define-public go-github-com-google-cadvisor
1937 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
1940 (name "go-github-com-google-cadvisor")
1941 (version (git-version "0.0.0" revision commit))
1946 (url "https://github.com/google/cadvisor")
1948 (file-name (git-file-name name version))
1951 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
1952 (build-system go-build-system)
1954 '(#:import-path "github.com/google/cadvisor"))
1955 (home-page "https://github.com/google/cadvisor")
1956 (synopsis "Analyze resource usage of running containers")
1957 (description "The package provides @code{cadvisor}, which provides
1958 information about the resource usage and performance characteristics of running
1960 (license license:asl2.0))))
1962 (define-public go-github-com-google-gofuzz
1963 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
1966 (name "go-github-com-google-gofuzz")
1967 (version (git-version "0.0.0" revision commit))
1972 (url "https://github.com/google/gofuzz")
1974 (file-name (git-file-name name version))
1977 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
1978 (build-system go-build-system)
1980 '(#:import-path "github.com/google/gofuzz"))
1981 (home-page "https://github.com/google/gofuzz")
1982 (synopsis "Fuzz testing library for Go")
1983 (description "Gofuzz is a library for populationg Go objects with random
1984 values for the purpose of fuzz testing.")
1985 (license license:asl2.0))))
1987 (define-public go-github-com-gorilla-css
1989 (name "go-github-com-gorilla-css")
1994 (url "https://github.com/gorilla/css")
1995 (commit (string-append "v" version))))
1996 (file-name (git-file-name name version))
1999 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
2000 (build-system go-build-system)
2002 `(#:import-path "github.com/gorilla/css/scanner"
2003 #:unpack-path "github.com/gorilla/css"))
2004 (home-page "https://github.com/gorilla/css/")
2005 (synopsis "CSS3 tokenizer")
2006 (description "This package provides a CSS3 tokenizer.")
2007 (license license:bsd-3)))
2009 (define-public go-github-com-gorilla-context
2010 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
2013 (name "go-github-com-gorilla-context")
2014 (version (git-version "0.0.0" revision commit))
2019 (url "https://github.com/gorilla/context")
2021 (file-name (git-file-name name version))
2024 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
2025 (build-system go-build-system)
2027 '(#:import-path "github.com/gorilla/context"))
2028 (home-page "https://github.com/gorilla/context")
2029 (synopsis "Go registry for request variables")
2030 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
2031 (license license:bsd-3))))
2033 (define-public go-github-com-gorilla-mux
2035 (name "go-github-com-gorilla-mux")
2041 (url "https://github.com/gorilla/mux")
2042 (commit (string-append "v" version))))
2043 (file-name (git-file-name name version))
2046 "18f0q9qxgq1yh4ji07mqhiydfcwvi56z9d775v7dc7yckj33kpdk"))))
2047 (build-system go-build-system)
2049 '(#:import-path "github.com/gorilla/mux"))
2050 (home-page "https://github.com/gorilla/mux")
2051 (synopsis "URL router and dispatcher for Go")
2053 "Gorilla/Mux implements a request router and dispatcher for matching
2054 incoming requests with their respective handler.")
2055 (license license:bsd-3)))
2057 (define-public go-github-com-gorilla-handlers
2059 (name "go-github-com-gorilla-handlers")
2065 (url "https://github.com/gorilla/handlers")
2066 (commit (string-append "v" version))))
2067 (file-name (git-file-name name version))
2070 "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
2071 (build-system go-build-system)
2073 `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
2075 '(#:tests? #f ; Tries to download from the internet
2076 #:import-path "github.com/gorilla/handlers"))
2077 (home-page "https://github.com/gorilla/handlers")
2078 (synopsis "Middleware for Go HTTP services and web applications")
2079 (description "A collection of useful middleware for Go HTTP services
2080 and web applications.")
2081 (license license:bsd-3)))
2083 (define-public go-github-com-gorilla-securecookie
2085 (name "go-github-com-gorilla-securecookie")
2091 (url "https://github.com/gorilla/securecookie")
2092 (commit (string-append "v" version))))
2093 (file-name (git-file-name name version))
2096 "16bqimpxs9vj5n59vm04y04v665l7jh0sddxn787pfafyxcmh410"))))
2097 (build-system go-build-system)
2099 '(#:import-path "github.com/gorilla/securecookie"))
2100 (home-page "https://github.com/gorilla/securecookie")
2101 (synopsis "Encodes and decodes authenticated and optionally encrypted
2104 "Gorilla/securecookie encodes and decodes authenticated and optionally
2105 encrypted cookie values for Go web applications.")
2106 (license license:bsd-3)))
2108 (define-public go-github-com-gorilla-csrf
2110 (name "go-github-com-gorilla-csrf")
2116 (url "https://github.com/gorilla/csrf")
2117 (commit (string-append "v" version))))
2118 (file-name (git-file-name name version))
2121 "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav"))))
2122 (build-system go-build-system)
2124 `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie)
2125 ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
2127 '(#:import-path "github.com/gorilla/csrf"))
2128 (home-page "https://github.com/gorilla/csrf")
2129 (synopsis "Cross Site Request Forgery (CSRF) prevention middleware")
2131 "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention
2132 middleware for Go web applications and services.")
2133 (license license:bsd-3)))
2135 (define-public go-github-com-jonboulle-clockwork
2136 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
2139 (name "go-github-com-jonboulle-clockwork")
2140 (version (git-version "0.0.0" revision commit))
2145 (url "https://github.com/jonboulle/clockwork")
2147 (file-name (git-file-name name version))
2150 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
2151 (build-system go-build-system)
2153 '(#:import-path "github.com/jonboulle/clockwork"))
2154 (home-page "https://github.com/jonboulle/clockwork")
2155 (synopsis "Fake clock library for Go")
2157 "Replace uses of the @code{time} package with the
2158 @code{clockwork.Clock} interface instead.")
2159 (license license:asl2.0))))
2161 (define-public go-github-com-spf13-afero
2163 (name "go-github-com-spf13-afero")
2169 (url "https://github.com/spf13/afero")
2170 (commit (string-append "v" version))))
2171 (file-name (git-file-name name version))
2174 "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"))))
2175 (build-system go-build-system)
2177 `(#:import-path "github.com/spf13/afero"))
2179 `(("golang.org/x/text" ,go-golang-org-x-text)))
2180 (home-page "https://github.com/spf13/afero")
2181 (synopsis "File system abstraction for Go")
2183 "This package provides a file system abstraction for Go.")
2184 (license license:asl2.0)))
2186 (define-public go-github-com-spf13-cast
2188 (name "go-github-com-spf13-cast")
2194 (url "https://github.com/spf13/cast")
2195 (commit (string-append "v" version))))
2196 (file-name (git-file-name name version))
2199 "0lb84788glr0qzrq2ifi36rgvp96qrgywvxrr3ggq5hrbr38hgn1"))))
2200 (build-system go-build-system)
2202 `(#:import-path "github.com/spf13/cast"))
2204 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2205 (home-page "https://github.com/spf13/cast")
2206 (synopsis "Safe and easy casting from one type to another in Go")
2207 (description "Safe and easy casting from one type to another in Go")
2208 (license license:expat)))
2210 (define-public go-github-com-spf13-cobra
2212 (name "go-github-com-spf13-cobra")
2218 (url "https://github.com/spf13/cobra")
2219 (commit (string-append "v" version))))
2220 (file-name (git-file-name name version))
2223 "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h"))))
2224 (build-system go-build-system)
2226 `(#:import-path "github.com/spf13/cobra"))
2228 `(("github.com/spf13/pflag" ,go-github-com-spf13-pflag)))
2229 (home-page "https://github.com/spf13/cobra")
2230 (synopsis "Go library for creating CLI applications")
2231 (description "Cobra is both a library for creating powerful modern CLI
2232 applications as well as a program to generate applications and command files.")
2233 (license license:asl2.0)))
2235 (define-public go-github-com-spf13-jwalterweatherman
2237 (name "go-github-com-spf13-jwalterweatherman")
2243 (url "https://github.com/spf13/jwalterweatherman")
2244 (commit (string-append "v" version))))
2245 (file-name (git-file-name name version))
2248 "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"))))
2249 (build-system go-build-system)
2251 `(#:import-path "github.com/spf13/jwalterweatherman"))
2253 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2254 (home-page "https://github.com/spf13/jwalterweatherman")
2255 (synopsis "Go logging library")
2256 (description "Go logging library")
2257 (license license:expat)))
2259 (define-public go-github-com-spf13-pflag
2261 (name "go-github-com-spf13-pflag")
2267 (url "https://github.com/spf13/pflag")
2268 (commit (string-append "v" version))))
2269 (file-name (git-file-name name version))
2272 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
2273 (build-system go-build-system)
2275 '(#:import-path "github.com/spf13/pflag"))
2276 (home-page "https://github.com/spf13/pflag")
2277 (synopsis "Replacement for Go's @code{flag} package")
2279 "Pflag is library to replace Go's @code{flag} package. It implements
2280 POSIX/GNU-style command-line options with double hyphens. It is is compatible
2282 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
2283 GNU extensions} to the POSIX recommendations for command-line options.")
2284 (license license:bsd-3)))
2286 (define-public go-github-com-spf13-viper
2288 (name "go-github-com-spf13-viper")
2294 (url "https://github.com/spf13/viper")
2295 (commit (string-append "v" version))))
2296 (file-name (git-file-name name version))
2299 "099n2g7fg6r8hqyszqw2axr775qyhyvwhsykvgw0f0s16ql48h5c"))))
2300 (build-system go-build-system)
2302 '(#:import-path "github.com/spf13/viper"))
2304 `(("github.com/spf13/afero" ,go-github-com-spf13-afero)
2305 ("github.com/spf13/cast" ,go-github-com-spf13-cast)
2306 ("github.com/spf13/pflag" ,go-github-com-spf13-pflag)
2307 ("github.com/spf13/jwalterweatherman" ,go-github-com-spf13-jwalterweatherman)
2308 ("github.com/fsnotify/fsnotify" ,go-github-com-fsnotify-fsnotify)
2309 ("github.com/hashicorp/hcl" ,go-github-com-hashicorp-hcl)
2310 ("github.com/magiconair/properties" ,go-github-com-magiconair-properties)
2311 ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)
2312 ("github.com/pelletier/go-toml" ,go-github-com-pelletier-go-toml)
2313 ("github.com/subosito/gotenv" ,go-github-com-subosito-gotenv)
2315 ("gopkg.in/ini.v1" ,go-gopkg-in-ini-v1)
2316 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
2318 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2319 (home-page "https://github.com/spf13/viper")
2320 (synopsis "Go configuration with fangs")
2322 "Viper is a complete configuration solution for Go applications including
2323 12-Factor apps. It is designed to work within an application, and can handle
2324 all types of configuration needs and formats.")
2325 (license license:expat)))
2327 (define-public go-github-com-felixge-httpsnoop
2329 (name "go-github-com-felixge-httpsnoop")
2335 (url "https://github.com/felixge/httpsnoop")
2336 (commit (string-append "v" version))))
2337 (file-name (git-file-name name version))
2340 "0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac"))))
2341 (build-system go-build-system)
2343 '(#:import-path "github.com/felixge/httpsnoop"))
2344 (home-page "https://github.com/felixge/httpsnoop/")
2345 (synopsis "Capture http related metrics")
2347 "Httpsnoop provides an easy way to capture http related
2348 metrics (i.e. response time, bytes written, and http status code) from your
2349 application's http.Handlers.")
2350 (license license:expat)))
2352 (define-public go-github-com-fsnotify-fsnotify
2354 (name "go-github-com-fsnotify-fsnotify")
2360 (url "https://github.com/fsnotify/fsnotify")
2361 (commit (string-append "v" version))))
2362 (file-name (git-file-name name version))
2365 "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x"))))
2366 (build-system go-build-system)
2368 `(#:import-path "github.com/fsnotify/fsnotify"))
2370 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
2371 (home-page "https://github.com/fsnotify/fsnotify")
2372 (synopsis "File system notifications for Go")
2373 (description "File system notifications for Go")
2374 (license license:bsd-3)))
2376 (define-public go-github-com-magiconair-properties
2378 (name "go-github-com-magiconair-properties")
2384 (url "https://github.com/magiconair/properties")
2385 (commit (string-append "v" version))))
2386 (file-name (git-file-name name version))
2389 "0q7d55z0v8y55dyy8nhgdnswf5zkgj3i87irbk294nvzhx01bnxd"))))
2390 (build-system go-build-system)
2392 `(#:import-path "github.com/magiconair/properties"))
2393 (home-page "https://github.com/magiconair/properties")
2394 (synopsis "Java properties scanner for Go")
2395 (description "Java properties scanner for Go")
2396 (license license:bsd-2)))
2398 (define-public go-github-com-pelletier-go-toml
2400 (name "go-github-com-pelletier-go-toml")
2406 (url "https://github.com/pelletier/go-toml")
2407 (commit (string-append "v" version))))
2408 (file-name (git-file-name name version))
2411 "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y"))))
2412 (build-system go-build-system)
2414 `(#:import-path "github.com/pelletier/go-toml"))
2416 `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml)
2417 ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
2418 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
2419 (home-page "https://github.com/pelletier/go-toml")
2420 (synopsis "Go library for the TOML configuration language")
2421 (description "Go library for the TOML configuration language")
2422 (license license:expat)))
2424 (define-public go-github-com-subosito-gotenv
2426 (name "go-github-com-subosito-gotenv")
2432 (url "https://github.com/subosito/gotenv")
2433 (commit (string-append "v" version))))
2434 (file-name (git-file-name name version))
2437 "0mav91j7r4arjkpq5zcf9j74f6pww8ic53x43wy7kg3ibw31yjs5"))))
2438 (build-system go-build-system)
2440 `(#:import-path "github.com/subosito/gotenv"))
2442 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2443 (home-page "https://github.com/subosito/gotenv")
2444 (synopsis "Go library for loading environment variables from files")
2445 (description "Go library for loading environment variables from files")
2446 (license license:expat)))
2448 (define-public go-github-com-sirupsen-logrus
2450 (name "go-github-com-sirupsen-logrus")
2456 (url "https://github.com/sirupsen/logrus")
2457 (commit (string-append "v" version))))
2458 (file-name (git-file-name name version))
2461 "0rvqzic2zz7fpxyizmqxwmhv1m52ii9bgxnqa6km8wsa0l08wh42"))))
2462 (build-system go-build-system)
2464 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)
2465 ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)
2466 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
2467 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2468 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
2470 '(#:import-path "github.com/sirupsen/logrus"))
2471 (home-page "https://github.com/sirupsen/logrus")
2472 (synopsis "Structured, pluggable logging for Go")
2473 (description "Logrus is a structured logger for Go, completely API
2474 compatible with the standard library logger.")
2475 (license license:expat)))
2477 (define-public go-github-com-rifflock-lfshook
2479 (name "go-github-com-rifflock-lfshook")
2484 (url "https://github.com/rifflock/lfshook")
2485 (commit (string-append "v" version))))
2486 (file-name (git-file-name name version))
2489 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
2490 (build-system go-build-system)
2492 `(#:import-path "github.com/rifflock/lfshook"))
2494 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
2495 (home-page "https://github.com/rifflock/lfshook")
2496 (synopsis "Local File System hook for Logrus logger")
2497 (description "This package provides a hook for Logrus to write directly to
2498 a file on the file system. The log levels are dynamic at instantiation of the
2499 hook, so it is capable of logging at some or all levels.")
2500 (license license:expat)))
2502 (define-public go-github-com-kardianos-osext
2503 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
2506 (name "go-github-com-kardianos-osext")
2507 (version (git-version "0.0.0" revision commit))
2511 (url "https://github.com/kardianos/osext")
2513 (file-name (git-file-name name version))
2516 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
2517 (build-system go-build-system)
2519 `(#:import-path "github.com/kardianos/osext"
2520 ;; The tests are flaky:
2521 ;; <https://github.com/kardianos/osext/issues/21>
2523 (synopsis "Find the running executable")
2524 (description "Osext provides a method for finding the current executable
2525 file that is running. This can be used for upgrading the current executable or
2526 finding resources located relative to the executable file.")
2527 (home-page "https://github.com/kardianos/osext")
2528 (license license:bsd-3))))
2530 (define-public go-github-com-ayufan-golang-kardianos-service
2531 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
2534 (name "go-github-com-ayufan-golang-kardianos-service")
2535 (version (git-version "0.0.0" revision commit))
2541 "https://github.com/ayufan/golang-kardianos-service")
2543 (file-name (git-file-name name version))
2546 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
2547 (build-system go-build-system)
2549 `(("go-github-com-kardianos-osext"
2550 ,go-github-com-kardianos-osext)))
2552 '(#:tests? #f ;FIXME tests fail: Service is not running.
2553 #:import-path "github.com/ayufan/golang-kardianos-service"))
2554 (home-page "https://github.com/ayufan/golang-kardianos-service")
2555 (synopsis "Go interface to a variety of service supervisors")
2556 (description "This package provides @code{service}, a Go module that can
2557 run programs as a service using a variety of supervisors, including systemd,
2558 SysVinit, and more.")
2559 (license license:zlib))))
2561 (define-public go-github-com-docker-distribution
2562 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
2565 (name "go-github-com-docker-distribution")
2566 (version (git-version "0.0.0" revision commit))
2568 ;; FIXME: This bundles many things, see
2569 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
2573 (url "https://github.com/docker/distribution")
2575 (file-name (git-file-name name version))
2578 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
2579 (build-system go-build-system)
2581 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
2582 ("go-github-com-sirupsen-logrus"
2583 ,go-github-com-sirupsen-logrus)
2584 ("go-golang-org-x-crypto"
2585 ,go-golang-org-x-crypto)))
2587 '(#:import-path "github.com/docker/distribution"
2589 (modify-phases %standard-phases
2590 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
2591 (lambda* (#:key outputs #:allow-other-keys)
2593 (make-file-writable file))
2595 (assoc-ref outputs "out")
2599 "https://github.com/docker/distribution")
2600 (synopsis "This package is a Docker toolset to pack, ship, store, and
2602 (description "Docker Distribution is a Docker toolset to pack, ship,
2603 store, and deliver content. It contains Docker Registry 2.0 and libraries
2604 to interact with distribution components.")
2605 (license license:asl2.0))))
2607 (define-public go-github-com-docker-go-connections
2608 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
2611 (name "go-github-com-docker-go-connections")
2612 (version (git-version "0.0.0" revision commit))
2617 (url "https://github.com/docker/go-connections")
2619 (file-name (git-file-name name version))
2622 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
2623 (build-system go-build-system)
2625 '(#:import-path "github.com/docker/go-connections"))
2626 (home-page "https://github.com/docker/go-connections")
2627 (synopsis "Networking library for Go")
2629 "This package provides a library to work with network connections in
2630 the Go language. In particular it provides tools to deal with network address
2631 translation (NAT), proxies, sockets, and transport layer security (TLS).")
2632 (license license:asl2.0))))
2634 (define-public go-github-com-docker-machine
2635 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
2638 (name "go-github-com-docker-machine")
2639 (version (git-version "0.0.0" revision commit))
2644 (url "https://github.com/docker/machine")
2646 (file-name (git-file-name name version))
2649 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
2650 (build-system go-build-system)
2652 '(#:import-path "github.com/docker/machine"))
2653 (home-page "https://github.com/docker/machine")
2654 (synopsis "Machine management for a container-centric world")
2656 "@dfn{Machine} lets you create Docker hosts on your computer, on
2657 hosting providers, and inside your data center. It creates servers, installs
2658 Docker on them, then configures the Docker client to talk to them.")
2659 (license license:asl2.0))))
2661 (define-public go-github-com-gorhill-cronexpr
2662 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
2665 (name "go-github-com-gorhill-cronexpr")
2666 (version (git-version "0.0.0" revision commit))
2671 (url "https://github.com/gorhill/cronexpr")
2673 (file-name (git-file-name name version))
2676 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
2677 (build-system go-build-system)
2679 '(#:import-path "github.com/gorhill/cronexpr"))
2680 (home-page "https://github.com/gorhill/cronexpr")
2681 (synopsis "Cron expression parser in the Go language")
2683 "This package provides a cron expression parser in the Go language.
2684 Given a cron expression and a time stamp, you can get the next time stamp
2685 which satisfies the cron expression.")
2686 (license (list license:gpl3+
2689 (define-public go-gopkg-in-check-v1
2690 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
2693 (name "go-gopkg-in-check-v1")
2694 (version (git-version "1.0.0" revision commit))
2699 (url "https://github.com/go-check/check")
2701 (file-name (git-file-name name version))
2704 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
2705 (build-system go-build-system)
2707 '(#:import-path "gopkg.in/check.v1"))
2709 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
2710 (home-page "https://gopkg.in/check.v1")
2711 (synopsis "Test framework for the Go language")
2712 (description "This package provides a test library for the Go language.")
2713 (license license:asl2.0))))
2715 (define-public go-gopkg-in-ini-v1
2717 (name "go-gopkg-in-ini-v1")
2723 (url "https://github.com/go-ini/ini")
2724 (commit (string-append "v" version))))
2725 (file-name (git-file-name name version))
2728 "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5"))))
2729 (build-system go-build-system)
2731 '(#:import-path "gopkg.in/ini.v1"
2732 ;; Requires large unpackaged test framework
2734 (home-page "https://gopkg.in/ini.v1")
2735 (synopsis "Go library for ini files")
2736 (description "Go library for ini files")
2737 (license license:asl2.0)))
2739 (define-public go-gopkg-in-yaml-v2
2741 (name "go-gopkg-in-yaml-v2")
2747 (url "https://gopkg.in/yaml.v2.git")
2748 (commit (string-append "v" version))))
2749 (file-name (git-file-name name version))
2752 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
2753 (build-system go-build-system)
2755 '(#:import-path "gopkg.in/yaml.v2"))
2757 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
2758 (home-page "https://gopkg.in/yaml.v2")
2759 (synopsis "YAML reader and writer for the Go language")
2761 "This package provides a Go library for encode and decode YAML
2763 (license license:asl2.0)))
2765 (define-public go-gopkg-in-yaml-v3
2767 (name "go-gopkg-in-yaml-v3")
2773 (url "https://gopkg.in/yaml.v3")
2774 (commit (string-append "v" version))))
2775 (file-name (git-file-name name version))
2777 (base32 "06f4lnrp494wqaygv09dggr2dwf3z2bawqhnlnnwiamg5y787k4g"))))
2778 (build-system go-build-system)
2780 '(#:import-path "gopkg.in/yaml.v3"))
2782 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
2783 (home-page "https://gopkg.in/yaml.v3")
2784 (synopsis "YAML reader and writer for the Go language")
2786 "This package provides a Go library for encode and decode YAML values.
2787 The yaml package supports most of YAML 1.2, but preserves some behavior from
2788 1.1 for backwards compatibility.")
2789 (license license:asl2.0)))
2791 (define-public go-github-com-mattn-go-isatty
2793 (name "go-github-com-mattn-go-isatty")
2799 (url "https://github.com/mattn/go-isatty")
2800 (commit (string-append "v" version))))
2801 (file-name (git-file-name name version))
2804 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
2805 (build-system go-build-system)
2807 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
2809 '(#:import-path "github.com/mattn/go-isatty"))
2810 (home-page "https://github.com/mattn/go-isatty")
2811 (synopsis "Provide @code{isatty} for Golang")
2812 (description "This package provides @code{isatty}, a Go module that can
2813 tell you whether a file descriptor points to a terminal and the type of the
2815 (license license:expat)))
2817 (define-public go-github-com-mattn-go-colorable
2819 (name "go-github-com-mattn-go-colorable")
2821 (home-page "https://github.com/mattn/go-colorable")
2827 (commit (string-append "v" version))))
2828 (file-name (git-file-name name version))
2831 "0q34zqwbnls72md8q8mhj368s7p3i4xspvs3rk8fs76s0pn7dr2l"))))
2832 (build-system go-build-system)
2834 `(("go-github-com-mattn-go-isatty"
2835 ,go-github-com-mattn-go-isatty)))
2837 '(#:import-path "github.com/mattn/go-colorable"))
2838 (synopsis "Handle ANSI color escapes on Windows")
2839 (description "This package provides @code{colorable}, a module that
2840 makes it possible to handle ANSI color escapes on Windows.")
2841 (license license:expat)))
2843 (define-public go-github-com-mattn-go-pointer
2844 (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
2847 (name "go-github-com-mattn-go-pointer")
2848 (version (git-version "0.0.0" revision commit))
2853 (url "https://github.com/mattn/go-pointer")
2857 "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
2858 (file-name (git-file-name name version))))
2859 (build-system go-build-system)
2861 '(#:import-path "github.com/mattn/go-pointer"))
2862 (home-page "https://github.com/mattn/go-pointer")
2863 (synopsis "Utility for cgo")
2865 "This package allows for a cgo argument to be passed a Go pointer.")
2866 (license license:expat))))
2868 (define-public go-github-com-mgutz-ansi
2869 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
2872 (name "go-github-com-mgutz-ansi")
2873 (version (git-version "0.0.0" revision commit))
2879 "https://github.com/mgutz/ansi")
2881 (file-name (git-file-name name version))
2884 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
2885 (build-system go-build-system)
2887 `(("go-github-com-mattn-go-isatty"
2888 ,go-github-com-mattn-go-isatty)
2889 ("go-github-com-mattn-go-colorable"
2890 ,go-github-com-mattn-go-colorable)))
2892 '(#:import-path "github.com/mgutz/ansi"))
2893 (home-page "https://github.com/mgutz/ansi")
2894 (synopsis "Small, fast library to create ANSI colored strings and codes")
2895 (description "This package provides @code{ansi}, a Go module that can
2896 generate ANSI colored strings.")
2897 (license license:expat))))
2899 (define-public go-github-com-aarzilli-golua
2900 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
2903 (name "go-github-com-aarzilli-golua")
2904 (version (git-version "0.0.0" revision commit))
2910 "https://github.com/aarzilli/golua")
2912 (file-name (git-file-name name version))
2915 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
2916 (build-system go-build-system)
2917 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2918 ;; when this package required as input for another one, it will have to
2919 ;; be built again. Thus its CGO requirements must be made available in
2920 ;; the environment, that is, they must be propagated.
2924 `(#:unpack-path "github.com/aarzilli/golua"
2925 #:import-path "github.com/aarzilli/golua/lua"
2927 (modify-phases %standard-phases
2928 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
2929 ;; command line argument, go-1.10+ does not re-use the produced pkg
2930 ;; for dependencies, which means we would need to propagate the
2931 ;; same "-tags" argument to all golua referrers. A substitution is
2932 ;; more convenient here. We also need to propagate the lua
2933 ;; dependency to make it available to referrers.
2934 (add-after 'unpack 'fix-lua-ldflags
2936 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
2937 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
2938 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
2939 (home-page "https://github.com/aarzilli/golua")
2940 (synopsis "Go Bindings for the Lua C API")
2941 (description "This package provides @code{lua}, a Go module that can
2942 run a Lua virtual machine.")
2943 (license license:expat))))
2945 (define-public go-gitlab-com-ambrevar-golua-unicode
2946 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
2949 (name "go-gitlab-com-ambrevar-golua-unicode")
2950 (version (git-version "0.0.0" revision commit))
2956 "https://gitlab.com/ambrevar/golua")
2958 (file-name (git-file-name name version))
2961 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
2962 (build-system go-build-system)
2965 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2967 `(#:unpack-path "gitlab.com/ambrevar/golua"
2968 #:import-path "gitlab.com/ambrevar/golua/unicode"
2970 (modify-phases %standard-phases
2972 (lambda* (#:key import-path #:allow-other-keys)
2973 (setenv "USER" "homeless-dude")
2974 (invoke "go" "test" import-path))))))
2975 (home-page "https://gitlab.com/ambrevar/golua")
2976 (synopsis "Add Unicode support to Golua")
2977 (description "This extension to Arzilli's Golua adds Unicode support to
2978 all functions from the Lua string library. Lua patterns are replaced by Go
2979 regexps. This breaks compatibility with Lua, but Unicode support breaks it
2980 anyways and Go regexps are more powerful.")
2981 (license license:expat))))
2983 (define-public go-github-com-yookoala-realpath
2984 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
2987 (name "go-github-com-yookoala-realpath")
2988 (version (git-version "0.0.0" revision commit))
2994 "https://github.com/yookoala/realpath")
2996 (file-name (git-file-name name version))
2999 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
3000 (build-system go-build-system)
3002 `(#:import-path "github.com/yookoala/realpath"))
3003 (home-page "https://github.com/yookoala/realpath")
3004 (synopsis "@code{realpath} for Golang")
3005 (description "This package provides @code{realpath}, a Go module that
3006 when provided with a valid relative path / alias path, it will return you with
3007 a string of its real absolute path in the system.")
3008 (license license:expat))))
3010 (define-public go-gitlab-com-ambrevar-damerau
3011 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
3014 (name "go-gitlab-com-ambrevar-damerau")
3015 (version (git-version "0.0.0" revision commit))
3021 "https://gitlab.com/ambrevar/damerau")
3023 (file-name (git-file-name name version))
3026 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
3027 (build-system go-build-system)
3029 `(#:import-path "gitlab.com/ambrevar/damerau"))
3030 (home-page "https://gitlab.com/ambrevar/damerau")
3031 (synopsis "Damerau-Levenshtein distance for Golang")
3032 (description "This is a spelling corrector implementing the
3033 Damerau-Levenshtein distance. Takes a string value input from the user.
3034 Looks for an identical word on a list of words, if none is found, look for a
3036 (license license:expat))))
3038 (define-public go-github-com-stevedonovan-luar
3039 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
3042 (name "go-github-com-stevedonovan-luar")
3043 (version (git-version "0.0.0" revision commit))
3049 "https://github.com/stevedonovan/luar")
3051 (file-name (git-file-name name version))
3054 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
3055 (build-system go-build-system)
3057 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
3059 `(#:tests? #f ; Upstream tests are broken.
3060 #:import-path "github.com/stevedonovan/luar"))
3061 (home-page "https://github.com/stevedonovan/luar")
3062 (synopsis "Lua reflection bindings for Go")
3063 (description "Luar is designed to make using Lua from Go more
3064 convenient. Go structs, slices and maps can be automatically converted to Lua
3065 tables and vice-versa. The resulting conversion can either be a copy or a
3066 proxy. In the latter case, any change made to the result will reflect on the
3069 Any Go function can be made available to Lua scripts, without having to write
3072 Luar support cyclic structures (lists, etc.).
3074 User-defined types can be made available to Lua as well: their exported
3075 methods can be called and usual operations such as indexing or arithmetic can
3077 (license license:expat))))
3079 (define-public go-github-com-michiwend-golang-pretty
3080 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
3083 (name "go-github-com-michiwend-golang-pretty")
3084 (version (git-version "0.0.0" revision commit))
3090 "https://github.com/michiwend/golang-pretty")
3092 (file-name (git-file-name name version))
3095 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
3096 (build-system go-build-system)
3098 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
3100 `(#:tests? #f ; Upstream tests seem to be broken.
3101 #:import-path "github.com/michiwend/golang-pretty"))
3102 (home-page "https://github.com/michiwend/golang-pretty")
3103 (synopsis "Pretty printing for Go values")
3104 (description "Package @code{pretty} provides pretty-printing for Go
3105 values. This is useful during debugging, to avoid wrapping long output lines
3108 It provides a function, @code{Formatter}, that can be used with any function
3109 that accepts a format string. It also provides convenience wrappers for
3110 functions in packages @code{fmt} and @code{log}.")
3111 (license license:expat))))
3113 (define-public go-github-com-michiwend-gomusicbrainz
3114 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
3117 (name "go-github-com-michiwend-gomusicbrainz")
3118 (version (git-version "0.0.0" revision commit))
3124 "https://github.com/michiwend/gomusicbrainz")
3126 (file-name (git-file-name name version))
3129 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
3130 (build-system go-build-system)
3132 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
3133 ("go-github-com-kr-text" ,go-github-com-kr-text)))
3135 `(#:import-path "github.com/michiwend/gomusicbrainz"))
3136 (home-page "https://github.com/michiwend/gomusicbrainz")
3137 (synopsis "MusicBrainz WS2 client library for Golang")
3138 (description "Currently GoMusicBrainz provides methods to perform search
3139 and lookup requests. Browse requests are not supported yet.")
3140 (license license:expat))))
3142 (define-public go-github-com-wtolson-go-taglib
3143 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
3146 (name "go-github-com-wtolson-go-taglib")
3147 (version (git-version "0.0.0" revision commit))
3153 "https://github.com/wtolson/go-taglib")
3155 (file-name (git-file-name name version))
3158 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
3159 (build-system go-build-system)
3160 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
3161 ;; when this package required as input for another one, it will have to
3162 ;; be built again. Thus its CGO requirements must be made available in
3163 ;; the environment, that is, they must be propagated.
3165 `(("pkg-config" ,pkg-config)
3166 ("taglib" ,taglib)))
3168 `(#:import-path "github.com/wtolson/go-taglib"
3169 ;; Tests don't pass "vet" on Go since 1.11. See
3170 ;; https://github.com/wtolson/go-taglib/issues/12.
3172 (modify-phases %standard-phases
3174 (lambda* (#:key import-path #:allow-other-keys)
3178 (home-page "https://github.com/wtolson/go-taglib")
3179 (synopsis "Go wrapper for taglib")
3180 (description "Go wrapper for taglib")
3181 (license license:unlicense))))
3183 (define-public go-github-com-gogo-protobuf
3185 (name "go-github-com-gogo-protobuf")
3190 (url "https://github.com/gogo/protobuf")
3191 (commit (string-append "v" version))))
3192 (file-name (git-file-name name version))
3195 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
3196 (build-system go-build-system)
3198 `(#:import-path "github.com/gogo/protobuf"
3199 ; Source-only package
3202 (modify-phases %standard-phases
3204 (synopsis "Protocol Buffers for Go with Gadgets")
3205 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
3206 generation features. This code generation is used to achieve:
3208 @item fast marshalling and unmarshalling
3209 @item more canonical Go structures
3210 @item goprotobuf compatibility
3211 @item less typing by optionally generating extra helper code
3212 @item peace of mind by optionally generating test and benchmark code
3213 @item other serialization formats
3215 (home-page "https://github.com/gogo/protobuf")
3216 (license license:bsd-3)))
3218 (define-public go-github-com-libp2p-go-flow-metrics
3219 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
3222 (name "go-github-com-libp2p-go-flow-metrics")
3223 (version (git-version "0.2.0" revision commit))
3228 (url "https://github.com/libp2p/go-flow-metrics")
3230 (file-name (git-file-name name version))
3233 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
3234 (build-system go-build-system)
3236 `(#:import-path "github.com/libp2p/go-flow-metrics"
3237 ;; TODO: Tests hang.
3240 "https://github.com/libp2p/go-flow-metrics")
3241 (synopsis "Simple library for tracking flow metrics")
3242 (description "A simple alternative to rcrowley's @command{go-metrics}
3243 that's a lot faster (and only does simple bandwidth metrics).")
3244 (license license:expat))))
3246 (define-public go-github-com-davecgh-go-spew
3248 (name "go-github-com-davecgh-go-spew")
3254 (url "https://github.com/davecgh/go-spew")
3255 (commit (string-append "v" version))))
3256 (file-name (git-file-name name version))
3259 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
3260 (build-system go-build-system)
3262 '(#:unpack-path "github.com/davecgh/go-spew"
3263 #:import-path "github.com/davecgh/go-spew/spew"))
3264 (home-page "https://github.com/davecgh/go-spew")
3265 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
3266 (description "Package @command{spew} implements a deep pretty printer
3267 for Go data structures to aid in debugging.
3269 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
3272 @item Pointers are dereferenced and followed.
3273 @item Circular data structures are detected and handled properly.
3274 @item Custom Stringer/error interfaces are optionally invoked, including on
3276 @item Custom types which only implement the Stringer/error interfaces via a
3277 pointer receiver are optionally invoked when passing non-pointer variables.
3278 @item Byte arrays and slices are dumped like the hexdump -C command which
3279 includes offsets, byte values in hex, and ASCII output (only when using Dump
3282 (license license:isc)))
3284 (define-public go-github-com-btcsuite-btclog
3285 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
3288 (name "go-github-com-btcsuite-btclog")
3289 (version (git-version "0.0.3" revision commit))
3294 (url "https://github.com/btcsuite/btclog")
3296 (file-name (git-file-name name version))
3299 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
3300 (build-system go-build-system)
3302 '(#:import-path "github.com/btcsuite/btclog"))
3303 (home-page "https://github.com/btcsuite/btclog")
3304 (synopsis "Subsystem aware logger for Go")
3305 (description "Package @command{btclog} defines a logger interface and
3306 provides a default implementation of a subsystem-aware leveled logger
3307 implementing the same interface.")
3308 (license license:isc))))
3310 (define-public go-github-com-btcsuite-btcd-btcec
3311 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
3314 (name "go-github-com-btcsuite-btcd-btcec")
3315 (version (git-version "0.12.0-beta" revision commit))
3320 (url "https://github.com/btcsuite/btcd")
3322 (file-name (git-file-name name version))
3325 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
3326 (build-system go-build-system)
3328 '(#:unpack-path "github.com/btcsuite/btcd"
3329 #:import-path "github.com/btcsuite/btcd/btcec"))
3331 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
3332 (home-page "https://github.com/btcsuite/btcd")
3333 (synopsis "Elliptic curve cryptography to work with Bitcoin")
3334 (description "Package @command{btcec} implements elliptic curve
3335 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
3336 designed so that it may be used with the standard crypto/ecdsa packages
3337 provided with Go. A comprehensive suite of test is provided to ensure proper
3338 functionality. Package @command{btcec} was originally based on work from
3339 ThePiachu which is licensed under the same terms as Go, but it has
3340 significantly diverged since then. The @command{btcsuite} developers original
3341 is licensed under the liberal ISC license.
3343 Although this package was primarily written for btcd, it has intentionally
3344 been designed so it can be used as a standalone package for any projects
3345 needing to use secp256k1 elliptic curve cryptography.")
3346 (license license:isc))))
3348 (define-public go-github-com-minio-sha256-simd
3350 (name "go-github-com-minio-sha256-simd")
3356 (url "https://github.com/minio/sha256-simd")
3357 (commit (string-append "v" version))))
3358 (file-name (git-file-name name version))
3361 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
3362 (build-system go-build-system)
3364 '(#:import-path "github.com/minio/sha256-simd"))
3365 (home-page "https://github.com/minio/sha256-simd")
3366 (synopsis "Accelerate SHA256 computations in pure Go")
3367 (description "Accelerate SHA256 computations in pure Go using AVX512 and
3368 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
3369 improvement (over 3 GB/s per core) in comparison to AVX2.
3371 This package is designed as a replacement for @command{crypto/sha256}. For
3372 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
3373 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
3374 of the SHA2 instructions resulting in a massive performance improvement.
3376 This package uses Golang assembly. The AVX512 version is based on the Intel's
3377 \"multi-buffer crypto library for IPSec\" whereas the other Intel
3378 implementations are described in \"Fast SHA-256 Implementations on Intel
3379 Architecture Processors\" by J. Guilford et al.")
3380 (license license:asl2.0)))
3382 (define-public go-github-com-libp2p-go-libp2p-crypto
3383 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
3386 (name "go-github-com-libp2p-go-libp2p-crypto")
3387 (version (git-version "2.0.1" revision commit))
3392 (url "https://github.com/libp2p/go-libp2p-crypto")
3394 (file-name (git-file-name name version))
3397 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
3398 (build-system go-build-system)
3400 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
3402 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3403 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
3404 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
3405 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
3407 "https://github.com/libp2p/go-libp2p-crypto")
3408 (synopsis "Various cryptographic utilities used by IPFS")
3409 (description "Various cryptographic utilities used by IPFS")
3410 (license license:expat))))
3412 (define-public go-github-com-mr-tron-base58
3413 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
3416 (name "go-github-com-mr-tron-base58")
3417 (version (git-version "1.1.0" revision commit))
3422 (url "https://github.com/mr-tron/base58")
3424 (file-name (git-file-name name version))
3427 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
3428 (build-system go-build-system)
3430 `(#:unpack-path "github.com/mr-tron/base58"
3431 #:import-path "github.com/mr-tron/base58/base58"))
3432 (home-page "https://github.com/mr-tron/base58")
3433 (synopsis "Fast implementation of base58 encoding on Golang")
3434 (description "Fast implementation of base58 encoding on Golang. A
3435 trivial @command{big.Int} encoding benchmark results in 6 times faster
3436 encoding and 8 times faster decoding.")
3437 (license license:expat))))
3439 (define-public go-github-com-gxed-hashland-keccakpg
3440 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
3443 (name "go-github-com-gxed-hashland-keccakpg")
3444 (version (git-version "0.0.0" revision commit))
3449 (url "https://github.com/gxed/hashland")
3451 (file-name (git-file-name name version))
3454 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
3455 (build-system go-build-system)
3457 '(#:unpack-path "github.com/gxed/hashland"
3458 #:import-path "github.com/gxed/hashland/keccakpg"))
3459 (home-page "https://github.com/gxed/hashland")
3460 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
3461 (description "Package @command{keccak} implements the Keccak (SHA-3)
3462 hash algorithm. See http://keccak.noekeon.org.")
3463 (license license:expat))))
3465 (define-public go-github-com-minio-blake2b-simd
3466 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
3469 (name "go-github-com-minio-blake2b-simd")
3470 (version (git-version "0.0.0" revision commit))
3475 (url "https://github.com/minio/blake2b-simd")
3477 (file-name (git-file-name name version))
3480 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
3481 (build-system go-build-system)
3483 '(#:import-path "github.com/minio/blake2b-simd"))
3484 (home-page "https://github.com/minio/blake2b-simd")
3485 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
3486 (description "This package was initially based on the pure go BLAKE2b
3487 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
3488 optimized BLAKE2 implementation (which in turn is based on the official
3489 implementation. It does so by using Go's Assembler for amd64 architectures
3490 with a golang only fallback for other architectures.
3492 In addition to AVX there is also support for AVX2 as well as SSE. Best
3493 performance is obtained with AVX2 which gives roughly a 4X performance
3494 increase approaching hashing speeds of 1GB/sec on a single core.")
3495 (license license:asl2.0))))
3497 (define-public go-github-com-spaolacci-murmur3
3499 (name "go-github-com-spaolacci-murmur3")
3505 (url "https://github.com/spaolacci/murmur3")
3506 (commit (string-append "v" version))))
3507 (file-name (git-file-name name version))
3510 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
3511 (build-system go-build-system)
3513 '(#:import-path "github.com/spaolacci/murmur3"))
3514 (home-page "https://github.com/spaolacci/murmur3")
3515 (synopsis "Native MurmurHash3 Go implementation")
3516 (description "Native Go implementation of Austin Appleby's third MurmurHash
3517 revision (aka MurmurHash3).
3519 Reference algorithm has been slightly hacked as to support the streaming mode
3520 required by Go's standard Hash interface.")
3521 (license license:bsd-3)))
3523 (define-public go-github-com-twmb-murmur3
3525 (name "go-github-com-twmb-murmur3")
3531 (url "https://github.com/twmb/murmur3")
3532 (commit (string-append "v" version))))
3533 (file-name (git-file-name name version))
3536 "00riapwkyf23l5wyis47mbr8rwr4yrjw491jfc30wpzs111c1gyy"))))
3537 (build-system go-build-system)
3539 '(#:import-path "github.com/twmb/murmur3"))
3540 (home-page "https://github.com/twmb/murmur3")
3541 (synopsis "Native MurmurHash3 Go implementation")
3542 (description "Native Go implementation of Austin Appleby's third
3543 MurmurHash revision (aka MurmurHash3).
3545 Reference algorithm has been slightly hacked as to support the streaming mode
3546 required by Go's standard Hash interface.")
3547 (license license:bsd-3)))
3549 (define-public go-github-com-multiformats-go-multihash
3550 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
3553 (name "go-github-com-multiformats-go-multihash")
3554 (version (git-version "1.0.8" revision commit))
3559 (url "https://github.com/multiformats/go-multihash")
3561 (file-name (git-file-name name version))
3564 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
3565 (build-system go-build-system)
3567 '(#:import-path "github.com/multiformats/go-multihash"))
3569 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3570 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3571 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3572 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3573 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3574 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3575 (home-page "https://github.com/multiformats/go-multihash")
3576 (synopsis "Multihash implementation in Go")
3577 (description "Multihash implementation in Go.")
3578 (license license:expat))))
3580 (define-public go-github-com-libp2p-go-libp2p-peer
3581 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
3584 (name "go-github-com-libp2p-go-libp2p-peer")
3585 (version (git-version "2.3.8" revision commit))
3590 (url "https://github.com/libp2p/go-libp2p-peer")
3592 (file-name (git-file-name name version))
3595 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
3596 (build-system go-build-system)
3598 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
3600 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
3601 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
3602 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3603 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3604 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
3605 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3606 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
3607 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3608 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3609 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3610 (home-page "https://github.com/libp2p/go-libp2p-peer")
3611 (synopsis "PKI based identities for use in go-libp2p")
3612 (description "PKI based identities for use in @command{go-libp2p}.")
3613 (license license:expat))))
3615 (define-public go-github-com-libp2p-go-libp2p-protocol
3616 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
3619 (name "go-github-com-libp2p-go-libp2p-protocol")
3620 (version (git-version "1.0.0" revision commit))
3625 (url "https://github.com/libp2p/go-libp2p-protocol")
3627 (file-name (git-file-name name version))
3630 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
3631 (build-system go-build-system)
3634 "github.com/libp2p/go-libp2p-protocol"))
3635 (home-page "https://github.com/libp2p/go-libp2p-protocol")
3636 (synopsis "Type for protocol strings in Golang")
3637 (description "Just a type for protocol strings. Nothing more.")
3638 (license license:expat))))
3640 (define-public go-github-com-libp2p-go-libp2p-metrics
3641 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
3644 (name "go-github-com-libp2p-go-libp2p-metrics")
3645 (version (git-version "2.1.6" revision commit))
3650 (url "https://github.com/libp2p/go-libp2p-metrics")
3652 (file-name (git-file-name name version))
3655 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
3656 (build-system go-build-system)
3658 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
3660 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
3661 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
3662 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
3663 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
3664 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3665 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
3666 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
3667 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
3668 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3669 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3670 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3671 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3672 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3673 (home-page "https://github.com/libp2p/go-libp2p-metrics")
3674 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
3675 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
3676 statistics for wrapped connections.")
3677 (license license:expat))))
3679 (define-public go-github-com-mitchellh-go-homedir
3680 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
3683 (name "go-github-com-mitchellh-go-homedir")
3684 (version (git-version "1.0.0" revision commit))
3689 (url "https://github.com/mitchellh/go-homedir")
3691 (file-name (git-file-name name version))
3694 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
3695 (build-system go-build-system)
3697 (quote (#:import-path "github.com/mitchellh/go-homedir"
3698 ;; TODO: Tests fail because it tries to access home.
3700 (home-page "https://github.com/mitchellh/go-homedir")
3701 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
3702 (description "This is a Go library for detecting the user's home
3703 directory without the use of @command{cgo}, so the library can be used in
3704 cross-compilation environments.
3706 Usage is simple, just call homedir.Dir() to get the home directory for a user,
3707 and homedir.Expand() to expand the @command{~} in a path to the home
3710 Why not just use @command{os/user}? The built-in @command{os/user} package
3711 requires cgo on Darwin systems. This means that any Go code that uses that
3712 package cannot cross compile. But 99% of the time the use for
3713 @command{os/user} is just to retrieve the home directory, which we can do for
3714 the current user without cgo. This library does that, enabling
3715 cross-compilation.")
3716 (license license:expat))))
3718 (define-public go-github-com-mitchellh-mapstructure
3720 (name "go-github-com-mitchellh-mapstructure")
3721 (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0
3726 (url "https://github.com/mitchellh/mapstructure")
3727 (commit (string-append "v" version))))
3728 (file-name (git-file-name name version))
3731 "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"))))
3732 (build-system go-build-system)
3734 `(#:import-path "github.com/mitchellh/mapstructure"))
3735 (home-page "https://github.com/mitchellh/mapstructure")
3736 (synopsis "Go library for decoding generic map values")
3737 (description "Go library for decoding generic map values")
3738 (license license:expat)))
3740 (define-public go-github-com-mitchellh-reflectwalk
3742 (name "go-github-com-mitchellh-reflectwalk")
3747 (url "https://github.com/mitchellh/reflectwalk")
3748 (commit (string-append "v" version))))
3749 (file-name (git-file-name name version))
3752 "0pa6a3nhzwv5s5yqcmsmsfhdp5ggxsg2wa86f3akawxrhrkjarnx"))))
3753 (build-system go-build-system)
3755 `(#:import-path "github.com/mitchellh/reflectwalk"))
3756 (home-page "https://github.com/mitchellh/reflectwalk/")
3757 (synopsis "Walk a value in Go using reflection")
3758 (description "reflectwalk is a Go library for \"walking\" a value in Go
3759 using reflection, in the same way a directory tree can be \"walked\" on the
3760 file system. Walking a complex structure can allow you to do manipulations on
3761 unknown structures such as those decoded from JSON.")
3762 (license license:expat)))
3764 (define-public go-github-com-mitchellh-copystructure
3766 (name "go-github-com-mitchellh-copystructure")
3772 (url "https://github.com/mitchellh/copystructure")
3773 (commit (string-append "v" version))))
3774 (file-name (git-file-name name version))
3777 "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
3778 (build-system go-build-system)
3780 `(#:import-path "github.com/mitchellh/copystructure"))
3782 `(("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)))
3783 (home-page "https://github.com/mitchellh/copystructure")
3784 (synopsis "Go library for decoding deep copying values")
3785 (description "@code{copystructure} is a Go library for deep copying values
3788 This allows you to copy Go values that may contain reference values such as
3789 maps, slices, or pointers, and copy their data as well instead of just their
3791 (license license:expat)))
3793 (define-public go-github-com-multiformats-go-multiaddr
3794 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
3797 (name "go-github-com-multiformats-go-multiaddr")
3798 (version (git-version "1.3.0" revision commit))
3803 (url "https://github.com/multiformats/go-multiaddr")
3805 (file-name (git-file-name name version))
3808 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
3809 (build-system go-build-system)
3812 "github.com/multiformats/go-multiaddr"))
3814 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
3815 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3816 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3817 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3818 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3819 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3820 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3821 (home-page "https://github.com/multiformats/go-multiaddr")
3822 (synopsis "Composable and future-proof network addresses")
3823 (description "Multiaddr is a standard way to represent addresses that
3827 @item Support any standard network protocols.
3828 @item Self-describe (include protocols).
3829 @item Have a binary packed format.
3830 @item Have a nice string representation.
3831 @item Encapsulate well.
3833 (license license:expat))))
3835 (define-public go-github-com-multiformats-go-multiaddr-net
3836 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
3839 (name "go-github-com-multiformats-go-multiaddr-net")
3840 (version (git-version "1.6.3" revision commit))
3845 (url "https://github.com/multiformats/go-multiaddr-net")
3847 (file-name (git-file-name name version))
3850 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
3851 (build-system go-build-system)
3853 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
3854 ;; TODO: Tests fail because they try to access the network.
3857 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
3858 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
3859 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3860 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3861 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3862 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3863 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3864 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3865 (home-page "https://github.com/multiformats/go-multiaddr-net")
3866 (synopsis "Multiaddress net tools")
3867 (description "This package provides Multiaddr specific versions of
3868 common functions in stdlib's @command{net} package. This means wrappers of
3869 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
3870 as conversion to and from @command{net.Addr}.")
3871 (license license:expat))))
3873 (define-public go-github-com-whyrusleeping-tar-utils
3874 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
3877 (name "go-github-com-whyrusleeping-tar-utils")
3878 (version (git-version "0.0.0" revision commit))
3883 (url "https://github.com/whyrusleeping/tar-utils")
3885 (file-name (git-file-name name version))
3888 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
3889 (build-system go-build-system)
3892 "github.com/whyrusleeping/tar-utils"))
3893 (home-page "https://github.com/whyrusleeping/tar-utils")
3894 (synopsis "Tar utilities extracted from go-ipfs codebase")
3895 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
3896 (license license:expat))))
3898 (define-public go-github-com-cheekybits-is
3899 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
3902 (name "go-github-com-cheekybits-is")
3903 (version (git-version "0.0.0" revision commit))
3908 (url "https://github.com/cheekybits/is")
3910 (file-name (git-file-name name version))
3913 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
3914 (build-system go-build-system)
3916 '(#:import-path "github.com/cheekybits/is"))
3917 (home-page "https://github.com/cheekybits/is")
3918 (synopsis "Mini testing helper for Go")
3919 (description "A mini testing helper for Go.
3922 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
3923 @item It plugs into existing Go toolchain (uses @command{testing.T}).
3924 @item It's obvious for newcomers.
3925 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
3926 - because testing panics is ugly.
3928 (license license:expat))))
3930 (define-public go-github-com-sabhiram-go-gitignore
3931 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
3934 (name "go-github-com-sabhiram-go-gitignore")
3935 (version (git-version "1.0.2" revision commit))
3940 (url "https://github.com/sabhiram/go-gitignore")
3942 (file-name (git-file-name name version))
3945 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
3946 (build-system go-build-system)
3949 "github.com/sabhiram/go-gitignore"))
3951 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3952 (home-page "https://github.com/sabhiram/go-gitignore")
3953 (synopsis "Gitignore parser for Go")
3954 (description "A @command{.gitignore} parser for Go.")
3955 (license license:expat))))
3957 (define-public go-github-com-urfave-cli
3959 (name "go-github-com-urfave-cli")
3965 (url "https://github.com/urfave/cli")
3966 (commit (string-append "v" version))))
3967 (file-name (git-file-name name version))
3970 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
3971 (build-system go-build-system)
3973 '(#:import-path "github.com/urfave/cli"))
3975 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
3976 (home-page "https://github.com/urfave/cli")
3977 (synopsis "Simple, fast, and fun package for building command line apps in Go")
3978 (description "@command{cli} is a simple, fast, and fun package for
3979 building command line apps in Go. The goal is to enable developers to write
3980 fast and distributable command line applications in an expressive way.")
3981 (license license:expat)))
3983 (define-public go-github-com-urfave-cli-v2
3985 (inherit go-github-com-urfave-cli)
3986 (name "go-github-com-urfave-cli-v2")
3992 (url "https://github.com/urfave/cli")
3993 (commit (string-append "v" version))))
3994 (file-name (git-file-name name version))
3996 (base32 "08pvn7gyfznni72xrxfh2x6xxa8ykr7l1ka278js8g8qkh71bj8l"))))
3998 '(#:import-path "github.com/urfave/cli/v2"))))
4000 (define-public go-github-com-go-md2man
4002 (name "go-github-com-go-md2man")
4008 (url "https://github.com/cpuguy83/go-md2man")
4009 (commit (string-append "v" version))))
4010 (file-name (git-file-name name version))
4013 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
4014 (modules '((guix build utils)))
4016 (delete-file-recursively "vendor")
4018 (build-system go-build-system)
4020 '(#:import-path "github.com/cpuguy83/go-md2man"))
4022 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
4023 (home-page "https://github.com/cpuguy83/go-md2man")
4024 (synopsis "Convert markdown into roff")
4025 (description "Go-md2man is a Go program that converts markdown to roff for
4026 the purpose of building man pages.")
4027 (license license:expat)))
4029 (define-public go-github-com-russross-blackfriday
4031 (name "go-github-com-russross-blackfriday")
4037 (url "https://github.com/russross/blackfriday")
4038 (commit (string-append "v" version))))
4039 (file-name (git-file-name name version))
4042 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
4043 (build-system go-build-system)
4045 '(#:import-path "github.com/russross/blackfriday"))
4047 `(("go-github-com-shurcool-sanitized-anchor-name"
4048 ,go-github-com-shurcool-sanitized-anchor-name)))
4050 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
4051 (home-page "https://github.com/russross/blackfriday")
4052 (synopsis "Markdown processor in Go")
4053 (description "Blackfriday is a Markdown processor in Go.")
4054 (license license:bsd-2)))
4056 (define-public go-github-com-shurcool-sanitized-anchor-name
4058 (name "go-github-com-shurcool-sanitized-anchor-name")
4064 (url "https://github.com/shurcooL/sanitized_anchor_name")
4065 (commit (string-append "v" version))))
4066 (file-name (git-file-name name version))
4069 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
4070 (build-system go-build-system)
4072 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
4073 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
4074 (synopsis "Create sanitized anchor names")
4075 (description "This package provides a Go program for creating sanitized
4077 (license license:expat)))
4079 (define-public go-github-com-pmezard-go-difflib
4081 (name "go-github-com-pmezard-go-difflib")
4086 (url "https://github.com/pmezard/go-difflib")
4087 (commit (string-append "v" version))))
4088 (file-name (git-file-name name version))
4091 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
4092 (build-system go-build-system)
4094 '(#:import-path "github.com/pmezard/go-difflib/difflib"
4095 #:unpack-path "github.com/pmezard/go-difflib/"))
4096 (home-page "https://github.com/pmezard/go-difflib")
4097 (synopsis "Go diff implementation")
4098 (description "This package provides unified and context-aware diffs in Go.")
4099 (license license:bsd-3)))
4101 (define-public go-github-com-whyrusleeping-json-filter
4102 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
4105 (name "go-github-com-whyrusleeping-json-filter")
4106 (version (git-version "0.0.0" revision commit))
4111 (url "https://github.com/whyrusleeping/json-filter")
4113 (file-name (git-file-name name version))
4116 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
4117 (build-system go-build-system)
4120 "github.com/whyrusleeping/json-filter"))
4121 (home-page "https://github.com/whyrusleeping/json-filter")
4122 (synopsis "Library to query JSON objects marshalled into map[string]interface")
4123 (description "A library to query JSON objects marshalled into
4124 @command{map[string]interface{}}.")
4125 (license license:expat))))
4127 (define-public go-github-com-whyrusleeping-progmeter
4128 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
4131 (name "go-github-com-whyrusleeping-progmeter")
4132 (version (git-version "0.0.0" revision commit))
4137 (url "https://github.com/whyrusleeping/progmeter")
4139 (file-name (git-file-name name version))
4142 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
4143 (build-system go-build-system)
4146 "github.com/whyrusleeping/progmeter"))
4147 (home-page "https://github.com/whyrusleeping/progmeter")
4148 (synopsis "Progress meter for Go")
4149 (description "Progress meter for Go.")
4150 (license license:expat))))
4152 (define-public go-github-com-whyrusleeping-stump
4153 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
4156 (name "go-github-com-whyrusleeping-stump")
4157 (version (git-version "0.0.0" revision commit))
4162 (url "https://github.com/whyrusleeping/stump")
4164 (file-name (git-file-name name version))
4167 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
4168 (build-system go-build-system)
4170 '(#:import-path "github.com/whyrusleeping/stump"))
4171 (home-page "https://github.com/whyrusleeping/stump")
4172 (synopsis "Very basic logging package for Go")
4173 (description "A simple log library, for when you don't really care to
4174 have super fancy logs.")
4175 (license license:expat))))
4177 (define-public go-github-com-kr-fs
4178 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
4181 (name "go-github-com-kr-fs")
4182 (version (git-version "0.1.0" revision commit))
4187 (url "https://github.com/kr/fs")
4189 (file-name (git-file-name name version))
4192 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
4193 (build-system go-build-system)
4195 '(#:import-path "github.com/kr/fs"))
4196 (home-page "https://github.com/kr/fs")
4197 (synopsis "File-system-related functions for Go")
4199 "The fs package provides file-system-related Go functions.")
4200 (license license:bsd-3))))
4202 (define-public go-github-com-direnv-go-dotenv
4203 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
4206 (name "go-github-com-direnv-go-dotenv")
4207 (version (git-version "0.0.0" revision commit))
4212 (url "https://github.com/direnv/go-dotenv")
4214 (file-name (git-file-name name version))
4217 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
4218 (build-system go-build-system)
4220 '(#:import-path "github.com/direnv/go-dotenv"))
4221 (home-page "https://github.com/direnv/go-dotenv")
4222 (synopsis "Go dotenv parsing library")
4223 (description "This package provides a library for parsing the dotenv
4225 (license license:expat))))
4227 (define-public go-github-com-kr-pretty
4229 (name "go-github-com-kr-pretty")
4234 (url "https://github.com/kr/pretty")
4235 (commit (string-append "v" version))))
4236 (file-name (git-file-name name version))
4239 "0vzfz06y9q8gs2nxx0kys0591vzp78k0fvpb8digi5n15h3b25hy"))))
4240 (build-system go-build-system)
4242 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
4244 '(#:import-path "github.com/kr/pretty"))
4245 (synopsis "Pretty printer for Go values")
4246 (description "This package provides a pretty printer for Go values.")
4247 (home-page "https://github.com/kr/pretty")
4248 (license license:expat)))
4250 (define-public go-github-com-kylelemons-godebug
4252 (name "go-github-com-kylelemons-godebug")
4258 (url "https://github.com/kylelemons/godebug")
4259 (commit (string-append "v" version))))
4260 (file-name (git-file-name name version))
4263 "0dkk3friykg8p6wgqryx6745ahhb9z1j740k7px9dac6v5xjp78c"))))
4264 (build-system go-build-system)
4266 '(#:import-path "github.com/kylelemons/godebug/diff"
4267 #:unpack-path "github.com/kylelemons/godebug"))
4268 (home-page "https://github.com/kylelemons/godebug")
4269 (synopsis "Pretty printer for Go values.")
4271 "This package will pretty print a compact representation of a Go data
4272 structure. It can also produce a much more verbose, one-item-per-line
4273 representation suitable for computing diffs.")
4274 (license license:asl2.0)))
4276 (define-public go-github-com-kr-text
4278 (name "go-github-com-kr-text")
4283 (url "https://github.com/kr/text")
4284 (commit (string-append "v" version))))
4285 (file-name (git-file-name name version))
4288 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
4289 (build-system go-build-system)
4291 '(#:import-path "github.com/kr/text"))
4292 (synopsis "Text formatting in Go")
4293 (description "This package provides a text formatting functions in Go.")
4294 (home-page "https://github.com/kr/text")
4295 (license license:expat)))
4297 (define-public go-golang-org-sql-mock
4298 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
4302 (name "go-golang-org-sql-mock")
4303 (version (git-version version revision commit))
4307 (url "https://github.com/DATA-DOG/go-sqlmock")
4309 (file-name (git-file-name name version))
4312 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
4313 (build-system go-build-system)
4315 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
4316 (synopsis "Mock library implementing @code{sql/driver}")
4317 (description "This library simulates SQL-driver behavior in tests
4318 without requiring a real database connection.")
4319 (home-page "https://github.com/DATA-DOG/go-sqlmock")
4320 (license license:expat))))
4322 (define-public go-github-com-go-sql-driver-mysql
4324 (name "go-github-com-go-sql-driver-mysql")
4330 (url "https://github.com/go-sql-driver/mysql")
4331 (commit (string-append "v" version))))
4332 (file-name (git-file-name name version))
4335 "11x0m9yf3kdnf6981182r824psgxwfaqhn3x3in4yiidp0w0hk3v"))))
4336 (build-system go-build-system)
4338 '(#:tests? #f ;; tests require a network connection
4339 #:import-path "github.com/go-sql-driver/mysql"))
4340 (home-page "https://github.com/go-sql-driver/mysql")
4341 (synopsis "MySQL driver for golang")
4343 "This is a pure Go implementation of the MySQL API, compatible with
4344 golang's database/sql package.")
4345 (license license:mpl2.0)))
4347 (define-public go-golang-org-colorful
4349 (name "go-golang-org-colorful")
4354 (url "https://github.com/lucasb-eyer/go-colorful")
4355 (commit (string-append "v" version))))
4356 (file-name (git-file-name name version))
4359 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
4360 (build-system go-build-system)
4362 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
4364 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
4365 (synopsis "Convert between colorspaces and generate colors")
4366 (description "This package implements Go's @code{color.Color} interface
4367 and provides a means of converting colors stored as RGB to various
4369 (home-page "https://github.com/lucasb-eyer/go-colorful")
4370 (license license:expat)))
4372 (define-public go-github-com-gdamore-encoding
4374 (name "go-github-com-gdamore-encoding")
4380 (url "https://github.com/gdamore/encoding")
4381 (commit (string-append "v" version))))
4382 (file-name (git-file-name name version))
4385 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
4386 (build-system go-build-system)
4388 '(#:import-path "github.com/gdamore/encoding"))
4390 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
4391 (home-page "https://github.com/gdamore/encoding")
4392 (synopsis "Provide encodings missing from Go")
4393 (description "This package provides useful encodings not included in the
4394 standard @code{Text} package, including some for dealing with I/O streams from
4395 non-UTF-friendly sources.")
4396 (license license:expat)))
4398 (define-public go-github-com-gdamore-tcell
4399 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
4403 (name "go-github-com-gdamore-tcell")
4404 (version (git-version version revision commit))
4409 (url "https://github.com/gdamore/tcell")
4411 (file-name (git-file-name name version))
4414 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
4415 (build-system go-build-system)
4417 `(#:import-path "github.com/gdamore/tcell"
4419 (modify-phases %standard-phases
4420 (add-before 'reset-gzip-timestamps 'make-files-writable
4421 (lambda* (#:key outputs #:allow-other-keys)
4422 ;; Make sure .gz files are writable so that the
4423 ;; 'reset-gzip-timestamps' phase can do its work.
4424 (let ((out (assoc-ref outputs "out")))
4425 (for-each make-file-writable
4426 (find-files out "\\.gz$"))
4429 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
4430 ("go-golang-org-colorful" ,go-golang-org-colorful)
4431 ("go-golang-org-x-text" ,go-golang-org-x-text)
4432 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
4433 (home-page "https://github.com/gdamore/tcell")
4434 (synopsis "Provide a cell-based view for text terminals")
4435 (description "This package includes a full parser and expander for
4436 terminfo capability strings to avoid hard-coding escape strings for
4437 formatting. It also favors portability, and includes support for all POSIX
4439 (license license:expat))))
4441 (define-public go-github-com-mattn-go-shellwords
4442 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
4446 (name "go-github-com-mattn-go-shellwords")
4447 (version (git-version version revision commit))
4452 (url "https://github.com/mattn/go-shellwords")
4454 (file-name (git-file-name name version))
4457 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
4458 (build-system go-build-system)
4460 `(#:import-path "github.com/mattn/go-shellwords"
4461 ;; TODO: can't make homeless-shelter:
4462 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
4463 ;; initialization failure: mkdir /homeless-shelter: permission denied
4465 ;; This doesn't seem to work:
4468 ;; (modify-phases %standard-phases
4470 ;; (lambda* (#:key import-path #:allow-other-keys)
4471 ;; (setenv "HOME" "/tmp")
4472 ;; (invoke "go" "test" import-path))))
4474 ;; TODO: There are also a couple of tests that have stymied Debian in
4475 ;; the past. They seem to work when run locally.
4479 (home-page "https://github.com/mattn/go-shellwords")
4480 (synopsis "Parse lines into shell words")
4481 (description "This package parses text into shell arguments. Based on
4482 the @code{cpan} module @code{Parse::CommandLine}.")
4483 (license license:expat))))
4485 (define-public go-github-com-burntsushi-locker
4486 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
4489 (name "go-github-com-burntsushi-locker")
4490 (version (git-version "0.0.0" revision commit))
4495 (url "https://github.com/BurntSushi/locker")
4497 (file-name (git-file-name name version))
4500 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
4501 (build-system go-build-system)
4503 '(#:import-path "github.com/BurntSushi/locker"))
4504 (home-page "https://github.com/BurntSushi/locker")
4505 (synopsis "Manage named ReadWrite mutexes in Go")
4506 (description "Golang package for conveniently using named read/write
4507 locks. These appear to be especially useful for synchronizing access to
4508 session based information in web applications.
4510 The common use case is to use the package level functions, which use a package
4511 level set of locks (safe to use from multiple goroutines
4512 simultaneously). However, you may also create a new separate set of locks
4515 All locks are implemented with read-write mutexes. To use them like a regular
4516 mutex, simply ignore the RLock/RUnlock functions.")
4517 (license license:unlicense))))
4519 (define-public go-github-com-marten-seemann-qtls
4521 (name "go-github-com-marten-seemann-qtls")
4526 (url "https://github.com/marten-seemann/qtls")
4527 (commit (string-append "v" version))))
4528 (file-name (git-file-name name version))
4531 "0dz60y98nm7l70hamq0v2vrs2dspyr5yqhnrds2dfh7hchxvq76j"))))
4532 (build-system go-build-system)
4534 '(#:import-path "github.com/marten-seemann/qtls"
4535 ;; The test suite requires networking.
4538 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4539 (synopsis "TLS 1.3 with QUIC in Go")
4540 (description "This package provides @code{qtls}, a QUIC-capable variant of
4541 the Go standard library's TLS 1.3 implementation.")
4542 (home-page "https://github.com/marten-seemann/qtls")
4543 (license license:bsd-3)))
4545 (define-public go-github-com-marten-seemann-chacha20
4547 (name "go-github-com-marten-seemann-chacha20")
4552 (url "https://github.com/marten-seemann/chacha20")
4553 (commit (string-append "v" version))))
4554 (file-name (git-file-name name version))
4557 "0x1j4cvbap45zk962qkjalc1h3axhzzdy9cdzhcjmprmm1ql4gjm"))))
4558 (build-system go-build-system)
4560 '(#:import-path "github.com/marten-seemann/chacha20"))
4561 (synopsis "ChaCha20 in Go")
4562 (description "This package is an external copy of the Go standard library's
4563 internal ChaCha20 package.")
4564 (home-page "https://github.com/marten-seemann/chacha20")
4565 (license license:bsd-3)))
4567 (define-public go-github-com-cheekybits-genny
4569 (name "go-github-com-cheekybits-genny")
4574 (url "https://github.com/cheekybits/genny")
4575 (commit (string-append "v" version))))
4576 (file-name (git-file-name name version))
4579 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
4580 (build-system go-build-system)
4582 '(#:import-path "github.com/cheekybits/genny"))
4584 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
4585 (synopsis "Generics for Go")
4586 (description "This package provides @code{genny}, a Go language
4587 implementation of generics.")
4588 (home-page "https://github.com/cheekybits/genny/")
4589 (license license:expat)))
4591 (define-public go-github-com-lucas-clemente-quic-go
4593 (name "go-github-com-lucas-clemente-quic-go")
4598 (url "https://github.com/lucas-clemente/quic-go")
4599 (commit (string-append "v" version))))
4600 (file-name (git-file-name name version))
4603 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
4604 (build-system go-build-system)
4606 '(#:import-path "github.com/lucas-clemente/quic-go"
4607 ;; XXX More packages required...
4610 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4611 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
4612 ("go-github-com-marten-seemann-chacha20" ,go-github-com-marten-seemann-chacha20)
4613 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
4614 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
4615 (synopsis "QUIC in Go")
4616 (description "This package provides a Go language implementation of the QUIC
4618 (home-page "https://github.com/lucas-clemente/quic-go")
4619 (license license:expat)))
4621 (define-public go-github-com-francoispqt-gojay
4623 (name "go-github-com-francoispqt-gojay")
4628 (url "https://github.com/francoispqt/gojay")
4629 (commit (string-append "v" version))))
4630 (file-name (git-file-name name version))
4633 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
4634 (build-system go-build-system)
4636 '(#:import-path "github.com/francoispqt/gojay"))
4638 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4639 (synopsis "JSON encoder/decoder with powerful stream API for Golang")
4640 (description "GoJay is a performant JSON encoder/decoder for Golang. It has
4641 a simple API and doesn't use reflection. It relies on small interfaces to
4642 decode/encode structures and slices.")
4643 (home-page "https://github.com/francoispqt/gojay")
4644 (license license:expat)))
4646 (define-public go-github-com-pkg-errors
4648 (name "go-github-com-pkg-errors")
4653 (url "https://github.com/pkg/errors")
4654 (commit (string-append "v" version))))
4655 (file-name (git-file-name name version))
4658 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
4659 (build-system go-build-system)
4661 `(#:import-path "github.com/pkg/errors"))
4662 (synopsis "Go error handling primitives")
4663 (description "This package provides @code{error}, which offers simple
4664 error handling primitives in Go.")
4665 (home-page "https://github.com/pkg/errors")
4666 (license license:bsd-2)))
4668 (define-public go-github-com-maruel-panicparse
4670 (name "go-github-com-maruel-panicparse")
4675 (url "https://github.com/maruel/panicparse")
4676 (commit (string-append "v" version))))
4677 (file-name (git-file-name name version))
4680 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
4681 (build-system go-build-system)
4683 '(#:import-path "github.com/maruel/panicparse"))
4684 (synopsis "Toolkit for parsing Go stack traces")
4685 (description "This package provides a toolkit for parsing Go language panic
4686 stack traces. It simplifies the traces to make salient information more visible
4687 and aid debugging.")
4688 (home-page "https://github.com/maruel/panicparse")
4689 (license license:asl2.0)))
4691 (define-public go-github-com-robfig-cron
4693 (name "go-github-com-robfig-cron")
4699 (url "https://github.com/robfig/cron")
4700 (commit (string-append "v" version))))
4701 (file-name (git-file-name name version))
4704 "1agzbw2dfk2d1mpmddr85s5vh6ygm8kqrvfg87i9d2wqnlsnliqm"))))
4705 (build-system go-build-system)
4707 `(#:import-path "github.com/robfig/cron"))
4708 (home-page "https://godoc.org/github.com/robfig/cron")
4709 (synopsis "Cron library for Go")
4710 (description "This package provides a cron library for Go. It implements
4711 a cron spec parser and job runner.")
4712 (license license:expat)))
4714 (define-public go-github-com-shirou-gopsutil
4715 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
4718 (name "go-github-com-shirou-gopsutil")
4719 (version (git-version "v2.19.7" revision commit))
4723 (url "https://github.com/shirou/gopsutil")
4724 (commit commit))) ; XXX
4725 (file-name (git-file-name name version))
4728 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
4729 (build-system go-build-system)
4731 '(#:import-path "github.com/shirou/gopsutil"))
4732 (synopsis "Process and system monitoring in Go")
4733 (description "This package provides a library for retrieving information
4734 on running processes and system utilization (CPU, memory, disks, network,
4736 (home-page "https://github.com/shirou/gopsutil")
4737 (license license:bsd-3))))
4739 (define-public go-github-com-danwakefield-fnmatch
4740 (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
4743 (name "go-github-com-danwakefield-fnmatch")
4744 (version (git-version "0.0.0" revision commit))
4749 (url "https://github.com/danwakefield/fnmatch")
4753 "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
4754 (file-name (git-file-name name version))))
4755 (build-system go-build-system)
4757 '(#:import-path "github.com/danwakefield/fnmatch"))
4758 (home-page "https://github.com/danwakefield/fnmatch")
4759 (synopsis "Updated clone of kballards golang fnmatch gist")
4760 (description "This package provides an updated clone of kballards golang
4761 fnmatch gist (https://gist.github.com/kballard/272720).")
4762 (license license:bsd-2))))
4764 (define-public go-github-com-ddevault-go-libvterm
4765 (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
4768 (name "go-github-com-ddevault-go-libvterm")
4769 (version (git-version "0.0.0" revision commit))
4774 (url "https://github.com/ddevault/go-libvterm")
4778 "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
4779 (file-name (git-file-name name version))))
4780 (build-system go-build-system)
4782 '(#:import-path "github.com/ddevault/go-libvterm"))
4784 `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
4785 (home-page "https://github.com/ddevault/go-libvterm")
4786 (synopsis "Go binding to libvterm")
4788 "This is a fork of another go-libvterm library for use with aerc.")
4789 (license license:expat))))
4791 (define-public go-github-com-emersion-go-imap
4793 (name "go-github-com-emersion-go-imap")
4799 (url "https://github.com/emersion/go-imap")
4800 (commit (string-append "v" version))))
4803 "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
4804 (file-name (git-file-name name version))))
4805 (build-system go-build-system)
4807 '(#:import-path "github.com/emersion/go-imap"))
4809 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
4810 (home-page "https://github.com/emersion/go-imap")
4811 (synopsis "IMAP4rev1 library written in Go")
4812 (description "This package provides an IMAP4rev1 library written in Go. It
4813 can be used to build a client and/or a server.")
4814 (license license:expat)))
4816 (define-public go-github-com-emersion-go-sasl
4817 (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
4820 (name "go-github-com-emersion-go-sasl")
4821 (version (git-version "0.0.0" revision commit))
4826 (url "https://github.com/emersion/go-sasl")
4830 "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
4831 (file-name (git-file-name name version))))
4832 (build-system go-build-system)
4834 '(#:import-path "github.com/emersion/go-sasl"))
4835 (home-page "https://github.com/emersion/go-sasl")
4836 (synopsis "SASL library written in Go")
4837 (description "This package provides a SASL library written in Go.")
4838 (license license:expat))))
4840 (define-public go-github-com-emersion-go-imap-idle
4841 (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
4844 (name "go-github-com-emersion-go-imap-idle")
4845 (version (git-version "0.0.0" revision commit))
4850 (url "https://github.com/emersion/go-imap-idle")
4854 "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
4855 (file-name (git-file-name name version))))
4856 (build-system go-build-system)
4858 '(#:import-path "github.com/emersion/go-imap-idle"))
4860 `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
4861 ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
4862 ("go-golang-org-x-text" ,go-golang-org-x-text)))
4863 (home-page "https://github.com/emersion/go-imap-idle")
4864 (synopsis "IDLE extension for go-imap")
4865 (description "This package provides an IDLE extension for go-imap.")
4866 (license license:expat))))
4868 (define-public go-github-com-fatih-color
4870 (name "go-github-com-fatih-color")
4875 (url "https://github.com/fatih/color")
4876 (commit (string-append "v" version))))
4877 (file-name (git-file-name name version))
4880 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
4881 (build-system go-build-system)
4883 '(#:import-path "github.com/fatih/color"))
4884 (synopsis "Print colored text in Go")
4885 (description "This package provides an ANSI color package to output
4886 colorized or SGR defined output to the standard output.")
4887 (home-page "https://godoc.org/github.com/fatih/color")
4888 (license license:expat)))
4890 (define-public go-github-com-google-go-cmp-cmp
4892 (name "go-github-com-google-go-cmp-cmp")
4897 (url "https://github.com/google/go-cmp")
4898 (commit (string-append "v" version))))
4899 (file-name (git-file-name name version))
4902 "0qchy411jm9q2l9mf7x3ry2ycaqp9xdhf2nx14qrpzcxfigv2705"))))
4903 (build-system go-build-system)
4905 '(#:import-path "github.com/google/go-cmp/cmp"
4906 #:unpack-path "github.com/google/go-cmp"))
4908 `(("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)))
4909 (synopsis "Determine equality of values in Go")
4910 (description "This package provides a more powerful and safer
4911 alternative to @code{reflect.DeepEqual} for comparing whether two values
4912 are semantically equal in Go (for writing tests).")
4913 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
4914 (license license:asl2.0)))
4916 (define-public go-github-com-google-uuid
4918 (name "go-github-com-google-uuid")
4923 (url "https://github.com/google/uuid")
4924 (commit (string-append "v" version))))
4925 (file-name (git-file-name name version))
4928 "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb"))))
4929 (build-system go-build-system)
4931 '(#:import-path "github.com/google/uuid"))
4932 (home-page "https://github.com/google/uuid/")
4933 (synopsis "Generate and inspect UUIDs based on RFC 4122 and DCE 1.1")
4934 (description "The uuid package generates and inspects UUIDs based on RFC
4935 4122 and DCE 1.1: Authentication and Security Services.")
4936 (license license:bsd-3)))
4938 (define-public go-github-com-google-goterm
4939 (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
4942 (name "go-github-com-google-goterm")
4943 (version (git-version "0.0.1" revision commit))
4947 (url "https://github.com/google/goterm")
4949 (file-name (git-file-name name version))
4952 "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb"))))
4953 (build-system go-build-system)
4955 `(#:import-path "github.com/google/goterm/term"
4956 #:unpack-path "github.com/google/goterm"))
4957 (home-page "https://github.com/google/goterm/")
4958 (synopsis "PTY creation and termios get/set attributes")
4959 (description "The term package implements PTY creation and termios get/set
4960 attributes. It also contains some convenience functions for colors, SSH to
4961 and from termios translations, readCh, reading passwords, etc.")
4962 (license license:bsd-3))))
4964 (define-public go-github-com-google-go-querystring
4965 (let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests
4968 (name "go-github-com-google-go-querystring")
4973 (url "https://github.com/google/go-querystring")
4975 (file-name (git-file-name name version))
4978 "0mbx4jvf7nz4sk2fgqfq1llz4xb3vc4625b4x398mspr3a5077rs"))))
4979 (build-system go-build-system)
4981 `(#:import-path "github.com/google/go-querystring/query"
4982 #:unpack-path "github.com/google/go-querystring"))
4983 (home-page "https://github.com/google/go-querystring/")
4984 (synopsis "Library for encoding structs into URL query parameters")
4985 (description "@code{go-querystring} is Go library for encoding structs
4986 into URL query parameters.")
4987 (license license:bsd-3))))
4989 (define-public go-github-com-google-go-github
4991 (name "go-github-com-google-go-github")
4996 (url "https://github.com/google/go-github")
4997 (commit (string-append "v" version))))
4998 (file-name (git-file-name name version))
5001 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
5002 (build-system go-build-system)
5004 `(#:tests? #f ;application/octet-stream instead of text/plain
5005 #:import-path "github.com/google/go-github/v26/github"
5006 #:unpack-path "github.com/google/go-github/v26"))
5008 `(("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring)
5009 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
5010 (home-page "https://github.com/google/go-github/")
5011 (synopsis "Client library for accessing the GitHub API v3")
5012 (description "@code{go-github} is a Go client library for accessing the
5014 (license license:bsd-3)))
5016 (define-public go-github-com-google-renameio
5018 (name "go-github-com-google-renameio")
5023 (url "https://github.com/google/renameio")
5024 (commit (string-append "v" version))))
5025 (file-name (git-file-name name version))
5028 "1ki2x5a9nrj17sn092d6n4zr29lfg5ydv4xz5cp58z6cw8ip43jx"))))
5029 (build-system go-build-system)
5031 `(#:import-path "github.com/google/renameio"))
5032 (home-page "https://github.com/google/renameio/")
5033 (synopsis "Atomically create or replace a file or symbolic link")
5034 (description "@code{renameio} Go package provides a way to atomically
5035 create or replace a file or symbolic link.")
5036 (license license:asl2.0)))
5038 (define-public go-golang.org-x-sync-errgroup
5039 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
5042 (name "go-golang.org-x-sync-errgroup")
5043 (version (git-version "0.0.0" revision commit))
5047 (url "https://go.googlesource.com/sync")
5049 (file-name (git-file-name name version))
5052 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
5053 (build-system go-build-system)
5055 '(#:import-path "golang.org/x/sync/errgroup"
5056 #:unpack-path "golang.org/x/sync"))
5057 (synopsis "Synchronization, error propagation, and Context cancellation
5058 for groups of goroutines working on subtasks of a common task.")
5059 (description "This package provides synchronization, error propagation,
5060 and Context cancellation for groups of goroutines working on subtasks of a
5062 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
5063 (license license:bsd-3))))
5065 (define (go-gotest-tools-source version sha256-base32-hash)
5069 (url "https://github.com/gotestyourself/gotest.tools")
5070 (commit (string-append "v" version))))
5071 (file-name (git-file-name "go-gotest-tools" version))
5073 (base32 sha256-base32-hash))))
5075 ;; Note that version 3.0.0 is incompatible to 2.3.0.
5076 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
5077 (define (go-gotest-tools-package suffix)
5079 (name (string-append "go-gotest-tools-"
5080 (string-replace-substring suffix "/" "-")))
5083 (go-gotest-tools-source version
5084 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
5085 (build-system go-build-system)
5087 `(#:import-path ,(string-append "gotest.tools/" suffix)
5088 #:unpack-path "gotest.tools"))
5089 (synopsis "@code{gotest-tools} part")
5090 (description "This package provides a part of @code{gotest-tools}.")
5091 (home-page "https://github.com/gotestyourself/gotest.tools")
5092 (license license:asl2.0)))
5094 (define-public go-gotest-tools-internal-format
5095 (package (inherit (go-gotest-tools-package "internal/format"))
5097 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5098 ("go-github-com-google-go-cmp-cmp"
5099 ,go-github-com-google-go-cmp-cmp)))
5100 (synopsis "Formats messages for use with gotest-tools")
5101 (description "This package provides a way to format messages for use
5102 with gotest-tools.")))
5104 (define-public go-gotest-tools-internal-difflib
5105 (package (inherit (go-gotest-tools-package "internal/difflib"))
5106 (synopsis "Differences for use with gotest-tools")
5107 (description "This package computes differences for use
5108 with gotest-tools.")))
5110 (define-public go-gotest-tools-internal-source
5111 (package (inherit (go-gotest-tools-package "internal/source"))
5113 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5114 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
5115 (synopsis "Source code AST formatters for gotest-tools")
5116 (description "This package provides source code AST formatters for
5119 (define-public go-gotest-tools-assert
5120 (package (inherit (go-gotest-tools-package "assert"))
5121 (name "go-gotest-tools-assert")
5123 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
5124 #:import-path "gotest.tools/assert"
5125 #:unpack-path "gotest.tools"))
5127 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
5129 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5130 ("go-github-com-google-go-cmp-cmp"
5131 ,go-github-com-google-go-cmp-cmp)))
5132 (synopsis "Compare values and fail a test when a comparison fails")
5133 (description "This package provides a way to compare values and fail a
5134 test when a comparison fails.")
5135 (home-page "https://github.com/gotestyourself/gotest.tools")
5136 (license license:asl2.0)))
5138 (define-public gotestsum
5145 (url "https://github.com/gotestyourself/gotestsum")
5146 (commit (string-append "v" version))))
5147 (file-name (git-file-name name version))
5150 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
5151 (build-system go-build-system)
5153 '(#:import-path "gotest.tools/gotestsum"))
5155 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
5156 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
5157 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
5158 ("go-github-com-sirupsen-logrus"
5159 ,go-github-com-sirupsen-logrus)
5160 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
5161 ("go-github-com-jonboulle-clockwork"
5162 ,go-github-com-jonboulle-clockwork)
5163 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
5164 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
5165 ("go-github-com-google-go-cmp-cmp"
5166 ,go-github-com-google-go-cmp-cmp)
5167 ;; TODO: This would be better as a propagated-input of
5168 ;; go-gotest-tools-assert, but that does not work for
5170 ("go-gotest-tools-internal-format"
5171 ,go-gotest-tools-internal-format)
5172 ("go-gotest-tools-internal-difflib"
5173 ,go-gotest-tools-internal-difflib)
5174 ("go-gotest-tools-internal-source"
5175 ,go-gotest-tools-internal-source)
5176 ("go-github-com-google-go-cmp-cmp"
5177 ,go-github-com-google-go-cmp-cmp)))
5178 (synopsis "Go test runner with output optimized for humans")
5179 (description "This package provides a @code{go test} runner with output
5180 optimized for humans, JUnit XML for CI integration, and a summary of the
5182 (home-page "https://github.com/gotestyourself/gotestsum")
5183 (license license:asl2.0)))
5185 (define-public go-github-com-golang-protobuf-proto
5187 (name "go-github-com-golang-protobuf-proto")
5192 (url "https://github.com/golang/protobuf")
5193 (commit (string-append "v" version))))
5194 (file-name (git-file-name name version))
5197 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
5198 (build-system go-build-system)
5200 '(#:import-path "github.com/golang/protobuf/proto"
5201 #:unpack-path "github.com/golang/protobuf"
5202 ;; Requires unpackaged golang.org/x/sync/errgroup
5204 (synopsis "Go support for Protocol Buffers")
5205 (description "This package provides Go support for the Protocol Buffers
5206 data serialization format.")
5207 (home-page "https://github.com/golang/protobuf")
5208 (license license:bsd-3)))
5210 (define-public go-github-com-mattn-go-zglob
5212 (name "go-github-com-mattn-go-zglob")
5217 (url "https://github.com/mattn/go-zglob")
5218 (commit (string-append "v" version))))
5219 (file-name (git-file-name name version))
5222 "1923lvakm66mzy62jmngdvcmbmiqclinsvnghs3907rgygnx1qc1"))))
5223 (build-system go-build-system)
5225 `(#:import-path "github.com/mattn/go-zglob"))
5226 (home-page "https://github.com/mattn/go-zglob")
5227 (synopsis "Glob library that descends into other directories")
5228 (description " A glob library that implements descending into other
5229 directories. It is optimized for filewalking. ")
5230 (license license:expat)))
5232 (define-public go-github-com-mattn-go-sqlite3
5234 (name "go-github-com-mattn-go-sqlite3")
5239 (url "https://github.com/mattn/go-sqlite3")
5240 (commit (string-append "v" version))))
5241 (file-name (git-file-name name version))
5244 "04anvqkc37mmc3z1dy4xfa6cas67zlxnnab0ywii7sylk864mhxz"))))
5245 (build-system go-build-system)
5247 `(#:import-path "github.com/mattn/go-sqlite3"))
5248 (home-page "https://github.com/mattn/go-sqlite3")
5249 (synopsis "Sqlite3 driver for Go")
5250 (description "This package provides a Sqlite3 driver for Go using
5251 @code{database/sql}.")
5252 (license license:expat)))
5254 (define-public go-github-com-willf-bitset
5256 (name "go-github-com-willf-bitset")
5261 (url "https://github.com/willf/bitset")
5262 (commit (string-append "v" version))))
5263 (file-name (git-file-name name version))
5266 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
5267 (build-system go-build-system)
5269 '(#:import-path "github.com/willf/bitset"))
5270 (synopsis "Bitsets in Go")
5271 (description "This package provides a Go implementation of bitsets, which
5272 are a mapping between non-negative integers and boolean values focused on
5273 efficient space usage.")
5274 (home-page "https://github.com/willf/bitset")
5275 (license license:bsd-3)))
5277 (define-public go-github-com-willf-bloom
5279 (name "go-github-com-willf-bloom")
5284 (url "https://github.com/willf/bloom")
5285 (commit (string-append "v" version))))
5286 (file-name (git-file-name name version))
5289 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
5290 (build-system go-build-system)
5292 '(#:import-path "github.com/willf/bloom"
5294 (modify-phases %standard-phases
5295 (add-after 'unpack 'patch-import-path
5297 ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for
5298 ;; more information.
5299 ;; <https://github.com/spaolacci/murmur3/issues/29>
5300 (substitute* "src/github.com/willf/bloom/bloom.go"
5301 (("spaolacci") "twmb"))
5304 `(("go-github-com-twmb-murmur3" ,go-github-com-twmb-murmur3)
5305 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
5306 (synopsis "Bloom filters in Go")
5307 (description "This package provides a Go implementation of bloom filters,
5308 based on murmurhash.")
5309 (home-page "https://github.com/willf/bloom")
5310 (license license:bsd-2)))
5312 (define-public go-golang-org-rainycape-unidecode
5313 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
5316 (name "go-golang-org-rainycape-unidecode")
5317 (version (git-version "0.0.0" revision commit))
5321 (url "https://github.com/rainycape/unidecode")
5323 (file-name (string-append "go-golang-org-rainycape-unidecode-"
5324 version "-checkout"))
5327 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
5328 (build-system go-build-system)
5330 `(#:import-path "golang.org/rainycape/unidecode"))
5331 (home-page "https://github.com/rainycape/unidecode")
5332 (synopsis "Unicode transliterator in Golang")
5333 (description "Unicode transliterator in Golang - Replaces non-ASCII
5334 characters with their ASCII approximations.")
5335 (license license:asl2.0))))
5337 (define-public go-github-com-golang-freetype
5338 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
5341 (name "go-github-com-golang-freetype")
5342 (version (git-version "0.0.0" revision commit))
5346 (url "https://github.com/golang/freetype")
5348 (file-name (string-append "go-github-com-golang-freetype-"
5349 version "-checkout"))
5352 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
5353 (build-system go-build-system)
5355 `(#:import-path "github.com/golang/freetype"))
5357 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
5358 (home-page "https://github.com/golang/freetype")
5359 (synopsis "Freetype font rasterizer in the Go programming language")
5360 (description "The Freetype font rasterizer in the Go programming language.")
5361 (license (list license:freetype
5364 (define-public go-github-com-fogleman-gg
5366 (name "go-github-com-fogleman-gg")
5371 (url "https://github.com/fogleman/gg")
5372 (commit (string-append "v" version))))
5373 (file-name (git-file-name name version))
5376 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
5377 (build-system go-build-system)
5379 `(#:tests? #f ; Issue with test flags.
5380 #:import-path "github.com/fogleman/gg"))
5382 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
5383 (home-page "https://github.com/fogleman/gg")
5384 (synopsis "2D rendering in Go")
5385 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
5386 (license license:expat)))
5388 (define-public go-github-com-gedex-inflector
5389 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
5392 (name "go-github-com-gedex-inflector")
5393 (version (git-version "0.0.0" revision commit))
5397 (url "https://github.com/gedex/inflector")
5399 (file-name (string-append "go-github-com-gedex-inflector-"
5400 version "-checkout"))
5403 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
5404 (build-system go-build-system)
5406 `(#:import-path "github.com/gedex/inflector"))
5407 (home-page "https://github.com/gedex/inflector")
5408 (synopsis "Go library that pluralizes and singularizes English nouns")
5409 (description "Go library that pluralizes and singularizes English nouns.")
5410 (license license:bsd-2))))
5412 (define-public go-github-com-klauspost-cpuid
5414 (name "go-github-com-klauspost-cpuid")
5419 (url "https://github.com/klauspost/cpuid")
5420 (commit (string-append "v" version))))
5421 (file-name (git-file-name name version))
5424 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
5425 (build-system go-build-system)
5427 `(#:import-path "github.com/klauspost/cpuid"))
5428 (home-page "https://github.com/klauspost/cpuid")
5429 (synopsis "CPU feature identification for Go")
5430 (description "@code{cpuid} provides information about the CPU running the
5431 current program. CPU features are detected on startup, and kept for fast access
5432 through the life of the application. Currently x86 / x64 (AMD64) is supported,
5433 and no external C (cgo) code is used, which should make the library very eas
5435 (license license:expat)))
5437 (define-public go-github-com-pbnjay-memory
5438 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
5441 (name "go-github-com-pbnjay-memory")
5442 (version (git-version "0.0.0" revision commit))
5446 (url "https://github.com/pbnjay/memory")
5448 (file-name (string-append "go-github-com-pbnjay-memory-"
5449 version "-checkout"))
5452 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
5453 (build-system go-build-system)
5455 `(#:import-path "github.com/pbnjay/memory"))
5456 (home-page "https://github.com/gedex/inflector")
5457 (synopsis "Go library to report total system memory")
5458 (description "@code{memory} provides a single method reporting total
5459 physical system memory accessible to the kernel. It does not account for memory
5460 used by other processes.")
5461 (license license:bsd-3))))
5463 (define-public go-github-com-surge-glog
5464 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
5467 (name "go-github-com-surge-glog")
5468 (version (git-version "0.0.0" revision commit))
5472 (url "https://github.com/surge/glog")
5474 (file-name (string-append "go-github-com-surge-glog-"
5475 version "-checkout"))
5478 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
5479 (build-system go-build-system)
5481 `(#:import-path "github.com/surge/glog"))
5482 (home-page "https://github.com/surge/glog")
5483 (synopsis "Leveled execution logs for Go")
5484 (description "Leveled execution logs for Go.")
5485 (license license:asl2.0))))
5487 (define-public go-github-com-surgebase-porter2
5488 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
5491 (name "go-github-com-surgebase-porter2")
5492 (version (git-version "0.0.0" revision commit))
5496 (url "https://github.com/surgebase/porter2")
5498 (file-name (string-append "go-github-com-surgebase-porter2-"
5499 version "-checkout"))
5502 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
5503 (build-system go-build-system)
5505 `(#:import-path "github.com/surgebase/porter2"))
5507 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
5508 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
5509 (home-page "https://github.com/surgebase/porter2")
5510 (synopsis "Go library implementing english Porter2 stemmer")
5511 (description "Porter2 implements the
5512 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
5513 Porter2 stemmer}. It is written completely using finite state machines to do
5514 suffix comparison, rather than the string-based or tree-based approaches.")
5515 (license license:asl2.0))))
5517 (define-public go-github-com-masterminds-goutils
5519 (name "go-github-com-masterminds-goutils")
5524 (url "https://github.com/Masterminds/goutils")
5525 (commit (string-append "v" version))))
5526 (file-name (git-file-name name version))
5529 "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq"))))
5530 (build-system go-build-system)
5532 `(#:import-path "github.com/Masterminds/goutils"))
5533 (home-page "https://github.com/Masterminds/goutils/")
5534 (synopsis "Utility functions to manipulate strings")
5535 (description "GoUtils provides utility functions to manipulate strings in
5536 various ways. It is a Go implementation of some string manipulation libraries
5537 of Java Apache Commons.")
5538 (license license:asl2.0)))
5540 (define-public go-github-com-masterminds-semver
5542 (name "go-github-com-masterminds-semver")
5547 (url "https://github.com/Masterminds/semver")
5548 (commit (string-append "v" version))))
5549 (file-name (git-file-name name version))
5552 "1g1wizfdy29d02l9dh8gsb029yr4m4swp13swf0pnh9ryh5f1msz"))))
5553 (build-system go-build-system)
5555 `(#:import-path "github.com/Masterminds/semver"))
5556 (home-page "https://github.com/Masterminds/semver/")
5557 (synopsis "@code{semver} helps to work with semantic versions")
5558 (description "The semver package provides the ability to work with
5559 semantic versions. Specifically it provides the ability to:
5561 @item Parse semantic versions
5562 @item Sort semantic versions
5563 @item Check if a semantic version fits within a set of constraints
5564 @item Optionally work with a @code{v} prefix
5566 (license license:expat)))
5568 (define-public go-github-com-huandu-xstrings
5570 (name "go-github-com-huandu-xstrings")
5575 (url "https://github.com/huandu/xstrings")
5576 (commit (string-append "v" version))))
5577 (file-name (git-file-name name version))
5580 "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
5581 (build-system go-build-system)
5583 `(#:import-path "github.com/huandu/xstrings"))
5584 (home-page "https://github.com/huandu/xstrings/")
5585 (synopsis "Collection of string functions")
5586 (description "Go package xstrings is a collection of string functions,
5587 which are widely used in other languages but absent in Go package strings.")
5588 (license license:expat)))
5590 (define-public go-github-com-imdario-mergo
5592 (name "go-github-com-imdario-mergo")
5597 (url "https://github.com/imdario/mergo")
5598 (commit (string-append "v" version))))
5599 (file-name (git-file-name name version))
5602 "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
5603 (build-system go-build-system)
5605 `(#:import-path "github.com/imdario/mergo"))
5607 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
5608 (home-page "https://github.com/imdario/mergo/")
5609 (synopsis "Helper to merge structs and maps in Golang")
5610 (description "Helper to merge structs and maps in Golang. Useful for
5611 configuration default values, avoiding messy if-statements.
5613 Mergo merges same-type structs and maps by setting default values in
5614 zero-value fields. Mergo won't merge unexported (private) fields. It will do
5615 recursively any exported one. It also won't merge structs inside
5616 maps (because they are not addressable using Go reflection).")
5617 (license license:bsd-3)))
5619 (define-public go-github-com-masterminds-sprig
5621 (name "go-github-com-masterminds-sprig")
5626 (url "https://github.com/Masterminds/sprig")
5627 (commit (string-append "v" version))))
5628 (file-name (git-file-name name version))
5631 "0wwi8n2adjc5jlga25lqq0hrz4jcgd5vpll68y2dfji034caaq18"))))
5632 (build-system go-build-system)
5634 `(#:tests? #f ;network tests only
5635 #:import-path "github.com/Masterminds/sprig"))
5637 `(("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils)
5638 ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver)
5639 ("go-github-com-google-uuid" ,go-github-com-google-uuid)
5640 ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings)
5641 ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo)
5642 ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)
5643 ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure)
5644 ("go-github-com-spf13-cast" ,go-github-com-spf13-cast)
5645 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
5646 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
5647 (home-page "https://github.com/Masterminds/sprig/")
5648 (synopsis "Template functions for Go templates")
5649 (description "Sprig is a library that provides more than 100 commonly used
5650 template functions.")
5651 (license license:expat)))
5653 (define-public go-github-com-bmatcuk-doublestar
5655 (name "go-github-com-bmatcuk-doublestar")
5660 (url "https://github.com/bmatcuk/doublestar")
5661 (commit (string-append "v" version))))
5662 (file-name (git-file-name name version))
5665 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
5666 (build-system go-build-system)
5668 `(#:import-path "github.com/bmatcuk/doublestar"))
5669 (home-page "https://github.com/bmatcuk/doublestar/")
5670 (synopsis "Path pattern matching and globbing supporting doublestar")
5671 (description "@code{doublestar} is a Go implementation of path pattern
5672 matching and globbing with support for \"doublestar\" patterns.")
5673 (license license:expat)))
5675 (define-public go-github-com-dlclark-regexp2
5677 (name "go-github-com-dlclark-regexp2")
5682 (url "https://github.com/dlclark/regexp2")
5683 (commit (string-append "v" version))))
5684 (file-name (git-file-name name version))
5687 "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng"))))
5688 (build-system go-build-system)
5690 `(#:import-path "github.com/dlclark/regexp2"))
5691 (home-page "https://github.com/dlclark/regexp2/")
5692 (synopsis "Full featured regular expressions for Go")
5693 (description "Regexp2 is a feature-rich RegExp engine for Go.")
5694 (license license:expat)))
5696 (define-public go-github-com-alecthomas-colour
5698 (name "go-github-com-alecthomas-colour")
5703 (url "https://github.com/alecthomas/colour")
5704 (commit (string-append "v" version))))
5705 (file-name (git-file-name name version))
5708 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
5709 (build-system go-build-system)
5711 `(#:import-path "github.com/alecthomas/colour"))
5713 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
5714 (home-page "https://github.com/alecthomas/colour/")
5715 (synopsis "Colour terminal text for Go")
5716 (description "Package colour provides Quake-style colour formatting for
5719 The package level functions can be used to write to stdout (or strings or
5720 other files). If stdout is not a terminal, colour formatting will be
5722 (license license:expat)))
5724 (define-public go-github-com-alecthomas-repr
5725 (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
5728 (name "go-github-com-alecthomas-repr")
5729 (version (git-version "0.0.1" revision commit))
5733 (url "https://github.com/alecthomas/repr")
5735 (file-name (git-file-name name version))
5738 "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
5739 (build-system go-build-system)
5741 `(#:import-path "github.com/alecthomas/repr"))
5743 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
5744 (home-page "https://github.com/alecthomas/repr/")
5745 (synopsis "Represent Go values in an almost direct form")
5746 (description "This package attempts to represent Go values in a form that
5747 can be used almost directly in Go source code.")
5748 (license license:expat))))
5750 (define-public go-github-com-sergi-go-diff
5752 (name "go-github-com-sergi-go-diff")
5757 (url "https://github.com/sergi/go-diff")
5758 (commit (string-append "v" version))))
5759 (file-name (git-file-name name version))
5762 "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
5763 (build-system go-build-system)
5765 `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
5766 #:unpack-path "github.com/sergi/go-diff"))
5768 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
5769 (home-page "https://github.com/sergi/go-diff/")
5770 (synopsis "Algorithms to perform operations for synchronizing plain text")
5771 (description "@code{go-diff} offers algorithms to perform operations required for
5772 synchronizing plain text:
5774 @item compare two texts and return their differences
5775 @item perform fuzzy matching of text
5776 @item apply patches onto text
5778 (license license:expat)))
5780 (define-public go-github-com-alecthomas-assert
5781 (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
5784 (name "go-github-com-alecthomas-assert")
5785 (version (git-version "0.0.1" revision commit))
5789 (url "https://github.com/alecthomas/assert")
5791 (file-name (git-file-name name version))
5794 "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
5795 (build-system go-build-system)
5797 `(#:import-path "github.com/alecthomas/assert"))
5799 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5800 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
5801 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
5802 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
5803 (home-page "https://github.com/alecthomas/assert/")
5804 (synopsis "Go assertion library")
5805 (description "Assertion library that:
5807 @item makes spotting differences in equality much easier
5808 @item uses repr and diffmatchpatch to display structural differences in colour
5809 @item aborts tests on first assertion failure
5811 (license license:expat))))
5813 (define-public go-github-com-alecthomas-chroma
5815 (name "go-github-com-alecthomas-chroma")
5820 (url "https://github.com/alecthomas/chroma")
5821 (commit (string-append "v" version))))
5822 (file-name (git-file-name name version))
5825 "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
5826 (build-system go-build-system)
5828 `(#:import-path "github.com/alecthomas/chroma"))
5830 `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
5831 ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
5832 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
5833 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
5834 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5835 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
5836 (home-page "https://github.com/alecthomas/chroma/")
5837 (synopsis "General purpose syntax highlighter in pure Go")
5838 (description "Chroma takes source code and other structured text and
5839 converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
5840 (license license:expat)))
5842 (define-public go-github-com-andybalholm-cascadia
5844 (name "go-github-com-andybalholm-cascadia")
5849 (url "https://github.com/andybalholm/cascadia")
5850 (commit (string-append "v" version))))
5851 (file-name (git-file-name name version))
5854 "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc"))))
5855 (build-system go-build-system)
5857 `(#:import-path "github.com/andybalholm/cascadia"))
5859 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
5860 (home-page "https://github.com/andybalholm/cascadia/")
5861 (synopsis "CSS selectors for HTML")
5862 (description "The Cascadia package implements CSS selectors for use with
5863 the parse trees produced by the html package.")
5864 (license license:bsd-2)))
5866 (define-public go-github-com-puerkitobio-goquery
5868 (name "go-github-com-puerkitobio-goquery")
5873 (url "https://github.com/PuerkitoBio/goquery")
5874 (commit (string-append "v" version))))
5875 (file-name (git-file-name name version))
5878 "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx"))))
5879 (build-system go-build-system)
5881 `(#:import-path "github.com/PuerkitoBio/goquery"))
5883 `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
5884 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5885 (home-page "https://github.com/PuerkitoBio/goquery")
5886 (synopsis "Features similar to jQuery to the Go language")
5887 (description "@code{goquery} brings a syntax and a set of features similar
5888 to jQuery to the Go language.")
5889 (license license:bsd-3)))
5891 (define-public go-github-com-jmespath-go-jmespath
5893 (name "go-github-com-jmespath-go-jmespath")
5899 (url "https://github.com/jmespath/go-jmespath")
5900 (commit (string-append "v" version))))
5901 (file-name (git-file-name name version))
5904 "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
5905 (build-system go-build-system)
5907 '(#:import-path "github.com/jmespath/go-jmespath"))
5909 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)
5910 ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)
5911 ("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
5912 (home-page "https://github.com/jmespath/go-jmespath")
5913 (synopsis "Golang implementation of JMESPath")
5915 "This package implements JMESPath, a query language for JSON. It
5916 transforms one JSON document into another through a JMESPath expression.")
5917 (license license:asl2.0)))
5919 (define-public go-github-com-aymerick-douceur
5921 (name "go-github-com-aymerick-douceur")
5926 (url "https://github.com/aymerick/douceur/")
5927 (commit (string-append "v" version))))
5928 (file-name (git-file-name name version))
5931 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
5932 (build-system go-build-system)
5934 `(#:import-path "github.com/aymerick/douceur"))
5936 `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
5937 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
5938 ("go-golang-org-x-net" ,go-golang-org-x-net)
5939 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
5940 (home-page "https://github.com/aymerick/douceur/")
5941 (synopsis "CSS parser and inliner")
5942 (description "This package provides a CSS parser and inliner.")
5943 (license license:expat)))
5945 (define-public go-github-com-chris-ramon-douceur
5947 (name "go-github-com-chris-ramon-douceur")
5952 (url "https://github.com/chris-ramon/douceur")
5953 (commit (string-append "v" version))))
5954 (file-name (git-file-name name version))
5957 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
5958 (build-system go-build-system)
5960 `(#:import-path "github.com/chris-ramon/douceur"))
5962 `(("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5963 ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
5964 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
5965 ("go-golang-org-x-net" ,go-golang-org-x-net)
5966 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
5967 (home-page "https://github.com/chris-ramon/douceur/")
5968 (synopsis "CSS parser and inliner")
5969 (description "This package provides a CSS parser and inliner.")
5970 (license license:expat)))
5972 (define-public go-github-com-microcosm-cc-bluemonday
5974 (name "go-github-com-microcosm-cc-bluemonday")
5979 (url "https://github.com/microcosm-cc/bluemonday")
5980 (commit (string-append "v" version))))
5981 (file-name (git-file-name name version))
5984 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
5985 (build-system go-build-system)
5987 `(#:import-path "github.com/microcosm-cc/bluemonday"))
5989 `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5990 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5991 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5992 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5993 (home-page "https://github.com/microcosm-cc/bluemonday/")
5994 (synopsis "HTML sanitizer")
5995 (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
5996 (license license:bsd-3)))
5998 (define-public go-github-com-muesli-reflow-wordwrap
6000 (name "go-github-com-muesli-reflow-wordwrap")
6005 (url "https://github.com/muesli/reflow")
6006 (commit (string-append "v" version))))
6007 (file-name (git-file-name "go-github-com-muesli-reflow" version))
6010 "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
6011 (build-system go-build-system)
6013 `(#:import-path "github.com/muesli/reflow/wordwrap"
6014 #:unpack-path "github.com/muesli/reflow"))
6016 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
6017 (home-page "https://github.com/muesli/reflow/")
6018 (synopsis "Collection of methods helping to transform blocks of text")
6019 (description "This package provides a collection of ANSI-aware methods and
6020 io.Writers helping you to transform blocks of text.")
6021 (license license:expat)))
6023 (define-public go-github-com-muesli-reflow-ansi
6025 (inherit go-github-com-muesli-reflow-wordwrap)
6026 (name "go-github-com-muesli-reflow-ansi")
6028 `(#:import-path "github.com/muesli/reflow/ansi"
6029 #:unpack-path "github.com/muesli/reflow"))))
6031 (define-public go-github-com-muesli-reflow-indent
6033 (inherit go-github-com-muesli-reflow-wordwrap)
6034 (name "go-github-com-muesli-reflow-indent")
6036 `(#:import-path "github.com/muesli/reflow/indent"
6037 #:unpack-path "github.com/muesli/reflow"))))
6039 (define-public go-github-com-muesli-reflow-padding
6041 (inherit go-github-com-muesli-reflow-wordwrap)
6042 (name "go-github-com-muesli-reflow-padding")
6044 `(#:import-path "github.com/muesli/reflow/padding"
6045 #:unpack-path "github.com/muesli/reflow"))))
6047 (define-public go-github-com-muesli-termenv
6049 (name "go-github-com-muesli-termenv")
6054 (url "https://github.com/muesli/termenv")
6055 (commit (string-append "v" version))))
6056 (file-name (git-file-name name version))
6059 "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
6060 (build-system go-build-system)
6062 `(#:import-path "github.com/muesli/termenv"))
6064 `(("go-github-com-google-goterm" ,go-github-com-google-goterm)
6065 ("go-golang-org-colorful" ,go-golang-org-colorful)
6066 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
6067 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
6068 (home-page "https://github.com/muesli/termenv/")
6069 (synopsis "Advanced styling options on the terminal")
6070 (description "termenv lets you safely use advanced styling options on the
6071 terminal. It gathers information about the terminal environment in terms of
6072 its ANSI and color support and offers you convenient methods to colorize and
6073 style your output, without you having to deal with all kinds of weird ANSI
6074 escape sequences and color conversions.")
6075 (license license:expat)))
6077 (define-public go-github-com-nwidger-jsoncolor
6079 (name "go-github-com-nwidger-jsoncolor")
6081 (home-page "https://github.com/nwidger/jsoncolor")
6087 (commit (string-append "v" version))))
6088 (file-name (git-file-name name version))
6091 "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8"))))
6092 (build-system go-build-system)
6094 `(#:import-path "github.com/nwidger/jsoncolor"))
6096 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)))
6097 (synopsis "Colorized JSON marshalling and encoding")
6099 "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s
6100 @code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type
6101 which produce colorized output using github.com/fatih/color.")
6102 (license license:expat)))
6104 (define-public go-github-com-olekukonko-tablewriter
6106 (name "go-github-com-olekukonko-tablewriter")
6111 (url "https://github.com/olekukonko/tablewriter")
6112 (commit (string-append "v" version))))
6113 (file-name (git-file-name name version))
6116 "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x"))))
6117 (build-system go-build-system)
6119 `(#:import-path "github.com/olekukonko/tablewriter"))
6121 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
6122 (home-page "https://github.com/olekukonko/tablewriter/")
6123 (synopsis "Generate ASCII table")
6124 (description "This package generates ASCII tables. Features:
6126 @item automatic Padding
6127 @item support Multiple Lines
6128 @item supports Alignment
6129 @item support Custom Separators
6130 @item automatic Alignment of numbers and percentage
6131 @item write directly to http , file etc via @code{io.Writer}
6132 @item read directly from CSV file
6133 @item optional row line via @code{SetRowLine}
6134 @item normalise table header
6135 @item make CSV Headers optional
6136 @item enable or disable table border
6137 @item set custom footer support
6138 @item optional identical cells merging
6139 @item set custom caption
6140 @item optional reflowing of paragrpahs in multi-line cells
6142 (license license:expat)))
6144 (define-public go-github-com-yuin-goldmark
6146 (name "go-github-com-yuin-goldmark")
6151 (url "https://github.com/yuin/goldmark")
6152 (commit (string-append "v" version))))
6153 (file-name (git-file-name name version))
6156 "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy"))))
6157 (build-system go-build-system)
6159 `(#:import-path "github.com/yuin/goldmark"))
6160 (home-page "https://github.com/yuin/goldmark/")
6161 (synopsis "Markdown parser")
6162 (description "This package provides a markdown parser.")
6163 (license license:expat)))
6165 (define-public go-github-com-charmbracelet-glamour
6167 (name "go-github-com-charmbracelet-glamour")
6172 (url "https://github.com/charmbracelet/glamour")
6173 (commit (string-append "v" version))))
6174 (file-name (git-file-name name version))
6177 "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
6178 (build-system go-build-system)
6180 `(#:import-path "github.com/charmbracelet/glamour"))
6182 `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
6183 ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
6184 ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
6185 ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
6186 ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
6187 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
6188 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
6189 ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
6190 ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
6191 ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
6192 ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
6193 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
6194 ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
6195 ("go-github-com-google-goterm" ,go-github-com-google-goterm)
6196 ("go-golang-org-colorful" ,go-golang-org-colorful)
6197 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
6198 ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
6199 ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
6200 ("go-golang-org-x-net" ,go-golang-org-x-net)))
6201 (home-page "https://github.com/charmbracelet/glamour/")
6202 (synopsis "Write handsome command-line tools with glamour")
6203 (description "@code{glamour} lets you render markdown documents and
6204 templates on ANSI compatible terminals. You can create your own stylesheet or
6205 use one of our glamorous default themes.")
6206 (license license:expat)))
6208 (define-public go-github-com-coreos-go-semver
6210 (name "go-github-com-coreos-go-semver")
6215 (url "https://github.com/coreos/go-semver")
6216 (commit (string-append "v" version))))
6217 (file-name (git-file-name name version))
6220 "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9"))))
6221 (build-system go-build-system)
6223 `(#:import-path "github.com/coreos/go-semver"))
6224 (home-page "https://github.com/coreos/go-semver/")
6225 (synopsis "Semantic versioning library")
6226 (description "@code{go-semver} is a semantic versioning library for Go.
6227 It lets you parse and compare two semantic version strings.")
6228 (license license:asl2.0)))
6230 (define-public go-github-com-emirpasic-gods
6232 (name "go-github-com-emirpasic-gods")
6237 (url "https://github.com/emirpasic/gods")
6238 (commit (string-append "v" version))))
6239 (file-name (git-file-name name version))
6242 "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1"))))
6243 (build-system go-build-system)
6245 `(#:import-path "github.com/emirpasic/gods"
6246 ; Source-only package
6249 (modify-phases %standard-phases
6251 (home-page "https://github.com/emirpasic/gods/")
6252 (synopsis "Implementation of various data structures and algorithms in Go")
6253 (description "This package provides implementation of various data
6254 structures and algorithms in Go.")
6255 (license license:bsd-2)))
6257 (define-public go-gopkg-in-warnings
6259 (name "go-gopkg-in-warnings")
6264 (url "https://github.com/go-warnings/warnings")
6265 (commit (string-append "v" version))))
6266 (file-name (git-file-name name version))
6269 "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81"))))
6270 (build-system go-build-system)
6272 `(#:import-path "gopkg.in/warnings.v0"))
6273 (home-page "https://gopkg.in/warnings.v0")
6274 (synopsis "Error handling with non-fatal errors")
6275 (description "Package warnings implements error handling with non-fatal
6276 errors (warnings).")
6277 (license license:bsd-2)))
6279 (define-public go-github-com-go-git-gcfg
6281 (name "go-github-com-go-git-gcfg")
6286 (url "https://github.com/go-git/gcfg")
6287 (commit (string-append "v" version))))
6288 (file-name (git-file-name name version))
6291 "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83"))))
6293 `(#:import-path "github.com/go-git/gcfg"))
6295 `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings)
6296 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
6297 (build-system go-build-system)
6298 (home-page "https://github.com/go-git/gcfg/")
6299 (synopsis "Gcfg reads INI-style configuration files into Go structs")
6300 (description "Gcfg reads INI-style configuration files into Go structs.")
6301 (license license:bsd-3)))
6303 (define-public go-github-com-go-git-go-billy
6305 (name "go-github-com-go-git-go-billy")
6310 (url "https://github.com/go-git/go-billy")
6311 (commit (string-append "v" version))))
6312 (file-name (git-file-name name version))
6315 "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx"))))
6316 (build-system go-build-system)
6318 `(#:import-path "github.com/go-git/go-billy/v5"))
6320 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
6321 (home-page "https://github.com/go-git/go-billy/")
6322 (synopsis "File system abstraction for Go")
6323 (description "Billy implements an interface based on the OS's standard
6324 library to develop applications without depending on the underlying storage.
6325 This makes it virtually free to implement mocks and testing over
6326 file system operations.")
6327 (license license:asl2.0)))
6329 (define-public go-github-com-jbenet-go-context
6330 (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
6333 (name "go-github-com-jbenet-go-context")
6334 (version (git-version "0.0.1" revision commit))
6338 (url "https://github.com/jbenet/go-context")
6340 (file-name (git-file-name name version))
6343 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
6344 (build-system go-build-system)
6346 `(#:import-path "github.com/jbenet/go-context"
6347 ; Source-only package
6350 (modify-phases %standard-phases
6352 (home-page "https://github.com/jbenet/go-context/")
6353 (synopsis "@code{jbenet's} context extensions")
6354 (description "This package provides @code{jbenet's} context
6356 (license license:expat))))
6358 (define-public go-github-com-kevinburke-ssh-config
6360 (name "go-github-com-kevinburke-ssh-config")
6365 (url "https://github.com/kevinburke/ssh_config")
6367 (file-name (git-file-name name version))
6370 "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f"))))
6372 `(#:import-path "github.com/kevinburke/ssh_config"))
6373 (build-system go-build-system)
6374 (home-page "https://github.com/kevinburke/ssh_config/")
6375 (synopsis "Parser for @file{ssh_config} files")
6376 (description "This is a Go parser for @file{ssh_config} files.
6377 Importantly, this parser attempts to preserve comments in a given file, so you
6378 can manipulate a @file{ssh_config} file from a program.")
6379 (license license:expat)))
6381 (define-public go-github-com-xanzy-ssh-agent
6383 (name "go-github-com-xanzy-ssh-agent")
6388 (url "https://github.com/xanzy/ssh-agent")
6389 (commit (string-append "v" version))))
6390 (file-name (git-file-name name version))
6393 "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
6394 (build-system go-build-system)
6396 `(#:import-path "github.com/xanzy/ssh-agent"))
6398 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
6399 (home-page "https://github.com/xanzy/ssh-agent/")
6400 (synopsis "Control ssh-agent from Go")
6401 (description "Package agent implements the ssh-agent protocol, and
6402 provides both a client and a server. The client can talk to a standard
6403 ssh-agent that uses UNIX sockets, and one could implement an alternative
6404 ssh-agent process using the sample server. ")
6405 (license license:asl2.0)))
6407 (define-public go-github-com-alcortesm-tgz
6408 (let ((commit "9c5fe88206d7765837fed3732a42ef88fc51f1a1")
6411 (name "go-github-com-alcortesm-tgz")
6412 (version (git-version "0.0.1" revision commit))
6416 (url "https://github.com/alcortesm/tgz")
6418 (file-name (git-file-name name version))
6421 "04dcwnz2c2i4wbq2vx3g2wrdgqpncr2r1h6p1k08rdwk4bq1h8c5"))
6422 (modules '((guix build utils)))
6425 (substitute* "tgz_test.go"
6427 (("t.Fatalf\\(\"%s: unexpected error extracting: %s\", err\\)")
6428 "t.Fatalf(\"%s: unexpected error extracting: %s\", com, err)"))
6430 (build-system go-build-system)
6432 `(#:import-path "github.com/alcortesm/tgz"
6434 (modify-phases %standard-phases
6435 (add-after 'unpack 'make-git-checkout-writable
6436 (lambda* (#:key outputs #:allow-other-keys)
6437 (for-each make-file-writable (find-files "."))
6438 (for-each make-file-writable (find-files (assoc-ref outputs "out")))
6440 (home-page "https://github.com/alcortesm/tgz/")
6441 (synopsis "Go library to extract tgz files to temporal directories")
6442 (description "This package provides a Go library to extract tgz files to
6443 temporal directories.")
6444 (license license:expat))))
6446 (define-public go-github-com-go-git-go-git-fixtures
6448 (name "go-github-com-go-git-go-git-fixtures")
6453 (url "https://github.com/go-git/go-git-fixtures")
6454 (commit (string-append "v" version))))
6455 (file-name (git-file-name name version))
6458 "002yb1s2mxq2xijkl39ip1iyc3l52k23ikyi9ijfl4bgqxy79ljg"))))
6459 (build-system go-build-system)
6461 `(#:import-path "github.com/go-git/go-git-fixtures/v4"
6463 (modify-phases %standard-phases
6464 (delete 'reset-gzip-timestamps))))
6466 `(("go-github-com-alcortesm-tgz" ,go-github-com-alcortesm-tgz)
6467 ("go-github-com-go-git-go-billy" ,go-github-com-go-git-go-billy)
6468 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
6469 ("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
6470 (home-page "https://github.com/go-git/go-git-fixtures/")
6471 (synopsis "Fixtures used by @code{go-git}")
6472 (description "This package provides fixtures used by @code{go-git}.")
6473 (license license:asl2.0)))
6475 (define-public go-github-com-pkg-diff
6476 (let ((commit "531926345625d489a6b56f860a569e68245ace36")
6479 (name "go-github-com-pkg-diff")
6480 (version (git-version "0.0.1" revision commit))
6484 (url "https://github.com/pkg/diff")
6486 (file-name (git-file-name name version))
6489 "1770m7qhww6lm0wj1v3mhv6hwa2v92p4w2fqxj1xyrg5dd58d944"))))
6490 (build-system go-build-system)
6492 `(#:import-path "github.com/pkg/diff"))
6494 `(("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
6495 (home-page "https://github.com/pkg/diff/")
6496 (synopsis "Create and print diffs")
6498 "This package provides a Go library to create and print diffs.")
6499 (license license:bsd-3))))
6501 (define-public go-github-com-twpayne-go-shell
6503 (name "go-github-com-twpayne-go-shell")
6508 (url "https://github.com/twpayne/go-shell")
6509 (commit (string-append "v" version))))
6510 (file-name (git-file-name name version))
6513 "1hv0ggy3935iddjnmpp9vl0kqjknxpnbmm9w7xr3gds7fpbxz6yp"))))
6514 (build-system go-build-system)
6516 `(#:import-path "github.com/twpayne/go-shell"))
6517 (home-page "https://github.com/twpayne/go-shell/")
6518 (synopsis "Shell across multiple platforms")
6520 "Package @code{shell} returns a user's shell across multiple platforms.")
6521 (license license:expat)))
6523 (define-public go-github-com-twpayne-go-vfs
6525 (name "go-github-com-twpayne-go-vfs")
6530 (url "https://github.com/twpayne/go-vfs")
6531 (commit (string-append "v" version))))
6532 (file-name (git-file-name name version))
6535 "19dm3gi45znwaqbzxhwcgkiz8059bwa3ank80hc6qhdl579bpjnz"))))
6536 (build-system go-build-system)
6538 `(#:import-path "github.com/twpayne/go-vfs"))
6540 `(("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar)))
6541 (home-page "https://github.com/twpayne/go-vfs/")
6542 (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
6543 (description "Package @code{vfs} provides an abstraction of the @code{os}
6544 and @code{ioutil} packages that is easy to test.")
6545 (license license:expat)))
6547 (define-public go-github-com-twpayne-go-vfsafero
6549 (name "go-github-com-twpayne-go-vfsafero")
6554 (url "https://github.com/twpayne/go-vfsafero")
6555 (commit (string-append "v" version))))
6556 (file-name (git-file-name name version))
6559 "18jwxhlrjd06z8xzg9ij0irl4f79jfy5jpwiz6xqlhzb1fja19pw"))))
6560 (build-system go-build-system)
6562 `(#:import-path "github.com/twpayne/go-vfsafero"))
6564 `(("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)
6565 ("go-github-com-spf13-afero" ,go-github-com-spf13-afero)))
6566 (home-page "https://github.com/twpayne/go-vfsafero/")
6567 (synopsis "Compatibility later between @code{go-vfs} and @code{afero}")
6569 "Package @code{vfsafero} provides a compatibility later between
6570 @code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.")
6571 (license license:expat)))
6573 (define-public go-github-com-twpayne-go-xdg
6575 (name "go-github-com-twpayne-go-xdg")
6580 (url "https://github.com/twpayne/go-xdg")
6581 (commit (string-append "v" version))))
6582 (file-name (git-file-name name version))
6585 "0j8q7yzixs6jlaad0lpa8hs6b240gm2cmy0yxgnprrbpa0y2r7ln"))))
6586 (build-system go-build-system)
6588 `(#:import-path "github.com/twpayne/go-xdg/v3"))
6590 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
6591 ("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)))
6592 (home-page "https://github.com/twpayne/go-xdg/")
6593 (synopsis "Functions related to freedesktop.org")
6594 (description "Package @code{xdg} provides functions related to
6595 @uref{freedesktop.org}.")
6596 (license license:expat)))
6598 (define-public go-github-com-godbus-dbus
6600 (name "go-github-com-godbus-dbus")
6605 (url "https://github.com/godbus/dbus")
6606 (commit (string-append "v" version))))
6607 (file-name (git-file-name name version))
6610 "1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
6611 (build-system go-build-system)
6613 `(#:tests? #f ;no /var/run/dbus/system_bus_socket
6614 #:import-path "github.com/godbus/dbus"))
6616 `(("dbus" ,dbus))) ;dbus-launch
6617 (home-page "https://github.com/godbus/dbus/")
6618 (synopsis "Native Go client bindings for the D-Bus")
6619 (description "@code{dbus} is a library that implements native Go client
6620 bindings for the D-Bus message bus system.")
6621 (license license:bsd-2)))
6623 (define-public go-github-com-zalando-go-keyring
6625 (name "go-github-com-zalando-go-keyring")
6630 (url "https://github.com/zalando/go-keyring")
6631 (commit (string-append "v" version))))
6632 (file-name (git-file-name name version))
6635 "0kj54nkiyccy6m9iy9a53f6412a54xk96j88jaiq35yzdgfa4z3p"))))
6636 (build-system go-build-system)
6638 `(#:tests? #f ;XXX: Fix dbus tests
6639 #:import-path "github.com/zalando/go-keyring"))
6641 `(("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus)
6643 (home-page "https://github.com/zalando/go-keyring/")
6644 (synopsis "Library for working with system keyring")
6645 (description "@code{go-keyring} is a library for setting, getting and
6646 deleting secrets from the system keyring.")
6647 (license license:expat)))
6649 (define-public go-etcd-io-bbolt
6651 (name "go-etcd-io-bbolt")
6656 (url "https://github.com/etcd-io/bbolt")
6657 (commit (string-append "v" version))))
6658 (file-name (git-file-name name version))
6661 "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r"))))
6662 (build-system go-build-system)
6664 `(#:import-path "go.etcd.io/bbolt"))
6665 (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
6666 (synopsis "Low-level key/value store in Go")
6667 (description "This package implements a low-level key/value store in Go.")
6668 (license license:expat)))
6670 (define-public go-github-com-rogpeppe-go-internal
6672 (name "go-github-com-rogpeppe-go-internal")
6677 (url "https://github.com/rogpeppe/go-internal")
6678 (commit (string-append "v" version))))
6679 (file-name (git-file-name name version))
6682 "00j2vpp1bsggdvw1winkz23mg0q6drjiir5q0k49pmqx1sh7106l"))))
6683 (build-system go-build-system)
6685 `(#:import-path "github.com/rogpeppe/go-internal"
6686 ; Source-only package
6689 (modify-phases %standard-phases
6691 (home-page "https://github.com/rogpeppe/go-internal/")
6692 (synopsis "Internal packages from the Go standard library")
6693 (description "This repository factors out an opinionated selection of
6694 internal packages and functionality from the Go standard library. Currently
6695 this consists mostly of packages and testing code from within the Go tool
6698 Included are the following:
6700 @item dirhash: calculate hashes over directory trees the same way that the Go tool does.
6701 @item goproxytest: a GOPROXY implementation designed for test use.
6702 @item gotooltest: Use the Go tool inside test scripts (see testscript below)
6703 @item imports: list of known architectures and OSs, and support for reading import import statements.
6704 @item modfile: read and write go.mod files while preserving formatting and comments.
6705 @item module: module paths and versions.
6706 @item par: do work in parallel.
6707 @item semver: semantic version parsing.
6708 @item testenv: information on the current testing environment.
6709 @item testscript: script-based testing based on txtar files
6710 @item txtar: simple text-based file archives for testing.
6712 (license license:bsd-3)))
6714 (define-public gopkg-in-errgo-fmt-errors
6716 (name "gopkg-in-errgo-fmt-errors")
6721 (url "https://github.com/go-errgo/errgo")
6722 (commit (string-append "v" version))))
6723 (file-name (git-file-name name version))
6726 "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2"))))
6727 (build-system go-build-system)
6729 `(#:import-path "gopkg.in/errgo.v2/fmt/errors"
6731 ;; Source-only package
6733 (modify-phases %standard-phases
6735 (home-page "https://godoc.org/gopkg.in/errgo.v2")
6736 (synopsis "Functions that use the fmt package to format error messages")
6737 (description "This package is the same as @code{gopkg.in/errgo.v2/errors}
6738 except that it adds convenience functions that use the fmt package to format
6740 (license license:bsd-3)))
6742 (define-public go-github-com-arceliar-phony
6743 (let ((commit "d0c68492aca0bd4b5c5c8e0452c9b4c8af923eaf")
6746 (name "go-github-com-arceliar-phony")
6747 (version (git-version "0.0.0" revision commit))
6752 (url "https://github.com/Arceliar/phony")
6754 (file-name (git-file-name name version))
6757 "0876y0hlb1zh8hn0pxrb5zfdadvaqmqwlr66p19yl2a76galz992"))))
6759 '(#:import-path "github.com/Arceliar/phony"))
6760 (build-system go-build-system)
6761 (home-page "https://github.com/Arceliar/phony")
6762 (synopsis "Very minimal actor model library")
6763 (description "Phony is a very minimal actor model library for Go,
6764 inspired by the causal messaging system in the Pony programming language.")
6765 (license license:expat))))
6767 (define-public go-github-com-cheggaaa-pb
6769 (name "go-github-com-cheggaaa-pb")
6775 (url "https://github.com/cheggaaa/pb/")
6776 (commit (string-append "v" version))))
6777 (file-name (git-file-name name version))
6780 "0xhsv9yf3fz918ay6w0d87jnb3hk9vxvi16jk172kqq26x7jixd0"))))
6781 (build-system go-build-system)
6783 '(#:import-path "github.com/cheggaaa/pb/"))
6785 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
6786 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
6787 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
6788 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
6790 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
6791 (home-page "https://github.com/cheggaaa/pb/")
6792 (synopsis "Console progress bar for Go")
6793 (description "This package is a Go library that draws progress bars on
6795 (license license:bsd-3)))
6797 (define-public go-github-com-gologme-log
6798 ;; this is the same as v1.2.0, only the LICENSE file changed
6799 (let ((commit "720ba0b3ccf0a91bc6018c9967a2479f93f56a55"))
6801 (name "go-github-com-gologme-log")
6807 (url "https://github.com/gologme/log")
6809 (file-name (git-file-name name version))
6812 "0z3gs5ngv2jszp42ypp3ai0pn410v3b2m674g73ma7vsbn2yjk1n"))))
6813 (build-system go-build-system)
6815 '(#:import-path "github.com/gologme/log"))
6816 (home-page "https://github.com/gologme/log/")
6818 "Fork of the golang built in log package to add support for levels")
6819 (description "This package is a drop in replacement for the built-in Go
6820 log package. All the functionality of the built-in package still exists and
6821 is unchanged. This package contains a series of small enhancements and
6823 (license license:bsd-3))))
6825 (define-public go-github-com-frankban-quicktest
6827 (name "go-github-com-frankban-quicktest")
6833 (url "https://github.com/frankban/quicktest")
6834 (commit (string-append "v" version))))
6835 (file-name (git-file-name name version))
6838 "0b1b44b2hli2p969gqz30z8v9z6ahlklpqzi17nwk1lsjz9yv938"))))
6839 (build-system go-build-system)
6841 '(#:import-path "github.com/frankban/quicktest"))
6843 `(("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)
6844 ("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
6845 (home-page "https://github.com/frankban/quicktest")
6846 (synopsis "Quick helpers for testing Go applications")
6848 "Package quicktest provides a collection of Go helpers for writing
6850 (license license:expat)))
6852 (define-public go-github-com-bep-golibsass
6854 (name "go-github-com-bep-golibsass")
6860 (url "https://github.com/bep/golibsass")
6861 (commit (string-append "v" version))))
6862 (file-name (git-file-name name version))
6865 "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
6866 (modules '((guix build utils)))
6869 (delete-file-recursively "libsass_src")
6871 (build-system go-build-system)
6873 '(#:import-path "github.com/bep/golibsass/libsass"
6874 #:unpack-path "github.com/bep/golibsass"
6875 ;; The dev build tag modifies the build to link to system libsass
6876 ;; instead of including the bundled one (which we remove.)
6877 ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
6878 #:build-flags '("-tags" "dev")
6880 (modify-phases %standard-phases
6881 (add-before 'build 'generate-bindings
6882 ;; Generate bindings for system libsass, replacing the
6883 ;; pre-generated bindings.
6884 (lambda* (#:key inputs unpack-path #:allow-other-keys)
6885 (mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
6886 (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
6887 (substitute* (string-append "src/" unpack-path "/gen/main.go")
6888 (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
6889 (string-append "\"" libsass-src "\""))
6890 (("../../libsass_src/src/")
6892 (invoke "go" "generate" (string-append unpack-path "/gen"))
6895 (lambda* (#:key tests? import-path #:allow-other-keys)
6897 (invoke "go" "test" import-path "-tags" "dev"))
6900 `(("libsass" ,libsass)))
6902 `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
6903 ("libsass-src" ,(package-source libsass))))
6904 (home-page "https://github.com/bep/golibsass")
6905 (synopsis "Easy to use Go bindings for LibSass")
6907 "This package provides SCSS compiler support for Go applications.")
6908 (license license:expat)))
6910 (define-public go-github-com-hashicorp-go-syslog
6912 (name "go-github-com-hashicorp-go-syslog")
6918 (url "https://github.com/hashicorp/go-syslog")
6919 (commit (string-append "v" version))))
6920 (file-name (git-file-name name version))
6923 "09vccqggz212cg0jir6vv708d6mx0f9w5bxrcdah3h6chgmal6v1"))))
6924 (build-system go-build-system)
6926 '(#:import-path "github.com/hashicorp/go-syslog"))
6927 (home-page "https://github.com/hashicorp/go-syslog")
6928 (synopsis "Golang syslog wrapper, cross-compile friendly")
6929 (description "This package is a very simple wrapper around log/syslog")
6930 (license license:expat)))
6932 (define-public go-github-com-hjson-hjson-go
6934 (name "go-github-com-hjson-hjson-go")
6940 (url "https://github.com/hjson/hjson-go")
6941 (commit (string-append "v" version))))
6942 (file-name (git-file-name name version))
6945 "1dfdiahimg6z9idg8jiqxwnlwjnmasbjccx8gnag49cz4yfqskaz"))))
6946 (build-system go-build-system)
6948 '(#:import-path "github.com/hjson/hjson-go"))
6949 (home-page "https://hjson.org/")
6950 (synopsis "Human JSON implementation for Go")
6951 (description "Hjson is a syntax extension to JSON. It is intended to be
6952 used like a user interface for humans, to read and edit before passing the
6953 JSON data to the machine.")
6954 (license license:expat)))
6956 (define-public go-golang-zx2c4-com-wireguard
6958 (name "go-golang-zx2c4-com-wireguard")
6959 (version "0.0.20200320")
6963 ;; NOTE: module URL is a redirect
6964 ;; target: git.zx2c4.com/wireguard-go
6965 ;; source: golang.zx2c4.com/wireguard
6967 (url "https://git.zx2c4.com/wireguard-go/")
6968 (commit (string-append "v" version))))
6969 (file-name (git-file-name name version))
6972 "0fy4qsss3i3pkq1rpgjds4aipbwlh1dr9hbbf7jn2a1c63kfks0r"))))
6973 (build-system go-build-system)
6975 '(#:import-path "golang.zx2c4.com/wireguard"))
6977 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
6978 ("go-golang-org-x-net" ,go-golang-org-x-net)
6979 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
6980 ("go-golang-org-x-text" ,go-golang-org-x-text)))
6981 (home-page "https://git.zx2c4.com/wireguard")
6982 (synopsis "Implementation of WireGuard in Go")
6983 (description "This package is a Go Implementation of WireGuard.")
6984 (license license:expat)))
6986 (define-public go-github-com-kardianos-minwinsvc
6988 (name "go-github-com-kardianos-minwinsvc")
6994 (url "https://github.com/kardianos/minwinsvc")
6995 (commit (string-append "v" version))))
6996 (file-name (git-file-name name version))
6999 "0z941cxymkjcsj3p5l3g4wm2da3smz7iyqk2wbs5y8lmxd4kfzd8"))))
7000 (build-system go-build-system)
7002 '(#:import-path "github.com/kardianos/minwinsvc"))
7003 (home-page "https://github.com/kardianos/minwinsvc/")
7004 ;; some packages (Yggdrasil) need it to compile
7005 ;; it's a tiny package and it's easier to bundle it than to patch it out
7006 (synopsis "Minimal windows only service stub for Go")
7007 (description "Go programs designed to run from most *nix style operating
7008 systems can import this package to enable running programs as services without
7010 (license license:zlib)))
7012 (define-public go-github-com-goccy-yaml
7014 (name "go-github-com-goccy-yaml")
7016 (home-page "https://github.com/goccy/go-yaml")
7022 (commit (string-append "v" version))))
7023 (file-name (git-file-name name version))
7025 (base32 "1nps58dwkd915mx35h5f0dc05b880b4fdl6dcjxpfmmbzyinvg38"))))
7026 (build-system go-build-system)
7028 `(#:import-path "github.com/goccy/go-yaml"))
7030 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
7031 ("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)))
7033 `(("go-gopkg-in-go-playground-validator-v9"
7034 ,go-gopkg-in-go-playground-validator-v9)))
7035 (synopsis "YAML support for the Go language")
7037 "This package provides features beyond the
7038 @uref{https://github.com/go-yaml/yaml, defacto YAML library} including:
7041 @item Pretty format for error notifications
7042 @item Support Scanner or Lexer or Parser as public API
7043 @item Support Anchor and Alias to Marshaler
7044 @item Allow referencing elements declared in another file via anchors
7045 @item Extract value or AST by YAMLPath (YAMLPath is like a JSONPath)
7047 (license license:expat)))
7049 (define-public go-github-com-tekwizely-go-parsing
7050 (let ((commit "1548cfb17df54d365ce9febed0677c06a40a8ceb")
7053 (name "go-github-com-tekwizely-go-parsing")
7054 (version (git-version "0.0.0" revision commit))
7059 (url "https://github.com/tekwizely/go-parsing")
7061 (file-name (git-file-name name version))
7063 (base32 "0bv5amka8hb9crc7qvlzi2kbycqrnh9d46b9wgcs8wqzl0z7w609"))))
7064 (build-system go-build-system)
7066 `(#:import-path "github.com/tekwizely/go-parsing"))
7067 (home-page "https://github.com/tekwizely/go-parsing")
7068 (synopsis "Text parsing, with lexers, parsers, and related tools")
7070 "This package provides Go modules focused on text parsing, with lexers,
7071 parsers, and related tools.")
7072 (license license:expat))))
7074 (define-public go-github.com-ulikunitz-xz
7076 (name "go-github.com-ulikunitz-xz")
7081 (url "https://github.com/ulikunitz/xz.git")
7082 (commit (string-append "v" version))))
7083 (file-name (string-append name "-" version "-checkout"))
7086 "1xnsymi5fmmm734bi4c6z57p5cvnyxlpi29yxs4v21w5k763aypd"))))
7087 (build-system go-build-system)
7089 `(#:import-path "github.com/ulikunitz/xz"))
7090 (synopsis "Read and write xz compressed streams in Go")
7091 (description "This package provides a library to read and write xz
7092 compressed streams in Go.")
7093 (home-page "https://github.com/ulikunitz/xz")
7094 (license license:bsd-3)))
7096 (define-public go-github-com-songmu-gitconfig
7098 (name "go-github-com-songmu-gitconfig")
7100 (home-page "https://github.com/songmu/gitconfig")
7106 (commit (string-append "v" version))))
7107 (file-name (git-file-name name version))
7109 (base32 "1y01h496a7pfj1g2bclls5b0nl3vnj7nz610jj1dzq9kxrwxk7fk"))))
7110 (build-system go-build-system)
7112 `(#:import-path "github.com/Songmu/gitconfig"
7113 ;; Package's tests appear to be hardcoded to the author's gitconfig
7114 ;; and require network access.
7117 `(("go-github-com-goccy-yaml" ,go-github-com-goccy-yaml)))
7118 (synopsis "Go library to get configuration values from gitconfig")
7119 (description "@{gitconfig} is a package to get configuration values from gitconfig.")
7120 (license license:expat)))
7122 (define-public go-github-com-operatorfoundation-ed25519
7123 (let ((commit "b22b4bd3ddef042eec45f3ee135cd40281fde2b4")
7126 (name "go-github-com-operatorfoundation-ed25519")
7127 (version (git-version "0.0.0" revision commit))
7131 (url "https://github.com/OperatorFoundation/ed25519")
7133 (file-name (git-file-name name version))
7136 "0xrzqrjlghkgd1cy5rj4khryn4f59vas2vzrxc6d8jpj5ijf3xkv"))))
7137 (build-system go-build-system)
7139 `(#:import-path "github.com/OperatorFoundation/ed25519"
7141 (modify-phases %standard-phases
7142 (add-before 'install 'remove-test-data
7143 (lambda* (#:key import-path #:allow-other-keys)
7144 (delete-file-recursively
7145 (string-append "src/" import-path "/testdata"))
7147 (home-page "https://github.com/OperatorFoundation/ed25519")
7148 (synopsis "Ed25519 for go")
7149 (description "Package ed25519 implements the Ed25519 signature
7151 (license license:bsd-3))))
7153 (define-public go-github-com-akosmarton-papipes
7154 (let ((commit "3c63b4919c769c9c2b2d07e69a98abb0eb47fe64")
7157 (name "go-github-com-akosmarton-papipes")
7158 (version (git-version "0.0.0" revision commit))
7163 (url "https://github.com/akosmarton/papipes")
7165 (file-name (git-file-name name version))
7167 (base32 "16p77p3d1v26qd3knxn087jqlad2qm23q8m796cdr66hrdc0gahq"))))
7168 (build-system go-build-system)
7170 `(("pulseaudio" ,pulseaudio)))
7172 `(#:import-path "github.com/akosmarton/papipes"
7174 (modify-phases %standard-phases
7175 (add-after 'unpack 'fix-paths
7176 (lambda* (#:key inputs #:allow-other-keys)
7177 (substitute* '("src/github.com/akosmarton/papipes/common.go"
7178 "src/github.com/akosmarton/papipes/sink.go"
7179 "src/github.com/akosmarton/papipes/source.go")
7180 (("exec.Command\\(\"pactl\"")
7181 (string-append "exec.Command(\""
7182 (assoc-ref inputs "pulseaudio")
7183 "/bin/pactl\""))))))))
7184 (home-page "https://github.com/akosmarton/papipes")
7185 (synopsis "Pulseaudio client library for Go")
7187 "This is a Pulseaudio client library in Golang for creating virtual
7188 sinks and sources.")
7189 (license license:expat))))
7191 (define-public go-github-com-mesilliac-pulse-simple
7192 (let ((commit "75ac54e19fdff88f4fbd82f45125134b602230b0")
7195 (name "go-github-com-mesilliac-pulse-simple")
7196 (version (git-version "0.0.0" revision commit))
7201 (url "https://github.com/mesilliac/pulse-simple")
7203 (file-name (git-file-name name version))
7205 (base32 "1awwczsa9yy99p035ckajqfs8m6mab0lz82mzlj1c5cj9lnmwplj"))))
7206 (build-system go-build-system)
7208 `(("pkg-config" ,pkg-config)
7209 ("pulseaudio" ,pulseaudio)))
7211 '(#:import-path "github.com/mesilliac/pulse-simple"))
7212 (home-page "https://github.com/mesilliac/pulse-simple")
7213 (synopsis "Cgo bindings to PulseAudio's Simple API")
7215 "This package provides Cgo bindings to PulseAudio's Simple API, to play
7216 or capture raw audio.")
7217 (license license:expat))))
7219 (define-public go-github-com-pborman-getopt
7221 (name "go-github-com-pborman-getopt")
7227 (url "https://github.com/pborman/getopt")
7228 (commit (string-append "v" version))))
7229 (file-name (git-file-name name version))
7231 (base32 "0sacv6g8cxfibxd3gnfjnzp7fynrnc4s2aaz5wbxivqqhvflc22l"))))
7232 (build-system go-build-system)
7234 '(#:import-path "github.com/pborman/getopt"))
7235 (home-page "https://github.com/pborman/getopt")
7236 (synopsis "Getopt style option parsing for Go")
7238 "This package provides traditional getopt processing for implementing
7239 programs that use traditional command lines.")
7240 (license license:bsd-3)))
7242 (define-public go-go-uber-org-atomic
7244 (name "go-go-uber-org-atomic")
7250 (url "https://github.com/uber-go/atomic")
7251 (commit (string-append "v" version))))
7252 (file-name (git-file-name name version))
7254 (base32 "0yxvb5sixh76cl9j8dpa97gznj0p8pmg2cdw0ypfwhd3ipx9wph1"))))
7255 (build-system go-build-system)
7257 '(#:import-path "go.uber.org/atomic"))
7259 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
7260 ("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
7261 (home-page "https://go.uber.org/atomic")
7262 (synopsis "Wrapper types for sync/atomic")
7264 "This package provides simple wrappers for primitive types to enforce
7266 (license license:expat)))
7268 (define-public go-go-uber-org-multierr
7270 (name "go-go-uber-org-multierr")
7276 (url "https://github.com/uber-go/multierr")
7277 (commit (string-append "v" version))))
7278 (file-name (git-file-name name version))
7280 (base32 "162941s8f6a9x2w04qm4qa3zz0zylwag9149hywrj9ibp2nzcsqz"))))
7281 (build-system go-build-system)
7283 '(#:import-path "go.uber.org/multierr"))
7285 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
7287 `(("go-go-uber-org-atomic" ,go-go-uber-org-atomic)))
7288 (home-page "https://go.uber.org/multierr")
7289 (synopsis "Error combination for Go")
7291 "@code{multierr} allows combining one or more Go errors together.")
7292 (license license:expat)))
7294 (define-public go-golang-org-x-lint
7295 (let ((commit "83fdc39ff7b56453e3793356bcff3070b9b96445")
7298 (name "go-golang-org-x-lint")
7299 (version (git-version "0.0.0" revision commit))
7304 (url "https://go.googlesource.com/lint")
7306 (file-name (git-file-name name version))
7308 (base32 "0ms3rs5hvpnm9bxbr5f9743i7hn2bbmqdmvzxq6nmi0f24ypv1l3"))))
7309 (build-system go-build-system)
7311 '(#:import-path "golang.org/x/lint"
7312 #:tests? #f)) ;; TODO: Fix tests
7314 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
7315 (home-page "https://golang.org/x/lint")
7316 (synopsis "Linter for Go source code")
7318 "This is a linter for Go source code. Unlike gofmt, it doesn't
7319 reformat the source code, it only prints out style mistakes.")
7320 (license license:bsd-3))))
7322 (define-public go-github-com-kisielk-gotool
7324 (name "go-github-com-kisielk-gotool")
7330 (url "https://github.com/kisielk/gotool")
7331 (commit (string-append "v" version))))
7332 (file-name (git-file-name name version))
7334 (base32 "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn"))))
7335 (build-system go-build-system)
7337 '(#:import-path "github.com/kisielk/gotool"))
7338 (home-page "https://github.com/kisielk/gotool")
7339 (synopsis "Go library of utility functions")
7341 "This package contains utility functions used to implement the standard
7342 @code{cmd/go} tool, provided as a convenience to developers who want to write
7343 tools with similar semantics.")
7344 (license license:expat)))
7346 (define-public go-honnef-co-go-tools
7348 (name "go-honnef-co-go-tools")
7354 (url "https://github.com/dominikh/go-tools")
7355 (commit (string-append "v" version))))
7356 (file-name (git-file-name name version))
7358 (base32 "17li8jbw3cpn59kpcl3j3r2an4wkx3fc81xn0j4xgbjpkxh9493n"))))
7359 (build-system go-build-system)
7361 `(#:import-path "honnef.co/go/tools"
7363 ;; Source-only package
7365 (modify-phases %standard-phases
7368 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)
7369 ("go-github-com-kisielk-gotool",go-github-com-kisielk-gotool)
7370 ("go-github-com-burntsushi-toml" ,go-github-com-burntsushi-toml)))
7371 (home-page "https://honnef.co/go/tools")
7372 (synopsis "Staticcheck advanced Go linter")
7374 "Staticcheck is a state of the art linter for the Go programming language.
7375 Using static analysis, it finds bugs and performance issues, offers
7376 simplifications, and enforces style rules.")
7377 (license license:expat)))
7379 (define-public go-go-uber-org-zap
7381 (name "go-go-uber-org-zap")
7387 (url "https://github.com/uber-go/zap")
7388 (commit (string-append "v" version))))
7389 (file-name (git-file-name name version))
7391 (base32 "05ix5wg1r8pgi7fb6084lg4x7mrkvzkh1nxa7zj337w5b9xj0myr"))))
7392 (build-system go-build-system)
7394 '(#:import-path "go.uber.org/zap"
7395 #:tests? #f)) ; TODO: Fix tests
7397 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
7398 ("go-golang-org-x-lint" ,go-golang-org-x-lint)
7399 ("go-honnef-co-go-tools" ,go-honnef-co-go-tools)))
7401 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
7402 ("go-go-uber-org-atomic" ,go-go-uber-org-atomic)
7403 ("go-go-uber-org-multierr" ,go-go-uber-org-multierr)
7404 ("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
7405 (home-page "https://go.uber.org/zap")
7406 (synopsis "Logging library for Go")
7408 "This package provides a library for fast, structured, leveled logging in
7410 (license license:expat)))