1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
3 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
4 ;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
5 ;;; Copyright © 2016, 2019 Ludovic Courtès <ludo@gnu.org>
6 ;;; Copyright © 2016, 2017 Petter <petter@mykolab.ch>
7 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
8 ;;; Copyright © 2017 Sergei Trofimovich <slyfox@inbox.ru>
9 ;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
10 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
11 ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
12 ;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
13 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
14 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
15 ;;; Copyright © 2018, 2019, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
16 ;;; Copyright © 2019 Giovanni Biscuolo <g@xelera.eu>
17 ;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
18 ;;; Copyright © 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
20 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
21 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.com>
22 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
23 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
24 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
25 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
27 ;;; This file is part of GNU Guix.
29 ;;; GNU Guix is free software; you can redistribute it and/or modify it
30 ;;; under the terms of the GNU General Public License as published by
31 ;;; the Free Software Foundation; either version 3 of the License, or (at
32 ;;; your option) any later version.
34 ;;; GNU Guix is distributed in the hope that it will be useful, but
35 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
36 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
37 ;;; GNU General Public License for more details.
39 ;;; You should have received a copy of the GNU General Public License
40 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
42 (define-module (gnu packages golang)
43 #:use-module ((guix licenses) #:prefix license:)
44 #:use-module (guix utils)
45 #:use-module (guix download)
46 #:use-module (guix git-download)
47 #:use-module (guix packages)
48 #:use-module (guix build-system gnu)
49 #:use-module (guix build-system trivial)
50 #:use-module (guix build-system go)
51 #:use-module (gnu packages)
52 #:use-module (gnu packages admin)
53 #:use-module (gnu packages gcc)
54 #:use-module (gnu packages glib)
55 #:use-module (gnu packages base)
56 #:use-module (gnu packages perl)
57 #:use-module (gnu packages pkg-config)
58 #:use-module (gnu packages pcre)
59 #:use-module (gnu packages lua)
60 #:use-module (gnu packages mp3)
61 #:use-module (gnu packages textutils)
62 #:use-module (gnu packages tls)
63 #:use-module (gnu packages web)
64 #:use-module (ice-9 match)
65 #:use-module (srfi srfi-1))
67 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
68 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
69 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
70 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
71 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
72 ;; gccgo-5. Mips is not officially supported, but it should work if it is
78 ;; The C-language bootstrap of Go:
79 ;; https://golang.org/doc/install/source#go14
80 (version "1.4-bootstrap-20171003")
83 (uri (string-append "https://storage.googleapis.com/golang/"
84 name version ".tar.gz"))
87 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
88 (build-system gnu-build-system)
93 `(#:modules ((ice-9 match)
94 (guix build gnu-build-system)
97 #:tests? #f ; Tests are run by the all.bash script.
98 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
99 (%current-target-system)))
100 '(#:system "armhf-linux")
103 (modify-phases %standard-phases
105 (add-after 'patch-generated-file-shebangs 'chdir
109 (add-before 'build 'prebuild
110 (lambda* (#:key inputs outputs #:allow-other-keys)
111 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
112 (ld (string-append (assoc-ref inputs "libc") "/lib"))
113 (loader (car (find-files ld "^ld-linux.+")))
114 (net-base (assoc-ref inputs "net-base"))
116 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
117 (output (assoc-ref outputs "out")))
119 ;; Removing net/ tests, which fail when attempting to access
120 ;; network resources not present in the build container.
121 (for-each delete-file
122 '("net/multicast_test.go" "net/parse_test.go"
125 ;; Add libgcc to the RUNPATH.
126 (substitute* "cmd/go/build.go"
127 (("cgoldflags := \\[\\]string\\{\\}")
128 (string-append "cgoldflags := []string{"
129 "\"-rpath=" gcclib "\"}"))
130 (("ldflags := buildLdflags")
132 "ldflags := buildLdflags\n"
133 "ldflags = append(ldflags, \"-r\")\n"
134 "ldflags = append(ldflags, \"" gcclib "\")\n")))
136 (substitute* "os/os_test.go"
137 (("/usr/bin") (getcwd))
138 (("/bin/pwd") (which "pwd")))
140 ;; Disable failing tests: these tests attempt to access
141 ;; commands or network resources which are neither available or
142 ;; necessary for the build to succeed.
147 ((regex all before test_name)
148 (string-append before "Disabled" test_name)))))
149 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
150 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
151 ("os/os_test.go" "(.+)(TestHostname.+)")
152 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
154 ;; XXX: This test fails with tzdata 2020b and newer. Later
155 ;; Go releases work fine, so just disable this for the
157 ("time/example_test.go" "(.+)(ExampleParseInLocation.+)")
159 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
160 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
161 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
162 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
163 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
164 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
165 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
166 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
167 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
169 (substitute* "net/lookup_unix.go"
170 (("/etc/protocols") (string-append net-base "/etc/protocols")))
171 (substitute* "time/zoneinfo_unix.go"
172 (("/usr/share/zoneinfo/") tzdata-path))
173 (substitute* (find-files "cmd" "asm.c")
174 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
178 (lambda* (#:key inputs outputs #:allow-other-keys)
179 ;; FIXME: Some of the .a files are not bit-reproducible.
180 (let* ((output (assoc-ref outputs "out")))
181 (setenv "CC" (which "gcc"))
182 (setenv "GOOS" "linux")
183 (setenv "GOROOT" (dirname (getcwd)))
184 (setenv "GOROOT_FINAL" output)
185 (setenv "GO14TESTS" "1")
186 (invoke "sh" "all.bash"))))
189 (lambda* (#:key outputs inputs #:allow-other-keys)
190 (let* ((output (assoc-ref outputs "out"))
191 (doc_out (assoc-ref outputs "doc"))
192 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
193 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
194 (tests (string-append
195 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
197 (copy-recursively "../test" (string-append tests "/test"))
198 (delete-file-recursively "../test")
200 (copy-recursively "../api" (string-append docs "/api"))
201 (delete-file-recursively "../api")
202 (copy-recursively "../doc" (string-append docs "/doc"))
203 (delete-file-recursively "../doc")
205 (for-each (lambda (file)
206 (let ((file (string-append "../" file)))
207 (install-file file docs)
209 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
210 "LICENSE" "VERSION" "robots.txt"))
211 (copy-recursively "../" output)
216 ("gcc:lib" ,(canonical-package gcc) "lib")))
218 `(("pkg-config" ,pkg-config)
220 ("net-base" ,net-base)
223 (home-page "https://golang.org/")
224 (synopsis "Compiler and libraries for Go, a statically-typed language")
225 (description "Go, also commonly referred to as golang, is an imperative
226 programming language designed primarily for systems programming. Go is a
227 compiled, statically typed language in the tradition of C and C++, but adds
228 garbage collection, various safety features, and concurrent programming features
229 in the style of communicating sequential processes (@dfn{CSP}).")
230 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
231 (license license:bsd-3)))
233 (define-public go-1.14
242 (url "https://github.com/golang/go")
243 (commit (string-append "go" version))))
244 (file-name (git-file-name name version))
247 "0h1nmqzjc0xxpn6n2hjq7692gdqkznagzdmiq9490yzkrrii2lgk"))))
249 (substitute-keyword-arguments (package-arguments go-1.4)
251 (if (string-prefix? "aarch64-linux" (or (%current-system)
252 (%current-target-system)))
256 `(modify-phases ,phases
258 (lambda* (#:key inputs outputs #:allow-other-keys)
259 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
260 (ld (string-append (assoc-ref inputs "libc") "/lib"))
261 (loader (car (find-files ld "^ld-linux.+")))
262 (net-base (assoc-ref inputs "net-base"))
264 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
265 (output (assoc-ref outputs "out")))
267 ;; Having the patch in the 'patches' field of <origin> breaks
268 ;; the 'TestServeContent' test due to the fact that
269 ;; timestamps are reset. Thus, apply it from here.
270 (invoke "patch" "-p2" "--force" "-i"
271 (assoc-ref inputs "go-skip-gc-test.patch"))
273 ;; A side effect of these test scripts is testing
274 ;; cgo. Attempts at using cgo flags and directives with these
275 ;; scripts as specified here (https://golang.org/cmd/cgo/)
276 ;; have not worked. The tests continue to state that they can
277 ;; not find object files/headers despite being present.
280 '("cmd/go/testdata/script/mod_case_cgo.txt"
281 "cmd/go/testdata/script/list_find.txt"
282 "cmd/go/testdata/script/list_compiled_imports.txt"
283 "cmd/go/testdata/script/cgo_syso_issue29253.txt"
284 "cmd/go/testdata/script/cover_cgo.txt"
285 "cmd/go/testdata/script/cover_cgo_xtest.txt"
286 "cmd/go/testdata/script/cover_cgo_extra_test.txt"
287 "cmd/go/testdata/script/cover_cgo_extra_file.txt"))
289 (for-each make-file-writable (find-files "."))
291 (substitute* "os/os_test.go"
292 (("/usr/bin") (getcwd))
293 (("/bin/pwd") (which "pwd"))
294 (("/bin/sh") (which "sh")))
296 ;; Add libgcc to runpath
297 (substitute* "cmd/link/internal/ld/lib.go"
298 (("!rpath.set") "true"))
299 (substitute* "cmd/go/internal/work/gccgo.go"
300 (("cgoldflags := \\[\\]string\\{\\}")
301 (string-append "cgoldflags := []string{"
302 "\"-rpath=" gcclib "\""
306 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
307 (substitute* "cmd/go/internal/work/gc.go"
308 (("ldflags = setextld\\(ldflags, compiler\\)")
310 "ldflags = setextld(ldflags, compiler)\n"
311 "ldflags = append(ldflags, \"-r\")\n"
312 "ldflags = append(ldflags, \"" gcclib "\")\n")))
314 ;; Disable failing tests: these tests attempt to access
315 ;; commands or network resources which are neither available
316 ;; nor necessary for the build to succeed.
321 ((regex all before test_name)
322 (string-append before "Disabled" test_name)))))
323 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
324 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
325 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
326 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
327 ;; 127.0.0.1 doesn't exist
328 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
329 ;; 127.0.0.1 doesn't exist
330 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
331 ;; /etc/services doesn't exist
332 ("net/parse_test.go" "(.+)(TestReadLine.+)")
333 ("os/os_test.go" "(.+)(TestHostname.+)")
334 ;; The user's directory doesn't exist
335 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
336 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
337 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
338 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
339 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
340 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
341 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
342 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
343 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
344 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
345 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
346 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
347 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
348 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
349 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
350 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
351 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
352 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
353 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
354 ("syscall/exec_linux_test.go"
355 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
357 ;; These tests fail on aarch64-linux
358 (substitute* "cmd/dist/test.go"
359 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
361 ;; fix shebang for testar script
362 ;; note the target script is generated at build time.
363 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
364 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
366 (substitute* "net/lookup_unix.go"
367 (("/etc/protocols") (string-append net-base "/etc/protocols")))
368 (substitute* "net/port_unix.go"
369 (("/etc/services") (string-append net-base "/etc/services")))
370 (substitute* "time/zoneinfo_unix.go"
371 (("/usr/share/zoneinfo/") tzdata-path))
372 (substitute* (find-files "cmd" "\\.go")
373 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
375 (add-before 'build 'set-bootstrap-variables
376 (lambda* (#:key outputs inputs #:allow-other-keys)
377 ;; Tell the build system where to find the bootstrap Go.
378 (let ((go (assoc-ref inputs "go")))
379 (setenv "GOROOT_BOOTSTRAP" go)
380 (setenv "GOGC" "400")
383 (lambda* (#:key inputs outputs #:allow-other-keys)
384 ;; FIXME: Some of the .a files are not bit-reproducible.
385 (let* ((output (assoc-ref outputs "out")))
386 (setenv "CC" (which "gcc"))
387 (setenv "GOOS" "linux")
388 (setenv "GOROOT" (dirname (getcwd)))
389 (setenv "GOROOT_FINAL" output)
390 (setenv "CGO_ENABLED" "1")
391 (invoke "sh" "all.bash"))))
393 ;; TODO: Most of this could be factorized with Go 1.4.
394 (lambda* (#:key outputs #:allow-other-keys)
395 (let* ((output (assoc-ref outputs "out"))
396 (doc_out (assoc-ref outputs "doc"))
397 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
399 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
400 ;; Prevent installation of the build cache, which contains
401 ;; store references to most of the tools used to build Go and
402 ;; would unnecessarily increase the size of Go's closure if it
404 (delete-file-recursively "../pkg/obj")
407 (copy-recursively "../test" (string-append src "/test"))
408 (delete-file-recursively "../test")
410 (copy-recursively "../api" (string-append docs "/api"))
411 (delete-file-recursively "../api")
412 (copy-recursively "../doc" (string-append docs "/doc"))
413 (delete-file-recursively "../doc")
417 (let* ((filein (string-append "../" file))
418 (fileout (string-append docs "/" file)))
419 (copy-file filein fileout)
420 (delete-file filein)))
421 ;; Note the slightly different file names compared to 1.4.
422 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
423 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
425 (copy-recursively "../" output)
429 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
430 ,@(match (%current-system)
431 ((or "armhf-linux" "aarch64-linux")
432 `(("gold" ,binutils-gold)))
434 ,@(package-native-inputs go-1.4)))
435 (supported-systems %supported-systems)))
437 (define-public go go-1.14)
439 (define-public go-github-com-alsm-ioprogress
440 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
443 (name "go-github-com-alsm-ioprogress")
444 (version (git-version "0.0.0" revision commit))
448 (url "https://github.com/alsm/ioprogress")
450 (file-name (git-file-name name version))
453 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
454 (build-system go-build-system)
456 '(#:import-path "github.com/alsm/ioprogress"))
457 (synopsis "Textual progress bars in Go")
458 (description "@code{ioprogress} is a Go library with implementations of
459 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
460 case for these are for command-line applications but alternate progress bar
461 writers can be supplied for alternate environments.")
462 (home-page "https://github.com/alsm/ioprogress")
463 (license license:expat))))
465 (define-public go-github-com-aki237-nscjar
466 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
469 (name "go-github-com-aki237-nscjar")
470 (version (git-version "0.0.0" revision commit))
474 (url "https://github.com/aki237/nscjar")
476 (file-name (git-file-name name version))
479 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
480 (build-system go-build-system)
482 '(#:import-path "github.com/aki237/nscjar"))
483 (synopsis "Handle Netscape / Mozilla cookies")
484 (description "@code{nscjar} is a Go library used to parse and output
485 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
486 jar struct to manage the cookies added to the cookie jar.")
487 (home-page "https://github.com/aki237/nscjar")
488 (license license:expat))))
490 (define-public go-github-com-leodido-go-urn
492 (name "go-github-com-leodido-go-urn")
494 (home-page "https://github.com/leodido/go-urn")
500 (commit (string-append "v" version))))
501 (file-name (git-file-name name version))
503 (base32 "1d4g1vkhc1180l1n7q48vl84b27c7cziywml78cyijbcdz2f8vim"))))
504 (build-system go-build-system)
506 '(#:import-path "github.com/leodido/go-urn"))
508 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
509 (synopsis "Parser for uniform resource names as seen on RFC 2141")
511 "This package implements a parser for uniform resource names (URN) as
512 specified by @uref{https://tools.ietf.org/html/rfc2141, IETF RFC 2141}.")
513 (license license:expat)))
515 (define-public go-github.com-jessevdk-go-flags
517 (name "go-github.com-jessevdk-go-flags")
522 (url "https://github.com/jessevdk/go-flags")
523 (commit (string-append "v" version))))
524 (file-name (git-file-name name version))
527 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
528 (build-system go-build-system)
530 '(#:import-path "github.com/jessevdk/go-flags"))
531 (synopsis "Go library for parsing command line arguments")
533 "The @code{flags} package provides a command line option parser. The
534 functionality is similar to the go builtin @code{flag} package, but
535 @code{flags} provides more options and uses reflection to provide a succinct
536 way of specifying command line options.")
537 (home-page "https://github.com/jessevdk/go-flags")
538 (license license:bsd-3)))
540 (define-public go-github-com-aws-sdk
542 (name "go-github-com-aws-sdk")
548 (url "https://github.com/aws/aws-sdk-go")
549 (commit (string-append "v" version))))
550 (file-name (git-file-name name version))
553 "1ky5lw2s2zpslnnqcs6hgsrwvwbxwgflb5jwf16dd4aga3vrg10c"))))
554 (build-system go-build-system)
556 '(#:import-path "github.com/aws/aws-sdk-go/aws"
557 #:unpack-path "github.com/aws/aws-sdk-go"))
559 `(("go-github-com-go-sql-driver-mysql" ,go-github-com-go-sql-driver-mysql)
560 ("go-github-com-jmespath-go-jmespath" ,go-github-com-jmespath-go-jmespath)
561 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
562 ("go-golang-org-x-net" ,go-golang-org-x-net)))
563 (home-page "https://github.com/aws/aws-sdk-go")
564 (synopsis "Library to access Amazon Web Services (AWS)")
566 "This is the official AWS SDK for the Go programming language.")
567 (license license:asl2.0)))
569 (define-public go-gopkg.in-tomb.v2
570 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
573 (name "go-gopkg.in-tomb.v2")
574 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
578 (url "https://github.com/go-tomb/tomb")
580 (file-name (string-append name "-" version ".tar.gz"))
583 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
584 (build-system go-build-system)
586 '(#:import-path "gopkg.in/tomb.v2"
588 (modify-phases %standard-phases
589 (add-after 'unpack 'patch-source
591 ;; Add a missing % to fix the compilation of this test
592 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
593 (("t.Fatalf\\(`Killf\\(\"BO%s")
594 "t.Fatalf(`Killf(\"BO%%s"))
596 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
598 "The @code{tomb} package handles clean goroutine tracking and
600 (home-page "https://gopkg.in/tomb.v2")
601 (license license:bsd-3))))
603 (define-public go-gopkg-in-natefinch-lumberjack.v2
605 (name "go-gopkg-in-natefinch-lumberjack.v2")
611 (url "https://github.com/natefinch/lumberjack")
612 (commit (string-append "v" version))))
613 (file-name (git-file-name name version))
616 "1l3vlv72b7rfkpy1164kwd3qzrqmmjnb67akzxqp2mlvc66k6p3d"))))
617 (build-system go-build-system)
619 '(#:import-path "gopkg.in/natefinch/lumberjack.v2"))
621 `(("github.com/burntsush/toml" ,go-github-com-burntsushi-toml)
622 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
623 (home-page "https://github.com/natefinch/lumberjack")
624 (synopsis "Rolling logger for Go")
626 "Lumberjack is a Go package for writing logs to rolling files.")
627 (license license:expat)))
629 (define-public go-github.com-jtolds-gls
631 (name "go-github.com-jtolds-gls")
636 (url "https://github.com/jtolds/gls")
637 (commit (string-append "v" version))))
638 (file-name (git-file-name name version))
641 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
642 (build-system go-build-system)
644 '(#:import-path "github.com/jtolds/gls"))
645 (synopsis "@code{gls} provides Goroutine local storage")
647 "The @code{gls} package provides a way to store a retrieve values
649 (home-page "https://github.com/jtolds/gls")
650 (license license:expat)))
652 (define-public go-github-com-saracen-walker
654 (name "go-github-com-saracen-walker")
660 (url "https://github.com/saracen/walker")
661 (commit (string-append "v" version))))
662 (file-name (git-file-name name version))
664 (base32 "1rq1lrp99lx7k1ysbfznn4c1iagnxdhb4lnnklsadnnzi3gvygqz"))))
665 (build-system go-build-system)
667 `(#:import-path "github.com/saracen/walker"))
669 `(("go-golang-org-x-sync" ,go-golang-org-x-sync)))
670 (home-page "https://github.com/saracen/walker")
671 (synopsis "Faster, parallel version of Go's filepath.Walk")
672 (license license:expat)
673 (description "The @code{walker} function is a faster, parallel version, of
674 @code{filepath.Walk}")))
676 (define-public go-github-com-tj-docopt
678 (name "go-github-com-tj-docopt")
683 (url "https://github.com/tj/docopt")
684 (commit (string-append "v" version))))
685 (file-name (git-file-name name version))
688 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
689 (build-system go-build-system)
691 '(#:import-path "github.com/tj/docopt"))
692 (synopsis "Go implementation of docopt")
694 "This library allows the user to define a command-line interface from a
695 program's help message rather than specifying it programmatically with
696 command-line parsers.")
697 (home-page "https://github.com/tj/docopt")
698 (license license:expat)))
700 (define-public go-github-com-hashicorp-hcl
701 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
704 (name "go-github-com-hashicorp-hcl")
705 (version (git-version "0.0.0" revision commit))
709 (url "https://github.com/hashicorp/hcl")
711 (file-name (git-file-name name version))
714 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
715 (build-system go-build-system)
718 #:import-path "github.com/hashicorp/hcl"))
719 (synopsis "Go implementation of HashiCorp Configuration Language")
721 "This package contains the main implementation of the @acronym{HCL,
722 HashiCorp Configuration Language}. HCL is designed to be a language for
723 expressing configuration which is easy for both humans and machines to read.")
724 (home-page "https://github.com/hashicorp/hcl")
725 (license license:mpl2.0))))
727 (define-public go-golang-org-x-tools
728 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
731 (name "go-golang-org-x-tools")
732 (version (git-version "0.1.3" revision commit))
736 (url "https://go.googlesource.com/tools")
738 (file-name (string-append "go.googlesource.com-tools-"
739 version "-checkout"))
742 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
743 (build-system go-build-system)
745 `(#:import-path "golang.org/x/tools"
746 ;; Source-only package
749 (modify-phases %standard-phases
750 ;; Source-only package
752 (synopsis "Tools that support the Go programming language")
753 (description "This package provides miscellaneous tools that support the
754 Go programming language.")
755 (home-page "https://go.googlesource.com/tools/")
756 (license license:bsd-3))))
758 (define-public go-golang-org-x-crypto
759 (let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
762 (name "go-golang-org-x-crypto")
763 (version (git-version "0.0.0" revision commit))
767 (url "https://go.googlesource.com/crypto")
769 (file-name (string-append "go.googlesource.com-crypto-"
770 version "-checkout"))
773 "1yvis6fqbsd7f356aqyi18f76vnwj3bry6mxqnkvshq4cwrf92il"))))
774 (build-system go-build-system)
776 '(#:import-path "golang.org/x/crypto"
777 ;; Source-only package
780 (modify-phases %standard-phases
781 ;; Source-only package
783 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
784 (lambda* (#:key outputs #:allow-other-keys)
786 (make-file-writable file))
788 (string-append (assoc-ref outputs "out")
789 "/src/golang.org/x/crypto/ed25519/testdata")
793 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
794 (synopsis "Supplementary cryptographic libraries in Go")
795 (description "This package provides supplementary cryptographic libraries
796 for the Go language.")
797 (home-page "https://go.googlesource.com/crypto/")
798 (license license:bsd-3))))
800 (define-public go-golang-org-x-net
801 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
804 (name "go-golang-org-x-net")
805 (version (git-version "0.0.0" revision commit))
809 (url "https://go.googlesource.com/net")
811 (file-name (git-file-name name version))
814 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
815 (build-system go-build-system)
817 `(#:import-path "golang.org/x/net"
818 ; Source-only package
821 (modify-phases %standard-phases
823 (synopsis "Go supplemental networking libraries")
824 (description "This package provides supplemental Go networking libraries.")
825 (home-page "https://go.googlesource.com/net")
826 (license license:bsd-3))))
828 (define-public go-golang-org-x-image
829 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
832 (name "go-golang-org-x-image")
833 (version (git-version "0.0.0" revision commit))
837 (url "https://go.googlesource.com/image")
839 (file-name (string-append "go.googlesource.com-image-"
840 version "-checkout"))
843 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
844 (build-system go-build-system)
846 `(#:import-path "golang.org/x/image"
847 ; Source-only package
850 (modify-phases %standard-phases
852 (home-page "https://go.googlesource.com/image")
853 (synopsis "Supplemental Go image libraries")
854 (description "This package provides supplemental Go libraries for image
856 (license license:bsd-3))))
858 (define-public go-golang-org-x-sync
859 (let ((commit "6e8e738ad208923de99951fe0b48239bfd864f28")
862 (name "go-golang-org-x-sync")
863 (version (git-version "0.0.0" revision commit))
867 (url "https://go.googlesource.com/sync")
869 (file-name (git-file-name name version))
872 "1avk27pszd5l5df6ff7j78wgla46ir1hhy2jwfl9a3c0ys602yx9"))))
873 (build-system go-build-system)
875 `(#:import-path "golang.org/x/sync"
877 ;; Source-only package
879 (modify-phases %standard-phases
881 (synopsis "Additional Go concurrency primitives")
882 (description "This package provides Go concurrency primitives in addition
883 to the ones provided by the language and “sync” and “sync/atomic”
885 (home-page "https://go.googlesource.com/sync/")
886 (license license:bsd-3))))
888 (define-public go-golang-org-x-sys
889 (let ((commit "05986578812163b26672dabd9b425240ae2bb0ad")
892 (name "go-golang-org-x-sys")
893 (version (git-version "0.0.0" revision commit))
897 (url "https://go.googlesource.com/sys")
899 (file-name (git-file-name name version))
902 "1q2rxb6z5l6pmlckjsz2l0b8lw7bqgk6frhzbmi1dv0y5irb2ka7"))))
903 (build-system go-build-system)
905 `(#:import-path "golang.org/x/sys"
906 ;; Source-only package
909 (modify-phases %standard-phases
911 (synopsis "Go support for low-level system interaction")
912 (description "This package provides supplemental libraries offering Go
913 support for low-level interaction with the operating system.")
914 (home-page "https://go.googlesource.com/sys")
915 (license license:bsd-3))))
917 (define-public go-golang-org-x-text
919 (name "go-golang-org-x-text")
924 (url "https://go.googlesource.com/text")
925 (commit (string-append "v" version))))
926 (file-name (string-append "go.googlesource.com-text-"
927 version "-checkout"))
930 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
931 (build-system go-build-system)
933 `(#:import-path "golang.org/x/text"
934 ; Source-only package
937 (modify-phases %standard-phases
939 (synopsis "Supplemental Go text processing libraries")
940 (description "This package provides supplemental Go libraries for text
942 (home-page "https://go.googlesource.com/text")
943 (license license:bsd-3)))
945 (define-public go-golang-org-x-time
946 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
949 (name "go-golang-org-x-time")
950 (version (git-version "0.0.0" revision commit))
954 (url "https://go.googlesource.com/time")
956 (file-name (git-file-name name version))
959 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
960 (build-system go-build-system)
962 `(#:import-path "golang.org/x/time"
963 ; Source-only package
966 (modify-phases %standard-phases
969 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
970 (synopsis "Supplemental Go time libraries")
971 (description "This package provides supplemental Go libraries related to
973 (home-page "https://godoc.org/golang.org/x/time/rate")
974 (license license:bsd-3))))
976 (define-public go-golang-org-x-oauth2
977 (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
980 (name "go-golang-org-x-oauth2")
981 (version (git-version "0.0.0" revision commit))
985 (url "https://go.googlesource.com/oauth2")
987 (file-name (string-append "go.googlesource.com-oauth2-"
988 version "-checkout"))
991 "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
992 (build-system go-build-system)
994 `(#:import-path "golang.org/x/oauth2"))
996 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
997 (home-page "https://go.googlesource.com/oauth2")
998 (synopsis "Client implementation of the OAuth 2.0 spec")
999 (description "This package contains a client implementation for OAuth 2.0
1001 (license license:bsd-3))))
1003 (define-public go-golang-org-x-xerrors
1004 (let ((commit "5ec99f83aff198f5fbd629d6c8d8eb38a04218ca")
1007 (name "go-golang-org-x-xerrors")
1008 (version (git-version "0.0.0" revision commit))
1012 (url "https://go.googlesource.com/xerrors")
1014 (file-name (git-file-name name version))
1017 "1dbzc3gmf2haazpv7cgmv97rq40g2xzwbglc17vas8dwhgwgwrzb"))))
1018 (build-system go-build-system)
1020 '(#:import-path "golang.org/x/xerrors"))
1021 (synopsis "Go 1.13 error values")
1023 "This package holds the transition packages for the new Go 1.13 error values.")
1024 (home-page "https://godoc.org/golang.org/x/xerrors")
1025 (license license:bsd-3))))
1027 (define-public go-github-com-burntsushi-toml
1029 (name "go-github-com-burntsushi-toml")
1035 (url "https://github.com/BurntSushi/toml")
1036 (commit (string-append "v" version))))
1037 (file-name (git-file-name name version))
1040 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
1041 (build-system go-build-system)
1043 '(#:import-path "github.com/BurntSushi/toml"))
1044 (home-page "https://github.com/BurntSushi/toml")
1045 (synopsis "Toml parser and encoder for Go")
1046 (description "This package is toml parser and encoder for Go. The interface
1047 is similar to Go's standard library @code{json} and @code{xml} package.")
1048 (license license:expat)))
1050 (define-public go-github-com-getsentry-raven-go
1051 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
1054 (name "go-github-com-getsentry-raven-go")
1055 (version (git-version "0.2.0" revision commit))
1060 (url "https://github.com/getsentry/raven-go")
1062 (file-name (git-file-name name version))
1065 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
1066 (build-system go-build-system)
1068 '(#:import-path "github.com/getsentry/raven-go"))
1070 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
1071 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
1072 (home-page "https://github.com/getsentry/raven-go")
1073 (synopsis "Sentry client in Go")
1074 (description "This package is a Go client API for the Sentry event/error
1076 (license license:bsd-3))))
1078 (define-public go-github-com-hashicorp-go-version
1080 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
1083 (name "go-github-com-hashicorp-go-version")
1084 (version (git-version "0.0.0" revision commit))
1089 (url "https://github.com/hashicorp/go-version")
1091 (file-name (git-file-name name version))
1094 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
1095 (build-system go-build-system)
1097 '(#:import-path "github.com/hashicorp/go-version"))
1099 "https://github.com/hashicorp/go-version")
1100 (synopsis "Go library for parsing and verifying versions and version
1102 (description "This package is a library for parsing versions and version
1103 constraints, and verifying versions against a set of constraints. It can sort
1104 a collection of versions properly, handles prerelease/beta versions, can
1105 increment versions.")
1106 (license license:mpl2.0))))
1108 (define-public go-github-com-jpillora-backoff
1110 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
1113 (name "go-github-com-jpillora-backoff")
1114 (version (git-version "0.0.0" revision commit))
1119 (url "https://github.com/jpillora/backoff")
1121 (file-name (git-file-name name version))
1124 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
1125 (build-system go-build-system)
1127 '(#:import-path "github.com/jpillora/backoff"))
1128 (home-page "https://github.com/jpillora/backoff")
1129 (synopsis "Simple exponential backoff counter in Go")
1130 (description "This package is a simple exponential backoff counter in
1132 (license license:expat))))
1134 (define-public go-github-com-stretchr-objx
1136 (name "go-github-com-stretchr-objx")
1142 (url "https://github.com/stretchr/objx")
1143 (commit (string-append "v" version))))
1144 (file-name (git-file-name name version))
1147 "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
1148 (build-system go-build-system)
1150 '(#:import-path "github.com/stretchr/objx"))
1151 (home-page "https://github.com/stretchr/objx")
1152 (synopsis "Go package for dealing with maps, slices, JSON and other data")
1153 (description "This package provides a Go library for dealing with maps,
1154 slices, JSON and other data.")
1155 (license license:expat)))
1157 (define-public go-github-com-stretchr-testify
1159 (name "go-github-com-stretchr-testify")
1165 (url "https://github.com/stretchr/testify")
1166 (commit (string-append "v" version))))
1167 (file-name (git-file-name name version))
1170 "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
1171 (build-system go-build-system)
1173 '(#:import-path "github.com/stretchr/testify"))
1175 `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1176 ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
1177 ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
1178 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1179 (home-page "https://github.com/stretchr/testify")
1180 (synopsis "Go helper library for tests and invariant checking")
1181 (description "This package provide many tools for testifying that your
1182 code will behave as you intend.
1186 @item Easy assertions
1188 @item HTTP response trapping
1189 @item Testing suite interfaces and functions.
1191 (license license:expat)))
1193 (define-public go-github-com-tevino-abool
1195 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
1198 (name "go-github-com-tevino-abool")
1199 (version (git-version "0.0.0" revision commit))
1204 (url "https://github.com/tevino/abool")
1206 (file-name (git-file-name name version))
1209 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
1210 (build-system go-build-system)
1212 '(#:import-path "github.com/tevino/abool"))
1213 (home-page "https://github.com/tevino/abool")
1214 (synopsis "Atomic boolean library for Go code")
1215 (description "This package is atomic boolean library for Go code,
1216 optimized for performance yet simple to use.")
1217 (license license:expat))))
1219 (define-public go-github-com-tomnomnom-gron
1223 (home-page "https://github.com/tomnomnom/gron")
1229 (commit (string-append "v" version))))
1230 (file-name (git-file-name name version))
1232 (base32 "05f3w4zr15wd7xk75l12y5kip4gnv719a2x9w2hy23q3pnss9wk0"))))
1233 (build-system go-build-system)
1235 (let ((import-path "github.com/tomnomnom/gron"))
1236 `(#:import-path ,import-path
1238 (modify-phases %standard-phases
1239 (add-after 'check 'remove-non-source
1241 (for-each (lambda (dir)
1242 (delete-file-recursively
1243 (string-append "src/" ,import-path dir)))
1244 '("/docs" "/script" "/testdata"))
1247 `(("github.com/fatih/color" ,go-github-com-fatih-color)
1248 ("github.com/mattn/go-colorable" ,go-github-com-mattn-go-colorable)
1249 ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
1250 ("github.com/nwidger/jsoncolor" ,go-github-com-nwidger-jsoncolor)
1251 ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
1252 (synopsis "Transform JSON to make it easier to grep")
1254 "This package transforms JSON into discrete assignments to make it easier
1255 to use line-based tools such as grep to search for what you want and see the
1256 absolute \"path\" to it.")
1257 (license license:expat)))
1259 (define-public go-github-com-tv42-httpunix
1260 (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
1263 (name "go-github-com-tv42-httpunix")
1264 (version (git-version "0.0.0" revision commit))
1269 (url "https://github.com/tv42/httpunix")
1271 (file-name (git-file-name name version))
1273 (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
1274 (build-system go-build-system)
1276 '(#:import-path "github.com/tv42/httpunix"))
1277 (home-page "https://github.com/tv42/httpunix")
1278 (synopsis "Go library to talk HTTP over Unix domain sockets")
1279 (description "This package is a Go library to talk HTTP over Unix domain
1281 (license license:expat))))
1283 (define-public go-github-com-blang-semver
1284 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
1287 (name "go-github-com-blang-semver")
1288 (version (git-version "0.0.0" revision commit))
1293 (url "https://github.com/blang/semver")
1295 (file-name (git-file-name name version))
1298 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
1299 (build-system go-build-system)
1301 '(#:import-path "github.com/blang/semver"))
1302 (home-page "https://github.com/blang/semver")
1303 (synopsis "Semantic versioning library written in Go")
1304 (description "Semver is a library for Semantic versioning written in Go.")
1305 (license license:expat))))
1307 (define-public go-github-com-emicklei-go-restful
1309 (name "go-github-com-emicklei-go-restful")
1315 (url "https://github.com/emicklei/go-restful")
1316 (commit (string-append "v" version))))
1317 (file-name (git-file-name name version))
1320 "0m1y5a6xr6hmdj77afrvyh2llkbhn1166lcrgis654shl8zs9qhz"))))
1321 (build-system go-build-system)
1323 '(#:import-path "github.com/emicklei/go-restful"))
1324 (home-page "https://github.com/emicklei/go-restful")
1325 (synopsis "Build REST-style web services using Go")
1326 (description "This package provides @code{go-restful}, which helps
1327 developers to use @code{http} methods explicitly and in a way that's consistent
1328 with the HTTP protocol definition.")
1329 (license license:expat)))
1331 (define-public go-github-com-google-cadvisor
1332 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
1335 (name "go-github-com-google-cadvisor")
1336 (version (git-version "0.0.0" revision commit))
1341 (url "https://github.com/google/cadvisor")
1343 (file-name (git-file-name name version))
1346 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
1347 (build-system go-build-system)
1349 '(#:import-path "github.com/google/cadvisor"))
1350 (home-page "https://github.com/google/cadvisor")
1351 (synopsis "Analyze resource usage of running containers")
1352 (description "The package provides @code{cadvisor}, which provides
1353 information about the resource usage and performance characteristics of running
1355 (license license:asl2.0))))
1357 (define-public go-github-com-google-gofuzz
1358 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
1361 (name "go-github-com-google-gofuzz")
1362 (version (git-version "0.0.0" revision commit))
1367 (url "https://github.com/google/gofuzz")
1369 (file-name (git-file-name name version))
1372 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
1373 (build-system go-build-system)
1375 '(#:import-path "github.com/google/gofuzz"))
1376 (home-page "https://github.com/google/gofuzz")
1377 (synopsis "Fuzz testing library for Go")
1378 (description "Gofuzz is a library for populationg Go objects with random
1379 values for the purpose of fuzz testing.")
1380 (license license:asl2.0))))
1382 (define-public go-github-com-gorilla-css
1384 (name "go-github-com-gorilla-css")
1389 (url "https://github.com/gorilla/css")
1390 (commit (string-append "v" version))))
1391 (file-name (git-file-name name version))
1394 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
1395 (build-system go-build-system)
1397 `(#:import-path "github.com/gorilla/css/scanner"
1398 #:unpack-path "github.com/gorilla/css"))
1399 (home-page "https://github.com/gorilla/css/")
1400 (synopsis "CSS3 tokenizer")
1401 (description "This package provides a CSS3 tokenizer.")
1402 (license license:bsd-3)))
1404 (define-public go-github-com-gorilla-context
1405 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
1408 (name "go-github-com-gorilla-context")
1409 (version (git-version "0.0.0" revision commit))
1414 (url "https://github.com/gorilla/context")
1416 (file-name (git-file-name name version))
1419 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
1420 (build-system go-build-system)
1422 '(#:import-path "github.com/gorilla/context"))
1423 (home-page "https://github.com/gorilla/context")
1424 (synopsis "Go registry for request variables")
1425 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
1426 (license license:bsd-3))))
1428 (define-public go-github-com-gorilla-mux
1430 (name "go-github-com-gorilla-mux")
1436 (url "https://github.com/gorilla/mux")
1437 (commit (string-append "v" version))))
1438 (file-name (git-file-name name version))
1441 "18f0q9qxgq1yh4ji07mqhiydfcwvi56z9d775v7dc7yckj33kpdk"))))
1442 (build-system go-build-system)
1444 '(#:import-path "github.com/gorilla/mux"))
1445 (home-page "https://github.com/gorilla/mux")
1446 (synopsis "URL router and dispatcher for Go")
1448 "Gorilla/Mux implements a request router and dispatcher for matching
1449 incoming requests with their respective handler.")
1450 (license license:bsd-3)))
1452 (define-public go-github-com-gorilla-handlers
1454 (name "go-github-com-gorilla-handlers")
1460 (url "https://github.com/gorilla/handlers")
1461 (commit (string-append "v" version))))
1462 (file-name (git-file-name name version))
1465 "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
1466 (build-system go-build-system)
1468 `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
1470 '(#:tests? #f ; Tries to download from the internet
1471 #:import-path "github.com/gorilla/handlers"))
1472 (home-page "https://github.com/gorilla/handlers")
1473 (synopsis "Middleware for Go HTTP services and web applications")
1474 (description "A collection of useful middleware for Go HTTP services
1475 and web applications.")
1476 (license license:bsd-3)))
1478 (define-public go-github-com-gorilla-securecookie
1480 (name "go-github-com-gorilla-securecookie")
1486 (url "https://github.com/gorilla/securecookie")
1487 (commit (string-append "v" version))))
1488 (file-name (git-file-name name version))
1491 "16bqimpxs9vj5n59vm04y04v665l7jh0sddxn787pfafyxcmh410"))))
1492 (build-system go-build-system)
1494 '(#:import-path "github.com/gorilla/securecookie"))
1495 (home-page "https://github.com/gorilla/securecookie")
1496 (synopsis "Encodes and decodes authenticated and optionally encrypted
1499 "Gorilla/securecookie encodes and decodes authenticated and optionally
1500 encrypted cookie values for Go web applications.")
1501 (license license:bsd-3)))
1503 (define-public go-github-com-gorilla-csrf
1505 (name "go-github-com-gorilla-csrf")
1511 (url "https://github.com/gorilla/csrf")
1512 (commit (string-append "v" version))))
1513 (file-name (git-file-name name version))
1516 "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav"))))
1517 (build-system go-build-system)
1519 `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie)
1520 ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
1522 '(#:import-path "github.com/gorilla/csrf"))
1523 (home-page "https://github.com/gorilla/csrf")
1524 (synopsis "Cross Site Request Forgery (CSRF) prevention middleware")
1526 "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention
1527 middleware for Go web applications and services.")
1528 (license license:bsd-3)))
1530 (define-public go-github-com-jonboulle-clockwork
1531 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
1534 (name "go-github-com-jonboulle-clockwork")
1535 (version (git-version "0.0.0" revision commit))
1540 (url "https://github.com/jonboulle/clockwork")
1542 (file-name (git-file-name name version))
1545 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
1546 (build-system go-build-system)
1548 '(#:import-path "github.com/jonboulle/clockwork"))
1549 (home-page "https://github.com/jonboulle/clockwork")
1550 (synopsis "Fake clock library for Go")
1552 "Replace uses of the @code{time} package with the
1553 @code{clockwork.Clock} interface instead.")
1554 (license license:asl2.0))))
1556 (define-public go-github-com-spf13-afero
1558 (name "go-github-com-spf13-afero")
1564 (url "https://github.com/spf13/afero")
1565 (commit (string-append "v" version))))
1566 (file-name (git-file-name name version))
1569 "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"))))
1570 (build-system go-build-system)
1572 `(#:import-path "github.com/spf13/afero"))
1574 `(("golang.org/x/text" ,go-golang-org-x-text)))
1575 (home-page "https://github.com/spf13/afero")
1576 (synopsis "File system abstraction for Go")
1578 "This package provides a file system abstraction for Go.")
1579 (license license:asl2.0)))
1581 (define-public go-github-com-spf13-cast
1583 (name "go-github-com-spf13-cast")
1589 (url "https://github.com/spf13/cast")
1590 (commit (string-append "v" version))))
1591 (file-name (git-file-name name version))
1594 "0lb84788glr0qzrq2ifi36rgvp96qrgywvxrr3ggq5hrbr38hgn1"))))
1595 (build-system go-build-system)
1597 `(#:import-path "github.com/spf13/cast"))
1599 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1600 (home-page "https://github.com/spf13/cast")
1601 (synopsis "Safe and easy casting from one type to another in Go")
1602 (description "Safe and easy casting from one type to another in Go")
1603 (license license:expat)))
1605 (define-public go-github-com-spf13-cobra
1607 (name "go-github-com-spf13-cobra")
1613 (url "https://github.com/spf13/cobra")
1614 (commit (string-append "v" version))))
1615 (file-name (git-file-name name version))
1618 "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h"))))
1619 (build-system go-build-system)
1621 `(#:import-path "github.com/spf13/cobra"))
1623 `(("github.com/spf13/pflag" ,go-github-com-spf13-pflag)))
1624 (home-page "https://github.com/spf13/cobra")
1625 (synopsis "Go library for creating CLI applications")
1626 (description "Cobra is both a library for creating powerful modern CLI
1627 applications as well as a program to generate applications and command files.")
1628 (license license:asl2.0)))
1630 (define-public go-github-com-spf13-jwalterweatherman
1632 (name "go-github-com-spf13-jwalterweatherman")
1638 (url "https://github.com/spf13/jwalterweatherman")
1639 (commit (string-append "v" version))))
1640 (file-name (git-file-name name version))
1643 "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"))))
1644 (build-system go-build-system)
1646 `(#:import-path "github.com/spf13/jwalterweatherman"))
1648 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1649 (home-page "https://github.com/spf13/jwalterweatherman")
1650 (synopsis "Go logging library")
1651 (description "Go logging library")
1652 (license license:expat)))
1654 (define-public go-github-com-spf13-pflag
1656 (name "go-github-com-spf13-pflag")
1662 (url "https://github.com/spf13/pflag")
1663 (commit (string-append "v" version))))
1664 (file-name (git-file-name name version))
1667 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
1668 (build-system go-build-system)
1670 '(#:import-path "github.com/spf13/pflag"))
1671 (home-page "https://github.com/spf13/pflag")
1672 (synopsis "Replacement for Go's @code{flag} package")
1674 "Pflag is library to replace Go's @code{flag} package. It implements
1675 POSIX/GNU-style command-line options with double hyphens. It is is compatible
1677 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
1678 GNU extensions} to the POSIX recommendations for command-line options.")
1679 (license license:bsd-3)))
1681 (define-public go-github-com-spf13-viper
1683 (name "go-github-com-spf13-viper")
1689 (url "https://github.com/spf13/viper")
1690 (commit (string-append "v" version))))
1691 (file-name (git-file-name name version))
1694 "099n2g7fg6r8hqyszqw2axr775qyhyvwhsykvgw0f0s16ql48h5c"))))
1695 (build-system go-build-system)
1697 '(#:import-path "github.com/spf13/viper"))
1699 `(("github.com/spf13/afero" ,go-github-com-spf13-afero)
1700 ("github.com/spf13/cast" ,go-github-com-spf13-cast)
1701 ("github.com/spf13/pflag" ,go-github-com-spf13-pflag)
1702 ("github.com/spf13/jwalterweatherman" ,go-github-com-spf13-jwalterweatherman)
1703 ("github.com/fsnotify/fsnotify" ,go-github-com-fsnotify-fsnotify)
1704 ("github.com/hashicorp/hcl" ,go-github-com-hashicorp-hcl)
1705 ("github.com/magiconair/properties" ,go-github-com-magiconair-properties)
1706 ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)
1707 ("github.com/pelletier/go-toml" ,go-github-com-pelletier-go-toml)
1708 ("github.com/subosito/gotenv" ,go-github-com-subosito-gotenv)
1710 ("gopkg.in/ini.v1" ,go-gopkg-in-ini-v1)
1711 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1713 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1714 (home-page "https://github.com/spf13/viper")
1715 (synopsis "Go configuration with fangs")
1717 "Viper is a complete configuration solution for Go applications including
1718 12-Factor apps. It is designed to work within an application, and can handle
1719 all types of configuration needs and formats.")
1720 (license license:expat)))
1722 (define-public go-github-com-felixge-httpsnoop
1724 (name "go-github-com-felixge-httpsnoop")
1730 (url "https://github.com/felixge/httpsnoop")
1731 (commit (string-append "v" version))))
1732 (file-name (git-file-name name version))
1735 "0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac"))))
1736 (build-system go-build-system)
1738 '(#:import-path "github.com/felixge/httpsnoop"))
1739 (home-page "https://github.com/felixge/httpsnoop/")
1740 (synopsis "Capture http related metrics")
1742 "Httpsnoop provides an easy way to capture http related
1743 metrics (i.e. response time, bytes written, and http status code) from your
1744 application's http.Handlers.")
1745 (license license:expat)))
1747 (define-public go-github-com-fsnotify-fsnotify
1749 (name "go-github-com-fsnotify-fsnotify")
1755 (url "https://github.com/fsnotify/fsnotify")
1756 (commit (string-append "v" version))))
1757 (file-name (git-file-name name version))
1760 "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x"))))
1761 (build-system go-build-system)
1763 `(#:import-path "github.com/fsnotify/fsnotify"))
1765 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1766 (home-page "https://github.com/fsnotify/fsnotify")
1767 (synopsis "File system notifications for Go")
1768 (description "File system notifications for Go")
1769 (license license:bsd-3)))
1771 (define-public go-github-com-magiconair-properties
1773 (name "go-github-com-magiconair-properties")
1779 (url "https://github.com/magiconair/properties")
1780 (commit (string-append "v" version))))
1781 (file-name (git-file-name name version))
1784 "0q7d55z0v8y55dyy8nhgdnswf5zkgj3i87irbk294nvzhx01bnxd"))))
1785 (build-system go-build-system)
1787 `(#:import-path "github.com/magiconair/properties"))
1788 (home-page "https://github.com/magiconair/properties")
1789 (synopsis "Java properties scanner for Go")
1790 (description "Java properties scanner for Go")
1791 (license license:bsd-2)))
1793 (define-public go-github-com-pelletier-go-toml
1795 (name "go-github-com-pelletier-go-toml")
1801 (url "https://github.com/pelletier/go-toml")
1802 (commit (string-append "v" version))))
1803 (file-name (git-file-name name version))
1806 "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y"))))
1807 (build-system go-build-system)
1809 `(#:import-path "github.com/pelletier/go-toml"))
1811 `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml)
1812 ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1813 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1814 (home-page "https://github.com/pelletier/go-toml")
1815 (synopsis "Go library for the TOML configuration language")
1816 (description "Go library for the TOML configuration language")
1817 (license license:expat)))
1819 (define-public go-github-com-subosito-gotenv
1821 (name "go-github-com-subosito-gotenv")
1827 (url "https://github.com/subosito/gotenv")
1828 (commit (string-append "v" version))))
1829 (file-name (git-file-name name version))
1832 "0mav91j7r4arjkpq5zcf9j74f6pww8ic53x43wy7kg3ibw31yjs5"))))
1833 (build-system go-build-system)
1835 `(#:import-path "github.com/subosito/gotenv"))
1837 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1838 (home-page "https://github.com/subosito/gotenv")
1839 (synopsis "Go library for loading environment variables from files")
1840 (description "Go library for loading environment variables from files")
1841 (license license:expat)))
1843 (define-public go-github-com-sirupsen-logrus
1845 (name "go-github-com-sirupsen-logrus")
1851 (url "https://github.com/sirupsen/logrus")
1852 (commit (string-append "v" version))))
1853 (file-name (git-file-name name version))
1856 "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz"))))
1857 (build-system go-build-system)
1859 `(("go-golang-org-x-crypto"
1860 ,go-golang-org-x-crypto)
1861 ("go-github-com-stretchr-testify"
1862 ,go-github-com-stretchr-testify)
1863 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1865 '(#:tests? #f ;FIXME missing dependencies
1866 #:import-path "github.com/sirupsen/logrus"))
1867 (home-page "https://github.com/sirupsen/logrus")
1868 (synopsis "Structured, pluggable logging for Go")
1869 (description "Logrus is a structured logger for Go, completely API
1870 compatible with the standard library logger.")
1871 (license license:expat)))
1873 (define-public go-github-com-rifflock-lfshook
1875 (name "go-github-com-rifflock-lfshook")
1880 (url "https://github.com/rifflock/lfshook")
1881 (commit (string-append "v" version))))
1882 (file-name (git-file-name name version))
1885 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
1886 (build-system go-build-system)
1888 `(#:import-path "github.com/rifflock/lfshook"))
1890 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
1891 (home-page "https://github.com/rifflock/lfshook")
1892 (synopsis "Local File System hook for Logrus logger")
1893 (description "This package provides a hook for Logrus to write directly to
1894 a file on the file system. The log levels are dynamic at instantiation of the
1895 hook, so it is capable of logging at some or all levels.")
1896 (license license:expat)))
1898 (define-public go-github-com-kardianos-osext
1899 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
1902 (name "go-github-com-kardianos-osext")
1903 (version (git-version "0.0.0" revision commit))
1907 (url "https://github.com/kardianos/osext")
1909 (file-name (git-file-name name version))
1912 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
1913 (build-system go-build-system)
1915 `(#:import-path "github.com/kardianos/osext"
1916 ;; The tests are flaky:
1917 ;; <https://github.com/kardianos/osext/issues/21>
1919 (synopsis "Find the running executable")
1920 (description "Osext provides a method for finding the current executable
1921 file that is running. This can be used for upgrading the current executable or
1922 finding resources located relative to the executable file.")
1923 (home-page "https://github.com/kardianos/osext")
1924 (license license:bsd-3))))
1926 (define-public go-github-com-ayufan-golang-kardianos-service
1927 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
1930 (name "go-github-com-ayufan-golang-kardianos-service")
1931 (version (git-version "0.0.0" revision commit))
1937 "https://github.com/ayufan/golang-kardianos-service")
1939 (file-name (git-file-name name version))
1942 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
1943 (build-system go-build-system)
1945 `(("go-github-com-kardianos-osext"
1946 ,go-github-com-kardianos-osext)))
1948 '(#:tests? #f ;FIXME tests fail: Service is not running.
1949 #:import-path "github.com/ayufan/golang-kardianos-service"))
1950 (home-page "https://github.com/ayufan/golang-kardianos-service")
1951 (synopsis "Go interface to a variety of service supervisors")
1952 (description "This package provides @code{service}, a Go module that can
1953 run programs as a service using a variety of supervisors, including systemd,
1954 SysVinit, and more.")
1955 (license license:zlib))))
1957 (define-public go-github-com-docker-distribution
1958 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
1961 (name "go-github-com-docker-distribution")
1962 (version (git-version "0.0.0" revision commit))
1964 ;; FIXME: This bundles many things, see
1965 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
1969 (url "https://github.com/docker/distribution")
1971 (file-name (git-file-name name version))
1974 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
1975 (build-system go-build-system)
1977 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
1978 ("go-github-com-sirupsen-logrus"
1979 ,go-github-com-sirupsen-logrus)
1980 ("go-golang-org-x-crypto"
1981 ,go-golang-org-x-crypto)))
1983 '(#:import-path "github.com/docker/distribution"
1985 (modify-phases %standard-phases
1986 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1987 (lambda* (#:key outputs #:allow-other-keys)
1989 (make-file-writable file))
1991 (assoc-ref outputs "out")
1995 "https://github.com/docker/distribution")
1996 (synopsis "This package is a Docker toolset to pack, ship, store, and
1998 (description "Docker Distribution is a Docker toolset to pack, ship,
1999 store, and deliver content. It contains Docker Registry 2.0 and libraries
2000 to interact with distribution components.")
2001 (license license:asl2.0))))
2003 (define-public go-github-com-docker-go-connections
2004 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
2007 (name "go-github-com-docker-go-connections")
2008 (version (git-version "0.0.0" revision commit))
2013 (url "https://github.com/docker/go-connections")
2015 (file-name (git-file-name name version))
2018 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
2019 (build-system go-build-system)
2021 '(#:import-path "github.com/docker/go-connections"))
2022 (home-page "https://github.com/docker/go-connections")
2023 (synopsis "Networking library for Go")
2025 "This package provides a library to work with network connections in
2026 the Go language. In particular it provides tools to deal with network address
2027 translation (NAT), proxies, sockets, and transport layer security (TLS).")
2028 (license license:asl2.0))))
2030 (define-public go-github-com-docker-machine
2031 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
2034 (name "go-github-com-docker-machine")
2035 (version (git-version "0.0.0" revision commit))
2040 (url "https://github.com/docker/machine")
2042 (file-name (git-file-name name version))
2045 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
2046 (build-system go-build-system)
2048 '(#:import-path "github.com/docker/machine"))
2049 (home-page "https://github.com/docker/machine")
2050 (synopsis "Machine management for a container-centric world")
2052 "@dfn{Machine} lets you create Docker hosts on your computer, on
2053 hosting providers, and inside your data center. It creates servers, installs
2054 Docker on them, then configures the Docker client to talk to them.")
2055 (license license:asl2.0))))
2057 (define-public go-github-com-gorhill-cronexpr
2058 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
2061 (name "go-github-com-gorhill-cronexpr")
2062 (version (git-version "0.0.0" revision commit))
2067 (url "https://github.com/gorhill/cronexpr")
2069 (file-name (git-file-name name version))
2072 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
2073 (build-system go-build-system)
2075 '(#:import-path "github.com/gorhill/cronexpr"))
2076 (home-page "https://github.com/gorhill/cronexpr")
2077 (synopsis "Cron expression parser in the Go language")
2079 "This package provides a cron expression parser in the Go language.
2080 Given a cron expression and a time stamp, you can get the next time stamp
2081 which satisfies the cron expression.")
2082 (license (list license:gpl3+
2085 (define-public go-gopkg-in-check-v1
2086 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
2089 (name "go-gopkg-in-check-v1")
2090 (version (git-version "1.0.0" revision commit))
2095 (url "https://github.com/go-check/check")
2097 (file-name (git-file-name name version))
2100 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
2101 (build-system go-build-system)
2103 '(#:import-path "gopkg.in/check.v1"))
2105 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
2106 (home-page "https://gopkg.in/check.v1")
2107 (synopsis "Test framework for the Go language")
2108 (description "This package provides a test library for the Go language.")
2109 (license license:asl2.0))))
2111 (define-public go-gopkg-in-ini-v1
2113 (name "go-gopkg-in-ini-v1")
2119 (url "https://github.com/go-ini/ini")
2120 (commit (string-append "v" version))))
2121 (file-name (git-file-name name version))
2124 "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5"))))
2125 (build-system go-build-system)
2127 '(#:import-path "gopkg.in/ini.v1"
2128 ;; Requires large unpackaged test framework
2130 (home-page "https://gopkg.in/ini.v1")
2131 (synopsis "Go library for ini files")
2132 (description "Go library for ini files")
2133 (license license:asl2.0)))
2135 (define-public go-gopkg-in-yaml-v2
2137 (name "go-gopkg-in-yaml-v2")
2143 (url "https://gopkg.in/yaml.v2.git")
2144 (commit (string-append "v" version))))
2145 (file-name (git-file-name name version))
2148 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
2149 (build-system go-build-system)
2151 '(#:import-path "gopkg.in/yaml.v2"))
2153 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
2154 (home-page "https://gopkg.in/yaml.v2")
2155 (synopsis "YAML reader and writer for the Go language")
2157 "This package provides a Go library for encode and decode YAML
2159 (license license:asl2.0)))
2161 (define-public go-github-com-mattn-go-isatty
2163 (name "go-github-com-mattn-go-isatty")
2169 (url "https://github.com/mattn/go-isatty")
2170 (commit (string-append "v" version))))
2171 (file-name (git-file-name name version))
2174 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
2175 (build-system go-build-system)
2177 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
2179 '(#:import-path "github.com/mattn/go-isatty"))
2180 (home-page "https://github.com/mattn/go-isatty")
2181 (synopsis "Provide @code{isatty} for Golang")
2182 (description "This package provides @code{isatty}, a Go module that can
2183 tell you whether a file descriptor points to a terminal and the type of the
2185 (license license:expat)))
2187 (define-public go-github-com-mattn-go-colorable
2189 (name "go-github-com-mattn-go-colorable")
2191 (home-page "https://github.com/mattn/go-colorable")
2197 (commit (string-append "v" version))))
2198 (file-name (git-file-name name version))
2201 "0q34zqwbnls72md8q8mhj368s7p3i4xspvs3rk8fs76s0pn7dr2l"))))
2202 (build-system go-build-system)
2204 `(("go-github-com-mattn-go-isatty"
2205 ,go-github-com-mattn-go-isatty)))
2207 '(#:import-path "github.com/mattn/go-colorable"))
2208 (synopsis "Handle ANSI color escapes on Windows")
2209 (description "This package provides @code{colorable}, a module that
2210 makes it possible to handle ANSI color escapes on Windows.")
2211 (license license:expat)))
2213 (define-public go-github-com-mattn-go-pointer
2214 (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
2217 (name "go-github-com-mattn-go-pointer")
2218 (version (git-version "0.0.0" revision commit))
2223 (url "https://github.com/mattn/go-pointer")
2227 "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
2228 (file-name (git-file-name name version))))
2229 (build-system go-build-system)
2231 '(#:import-path "github.com/mattn/go-pointer"))
2232 (home-page "https://github.com/mattn/go-pointer")
2233 (synopsis "Utility for cgo")
2235 "This package allows for a cgo argument to be passed a Go pointer.")
2236 (license license:expat))))
2238 (define-public go-github-com-mgutz-ansi
2239 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
2242 (name "go-github-com-mgutz-ansi")
2243 (version (git-version "0.0.0" revision commit))
2249 "https://github.com/mgutz/ansi")
2251 (file-name (git-file-name name version))
2254 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
2255 (build-system go-build-system)
2257 `(("go-github-com-mattn-go-isatty"
2258 ,go-github-com-mattn-go-isatty)
2259 ("go-github-com-mattn-go-colorable"
2260 ,go-github-com-mattn-go-colorable)))
2262 '(#:import-path "github.com/mgutz/ansi"))
2263 (home-page "https://github.com/mgutz/ansi")
2264 (synopsis "Small, fast library to create ANSI colored strings and codes")
2265 (description "This package provides @code{ansi}, a Go module that can
2266 generate ANSI colored strings.")
2267 (license license:expat))))
2269 (define-public go-github-com-aarzilli-golua
2270 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
2273 (name "go-github-com-aarzilli-golua")
2274 (version (git-version "0.0.0" revision commit))
2280 "https://github.com/aarzilli/golua")
2282 (file-name (git-file-name name version))
2285 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
2286 (build-system go-build-system)
2287 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2288 ;; when this package required as input for another one, it will have to
2289 ;; be built again. Thus its CGO requirements must be made available in
2290 ;; the environment, that is, they must be propagated.
2294 `(#:unpack-path "github.com/aarzilli/golua"
2295 #:import-path "github.com/aarzilli/golua/lua"
2297 (modify-phases %standard-phases
2298 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
2299 ;; command line argument, go-1.10+ does not re-use the produced pkg
2300 ;; for dependencies, which means we would need to propagate the
2301 ;; same "-tags" argument to all golua referrers. A substitution is
2302 ;; more convenient here. We also need to propagate the lua
2303 ;; dependency to make it available to referrers.
2304 (add-after 'unpack 'fix-lua-ldflags
2306 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
2307 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
2308 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
2309 (home-page "https://github.com/aarzilli/golua")
2310 (synopsis "Go Bindings for the Lua C API")
2311 (description "This package provides @code{lua}, a Go module that can
2312 run a Lua virtual machine.")
2313 (license license:expat))))
2315 (define-public go-gitlab-com-ambrevar-golua-unicode
2316 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
2319 (name "go-gitlab-com-ambrevar-golua-unicode")
2320 (version (git-version "0.0.0" revision commit))
2326 "https://gitlab.com/ambrevar/golua")
2328 (file-name (git-file-name name version))
2331 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
2332 (build-system go-build-system)
2335 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2337 `(#:unpack-path "gitlab.com/ambrevar/golua"
2338 #:import-path "gitlab.com/ambrevar/golua/unicode"
2340 (modify-phases %standard-phases
2342 (lambda* (#:key import-path #:allow-other-keys)
2343 (setenv "USER" "homeless-dude")
2344 (invoke "go" "test" import-path))))))
2345 (home-page "https://gitlab.com/ambrevar/golua")
2346 (synopsis "Add Unicode support to Golua")
2347 (description "This extension to Arzilli's Golua adds Unicode support to
2348 all functions from the Lua string library. Lua patterns are replaced by Go
2349 regexps. This breaks compatibility with Lua, but Unicode support breaks it
2350 anyways and Go regexps are more powerful.")
2351 (license license:expat))))
2353 (define-public go-github-com-yookoala-realpath
2354 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
2357 (name "go-github-com-yookoala-realpath")
2358 (version (git-version "0.0.0" revision commit))
2364 "https://github.com/yookoala/realpath")
2366 (file-name (git-file-name name version))
2369 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
2370 (build-system go-build-system)
2372 `(#:import-path "github.com/yookoala/realpath"))
2373 (home-page "https://github.com/yookoala/realpath")
2374 (synopsis "@code{realpath} for Golang")
2375 (description "This package provides @code{realpath}, a Go module that
2376 when provided with a valid relative path / alias path, it will return you with
2377 a string of its real absolute path in the system.")
2378 (license license:expat))))
2380 (define-public go-gitlab-com-ambrevar-damerau
2381 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
2384 (name "go-gitlab-com-ambrevar-damerau")
2385 (version (git-version "0.0.0" revision commit))
2391 "https://gitlab.com/ambrevar/damerau")
2393 (file-name (git-file-name name version))
2396 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
2397 (build-system go-build-system)
2399 `(#:import-path "gitlab.com/ambrevar/damerau"))
2400 (home-page "https://gitlab.com/ambrevar/damerau")
2401 (synopsis "Damerau-Levenshtein distance for Golang")
2402 (description "This is a spelling corrector implementing the
2403 Damerau-Levenshtein distance. Takes a string value input from the user.
2404 Looks for an identical word on a list of words, if none is found, look for a
2406 (license license:expat))))
2408 (define-public go-github-com-stevedonovan-luar
2409 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
2412 (name "go-github-com-stevedonovan-luar")
2413 (version (git-version "0.0.0" revision commit))
2419 "https://github.com/stevedonovan/luar")
2421 (file-name (git-file-name name version))
2424 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
2425 (build-system go-build-system)
2427 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2429 `(#:tests? #f ; Upstream tests are broken.
2430 #:import-path "github.com/stevedonovan/luar"))
2431 (home-page "https://github.com/stevedonovan/luar")
2432 (synopsis "Lua reflection bindings for Go")
2433 (description "Luar is designed to make using Lua from Go more
2434 convenient. Go structs, slices and maps can be automatically converted to Lua
2435 tables and vice-versa. The resulting conversion can either be a copy or a
2436 proxy. In the latter case, any change made to the result will reflect on the
2439 Any Go function can be made available to Lua scripts, without having to write
2442 Luar support cyclic structures (lists, etc.).
2444 User-defined types can be made available to Lua as well: their exported
2445 methods can be called and usual operations such as indexing or arithmetic can
2447 (license license:expat))))
2449 (define-public go-github-com-michiwend-golang-pretty
2450 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
2453 (name "go-github-com-michiwend-golang-pretty")
2454 (version (git-version "0.0.0" revision commit))
2460 "https://github.com/michiwend/golang-pretty")
2462 (file-name (git-file-name name version))
2465 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
2466 (build-system go-build-system)
2468 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
2470 `(#:tests? #f ; Upstream tests seem to be broken.
2471 #:import-path "github.com/michiwend/golang-pretty"))
2472 (home-page "https://github.com/michiwend/golang-pretty")
2473 (synopsis "Pretty printing for Go values")
2474 (description "Package @code{pretty} provides pretty-printing for Go
2475 values. This is useful during debugging, to avoid wrapping long output lines
2478 It provides a function, @code{Formatter}, that can be used with any function
2479 that accepts a format string. It also provides convenience wrappers for
2480 functions in packages @code{fmt} and @code{log}.")
2481 (license license:expat))))
2483 (define-public go-github-com-michiwend-gomusicbrainz
2484 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
2487 (name "go-github-com-michiwend-gomusicbrainz")
2488 (version (git-version "0.0.0" revision commit))
2494 "https://github.com/michiwend/gomusicbrainz")
2496 (file-name (git-file-name name version))
2499 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
2500 (build-system go-build-system)
2502 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
2503 ("go-github-com-kr-text" ,go-github-com-kr-text)))
2505 `(#:import-path "github.com/michiwend/gomusicbrainz"))
2506 (home-page "https://github.com/michiwend/gomusicbrainz")
2507 (synopsis "MusicBrainz WS2 client library for Golang")
2508 (description "Currently GoMusicBrainz provides methods to perform search
2509 and lookup requests. Browse requests are not supported yet.")
2510 (license license:expat))))
2512 (define-public go-github-com-wtolson-go-taglib
2513 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
2516 (name "go-github-com-wtolson-go-taglib")
2517 (version (git-version "0.0.0" revision commit))
2523 "https://github.com/wtolson/go-taglib")
2525 (file-name (git-file-name name version))
2528 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
2529 (build-system go-build-system)
2530 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2531 ;; when this package required as input for another one, it will have to
2532 ;; be built again. Thus its CGO requirements must be made available in
2533 ;; the environment, that is, they must be propagated.
2535 `(("pkg-config" ,pkg-config)
2536 ("taglib" ,taglib)))
2538 `(#:import-path "github.com/wtolson/go-taglib"
2539 ;; Tests don't pass "vet" on Go since 1.11. See
2540 ;; https://github.com/wtolson/go-taglib/issues/12.
2542 (modify-phases %standard-phases
2544 (lambda* (#:key import-path #:allow-other-keys)
2548 (home-page "https://github.com/wtolson/go-taglib")
2549 (synopsis "Go wrapper for taglib")
2550 (description "Go wrapper for taglib")
2551 (license license:unlicense))))
2553 (define-public go-github-com-gogo-protobuf
2555 (name "go-github-com-gogo-protobuf")
2560 (url "https://github.com/gogo/protobuf")
2561 (commit (string-append "v" version))))
2562 (file-name (git-file-name name version))
2565 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
2566 (build-system go-build-system)
2568 `(#:import-path "github.com/gogo/protobuf"
2569 ; Source-only package
2572 (modify-phases %standard-phases
2574 (synopsis "Protocol Buffers for Go with Gadgets")
2575 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
2576 generation features. This code generation is used to achieve:
2578 @item fast marshalling and unmarshalling
2579 @item more canonical Go structures
2580 @item goprotobuf compatibility
2581 @item less typing by optionally generating extra helper code
2582 @item peace of mind by optionally generating test and benchmark code
2583 @item other serialization formats
2585 (home-page "https://github.com/gogo/protobuf")
2586 (license license:bsd-3)))
2588 (define-public go-github-com-libp2p-go-flow-metrics
2589 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
2592 (name "go-github-com-libp2p-go-flow-metrics")
2593 (version (git-version "0.2.0" revision commit))
2598 (url "https://github.com/libp2p/go-flow-metrics")
2600 (file-name (git-file-name name version))
2603 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
2604 (build-system go-build-system)
2606 `(#:import-path "github.com/libp2p/go-flow-metrics"
2607 ;; TODO: Tests hang.
2610 "https://github.com/libp2p/go-flow-metrics")
2611 (synopsis "Simple library for tracking flow metrics")
2612 (description "A simple alternative to rcrowley's @command{go-metrics}
2613 that's a lot faster (and only does simple bandwidth metrics).")
2614 (license license:expat))))
2616 (define-public go-github-com-davecgh-go-spew
2618 (name "go-github-com-davecgh-go-spew")
2624 (url "https://github.com/davecgh/go-spew")
2625 (commit (string-append "v" version))))
2626 (file-name (git-file-name name version))
2629 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
2630 (build-system go-build-system)
2632 '(#:unpack-path "github.com/davecgh/go-spew"
2633 #:import-path "github.com/davecgh/go-spew/spew"))
2634 (home-page "https://github.com/davecgh/go-spew")
2635 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
2636 (description "Package @command{spew} implements a deep pretty printer
2637 for Go data structures to aid in debugging.
2639 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
2642 @item Pointers are dereferenced and followed.
2643 @item Circular data structures are detected and handled properly.
2644 @item Custom Stringer/error interfaces are optionally invoked, including on
2646 @item Custom types which only implement the Stringer/error interfaces via a
2647 pointer receiver are optionally invoked when passing non-pointer variables.
2648 @item Byte arrays and slices are dumped like the hexdump -C command which
2649 includes offsets, byte values in hex, and ASCII output (only when using Dump
2652 (license license:isc)))
2654 (define-public go-github-com-btcsuite-btclog
2655 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
2658 (name "go-github-com-btcsuite-btclog")
2659 (version (git-version "0.0.3" revision commit))
2664 (url "https://github.com/btcsuite/btclog")
2666 (file-name (git-file-name name version))
2669 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
2670 (build-system go-build-system)
2672 '(#:import-path "github.com/btcsuite/btclog"))
2673 (home-page "https://github.com/btcsuite/btclog")
2674 (synopsis "Subsystem aware logger for Go")
2675 (description "Package @command{btclog} defines a logger interface and
2676 provides a default implementation of a subsystem-aware leveled logger
2677 implementing the same interface.")
2678 (license license:isc))))
2680 (define-public go-github-com-btcsuite-btcd-btcec
2681 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
2684 (name "go-github-com-btcsuite-btcd-btcec")
2685 (version (git-version "0.12.0-beta" revision commit))
2690 (url "https://github.com/btcsuite/btcd")
2692 (file-name (git-file-name name version))
2695 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
2696 (build-system go-build-system)
2698 '(#:unpack-path "github.com/btcsuite/btcd"
2699 #:import-path "github.com/btcsuite/btcd/btcec"))
2701 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
2702 (home-page "https://github.com/btcsuite/btcd")
2703 (synopsis "Elliptic curve cryptography to work with Bitcoin")
2704 (description "Package @command{btcec} implements elliptic curve
2705 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
2706 designed so that it may be used with the standard crypto/ecdsa packages
2707 provided with Go. A comprehensive suite of test is provided to ensure proper
2708 functionality. Package @command{btcec} was originally based on work from
2709 ThePiachu which is licensed under the same terms as Go, but it has
2710 significantly diverged since then. The @command{btcsuite} developers original
2711 is licensed under the liberal ISC license.
2713 Although this package was primarily written for btcd, it has intentionally
2714 been designed so it can be used as a standalone package for any projects
2715 needing to use secp256k1 elliptic curve cryptography.")
2716 (license license:isc))))
2718 (define-public go-github-com-minio-sha256-simd
2720 (name "go-github-com-minio-sha256-simd")
2726 (url "https://github.com/minio/sha256-simd")
2727 (commit (string-append "v" version))))
2728 (file-name (git-file-name name version))
2731 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
2732 (build-system go-build-system)
2734 '(#:import-path "github.com/minio/sha256-simd"))
2735 (home-page "https://github.com/minio/sha256-simd")
2736 (synopsis "Accelerate SHA256 computations in pure Go")
2737 (description "Accelerate SHA256 computations in pure Go using AVX512 and
2738 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
2739 improvement (over 3 GB/s per core) in comparison to AVX2.
2741 This package is designed as a replacement for @command{crypto/sha256}. For
2742 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
2743 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
2744 of the SHA2 instructions resulting in a massive performance improvement.
2746 This package uses Golang assembly. The AVX512 version is based on the Intel's
2747 \"multi-buffer crypto library for IPSec\" whereas the other Intel
2748 implementations are described in \"Fast SHA-256 Implementations on Intel
2749 Architecture Processors\" by J. Guilford et al.")
2750 (license license:asl2.0)))
2752 (define-public go-github-com-libp2p-go-libp2p-crypto
2753 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
2756 (name "go-github-com-libp2p-go-libp2p-crypto")
2757 (version (git-version "2.0.1" revision commit))
2762 (url "https://github.com/libp2p/go-libp2p-crypto")
2764 (file-name (git-file-name name version))
2767 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
2768 (build-system go-build-system)
2770 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
2772 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2773 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2774 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2775 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
2777 "https://github.com/libp2p/go-libp2p-crypto")
2778 (synopsis "Various cryptographic utilities used by IPFS")
2779 (description "Various cryptographic utilities used by IPFS")
2780 (license license:expat))))
2782 (define-public go-github-com-mr-tron-base58
2783 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
2786 (name "go-github-com-mr-tron-base58")
2787 (version (git-version "1.1.0" revision commit))
2792 (url "https://github.com/mr-tron/base58")
2794 (file-name (git-file-name name version))
2797 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
2798 (build-system go-build-system)
2800 `(#:unpack-path "github.com/mr-tron/base58"
2801 #:import-path "github.com/mr-tron/base58/base58"))
2802 (home-page "https://github.com/mr-tron/base58")
2803 (synopsis "Fast implementation of base58 encoding on Golang")
2804 (description "Fast implementation of base58 encoding on Golang. A
2805 trivial @command{big.Int} encoding benchmark results in 6 times faster
2806 encoding and 8 times faster decoding.")
2807 (license license:expat))))
2809 (define-public go-github-com-gxed-hashland-keccakpg
2810 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
2813 (name "go-github-com-gxed-hashland-keccakpg")
2814 (version (git-version "0.0.0" revision commit))
2819 (url "https://github.com/gxed/hashland")
2821 (file-name (git-file-name name version))
2824 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
2825 (build-system go-build-system)
2827 '(#:unpack-path "github.com/gxed/hashland"
2828 #:import-path "github.com/gxed/hashland/keccakpg"))
2829 (home-page "https://github.com/gxed/hashland")
2830 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
2831 (description "Package @command{keccak} implements the Keccak (SHA-3)
2832 hash algorithm. See http://keccak.noekeon.org.")
2833 (license license:expat))))
2835 (define-public go-github-com-minio-blake2b-simd
2836 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
2839 (name "go-github-com-minio-blake2b-simd")
2840 (version (git-version "0.0.0" revision commit))
2845 (url "https://github.com/minio/blake2b-simd")
2847 (file-name (git-file-name name version))
2850 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
2851 (build-system go-build-system)
2853 '(#:import-path "github.com/minio/blake2b-simd"))
2854 (home-page "https://github.com/minio/blake2b-simd")
2855 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
2856 (description "This package was initially based on the pure go BLAKE2b
2857 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
2858 optimized BLAKE2 implementation (which in turn is based on the official
2859 implementation. It does so by using Go's Assembler for amd64 architectures
2860 with a golang only fallback for other architectures.
2862 In addition to AVX there is also support for AVX2 as well as SSE. Best
2863 performance is obtained with AVX2 which gives roughly a 4X performance
2864 increase approaching hashing speeds of 1GB/sec on a single core.")
2865 (license license:asl2.0))))
2867 (define-public go-github-com-spaolacci-murmur3
2869 (name "go-github-com-spaolacci-murmur3")
2875 (url "https://github.com/spaolacci/murmur3")
2876 (commit (string-append "v" version))))
2877 (file-name (git-file-name name version))
2880 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
2881 (build-system go-build-system)
2883 '(#:import-path "github.com/spaolacci/murmur3"))
2884 (home-page "https://github.com/spaolacci/murmur3")
2885 (synopsis "Native MurmurHash3 Go implementation")
2886 (description "Native Go implementation of Austin Appleby's third MurmurHash
2887 revision (aka MurmurHash3).
2889 Reference algorithm has been slightly hacked as to support the streaming mode
2890 required by Go's standard Hash interface.")
2891 (license license:bsd-3)))
2893 (define-public go-github-com-twmb-murmur3
2895 (name "go-github-com-twmb-murmur3")
2901 (url "https://github.com/twmb/murmur3")
2902 (commit (string-append "v" version))))
2903 (file-name (git-file-name name version))
2906 "00riapwkyf23l5wyis47mbr8rwr4yrjw491jfc30wpzs111c1gyy"))))
2907 (build-system go-build-system)
2909 '(#:import-path "github.com/twmb/murmur3"))
2910 (home-page "https://github.com/twmb/murmur3")
2911 (synopsis "Native MurmurHash3 Go implementation")
2912 (description "Native Go implementation of Austin Appleby's third
2913 MurmurHash revision (aka MurmurHash3).
2915 Reference algorithm has been slightly hacked as to support the streaming mode
2916 required by Go's standard Hash interface.")
2917 (license license:bsd-3)))
2919 (define-public go-github-com-multiformats-go-multihash
2920 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
2923 (name "go-github-com-multiformats-go-multihash")
2924 (version (git-version "1.0.8" revision commit))
2929 (url "https://github.com/multiformats/go-multihash")
2931 (file-name (git-file-name name version))
2934 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
2935 (build-system go-build-system)
2937 '(#:import-path "github.com/multiformats/go-multihash"))
2939 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2940 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2941 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2942 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2943 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2944 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2945 (home-page "https://github.com/multiformats/go-multihash")
2946 (synopsis "Multihash implementation in Go")
2947 (description "Multihash implementation in Go.")
2948 (license license:expat))))
2950 (define-public go-github-com-libp2p-go-libp2p-peer
2951 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
2954 (name "go-github-com-libp2p-go-libp2p-peer")
2955 (version (git-version "2.3.8" revision commit))
2960 (url "https://github.com/libp2p/go-libp2p-peer")
2962 (file-name (git-file-name name version))
2965 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
2966 (build-system go-build-system)
2968 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
2970 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2971 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2972 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2973 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2974 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2975 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2976 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2977 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2978 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2979 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2980 (home-page "https://github.com/libp2p/go-libp2p-peer")
2981 (synopsis "PKI based identities for use in go-libp2p")
2982 (description "PKI based identities for use in @command{go-libp2p}.")
2983 (license license:expat))))
2985 (define-public go-github-com-libp2p-go-libp2p-protocol
2986 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
2989 (name "go-github-com-libp2p-go-libp2p-protocol")
2990 (version (git-version "1.0.0" revision commit))
2995 (url "https://github.com/libp2p/go-libp2p-protocol")
2997 (file-name (git-file-name name version))
3000 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
3001 (build-system go-build-system)
3004 "github.com/libp2p/go-libp2p-protocol"))
3005 (home-page "https://github.com/libp2p/go-libp2p-protocol")
3006 (synopsis "Type for protocol strings in Golang")
3007 (description "Just a type for protocol strings. Nothing more.")
3008 (license license:expat))))
3010 (define-public go-github-com-libp2p-go-libp2p-metrics
3011 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
3014 (name "go-github-com-libp2p-go-libp2p-metrics")
3015 (version (git-version "2.1.6" revision commit))
3020 (url "https://github.com/libp2p/go-libp2p-metrics")
3022 (file-name (git-file-name name version))
3025 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
3026 (build-system go-build-system)
3028 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
3030 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
3031 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
3032 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
3033 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
3034 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3035 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
3036 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
3037 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
3038 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3039 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3040 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3041 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3042 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3043 (home-page "https://github.com/libp2p/go-libp2p-metrics")
3044 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
3045 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
3046 statistics for wrapped connections.")
3047 (license license:expat))))
3049 (define-public go-github-com-mitchellh-go-homedir
3050 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
3053 (name "go-github-com-mitchellh-go-homedir")
3054 (version (git-version "1.0.0" revision commit))
3059 (url "https://github.com/mitchellh/go-homedir")
3061 (file-name (git-file-name name version))
3064 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
3065 (build-system go-build-system)
3067 (quote (#:import-path "github.com/mitchellh/go-homedir"
3068 ;; TODO: Tests fail because it tries to access home.
3070 (home-page "https://github.com/mitchellh/go-homedir")
3071 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
3072 (description "This is a Go library for detecting the user's home
3073 directory without the use of @command{cgo}, so the library can be used in
3074 cross-compilation environments.
3076 Usage is simple, just call homedir.Dir() to get the home directory for a user,
3077 and homedir.Expand() to expand the @command{~} in a path to the home
3080 Why not just use @command{os/user}? The built-in @command{os/user} package
3081 requires cgo on Darwin systems. This means that any Go code that uses that
3082 package cannot cross compile. But 99% of the time the use for
3083 @command{os/user} is just to retrieve the home directory, which we can do for
3084 the current user without cgo. This library does that, enabling
3085 cross-compilation.")
3086 (license license:expat))))
3088 (define-public go-github-com-mitchellh-mapstructure
3090 (name "go-github-com-mitchellh-mapstructure")
3091 (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0
3096 (url "https://github.com/mitchellh/mapstructure")
3097 (commit (string-append "v" version))))
3098 (file-name (git-file-name name version))
3101 "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"))))
3102 (build-system go-build-system)
3104 `(#:import-path "github.com/mitchellh/mapstructure"))
3105 (home-page "https://github.com/mitchellh/mapstructure")
3106 (synopsis "Go library for decoding generic map values")
3107 (description "Go library for decoding generic map values")
3108 (license license:expat)))
3110 (define-public go-github-com-mitchellh-reflectwalk
3112 (name "go-github-com-mitchellh-reflectwalk")
3117 (url "https://github.com/mitchellh/reflectwalk")
3118 (commit (string-append "v" version))))
3119 (file-name (git-file-name name version))
3122 "0pa6a3nhzwv5s5yqcmsmsfhdp5ggxsg2wa86f3akawxrhrkjarnx"))))
3123 (build-system go-build-system)
3125 `(#:import-path "github.com/mitchellh/reflectwalk"))
3126 (home-page "https://github.com/mitchellh/reflectwalk/")
3127 (synopsis "Walk a value in Go using reflection")
3128 (description "reflectwalk is a Go library for \"walking\" a value in Go
3129 using reflection, in the same way a directory tree can be \"walked\" on the
3130 file system. Walking a complex structure can allow you to do manipulations on
3131 unknown structures such as those decoded from JSON.")
3132 (license license:expat)))
3134 (define-public go-github-com-mitchellh-copystructure
3136 (name "go-github-com-mitchellh-copystructure")
3142 (url "https://github.com/mitchellh/copystructure")
3143 (commit (string-append "v" version))))
3144 (file-name (git-file-name name version))
3147 "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
3148 (build-system go-build-system)
3150 `(#:import-path "github.com/mitchellh/copystructure"))
3152 `(("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)))
3153 (home-page "https://github.com/mitchellh/copystructure")
3154 (synopsis "Go library for decoding deep copying values")
3155 (description "@code{copystructure} is a Go library for deep copying values
3158 This allows you to copy Go values that may contain reference values such as
3159 maps, slices, or pointers, and copy their data as well instead of just their
3161 (license license:expat)))
3163 (define-public go-github-com-multiformats-go-multiaddr
3164 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
3167 (name "go-github-com-multiformats-go-multiaddr")
3168 (version (git-version "1.3.0" revision commit))
3173 (url "https://github.com/multiformats/go-multiaddr")
3175 (file-name (git-file-name name version))
3178 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
3179 (build-system go-build-system)
3182 "github.com/multiformats/go-multiaddr"))
3184 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
3185 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3186 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3187 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3188 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3189 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3190 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3191 (home-page "https://github.com/multiformats/go-multiaddr")
3192 (synopsis "Composable and future-proof network addresses")
3193 (description "Multiaddr is a standard way to represent addresses that
3197 @item Support any standard network protocols.
3198 @item Self-describe (include protocols).
3199 @item Have a binary packed format.
3200 @item Have a nice string representation.
3201 @item Encapsulate well.
3203 (license license:expat))))
3205 (define-public go-github-com-multiformats-go-multiaddr-net
3206 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
3209 (name "go-github-com-multiformats-go-multiaddr-net")
3210 (version (git-version "1.6.3" revision commit))
3215 (url "https://github.com/multiformats/go-multiaddr-net")
3217 (file-name (git-file-name name version))
3220 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
3221 (build-system go-build-system)
3223 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
3224 ;; TODO: Tests fail because they try to access the network.
3227 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
3228 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
3229 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
3230 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
3231 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
3232 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
3233 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
3234 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3235 (home-page "https://github.com/multiformats/go-multiaddr-net")
3236 (synopsis "Multiaddress net tools")
3237 (description "This package provides Multiaddr specific versions of
3238 common functions in stdlib's @command{net} package. This means wrappers of
3239 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
3240 as conversion to and from @command{net.Addr}.")
3241 (license license:expat))))
3243 (define-public go-github-com-whyrusleeping-tar-utils
3244 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
3247 (name "go-github-com-whyrusleeping-tar-utils")
3248 (version (git-version "0.0.0" revision commit))
3253 (url "https://github.com/whyrusleeping/tar-utils")
3255 (file-name (git-file-name name version))
3258 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
3259 (build-system go-build-system)
3262 "github.com/whyrusleeping/tar-utils"))
3263 (home-page "https://github.com/whyrusleeping/tar-utils")
3264 (synopsis "Tar utilities extracted from go-ipfs codebase")
3265 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
3266 (license license:expat))))
3268 (define-public go-github-com-cheekybits-is
3269 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
3272 (name "go-github-com-cheekybits-is")
3273 (version (git-version "0.0.0" revision commit))
3278 (url "https://github.com/cheekybits/is")
3280 (file-name (git-file-name name version))
3283 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
3284 (build-system go-build-system)
3286 '(#:import-path "github.com/cheekybits/is"))
3287 (home-page "https://github.com/cheekybits/is")
3288 (synopsis "Mini testing helper for Go")
3289 (description "A mini testing helper for Go.
3292 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
3293 @item It plugs into existing Go toolchain (uses @command{testing.T}).
3294 @item It's obvious for newcomers.
3295 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
3296 - because testing panics is ugly.
3298 (license license:expat))))
3300 (define-public go-github-com-sabhiram-go-gitignore
3301 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
3304 (name "go-github-com-sabhiram-go-gitignore")
3305 (version (git-version "1.0.2" revision commit))
3310 (url "https://github.com/sabhiram/go-gitignore")
3312 (file-name (git-file-name name version))
3315 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
3316 (build-system go-build-system)
3319 "github.com/sabhiram/go-gitignore"))
3321 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3322 (home-page "https://github.com/sabhiram/go-gitignore")
3323 (synopsis "Gitignore parser for Go")
3324 (description "A @command{.gitignore} parser for Go.")
3325 (license license:expat))))
3327 (define-public go-github-com-urfave-cli
3329 (name "go-github-com-urfave-cli")
3335 (url "https://github.com/urfave/cli")
3336 (commit (string-append "v" version))))
3337 (file-name (git-file-name name version))
3340 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
3341 (build-system go-build-system)
3343 '(#:import-path "github.com/urfave/cli"))
3345 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
3346 (home-page "https://github.com/urfave/cli")
3347 (synopsis "Simple, fast, and fun package for building command line apps in Go")
3348 (description "@command{cli} is a simple, fast, and fun package for
3349 building command line apps in Go. The goal is to enable developers to write
3350 fast and distributable command line applications in an expressive way.")
3351 (license license:expat)))
3353 (define-public go-github-com-go-md2man
3355 (name "go-github-com-go-md2man")
3361 (url "https://github.com/cpuguy83/go-md2man")
3362 (commit (string-append "v" version))))
3363 (file-name (git-file-name name version))
3366 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
3367 (modules '((guix build utils)))
3369 (delete-file-recursively "vendor")
3371 (build-system go-build-system)
3373 '(#:import-path "github.com/cpuguy83/go-md2man"))
3375 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
3376 (home-page "https://github.com/cpuguy83/go-md2man")
3377 (synopsis "Convert markdown into roff")
3378 (description "Go-md2man is a Go program that converts markdown to roff for
3379 the purpose of building man pages.")
3380 (license license:expat)))
3382 (define-public go-github-com-russross-blackfriday
3384 (name "go-github-com-russross-blackfriday")
3390 (url "https://github.com/russross/blackfriday")
3391 (commit (string-append "v" version))))
3392 (file-name (git-file-name name version))
3395 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
3396 (build-system go-build-system)
3398 '(#:import-path "github.com/russross/blackfriday"))
3400 `(("go-github-com-shurcool-sanitized-anchor-name"
3401 ,go-github-com-shurcool-sanitized-anchor-name)))
3403 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
3404 (home-page "https://github.com/russross/blackfriday")
3405 (synopsis "Markdown processor in Go")
3406 (description "Blackfriday is a Markdown processor in Go.")
3407 (license license:bsd-2)))
3409 (define-public go-github-com-shurcool-sanitized-anchor-name
3411 (name "go-github-com-shurcool-sanitized-anchor-name")
3417 (url "https://github.com/shurcooL/sanitized_anchor_name")
3418 (commit (string-append "v" version))))
3419 (file-name (git-file-name name version))
3422 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
3423 (build-system go-build-system)
3425 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
3426 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
3427 (synopsis "Create sanitized anchor names")
3428 (description "This package provides a Go program for creating sanitized
3430 (license license:expat)))
3432 (define-public go-github-com-pmezard-go-difflib
3434 (name "go-github-com-pmezard-go-difflib")
3439 (url "https://github.com/pmezard/go-difflib")
3440 (commit (string-append "v" version))))
3441 (file-name (git-file-name name version))
3444 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
3445 (build-system go-build-system)
3447 '(#:import-path "github.com/pmezard/go-difflib/difflib"
3448 #:unpack-path "github.com/pmezard/go-difflib/"))
3449 (home-page "https://github.com/pmezard/go-difflib")
3450 (synopsis "Go diff implementation")
3451 (description "This package provides unified and context-aware diffs in Go.")
3452 (license license:bsd-3)))
3454 (define-public go-github-com-whyrusleeping-json-filter
3455 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
3458 (name "go-github-com-whyrusleeping-json-filter")
3459 (version (git-version "0.0.0" revision commit))
3464 (url "https://github.com/whyrusleeping/json-filter")
3466 (file-name (git-file-name name version))
3469 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
3470 (build-system go-build-system)
3473 "github.com/whyrusleeping/json-filter"))
3474 (home-page "https://github.com/whyrusleeping/json-filter")
3475 (synopsis "Library to query JSON objects marshalled into map[string]interface")
3476 (description "A library to query JSON objects marshalled into
3477 @command{map[string]interface{}}.")
3478 (license license:expat))))
3480 (define-public go-github-com-whyrusleeping-progmeter
3481 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
3484 (name "go-github-com-whyrusleeping-progmeter")
3485 (version (git-version "0.0.0" revision commit))
3490 (url "https://github.com/whyrusleeping/progmeter")
3492 (file-name (git-file-name name version))
3495 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
3496 (build-system go-build-system)
3499 "github.com/whyrusleeping/progmeter"))
3500 (home-page "https://github.com/whyrusleeping/progmeter")
3501 (synopsis "Progress meter for Go")
3502 (description "Progress meter for Go.")
3503 (license license:expat))))
3505 (define-public go-github-com-whyrusleeping-stump
3506 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
3509 (name "go-github-com-whyrusleeping-stump")
3510 (version (git-version "0.0.0" revision commit))
3515 (url "https://github.com/whyrusleeping/stump")
3517 (file-name (git-file-name name version))
3520 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
3521 (build-system go-build-system)
3523 '(#:import-path "github.com/whyrusleeping/stump"))
3524 (home-page "https://github.com/whyrusleeping/stump")
3525 (synopsis "Very basic logging package for Go")
3526 (description "A simple log library, for when you don't really care to
3527 have super fancy logs.")
3528 (license license:expat))))
3530 (define-public go-github-com-kr-fs
3531 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
3534 (name "go-github-com-kr-fs")
3535 (version (git-version "0.1.0" revision commit))
3540 (url "https://github.com/kr/fs")
3542 (file-name (git-file-name name version))
3545 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
3546 (build-system go-build-system)
3548 '(#:import-path "github.com/kr/fs"))
3549 (home-page "https://github.com/kr/fs")
3550 (synopsis "File-system-related functions for Go")
3552 "The fs package provides file-system-related Go functions.")
3553 (license license:bsd-3))))
3555 (define-public go-github-com-direnv-go-dotenv
3556 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
3559 (name "go-github-com-direnv-go-dotenv")
3560 (version (git-version "0.0.0" revision commit))
3565 (url "https://github.com/direnv/go-dotenv")
3567 (file-name (git-file-name name version))
3570 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
3571 (build-system go-build-system)
3573 '(#:import-path "github.com/direnv/go-dotenv"))
3574 (home-page "https://github.com/direnv/go-dotenv")
3575 (synopsis "Go dotenv parsing library")
3576 (description "This package provides a library for parsing the dotenv
3578 (license license:expat))))
3580 (define-public go-github-com-kr-pretty
3582 (name "go-github-com-kr-pretty")
3587 (url "https://github.com/kr/pretty")
3588 (commit (string-append "v" version))))
3589 (file-name (git-file-name name version))
3592 "0vzfz06y9q8gs2nxx0kys0591vzp78k0fvpb8digi5n15h3b25hy"))))
3593 (build-system go-build-system)
3595 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
3597 '(#:import-path "github.com/kr/pretty"))
3598 (synopsis "Pretty printer for Go values")
3599 (description "This package provides a pretty printer for Go values.")
3600 (home-page "https://github.com/kr/pretty")
3601 (license license:expat)))
3603 (define-public go-github-com-kylelemons-godebug
3605 (name "go-github-com-kylelemons-godebug")
3611 (url "https://github.com/kylelemons/godebug")
3612 (commit (string-append "v" version))))
3613 (file-name (git-file-name name version))
3616 "0dkk3friykg8p6wgqryx6745ahhb9z1j740k7px9dac6v5xjp78c"))))
3617 (build-system go-build-system)
3619 '(#:import-path "github.com/kylelemons/godebug/diff"
3620 #:unpack-path "github.com/kylelemons/godebug"))
3621 (home-page "https://github.com/kylelemons/godebug")
3622 (synopsis "Pretty printer for Go values.")
3624 "This package will pretty print a compact representation of a Go data
3625 structure. It can also produce a much more verbose, one-item-per-line
3626 representation suitable for computing diffs.")
3627 (license license:asl2.0)))
3629 (define-public go-github-com-kr-text
3631 (name "go-github-com-kr-text")
3636 (url "https://github.com/kr/text")
3637 (commit (string-append "v" version))))
3638 (file-name (git-file-name name version))
3641 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
3642 (build-system go-build-system)
3644 '(#:import-path "github.com/kr/text"))
3645 (synopsis "Text formatting in Go")
3646 (description "This package provides a text formatting functions in Go.")
3647 (home-page "https://github.com/kr/text")
3648 (license license:expat)))
3650 (define-public go-golang-org-sql-mock
3651 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
3655 (name "go-golang-org-sql-mock")
3656 (version (git-version version revision commit))
3660 (url "https://github.com/DATA-DOG/go-sqlmock")
3662 (file-name (git-file-name name version))
3665 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
3666 (build-system go-build-system)
3668 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
3669 (synopsis "Mock library implementing @code{sql/driver}")
3670 (description "This library simulates SQL-driver behavior in tests
3671 without requiring a real database connection.")
3672 (home-page "https://github.com/DATA-DOG/go-sqlmock")
3673 (license license:expat))))
3675 (define-public go-github-com-go-sql-driver-mysql
3677 (name "go-github-com-go-sql-driver-mysql")
3683 (url "https://github.com/go-sql-driver/mysql")
3684 (commit (string-append "v" version))))
3685 (file-name (git-file-name name version))
3688 "11x0m9yf3kdnf6981182r824psgxwfaqhn3x3in4yiidp0w0hk3v"))))
3689 (build-system go-build-system)
3691 '(#:tests? #f ;; tests require a network connection
3692 #:import-path "github.com/go-sql-driver/mysql"))
3693 (home-page "https://github.com/go-sql-driver/mysql")
3694 (synopsis "MySQL driver for golang")
3696 "This is a pure Go implementaton of the MySQL API, compatible with
3697 golang's database/sql package.")
3698 (license license:mpl2.0)))
3700 (define-public go-golang-org-colorful
3702 (name "go-golang-org-colorful")
3707 (url "https://github.com/lucasb-eyer/go-colorful")
3708 (commit (string-append "v" version))))
3709 (file-name (git-file-name name version))
3712 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
3713 (build-system go-build-system)
3715 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
3717 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
3718 (synopsis "Convert between colorspaces and generate colors")
3719 (description "This package implements Go's @code{color.Color} interface
3720 and provides a means of converting colors stored as RGB to various
3722 (home-page "https://github.com/lucasb-eyer/go-colorful")
3723 (license license:expat)))
3725 (define-public go-github-com-gdamore-encoding
3727 (name "go-github-com-gdamore-encoding")
3733 (url "https://github.com/gdamore/encoding")
3734 (commit (string-append "v" version))))
3735 (file-name (git-file-name name version))
3738 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
3739 (build-system go-build-system)
3741 '(#:import-path "github.com/gdamore/encoding"))
3743 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3744 (home-page "https://github.com/gdamore/encoding")
3745 (synopsis "Provide encodings missing from Go")
3746 (description "This package provides useful encodings not included in the
3747 standard @code{Text} package, including some for dealing with I/O streams from
3748 non-UTF-friendly sources.")
3749 (license license:expat)))
3751 (define-public go-github-com-gdamore-tcell
3752 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
3756 (name "go-github-com-gdamore-tcell")
3757 (version (git-version version revision commit))
3762 (url "https://github.com/gdamore/tcell")
3764 (file-name (git-file-name name version))
3767 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
3768 (build-system go-build-system)
3770 `(#:import-path "github.com/gdamore/tcell"
3772 (modify-phases %standard-phases
3773 (add-before 'reset-gzip-timestamps 'make-files-writable
3774 (lambda* (#:key outputs #:allow-other-keys)
3775 ;; Make sure .gz files are writable so that the
3776 ;; 'reset-gzip-timestamps' phase can do its work.
3777 (let ((out (assoc-ref outputs "out")))
3778 (for-each make-file-writable
3779 (find-files out "\\.gz$"))
3782 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
3783 ("go-golang-org-colorful" ,go-golang-org-colorful)
3784 ("go-golang-org-x-text" ,go-golang-org-x-text)
3785 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
3786 (home-page "https://github.com/gdamore/tcell")
3787 (synopsis "Provide a cell-based view for text terminals")
3788 (description "This package includes a full parser and expander for
3789 terminfo capability strings to avoid hard-coding escape strings for
3790 formatting. It also favors portability, and includes support for all POSIX
3792 (license license:expat))))
3794 (define-public go-github-com-mattn-go-shellwords
3795 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
3799 (name "go-github-com-mattn-go-shellwords")
3800 (version (git-version version revision commit))
3805 (url "https://github.com/mattn/go-shellwords")
3807 (file-name (git-file-name name version))
3810 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
3811 (build-system go-build-system)
3813 `(#:import-path "github.com/mattn/go-shellwords"
3814 ;; TODO: can't make homeless-shelter:
3815 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
3816 ;; initialization failure: mkdir /homeless-shelter: permission denied
3818 ;; This doesn't seem to work:
3821 ;; (modify-phases %standard-phases
3823 ;; (lambda* (#:key import-path #:allow-other-keys)
3824 ;; (setenv "HOME" "/tmp")
3825 ;; (invoke "go" "test" import-path))))
3827 ;; TODO: There are also a couple of tests that have stymied Debian in
3828 ;; the past. They seem to work when run locally.
3832 (home-page "https://github.com/mattn/go-shellwords")
3833 (synopsis "Parse lines into shell words")
3834 (description "This package parses text into shell arguments. Based on
3835 the @code{cpan} module @code{Parse::CommandLine}.")
3836 (license license:expat))))
3838 (define-public go-github-com-burntsushi-locker
3839 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
3842 (name "go-github-com-burntsushi-locker")
3843 (version (git-version "0.0.0" revision commit))
3848 (url "https://github.com/BurntSushi/locker")
3850 (file-name (git-file-name name version))
3853 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
3854 (build-system go-build-system)
3856 '(#:import-path "github.com/BurntSushi/locker"))
3857 (home-page "https://github.com/BurntSushi/locker")
3858 (synopsis "Manage named ReadWrite mutexes in Go")
3859 (description "Golang package for conveniently using named read/write
3860 locks. These appear to be especially useful for synchronizing access to
3861 session based information in web applications.
3863 The common use case is to use the package level functions, which use a package
3864 level set of locks (safe to use from multiple goroutines
3865 simultaneously). However, you may also create a new separate set of locks
3868 All locks are implemented with read-write mutexes. To use them like a regular
3869 mutex, simply ignore the RLock/RUnlock functions.")
3870 (license license:unlicense))))
3872 (define-public go-github-com-marten-seemann-qtls
3874 (name "go-github-com-marten-seemann-qtls")
3879 (url "https://github.com/marten-seemann/qtls")
3880 (commit (string-append "v" version))))
3881 (file-name (git-file-name name version))
3884 "0dz60y98nm7l70hamq0v2vrs2dspyr5yqhnrds2dfh7hchxvq76j"))))
3885 (build-system go-build-system)
3887 '(#:import-path "github.com/marten-seemann/qtls"
3888 ;; The test suite requires networking.
3891 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3892 (synopsis "TLS 1.3 with QUIC in Go")
3893 (description "This package provides @code{qtls}, a QUIC-capable variant of
3894 the Go standard library's TLS 1.3 implementation.")
3895 (home-page "https://github.com/marten-seemann/qtls")
3896 (license license:bsd-3)))
3898 (define-public go-github-com-marten-seemann-chacha20
3900 (name "go-github-com-marten-seemann-chacha20")
3905 (url "https://github.com/marten-seemann/chacha20")
3906 (commit (string-append "v" version))))
3907 (file-name (git-file-name name version))
3910 "0x1j4cvbap45zk962qkjalc1h3axhzzdy9cdzhcjmprmm1ql4gjm"))))
3911 (build-system go-build-system)
3913 '(#:import-path "github.com/marten-seemann/chacha20"))
3914 (synopsis "ChaCha20 in Go")
3915 (description "This package is an external copy of the Go standard library's
3916 internal ChaCha20 package.")
3917 (home-page "https://github.com/marten-seemann/chacha20")
3918 (license license:bsd-3)))
3920 (define-public go-github-com-cheekybits-genny
3922 (name "go-github-com-cheekybits-genny")
3927 (url "https://github.com/cheekybits/genny")
3928 (commit (string-append "v" version))))
3929 (file-name (git-file-name name version))
3932 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
3933 (build-system go-build-system)
3935 '(#:import-path "github.com/cheekybits/genny"))
3937 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
3938 (synopsis "Generics for Go")
3939 (description "This package provides @code{genny}, a Go language
3940 implementation of generics.")
3941 (home-page "https://github.com/cheekybits/genny/")
3942 (license license:expat)))
3944 (define-public go-github-com-lucas-clemente-quic-go
3946 (name "go-github-com-lucas-clemente-quic-go")
3951 (url "https://github.com/lucas-clemente/quic-go")
3952 (commit (string-append "v" version))))
3953 (file-name (git-file-name name version))
3956 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
3957 (build-system go-build-system)
3959 '(#:import-path "github.com/lucas-clemente/quic-go"
3960 ;; XXX More packages required...
3963 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3964 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
3965 ("go-github-com-marten-seemann-chacha20" ,go-github-com-marten-seemann-chacha20)
3966 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
3967 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
3968 (synopsis "QUIC in Go")
3969 (description "This package provides a Go language implementation of the QUIC
3971 (home-page "https://github.com/lucas-clemente/quic-go")
3972 (license license:expat)))
3974 (define-public go-github-com-francoispqt-gojay
3976 (name "go-github-com-francoispqt-gojay")
3981 (url "https://github.com/francoispqt/gojay")
3982 (commit (string-append "v" version))))
3983 (file-name (git-file-name name version))
3986 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
3987 (build-system go-build-system)
3989 '(#:import-path "github.com/francoispqt/gojay"))
3991 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3992 (synopsis "JSON encoder/decoder with powerful stream API for Golang")
3993 (description "GoJay is a performant JSON encoder/decoder for Golang. It has
3994 a simple API and doesn't use reflection. It relies on small interfaces to
3995 decode/encode structures and slices.")
3996 (home-page "https://github.com/francoispqt/gojay")
3997 (license license:expat)))
3999 (define-public go-github-com-pkg-errors
4001 (name "go-github-com-pkg-errors")
4006 (url "https://github.com/pkg/errors")
4007 (commit (string-append "v" version))))
4008 (file-name (git-file-name name version))
4011 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
4012 (build-system go-build-system)
4014 `(#:import-path "github.com/pkg/errors"))
4015 (synopsis "Go error handling primitives")
4016 (description "This package provides @code{error}, which offers simple
4017 error handling primitives in Go.")
4018 (home-page "https://github.com/pkg/errors")
4019 (license license:bsd-2)))
4021 (define-public go-github-com-maruel-panicparse
4023 (name "go-github-com-maruel-panicparse")
4028 (url "https://github.com/maruel/panicparse")
4029 (commit (string-append "v" version))))
4030 (file-name (git-file-name name version))
4033 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
4034 (build-system go-build-system)
4036 '(#:import-path "github.com/maruel/panicparse"))
4037 (synopsis "Toolkit for parsing Go stack traces")
4038 (description "This package provides a toolkit for parsing Go language panic
4039 stack traces. It simplifies the traces to make salient information more visible
4040 and aid debugging.")
4041 (home-page "https://github.com/maruel/panicparse")
4042 (license license:asl2.0)))
4044 (define-public go-github-com-robfig-cron
4046 (name "go-github-com-robfig-cron")
4052 (url "https://github.com/robfig/cron")
4053 (commit (string-append "v" version))))
4054 (file-name (git-file-name name version))
4057 "1agzbw2dfk2d1mpmddr85s5vh6ygm8kqrvfg87i9d2wqnlsnliqm"))))
4058 (build-system go-build-system)
4060 `(#:import-path "github.com/robfig/cron"))
4061 (home-page "https://godoc.org/github.com/robfig/cron")
4062 (synopsis "Cron library for Go")
4063 (description "This package provides a cron library for Go. It implements
4064 a cron spec parser and job runner.")
4065 (license license:expat)))
4067 (define-public go-github-com-shirou-gopsutil
4068 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
4071 (name "go-github-com-shirou-gopsutil")
4072 (version (git-version "v2.19.7" revision commit))
4076 (url "https://github.com/shirou/gopsutil")
4077 (commit commit))) ; XXX
4078 (file-name (git-file-name name version))
4081 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
4082 (build-system go-build-system)
4084 '(#:import-path "github.com/shirou/gopsutil"))
4085 (synopsis "Process and system monitoring in Go")
4086 (description "This package provides a library for retrieving information
4087 on running processes and system utilization (CPU, memory, disks, network,
4089 (home-page "https://github.com/shirou/gopsutil")
4090 (license license:bsd-3))))
4092 (define-public go-github-com-danwakefield-fnmatch
4093 (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
4096 (name "go-github-com-danwakefield-fnmatch")
4097 (version (git-version "0.0.0" revision commit))
4102 (url "https://github.com/danwakefield/fnmatch")
4106 "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
4107 (file-name (git-file-name name version))))
4108 (build-system go-build-system)
4110 '(#:import-path "github.com/danwakefield/fnmatch"))
4111 (home-page "https://github.com/danwakefield/fnmatch")
4112 (synopsis "Updated clone of kballards golang fnmatch gist")
4113 (description "This package provides an updated clone of kballards golang
4114 fnmatch gist (https://gist.github.com/kballard/272720).")
4115 (license license:bsd-2))))
4117 (define-public go-github-com-ddevault-go-libvterm
4118 (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
4121 (name "go-github-com-ddevault-go-libvterm")
4122 (version (git-version "0.0.0" revision commit))
4127 (url "https://github.com/ddevault/go-libvterm")
4131 "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
4132 (file-name (git-file-name name version))))
4133 (build-system go-build-system)
4135 '(#:import-path "github.com/ddevault/go-libvterm"))
4137 `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
4138 (home-page "https://github.com/ddevault/go-libvterm")
4139 (synopsis "Go binding to libvterm")
4141 "This is a fork of another go-libvterm library for use with aerc.")
4142 (license license:expat))))
4144 (define-public go-github-com-emersion-go-imap
4146 (name "go-github-com-emersion-go-imap")
4152 (url "https://github.com/emersion/go-imap")
4153 (commit (string-append "v" version))))
4156 "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
4157 (file-name (git-file-name name version))))
4158 (build-system go-build-system)
4160 '(#:import-path "github.com/emersion/go-imap"))
4162 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
4163 (home-page "https://github.com/emersion/go-imap")
4164 (synopsis "IMAP4rev1 library written in Go")
4165 (description "This package provides an IMAP4rev1 library written in Go. It
4166 can be used to build a client and/or a server.")
4167 (license license:expat)))
4169 (define-public go-github-com-emersion-go-sasl
4170 (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
4173 (name "go-github-com-emersion-go-sasl")
4174 (version (git-version "0.0.0" revision commit))
4179 (url "https://github.com/emersion/go-sasl")
4183 "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
4184 (file-name (git-file-name name version))))
4185 (build-system go-build-system)
4187 '(#:import-path "github.com/emersion/go-sasl"))
4188 (home-page "https://github.com/emersion/go-sasl")
4189 (synopsis "SASL library written in Go")
4190 (description "This package provides a SASL library written in Go.")
4191 (license license:expat))))
4193 (define-public go-github-com-emersion-go-imap-idle
4194 (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
4197 (name "go-github-com-emersion-go-imap-idle")
4198 (version (git-version "0.0.0" revision commit))
4203 (url "https://github.com/emersion/go-imap-idle")
4207 "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
4208 (file-name (git-file-name name version))))
4209 (build-system go-build-system)
4211 '(#:import-path "github.com/emersion/go-imap-idle"))
4213 `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
4214 ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
4215 ("go-golang-org-x-text" ,go-golang-org-x-text)))
4216 (home-page "https://github.com/emersion/go-imap-idle")
4217 (synopsis "IDLE extension for go-imap")
4218 (description "This package provides an IDLE extension for go-imap.")
4219 (license license:expat))))
4221 (define-public go-github-com-fatih-color
4223 (name "go-github-com-fatih-color")
4228 (url "https://github.com/fatih/color")
4229 (commit (string-append "v" version))))
4230 (file-name (git-file-name name version))
4233 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
4234 (build-system go-build-system)
4236 '(#:import-path "github.com/fatih/color"))
4237 (synopsis "Print colored text in Go")
4238 (description "This package provides an ANSI color package to output
4239 colorized or SGR defined output to the standard output.")
4240 (home-page "https://godoc.org/github.com/fatih/color")
4241 (license license:expat)))
4243 (define-public go-github-com-google-go-cmp-cmp
4245 (name "go-github-com-google-go-cmp-cmp")
4250 (url "https://github.com/google/go-cmp")
4251 (commit (string-append "v" version))))
4252 (file-name (git-file-name name version))
4255 "0qchy411jm9q2l9mf7x3ry2ycaqp9xdhf2nx14qrpzcxfigv2705"))))
4256 (build-system go-build-system)
4258 '(#:import-path "github.com/google/go-cmp/cmp"
4259 #:unpack-path "github.com/google/go-cmp"))
4261 `(("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)))
4262 (synopsis "Determine equality of values in Go")
4263 (description "This package provides a more powerful and safer
4264 alternative to @code{reflect.DeepEqual} for comparing whether two values
4265 are semantically equal in Go (for writing tests).")
4266 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
4267 (license license:asl2.0)))
4269 (define-public go-github-com-google-uuid
4271 (name "go-github-com-google-uuid")
4276 (url "https://github.com/google/uuid")
4277 (commit (string-append "v" version))))
4278 (file-name (git-file-name name version))
4281 "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb"))))
4282 (build-system go-build-system)
4284 '(#:import-path "github.com/google/uuid"))
4285 (home-page "https://github.com/google/uuid/")
4286 (synopsis "Generate and inspect UUIDs based on RFC 4122 and DCE 1.1")
4287 (description "The uuid package generates and inspects UUIDs based on RFC
4288 4122 and DCE 1.1: Authentication and Security Services.")
4289 (license license:bsd-3)))
4291 (define-public go-github-com-google-goterm
4292 (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
4295 (name "go-github-com-google-goterm")
4296 (version (git-version "0.0.1" revision commit))
4300 (url "https://github.com/google/goterm")
4302 (file-name (git-file-name name version))
4305 "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb"))))
4306 (build-system go-build-system)
4308 `(#:import-path "github.com/google/goterm/term"
4309 #:unpack-path "github.com/google/goterm"))
4310 (home-page "https://github.com/google/goterm/")
4311 (synopsis "PTY creation and termios get/set attributes")
4312 (description "The term package implements PTY creation and termios get/set
4313 attributes. It also contains some convenience functions for colors, SSH to
4314 and from termios translations, readCh, reading passwords, etc.")
4315 (license license:bsd-3))))
4317 (define-public go-github-com-google-go-querystring
4318 (let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests
4321 (name "go-github-com-google-go-querystring")
4326 (url "https://github.com/google/go-querystring")
4328 (file-name (git-file-name name version))
4331 "0mbx4jvf7nz4sk2fgqfq1llz4xb3vc4625b4x398mspr3a5077rs"))))
4332 (build-system go-build-system)
4334 `(#:import-path "github.com/google/go-querystring/query"
4335 #:unpack-path "github.com/google/go-querystring"))
4336 (home-page "https://github.com/google/go-querystring/")
4337 (synopsis "Library for encoding structs into URL query parameters")
4338 (description "@code{go-querystring} is Go library for encoding structs
4339 into URL query parameters.")
4340 (license license:bsd-3))))
4342 (define-public go-github-com-google-go-github
4344 (name "go-github-com-google-go-github")
4349 (url "https://github.com/google/go-github")
4350 (commit (string-append "v" version))))
4351 (file-name (git-file-name name version))
4354 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
4355 (build-system go-build-system)
4357 `(#:tests? #f ;application/octet-stream instead of text/plain
4358 #:import-path "github.com/google/go-github/v26/github"
4359 #:unpack-path "github.com/google/go-github/v26"))
4361 `(("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring)
4362 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
4363 (home-page "https://github.com/google/go-github/")
4364 (synopsis "Client library for accessing the GitHub API v3")
4365 (description "@code{go-github} is a Go client library for accessing the
4367 (license license:bsd-3)))
4369 (define-public go-github-com-google-renameio
4371 (name "go-github-com-google-renameio")
4376 (url "https://github.com/google/renameio")
4377 (commit (string-append "v" version))))
4378 (file-name (git-file-name name version))
4381 "1ki2x5a9nrj17sn092d6n4zr29lfg5ydv4xz5cp58z6cw8ip43jx"))))
4382 (build-system go-build-system)
4384 `(#:import-path "github.com/google/renameio"))
4385 (home-page "https://github.com/google/renameio/")
4386 (synopsis "Atomically create or replace a file or symbolic link")
4387 (description "@code{renameio} Go package provides a way to atomically
4388 create or replace a file or symbolic link.")
4389 (license license:asl2.0)))
4391 (define-public go-golang.org-x-sync-errgroup
4392 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
4395 (name "go-golang.org-x-sync-errgroup")
4396 (version (git-version "0.0.0" revision commit))
4400 (url "https://go.googlesource.com/sync")
4402 (file-name (git-file-name name version))
4405 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
4406 (build-system go-build-system)
4408 '(#:import-path "golang.org/x/sync/errgroup"
4409 #:unpack-path "golang.org/x/sync"))
4410 (synopsis "Synchronization, error propagation, and Context cancellation
4411 for groups of goroutines working on subtasks of a common task.")
4412 (description "This package provides synchronization, error propagation,
4413 and Context cancellation for groups of goroutines working on subtasks of a
4415 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
4416 (license license:bsd-3))))
4418 (define (go-gotest-tools-source version sha256-base32-hash)
4422 (url "https://github.com/gotestyourself/gotest.tools")
4423 (commit (string-append "v" version))))
4424 (file-name (git-file-name "go-gotest-tools" version))
4426 (base32 sha256-base32-hash))))
4428 ;; Note that version 3.0.0 is incompatible to 2.3.0.
4429 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
4430 (define (go-gotest-tools-package suffix)
4432 (name (string-append "go-gotest-tools-"
4433 (string-replace-substring suffix "/" "-")))
4436 (go-gotest-tools-source version
4437 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
4438 (build-system go-build-system)
4440 `(#:import-path ,(string-append "gotest.tools/" suffix)
4441 #:unpack-path "gotest.tools"))
4442 (synopsis "@code{gotest-tools} part")
4443 (description "This package provides a part of @code{gotest-tools}.")
4444 (home-page "https://github.com/gotestyourself/gotest.tools")
4445 (license license:asl2.0)))
4447 (define-public go-gotest-tools-internal-format
4448 (package (inherit (go-gotest-tools-package "internal/format"))
4450 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4451 ("go-github-com-google-go-cmp-cmp"
4452 ,go-github-com-google-go-cmp-cmp)))
4453 (synopsis "Formats messages for use with gotest-tools")
4454 (description "This package provides a way to format messages for use
4455 with gotest-tools.")))
4457 (define-public go-gotest-tools-internal-difflib
4458 (package (inherit (go-gotest-tools-package "internal/difflib"))
4459 (synopsis "Differences for use with gotest-tools")
4460 (description "This package computes differences for use
4461 with gotest-tools.")))
4463 (define-public go-gotest-tools-internal-source
4464 (package (inherit (go-gotest-tools-package "internal/source"))
4466 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4467 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
4468 (synopsis "Source code AST formatters for gotest-tools")
4469 (description "This package provides source code AST formatters for
4472 (define-public go-gotest-tools-assert
4473 (package (inherit (go-gotest-tools-package "assert"))
4474 (name "go-gotest-tools-assert")
4476 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
4477 #:import-path "gotest.tools/assert"
4478 #:unpack-path "gotest.tools"))
4480 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
4482 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4483 ("go-github-com-google-go-cmp-cmp"
4484 ,go-github-com-google-go-cmp-cmp)))
4485 (synopsis "Compare values and fail a test when a comparison fails")
4486 (description "This package provides a way to compare values and fail a
4487 test when a comparison fails.")
4488 (home-page "https://github.com/gotestyourself/gotest.tools")
4489 (license license:asl2.0)))
4491 (define-public gotestsum
4498 (url "https://github.com/gotestyourself/gotestsum")
4499 (commit (string-append "v" version))))
4500 (file-name (git-file-name name version))
4503 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
4504 (build-system go-build-system)
4506 '(#:import-path "gotest.tools/gotestsum"))
4508 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
4509 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
4510 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4511 ("go-github-com-sirupsen-logrus"
4512 ,go-github-com-sirupsen-logrus)
4513 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
4514 ("go-github-com-jonboulle-clockwork"
4515 ,go-github-com-jonboulle-clockwork)
4516 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4517 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
4518 ("go-github-com-google-go-cmp-cmp"
4519 ,go-github-com-google-go-cmp-cmp)
4520 ;; TODO: This would be better as a propagated-input of
4521 ;; go-gotest-tools-assert, but that does not work for
4523 ("go-gotest-tools-internal-format"
4524 ,go-gotest-tools-internal-format)
4525 ("go-gotest-tools-internal-difflib"
4526 ,go-gotest-tools-internal-difflib)
4527 ("go-gotest-tools-internal-source"
4528 ,go-gotest-tools-internal-source)
4529 ("go-github-com-google-go-cmp-cmp"
4530 ,go-github-com-google-go-cmp-cmp)))
4531 (synopsis "Go test runner with output optimized for humans")
4532 (description "This package provides a @code{go test} runner with output
4533 optimized for humans, JUnit XML for CI integration, and a summary of the
4535 (home-page "https://github.com/gotestyourself/gotestsum")
4536 (license license:asl2.0)))
4538 (define-public go-github-com-golang-protobuf-proto
4540 (name "go-github-com-golang-protobuf-proto")
4545 (url "https://github.com/golang/protobuf")
4546 (commit (string-append "v" version))))
4547 (file-name (git-file-name name version))
4550 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
4551 (build-system go-build-system)
4553 '(#:import-path "github.com/golang/protobuf/proto"
4554 #:unpack-path "github.com/golang/protobuf"
4555 ;; Requires unpackaged golang.org/x/sync/errgroup
4557 (synopsis "Go support for Protocol Buffers")
4558 (description "This package provides Go support for the Protocol Buffers
4559 data serialization format.")
4560 (home-page "https://github.com/golang/protobuf")
4561 (license license:bsd-3)))
4563 (define-public go-github-com-mattn-go-zglob
4565 (name "go-github-com-mattn-go-zglob")
4570 (url "https://github.com/mattn/go-zglob")
4571 (commit (string-append "v" version))))
4572 (file-name (git-file-name name version))
4575 "1923lvakm66mzy62jmngdvcmbmiqclinsvnghs3907rgygnx1qc1"))))
4576 (build-system go-build-system)
4578 `(#:import-path "github.com/mattn/go-zglob"))
4579 (home-page "https://github.com/mattn/go-zglob")
4580 (synopsis "Glob library that descends into other directories")
4581 (description " A glob library that implements descending into other
4582 directories. It is optimized for filewalking. ")
4583 (license license:expat)))
4585 (define-public go-github-com-willf-bitset
4587 (name "go-github-com-willf-bitset")
4592 (url "https://github.com/willf/bitset")
4593 (commit (string-append "v" version))))
4594 (file-name (git-file-name name version))
4597 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
4598 (build-system go-build-system)
4600 '(#:import-path "github.com/willf/bitset"))
4601 (synopsis "Bitsets in Go")
4602 (description "This package provides a Go implementation of bitsets, which
4603 are a mapping between non-negative integers and boolean values focused on
4604 efficient space usage.")
4605 (home-page "https://github.com/willf/bitset")
4606 (license license:bsd-3)))
4608 (define-public go-github-com-willf-bloom
4610 (name "go-github-com-willf-bloom")
4615 (url "https://github.com/willf/bloom")
4616 (commit (string-append "v" version))))
4617 (file-name (git-file-name name version))
4620 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
4621 (build-system go-build-system)
4623 '(#:import-path "github.com/willf/bloom"
4625 (modify-phases %standard-phases
4626 (add-after 'unpack 'patch-import-path
4628 ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for
4629 ;; more information.
4630 ;; <https://github.com/spaolacci/murmur3/issues/29>
4631 (substitute* "src/github.com/willf/bloom/bloom.go"
4632 (("spaolacci") "twmb"))
4635 `(("go-github-com-twmb-murmur3" ,go-github-com-twmb-murmur3)
4636 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
4637 (synopsis "Bloom filters in Go")
4638 (description "This package provides a Go implementation of bloom filters,
4639 based on murmurhash.")
4640 (home-page "https://github.com/willf/bloom")
4641 (license license:bsd-2)))
4643 (define-public go-golang-org-rainycape-unidecode
4644 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
4647 (name "go-golang-org-rainycape-unidecode")
4648 (version (git-version "0.0.0" revision commit))
4652 (url "https://github.com/rainycape/unidecode")
4654 (file-name (string-append "go-golang-org-rainycape-unidecode-"
4655 version "-checkout"))
4658 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
4659 (build-system go-build-system)
4661 `(#:import-path "golang.org/rainycape/unidecode"))
4662 (home-page "https://github.com/rainycape/unidecode")
4663 (synopsis "Unicode transliterator in Golang")
4664 (description "Unicode transliterator in Golang - Replaces non-ASCII
4665 characters with their ASCII approximations.")
4666 (license license:asl2.0))))
4668 (define-public go-github-com-golang-freetype
4669 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
4672 (name "go-github-com-golang-freetype")
4673 (version (git-version "0.0.0" revision commit))
4677 (url "https://github.com/golang/freetype")
4679 (file-name (string-append "go-github-com-golang-freetype-"
4680 version "-checkout"))
4683 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
4684 (build-system go-build-system)
4686 `(#:import-path "github.com/golang/freetype"))
4688 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
4689 (home-page "https://github.com/golang/freetype")
4690 (synopsis "Freetype font rasterizer in the Go programming language")
4691 (description "The Freetype font rasterizer in the Go programming language.")
4692 (license (list license:freetype
4695 (define-public go-github-com-fogleman-gg
4697 (name "go-github-com-fogleman-gg")
4702 (url "https://github.com/fogleman/gg")
4703 (commit (string-append "v" version))))
4704 (file-name (git-file-name name version))
4707 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
4708 (build-system go-build-system)
4710 `(#:tests? #f ; Issue with test flags.
4711 #:import-path "github.com/fogleman/gg"))
4713 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
4714 (home-page "https://github.com/fogleman/gg")
4715 (synopsis "2D rendering in Go")
4716 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
4717 (license license:expat)))
4719 (define-public go-github-com-gedex-inflector
4720 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
4723 (name "go-github-com-gedex-inflector")
4724 (version (git-version "0.0.0" revision commit))
4728 (url "https://github.com/gedex/inflector")
4730 (file-name (string-append "go-github-com-gedex-inflector-"
4731 version "-checkout"))
4734 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
4735 (build-system go-build-system)
4737 `(#:import-path "github.com/gedex/inflector"))
4738 (home-page "https://github.com/gedex/inflector")
4739 (synopsis "Go library that pluralizes and singularizes English nouns")
4740 (description "Go library that pluralizes and singularizes English nouns.")
4741 (license license:bsd-2))))
4743 (define-public go-github-com-klauspost-cpuid
4745 (name "go-github-com-klauspost-cpuid")
4750 (url "https://github.com/klauspost/cpuid")
4751 (commit (string-append "v" version))))
4752 (file-name (git-file-name name version))
4755 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
4756 (build-system go-build-system)
4758 `(#:import-path "github.com/klauspost/cpuid"))
4759 (home-page "https://github.com/klauspost/cpuid")
4760 (synopsis "CPU feature identification for Go")
4761 (description "@code{cpuid} provides information about the CPU running the
4762 current program. CPU features are detected on startup, and kept for fast access
4763 through the life of the application. Currently x86 / x64 (AMD64) is supported,
4764 and no external C (cgo) code is used, which should make the library very eas
4766 (license license:expat)))
4768 (define-public go-github-com-pbnjay-memory
4769 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
4772 (name "go-github-com-pbnjay-memory")
4773 (version (git-version "0.0.0" revision commit))
4777 (url "https://github.com/pbnjay/memory")
4779 (file-name (string-append "go-github-com-pbnjay-memory-"
4780 version "-checkout"))
4783 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
4784 (build-system go-build-system)
4786 `(#:import-path "github.com/pbnjay/memory"))
4787 (home-page "https://github.com/gedex/inflector")
4788 (synopsis "Go library to report total system memory")
4789 (description "@code{memory} provides a single method reporting total
4790 physical system memory accessible to the kernel. It does not account for memory
4791 used by other processes.")
4792 (license license:bsd-3))))
4794 (define-public go-github-com-surge-glog
4795 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
4798 (name "go-github-com-surge-glog")
4799 (version (git-version "0.0.0" revision commit))
4803 (url "https://github.com/surge/glog")
4805 (file-name (string-append "go-github-com-surge-glog-"
4806 version "-checkout"))
4809 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
4810 (build-system go-build-system)
4812 `(#:import-path "github.com/surge/glog"))
4813 (home-page "https://github.com/surge/glog")
4814 (synopsis "Leveled execution logs for Go")
4815 (description "Leveled execution logs for Go.")
4816 (license license:asl2.0))))
4818 (define-public go-github-com-surgebase-porter2
4819 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
4822 (name "go-github-com-surgebase-porter2")
4823 (version (git-version "0.0.0" revision commit))
4827 (url "https://github.com/surgebase/porter2")
4829 (file-name (string-append "go-github-com-surgebase-porter2-"
4830 version "-checkout"))
4833 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
4834 (build-system go-build-system)
4836 `(#:import-path "github.com/surgebase/porter2"))
4838 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
4839 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
4840 (home-page "https://github.com/surgebase/porter2")
4841 (synopsis "Go library implementing english Porter2 stemmer")
4842 (description "Porter2 implements the
4843 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
4844 Porter2 stemmer}. It is written completely using finite state machines to do
4845 suffix comparison, rather than the string-based or tree-based approaches.")
4846 (license license:asl2.0))))
4848 (define-public go-github-com-masterminds-goutils
4850 (name "go-github-com-masterminds-goutils")
4855 (url "https://github.com/Masterminds/goutils")
4856 (commit (string-append "v" version))))
4857 (file-name (git-file-name name version))
4860 "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq"))))
4861 (build-system go-build-system)
4863 `(#:import-path "github.com/Masterminds/goutils"))
4864 (home-page "https://github.com/Masterminds/goutils/")
4865 (synopsis "Utility functions to manipulate strings")
4866 (description "GoUtils provides utility functions to manipulate strings in
4867 various ways. It is a Go implementation of some string manipulation libraries
4868 of Java Apache Commons.")
4869 (license license:asl2.0)))
4871 (define-public go-github-com-masterminds-semver
4873 (name "go-github-com-masterminds-semver")
4878 (url "https://github.com/Masterminds/semver")
4879 (commit (string-append "v" version))))
4880 (file-name (git-file-name name version))
4883 "1g1wizfdy29d02l9dh8gsb029yr4m4swp13swf0pnh9ryh5f1msz"))))
4884 (build-system go-build-system)
4886 `(#:import-path "github.com/Masterminds/semver"))
4887 (home-page "https://github.com/Masterminds/semver/")
4888 (synopsis "@code{semver} helps to work with semantic versions")
4889 (description "The semver package provides the ability to work with
4890 semantic versions. Specifically it provides the ability to:
4892 @item Parse semantic versions
4893 @item Sort semantic versions
4894 @item Check if a semantic version fits within a set of constraints
4895 @item Optionally work with a @code{v} prefix
4897 (license license:expat)))
4899 (define-public go-github-com-huandu-xstrings
4901 (name "go-github-com-huandu-xstrings")
4906 (url "https://github.com/huandu/xstrings")
4907 (commit (string-append "v" version))))
4908 (file-name (git-file-name name version))
4911 "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
4912 (build-system go-build-system)
4914 `(#:import-path "github.com/huandu/xstrings"))
4915 (home-page "https://github.com/huandu/xstrings/")
4916 (synopsis "Collection of string functions")
4917 (description "Go package xstrings is a collection of string functions,
4918 which are widely used in other languages but absent in Go package strings.")
4919 (license license:expat)))
4921 (define-public go-github-com-imdario-mergo
4923 (name "go-github-com-imdario-mergo")
4928 (url "https://github.com/imdario/mergo")
4929 (commit (string-append "v" version))))
4930 (file-name (git-file-name name version))
4933 "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
4934 (build-system go-build-system)
4936 `(#:import-path "github.com/imdario/mergo"))
4938 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
4939 (home-page "https://github.com/imdario/mergo/")
4940 (synopsis "Helper to merge structs and maps in Golang")
4941 (description "Helper to merge structs and maps in Golang. Useful for
4942 configuration default values, avoiding messy if-statements.
4944 Mergo merges same-type structs and maps by setting default values in
4945 zero-value fields. Mergo won't merge unexported (private) fields. It will do
4946 recursively any exported one. It also won't merge structs inside
4947 maps (because they are not addressable using Go reflection).")
4948 (license license:bsd-3)))
4950 (define-public go-github-com-masterminds-sprig
4952 (name "go-github-com-masterminds-sprig")
4957 (url "https://github.com/Masterminds/sprig")
4958 (commit (string-append "v" version))))
4959 (file-name (git-file-name name version))
4962 "0wwi8n2adjc5jlga25lqq0hrz4jcgd5vpll68y2dfji034caaq18"))))
4963 (build-system go-build-system)
4965 `(#:tests? #f ;network tests only
4966 #:import-path "github.com/Masterminds/sprig"))
4968 `(("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils)
4969 ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver)
4970 ("go-github-com-google-uuid" ,go-github-com-google-uuid)
4971 ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings)
4972 ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo)
4973 ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)
4974 ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure)
4975 ("go-github-com-spf13-cast" ,go-github-com-spf13-cast)
4976 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4977 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4978 (home-page "https://github.com/Masterminds/sprig/")
4979 (synopsis "Template functions for Go templates")
4980 (description "Sprig is a library that provides more than 100 commonly used
4981 template functions.")
4982 (license license:expat)))
4984 (define-public go-github-com-bmatcuk-doublestar
4986 (name "go-github-com-bmatcuk-doublestar")
4991 (url "https://github.com/bmatcuk/doublestar")
4992 (commit (string-append "v" version))))
4993 (file-name (git-file-name name version))
4996 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
4997 (build-system go-build-system)
4999 `(#:import-path "github.com/bmatcuk/doublestar"))
5000 (home-page "https://github.com/bmatcuk/doublestar/")
5001 (synopsis "Path pattern matching and globbing supporting doublestar")
5002 (description "@code{doublestar} is a Go implementation of path pattern
5003 matching and globbing with support for \"doublestar\" patterns.")
5004 (license license:expat)))
5006 (define-public go-github-com-dlclark-regexp2
5008 (name "go-github-com-dlclark-regexp2")
5013 (url "https://github.com/dlclark/regexp2")
5014 (commit (string-append "v" version))))
5015 (file-name (git-file-name name version))
5018 "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng"))))
5019 (build-system go-build-system)
5021 `(#:import-path "github.com/dlclark/regexp2"))
5022 (home-page "https://github.com/dlclark/regexp2/")
5023 (synopsis "Full featured regular expressions for Go")
5024 (description "Regexp2 is a feature-rich RegExp engine for Go.")
5025 (license license:expat)))
5027 (define-public go-github-com-alecthomas-colour
5029 (name "go-github-com-alecthomas-colour")
5034 (url "https://github.com/alecthomas/colour")
5035 (commit (string-append "v" version))))
5036 (file-name (git-file-name name version))
5039 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
5040 (build-system go-build-system)
5042 `(#:import-path "github.com/alecthomas/colour"))
5044 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
5045 (home-page "https://github.com/alecthomas/colour/")
5046 (synopsis "Colour terminal text for Go")
5047 (description "Package colour provides Quake-style colour formatting for
5050 The package level functions can be used to write to stdout (or strings or
5051 other files). If stdout is not a terminal, colour formatting will be
5053 (license license:expat)))
5055 (define-public go-github-com-alecthomas-repr
5056 (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
5059 (name "go-github-com-alecthomas-repr")
5060 (version (git-version "0.0.1" revision commit))
5064 (url "https://github.com/alecthomas/repr")
5066 (file-name (git-file-name name version))
5069 "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
5070 (build-system go-build-system)
5072 `(#:import-path "github.com/alecthomas/repr"))
5074 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
5075 (home-page "https://github.com/alecthomas/repr/")
5076 (synopsis "Represent Go values in an almost direct form")
5077 (description "This package attempts to represent Go values in a form that
5078 can be used almost directly in Go source code.")
5079 (license license:expat))))
5081 (define-public go-github-com-sergi-go-diff
5083 (name "go-github-com-sergi-go-diff")
5088 (url "https://github.com/sergi/go-diff")
5089 (commit (string-append "v" version))))
5090 (file-name (git-file-name name version))
5093 "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
5094 (build-system go-build-system)
5096 `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
5097 #:unpack-path "github.com/sergi/go-diff"))
5099 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
5100 (home-page "https://github.com/sergi/go-diff/")
5101 (synopsis "Algorithms to perform operations for synchronizing plain text")
5102 (description "@code{go-diff} offers algorithms to perform operations required for
5103 synchronizing plain text:
5105 @item compare two texts and return their differences
5106 @item perform fuzzy matching of text
5107 @item apply patches onto text
5109 (license license:expat)))
5111 (define-public go-github-com-alecthomas-assert
5112 (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
5115 (name "go-github-com-alecthomas-assert")
5116 (version (git-version "0.0.1" revision commit))
5120 (url "https://github.com/alecthomas/assert")
5122 (file-name (git-file-name name version))
5125 "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
5126 (build-system go-build-system)
5128 `(#:import-path "github.com/alecthomas/assert"))
5130 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5131 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
5132 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
5133 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
5134 (home-page "https://github.com/alecthomas/assert/")
5135 (synopsis "Go assertion library")
5136 (description "Assertion library that:
5138 @item makes spotting differences in equality much easier
5139 @item uses repr and diffmatchpatch to display structural differences in colour
5140 @item aborts tests on first assertion failure
5142 (license license:expat))))
5144 (define-public go-github-com-alecthomas-chroma
5146 (name "go-github-com-alecthomas-chroma")
5151 (url "https://github.com/alecthomas/chroma")
5152 (commit (string-append "v" version))))
5153 (file-name (git-file-name name version))
5156 "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
5157 (build-system go-build-system)
5159 `(#:import-path "github.com/alecthomas/chroma"))
5161 `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
5162 ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
5163 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
5164 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
5165 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5166 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
5167 (home-page "https://github.com/alecthomas/chroma/")
5168 (synopsis "General purpose syntax highlighter in pure Go")
5169 (description "Chroma takes source code and other structured text and
5170 converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
5171 (license license:expat)))
5173 (define-public go-github-com-andybalholm-cascadia
5175 (name "go-github-com-andybalholm-cascadia")
5180 (url "https://github.com/andybalholm/cascadia")
5181 (commit (string-append "v" version))))
5182 (file-name (git-file-name name version))
5185 "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc"))))
5186 (build-system go-build-system)
5188 `(#:import-path "github.com/andybalholm/cascadia"))
5190 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
5191 (home-page "https://github.com/andybalholm/cascadia/")
5192 (synopsis "CSS selectors for HTML")
5193 (description "The Cascadia package implements CSS selectors for use with
5194 the parse trees produced by the html package.")
5195 (license license:bsd-2)))
5197 (define-public go-github-com-puerkitobio-goquery
5199 (name "go-github-com-puerkitobio-goquery")
5204 (url "https://github.com/PuerkitoBio/goquery")
5205 (commit (string-append "v" version))))
5206 (file-name (git-file-name name version))
5209 "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx"))))
5210 (build-system go-build-system)
5212 `(#:import-path "github.com/PuerkitoBio/goquery"))
5214 `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
5215 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5216 (home-page "https://github.com/PuerkitoBio/goquery")
5217 (synopsis "Features similar to jQuery to the Go language")
5218 (description "@code{goquery} brings a syntax and a set of features similar
5219 to jQuery to the Go language.")
5220 (license license:bsd-3)))
5222 (define-public go-github-com-jmespath-go-jmespath
5224 (name "go-github-com-jmespath-go-jmespath")
5230 (url "https://github.com/jmespath/go-jmespath")
5231 (commit (string-append "v" version))))
5232 (file-name (git-file-name name version))
5235 "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
5236 (build-system go-build-system)
5238 '(#:import-path "github.com/jmespath/go-jmespath"))
5240 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)
5241 ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)
5242 ("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
5243 (home-page "https://github.com/jmespath/go-jmespath")
5244 (synopsis "Golang implementation of JMESPath")
5246 "This package implements JMESPath, a query language for JSON. It
5247 transforms one JSON document into another through a JMESPath expression.")
5248 (license license:asl2.0)))
5250 (define-public go-github-com-aymerick-douceur
5252 (name "go-github-com-aymerick-douceur")
5257 (url "https://github.com/aymerick/douceur/")
5258 (commit (string-append "v" version))))
5259 (file-name (git-file-name name version))
5262 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
5263 (build-system go-build-system)
5265 `(#:import-path "github.com/aymerick/douceur"))
5267 `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
5268 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
5269 ("go-golang-org-x-net" ,go-golang-org-x-net)
5270 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
5271 (home-page "https://github.com/aymerick/douceur/")
5272 (synopsis "CSS parser and inliner")
5273 (description "This package provides a CSS parser and inliner.")
5274 (license license:expat)))
5276 (define-public go-github-com-chris-ramon-douceur
5278 (name "go-github-com-chris-ramon-douceur")
5283 (url "https://github.com/chris-ramon/douceur")
5284 (commit (string-append "v" version))))
5285 (file-name (git-file-name name version))
5288 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
5289 (build-system go-build-system)
5291 `(#:import-path "github.com/chris-ramon/douceur"))
5293 `(("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5294 ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
5295 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
5296 ("go-golang-org-x-net" ,go-golang-org-x-net)
5297 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
5298 (home-page "https://github.com/chris-ramon/douceur/")
5299 (synopsis "CSS parser and inliner")
5300 (description "This package provides a CSS parser and inliner.")
5301 (license license:expat)))
5303 (define-public go-github-com-microcosm-cc-bluemonday
5305 (name "go-github-com-microcosm-cc-bluemonday")
5310 (url "https://github.com/microcosm-cc/bluemonday")
5311 (commit (string-append "v" version))))
5312 (file-name (git-file-name name version))
5315 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
5316 (build-system go-build-system)
5318 `(#:import-path "github.com/microcosm-cc/bluemonday"))
5320 `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5321 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5322 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5323 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5324 (home-page "https://github.com/microcosm-cc/bluemonday/")
5325 (synopsis "HTML sanitizer")
5326 (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
5327 (license license:bsd-3)))
5329 (define-public go-github-com-muesli-reflow-wordwrap
5331 (name "go-github-com-muesli-reflow-wordwrap")
5336 (url "https://github.com/muesli/reflow")
5337 (commit (string-append "v" version))))
5338 (file-name (git-file-name "go-github-com-muesli-reflow" version))
5341 "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
5342 (build-system go-build-system)
5344 `(#:import-path "github.com/muesli/reflow/wordwrap"
5345 #:unpack-path "github.com/muesli/reflow"))
5347 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5348 (home-page "https://github.com/muesli/reflow/")
5349 (synopsis "Collection of methods helping to transform blocks of text")
5350 (description "This package provides a collection of ANSI-aware methods and
5351 io.Writers helping you to transform blocks of text.")
5352 (license license:expat)))
5354 (define-public go-github-com-muesli-reflow-ansi
5356 (inherit go-github-com-muesli-reflow-wordwrap)
5357 (name "go-github-com-muesli-reflow-ansi")
5359 `(#:import-path "github.com/muesli/reflow/ansi"
5360 #:unpack-path "github.com/muesli/reflow"))))
5362 (define-public go-github-com-muesli-reflow-indent
5364 (inherit go-github-com-muesli-reflow-wordwrap)
5365 (name "go-github-com-muesli-reflow-indent")
5367 `(#:import-path "github.com/muesli/reflow/indent"
5368 #:unpack-path "github.com/muesli/reflow"))))
5370 (define-public go-github-com-muesli-reflow-padding
5372 (inherit go-github-com-muesli-reflow-wordwrap)
5373 (name "go-github-com-muesli-reflow-padding")
5375 `(#:import-path "github.com/muesli/reflow/padding"
5376 #:unpack-path "github.com/muesli/reflow"))))
5378 (define-public go-github-com-muesli-termenv
5380 (name "go-github-com-muesli-termenv")
5385 (url "https://github.com/muesli/termenv")
5386 (commit (string-append "v" version))))
5387 (file-name (git-file-name name version))
5390 "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
5391 (build-system go-build-system)
5393 `(#:import-path "github.com/muesli/termenv"))
5395 `(("go-github-com-google-goterm" ,go-github-com-google-goterm)
5396 ("go-golang-org-colorful" ,go-golang-org-colorful)
5397 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5398 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5399 (home-page "https://github.com/muesli/termenv/")
5400 (synopsis "Advanced styling options on the terminal")
5401 (description "termenv lets you safely use advanced styling options on the
5402 terminal. It gathers information about the terminal environment in terms of
5403 its ANSI and color support and offers you convenient methods to colorize and
5404 style your output, without you having to deal with all kinds of weird ANSI
5405 escape sequences and color conversions.")
5406 (license license:expat)))
5408 (define-public go-github-com-nwidger-jsoncolor
5410 (name "go-github-com-nwidger-jsoncolor")
5412 (home-page "https://github.com/nwidger/jsoncolor")
5418 (commit (string-append "v" version))))
5419 (file-name (git-file-name name version))
5422 "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8"))))
5423 (build-system go-build-system)
5425 `(#:import-path "github.com/nwidger/jsoncolor"))
5427 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)))
5428 (synopsis "Colorized JSON marshalling and encoding")
5430 "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s
5431 @code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type
5432 which produce colorized output using github.com/fatih/color.")
5433 (license license:expat)))
5435 (define-public go-github-com-olekukonko-tablewriter
5437 (name "go-github-com-olekukonko-tablewriter")
5442 (url "https://github.com/olekukonko/tablewriter")
5443 (commit (string-append "v" version))))
5444 (file-name (git-file-name name version))
5447 "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x"))))
5448 (build-system go-build-system)
5450 `(#:import-path "github.com/olekukonko/tablewriter"))
5452 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
5453 (home-page "https://github.com/olekukonko/tablewriter/")
5454 (synopsis "Generate ASCII table")
5455 (description "This package generates ASCII tables. Features:
5457 @item automatic Padding
5458 @item support Multiple Lines
5459 @item supports Alignment
5460 @item support Custom Separators
5461 @item automatic Alignment of numbers and percentage
5462 @item write directly to http , file etc via @code{io.Writer}
5463 @item read directly from CSV file
5464 @item optional row line via @code{SetRowLine}
5465 @item normalise table header
5466 @item make CSV Headers optional
5467 @item enable or disable table border
5468 @item set custom footer support
5469 @item optional identical cells merging
5470 @item set custom caption
5471 @item optional reflowing of paragrpahs in multi-line cells
5473 (license license:expat)))
5475 (define-public go-github-com-yuin-goldmark
5477 (name "go-github-com-yuin-goldmark")
5482 (url "https://github.com/yuin/goldmark")
5483 (commit (string-append "v" version))))
5484 (file-name (git-file-name name version))
5487 "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy"))))
5488 (build-system go-build-system)
5490 `(#:import-path "github.com/yuin/goldmark"))
5491 (home-page "https://github.com/yuin/goldmark/")
5492 (synopsis "Markdown parser")
5493 (description "This package provides a markdown parser.")
5494 (license license:expat)))
5496 (define-public go-github-com-charmbracelet-glamour
5498 (name "go-github-com-charmbracelet-glamour")
5503 (url "https://github.com/charmbracelet/glamour")
5504 (commit (string-append "v" version))))
5505 (file-name (git-file-name name version))
5508 "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
5509 (build-system go-build-system)
5511 `(#:import-path "github.com/charmbracelet/glamour"))
5513 `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
5514 ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
5515 ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
5516 ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
5517 ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5518 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5519 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5520 ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
5521 ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
5522 ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
5523 ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
5524 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
5525 ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
5526 ("go-github-com-google-goterm" ,go-github-com-google-goterm)
5527 ("go-golang-org-colorful" ,go-golang-org-colorful)
5528 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5529 ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
5530 ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
5531 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5532 (home-page "https://github.com/charmbracelet/glamour/")
5533 (synopsis "Write handsome command-line tools with glamour")
5534 (description "@code{glamour} lets you render markdown documents and
5535 templates on ANSI compatible terminals. You can create your own stylesheet or
5536 use one of our glamourous default themes.")
5537 (license license:expat)))
5539 (define-public go-github-com-coreos-go-semver
5541 (name "go-github-com-coreos-go-semver")
5546 (url "https://github.com/coreos/go-semver")
5547 (commit (string-append "v" version))))
5548 (file-name (git-file-name name version))
5551 "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9"))))
5552 (build-system go-build-system)
5554 `(#:import-path "github.com/coreos/go-semver"))
5555 (home-page "https://github.com/coreos/go-semver/")
5556 (synopsis "Semantic versioning library")
5557 (description "@code{go-semver} is a semantic versioning library for Go.
5558 It lets you parse and compare two semantic version strings.")
5559 (license license:asl2.0)))
5561 (define-public go-github-com-emirpasic-gods
5563 (name "go-github-com-emirpasic-gods")
5568 (url "https://github.com/emirpasic/gods")
5569 (commit (string-append "v" version))))
5570 (file-name (git-file-name name version))
5573 "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1"))))
5574 (build-system go-build-system)
5576 `(#:import-path "github.com/emirpasic/gods"
5577 ; Source-only package
5580 (modify-phases %standard-phases
5582 (home-page "https://github.com/emirpasic/gods/")
5583 (synopsis "Implementation of various data structures and algorithms in Go")
5584 (description "This package provides implementation of various data
5585 structures and algorithms in Go.")
5586 (license license:bsd-2)))
5588 (define-public go-gopkg-in-warnings
5590 (name "go-gopkg-in-warnings")
5595 (url "https://github.com/go-warnings/warnings")
5596 (commit (string-append "v" version))))
5597 (file-name (git-file-name name version))
5600 "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81"))))
5601 (build-system go-build-system)
5603 `(#:import-path "gopkg.in/warnings.v0"))
5604 (home-page "https://gopkg.in/warnings.v0")
5605 (synopsis "Error handling with non-fatal errors")
5606 (description "Package warnings implements error handling with non-fatal
5607 errors (warnings).")
5608 (license license:bsd-2)))
5610 (define-public go-github-com-go-git-gcfg
5612 (name "go-github-com-go-git-gcfg")
5617 (url "https://github.com/go-git/gcfg")
5618 (commit (string-append "v" version))))
5619 (file-name (git-file-name name version))
5622 "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83"))))
5624 `(#:import-path "github.com/go-git/gcfg"))
5626 `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings)
5627 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
5628 (build-system go-build-system)
5629 (home-page "https://github.com/go-git/gcfg/")
5630 (synopsis "Gcfg reads INI-style configuration files into Go structs")
5631 (description "Gcfg reads INI-style configuration files into Go structs.")
5632 (license license:bsd-3)))
5634 (define-public go-github-com-go-git-go-billy
5636 (name "go-github-com-go-git-go-billy")
5641 (url "https://github.com/go-git/go-billy")
5642 (commit (string-append "v" version))))
5643 (file-name (git-file-name name version))
5646 "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx"))))
5647 (build-system go-build-system)
5649 `(#:import-path "github.com/go-git/go-billy/v5"))
5651 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5652 (home-page "https://github.com/go-git/go-billy/")
5653 (synopsis "File system abstraction for Go")
5654 (description "Billy implements an interface based on the OS's standard
5655 library to develop applications without depending on the underlying storage.
5656 This makes it virtually free to implement mocks and testing over
5657 file system operations.")
5658 (license license:asl2.0)))
5660 (define-public go-github-com-jbenet-go-context
5661 (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
5664 (name "go-github-com-jbenet-go-context")
5665 (version (git-version "0.0.1" revision commit))
5669 (url "https://github.com/jbenet/go-context")
5671 (file-name (git-file-name name version))
5674 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
5675 (build-system go-build-system)
5677 `(#:import-path "github.com/jbenet/go-context"
5678 ; Source-only package
5681 (modify-phases %standard-phases
5683 (home-page "https://github.com/jbenet/go-context/")
5684 (synopsis "@code{jbenet's} context extensions")
5685 (description "This package provides @code{jbenet's} context
5687 (license license:expat))))
5689 (define-public go-github-com-kevinburke-ssh-config
5691 (name "go-github-com-kevinburke-ssh-config")
5696 (url "https://github.com/kevinburke/ssh_config")
5698 (file-name (git-file-name name version))
5701 "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f"))))
5703 `(#:import-path "github.com/kevinburke/ssh_config"))
5704 (build-system go-build-system)
5705 (home-page "https://github.com/kevinburke/ssh_config/")
5706 (synopsis "Parser for @file{ssh_config} files")
5707 (description "This is a Go parser for @file{ssh_config} files.
5708 Importantly, this parser attempts to preserve comments in a given file, so you
5709 can manipulate a @file{ssh_config} file from a program.")
5710 (license license:expat)))
5712 (define-public go-github-com-xanzy-ssh-agent
5714 (name "go-github-com-xanzy-ssh-agent")
5719 (url "https://github.com/xanzy/ssh-agent")
5720 (commit (string-append "v" version))))
5721 (file-name (git-file-name name version))
5724 "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
5725 (build-system go-build-system)
5727 `(#:import-path "github.com/xanzy/ssh-agent"))
5729 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
5730 (home-page "https://github.com/xanzy/ssh-agent/")
5731 (synopsis "Control ssh-agent from Go")
5732 (description "Package agent implements the ssh-agent protocol, and
5733 provides both a client and a server. The client can talk to a standard
5734 ssh-agent that uses UNIX sockets, and one could implement an alternative
5735 ssh-agent process using the sample server. ")
5736 (license license:asl2.0)))
5738 (define-public go-github-com-alcortesm-tgz
5739 (let ((commit "9c5fe88206d7765837fed3732a42ef88fc51f1a1")
5742 (name "go-github-com-alcortesm-tgz")
5743 (version (git-version "0.0.1" revision commit))
5747 (url "https://github.com/alcortesm/tgz")
5749 (file-name (git-file-name name version))
5752 "04dcwnz2c2i4wbq2vx3g2wrdgqpncr2r1h6p1k08rdwk4bq1h8c5"))
5753 (modules '((guix build utils)))
5756 (substitute* "tgz_test.go"
5758 (("t.Fatalf\\(\"%s: unexpected error extracting: %s\", err\\)")
5759 "t.Fatalf(\"%s: unexpected error extracting: %s\", com, err)"))
5761 (build-system go-build-system)
5763 `(#:import-path "github.com/alcortesm/tgz"
5765 (modify-phases %standard-phases
5766 (add-after 'unpack 'make-git-checkout-writable
5767 (lambda* (#:key outputs #:allow-other-keys)
5768 (for-each make-file-writable (find-files "."))
5769 (for-each make-file-writable (find-files (assoc-ref outputs "out")))
5771 (home-page "https://github.com/alcortesm/tgz/")
5772 (synopsis "Go library to extract tgz files to temporal directories")
5773 (description "This package provides a Go library to extract tgz files to
5774 temporal directories.")
5775 (license license:expat))))
5777 (define-public go-github-com-go-git-go-git-fixtures
5779 (name "go-github-com-go-git-go-git-fixtures")
5784 (url "https://github.com/go-git/go-git-fixtures")
5785 (commit (string-append "v" version))))
5786 (file-name (git-file-name name version))
5789 "002yb1s2mxq2xijkl39ip1iyc3l52k23ikyi9ijfl4bgqxy79ljg"))))
5790 (build-system go-build-system)
5792 `(#:import-path "github.com/go-git/go-git-fixtures/v4"
5794 (modify-phases %standard-phases
5795 (delete 'reset-gzip-timestamps))))
5797 `(("go-github-com-alcortesm-tgz" ,go-github-com-alcortesm-tgz)
5798 ("go-github-com-go-git-go-billy" ,go-github-com-go-git-go-billy)
5799 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
5800 ("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5801 (home-page "https://github.com/go-git/go-git-fixtures/")
5802 (synopsis "Fixtures used by @code{go-git}")
5803 (description "This package provides fixtures used by @code{go-git}.")
5804 (license license:asl2.0)))
5806 (define-public go-github-com-pkg-diff
5807 (let ((commit "531926345625d489a6b56f860a569e68245ace36")
5810 (name "go-github-com-pkg-diff")
5811 (version (git-version "0.0.1" revision commit))
5815 (url "https://github.com/pkg/diff")
5817 (file-name (git-file-name name version))
5820 "1770m7qhww6lm0wj1v3mhv6hwa2v92p4w2fqxj1xyrg5dd58d944"))))
5821 (build-system go-build-system)
5823 `(#:import-path "github.com/pkg/diff"))
5825 `(("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
5826 (home-page "https://github.com/pkg/diff/")
5827 (synopsis "Create and print diffs")
5829 "This package provides a Go library to create and print diffs.")
5830 (license license:bsd-3))))
5832 (define-public go-github-com-twpayne-go-shell
5834 (name "go-github-com-twpayne-go-shell")
5839 (url "https://github.com/twpayne/go-shell")
5840 (commit (string-append "v" version))))
5841 (file-name (git-file-name name version))
5844 "1hv0ggy3935iddjnmpp9vl0kqjknxpnbmm9w7xr3gds7fpbxz6yp"))))
5845 (build-system go-build-system)
5847 `(#:import-path "github.com/twpayne/go-shell"))
5848 (home-page "https://github.com/twpayne/go-shell/")
5849 (synopsis "Shell across multiple platforms")
5851 "Package @code{shell} returns a user's shell across multiple platforms.")
5852 (license license:expat)))
5854 (define-public go-github-com-twpayne-go-vfs
5856 (name "go-github-com-twpayne-go-vfs")
5861 (url "https://github.com/twpayne/go-vfs")
5862 (commit (string-append "v" version))))
5863 (file-name (git-file-name name version))
5866 "19dm3gi45znwaqbzxhwcgkiz8059bwa3ank80hc6qhdl579bpjnz"))))
5867 (build-system go-build-system)
5869 `(#:import-path "github.com/twpayne/go-vfs"))
5871 `(("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar)))
5872 (home-page "https://github.com/twpayne/go-vfs/")
5873 (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
5874 (description "Package @code{vfs} provides an abstraction of the @code{os}
5875 and @code{ioutil} packages that is easy to test.")
5876 (license license:expat)))
5878 (define-public go-github-com-twpayne-go-vfsafero
5880 (name "go-github-com-twpayne-go-vfsafero")
5885 (url "https://github.com/twpayne/go-vfsafero")
5886 (commit (string-append "v" version))))
5887 (file-name (git-file-name name version))
5890 "18jwxhlrjd06z8xzg9ij0irl4f79jfy5jpwiz6xqlhzb1fja19pw"))))
5891 (build-system go-build-system)
5893 `(#:import-path "github.com/twpayne/go-vfsafero"))
5895 `(("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)
5896 ("go-github-com-spf13-afero" ,go-github-com-spf13-afero)))
5897 (home-page "https://github.com/twpayne/go-vfsafero/")
5898 (synopsis "Compatibility later between @code{go-vfs} and @code{afero}")
5900 "Package @code{vfsafero} provides a compatibility later between
5901 @code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.")
5902 (license license:expat)))
5904 (define-public go-github-com-twpayne-go-xdg
5906 (name "go-github-com-twpayne-go-xdg")
5911 (url "https://github.com/twpayne/go-xdg")
5912 (commit (string-append "v" version))))
5913 (file-name (git-file-name name version))
5916 "0j8q7yzixs6jlaad0lpa8hs6b240gm2cmy0yxgnprrbpa0y2r7ln"))))
5917 (build-system go-build-system)
5919 `(#:import-path "github.com/twpayne/go-xdg/v3"))
5921 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
5922 ("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs)))
5923 (home-page "https://github.com/twpayne/go-xdg/")
5924 (synopsis "Functions related to freedesktop.org")
5925 (description "Package @code{xdg} provides functions related to
5926 @uref{freedesktop.org}.")
5927 (license license:expat)))
5929 (define-public go-github-com-godbus-dbus
5931 (name "go-github-com-godbus-dbus")
5936 (url "https://github.com/godbus/dbus")
5937 (commit (string-append "v" version))))
5938 (file-name (git-file-name name version))
5941 "1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
5942 (build-system go-build-system)
5944 `(#:tests? #f ;no /var/run/dbus/system_bus_socket
5945 #:import-path "github.com/godbus/dbus"))
5947 `(("dbus" ,dbus))) ;dbus-launch
5948 (home-page "https://github.com/godbus/dbus/")
5949 (synopsis "Native Go client bindings for the D-Bus")
5950 (description "@code{dbus} is a library that implements native Go client
5951 bindings for the D-Bus message bus system.")
5952 (license license:bsd-2)))
5954 (define-public go-github-com-zalando-go-keyring
5956 (name "go-github-com-zalando-go-keyring")
5961 (url "https://github.com/zalando/go-keyring")
5962 (commit (string-append "v" version))))
5963 (file-name (git-file-name name version))
5966 "0kj54nkiyccy6m9iy9a53f6412a54xk96j88jaiq35yzdgfa4z3p"))))
5967 (build-system go-build-system)
5969 `(#:tests? #f ;XXX: Fix dbus tests
5970 #:import-path "github.com/zalando/go-keyring"))
5972 `(("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus)
5974 (home-page "https://github.com/zalando/go-keyring/")
5975 (synopsis "Library for working with system keyring")
5976 (description "@code{go-keyring} is a library for setting, getting and
5977 deleting secrets from the system keyring.")
5978 (license license:expat)))
5980 (define-public go-etcd-io-bbolt
5982 (name "go-etcd-io-bbolt")
5987 (url "https://github.com/etcd-io/bbolt")
5988 (commit (string-append "v" version))))
5989 (file-name (git-file-name name version))
5992 "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r"))))
5993 (build-system go-build-system)
5995 `(#:import-path "go.etcd.io/bbolt"))
5996 (home-page "https://pkg.go.dev/go.etcd.io/bbolt/")
5997 (synopsis "Low-level key/value store in Go")
5998 (description "This package implements a low-level key/value store in Go.")
5999 (license license:expat)))
6001 (define-public go-github-com-rogpeppe-go-internal
6003 (name "go-github-com-rogpeppe-go-internal")
6008 (url "https://github.com/rogpeppe/go-internal")
6009 (commit (string-append "v" version))))
6010 (file-name (git-file-name name version))
6013 "00j2vpp1bsggdvw1winkz23mg0q6drjiir5q0k49pmqx1sh7106l"))))
6014 (build-system go-build-system)
6016 `(#:import-path "github.com/rogpeppe/go-internal"
6017 ; Source-only package
6020 (modify-phases %standard-phases
6022 (home-page "https://github.com/rogpeppe/go-internal/")
6023 (synopsis "Internal packages from the Go standard library")
6024 (description "This repository factors out an opinionated selection of
6025 internal packages and functionality from the Go standard library. Currently
6026 this consists mostly of packages and testing code from within the Go tool
6029 Included are the following:
6031 @item dirhash: calculate hashes over directory trees the same way that the Go tool does.
6032 @item goproxytest: a GOPROXY implementation designed for test use.
6033 @item gotooltest: Use the Go tool inside test scripts (see testscript below)
6034 @item imports: list of known architectures and OSs, and support for reading import import statements.
6035 @item modfile: read and write go.mod files while preserving formatting and comments.
6036 @item module: module paths and versions.
6037 @item par: do work in parallel.
6038 @item semver: semantic version parsing.
6039 @item testenv: information on the current testing environment.
6040 @item testscript: script-based testing based on txtar files
6041 @item txtar: simple text-based file archives for testing.
6043 (license license:bsd-3)))
6045 (define-public gopkg-in-errgo-fmt-errors
6047 (name "gopkg-in-errgo-fmt-errors")
6052 (url "https://github.com/go-errgo/errgo")
6053 (commit (string-append "v" version))))
6054 (file-name (git-file-name name version))
6057 "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2"))))
6058 (build-system go-build-system)
6060 `(#:import-path "gopkg.in/errgo.v2/fmt/errors"
6062 ;; Source-only package
6064 (modify-phases %standard-phases
6066 (home-page "https://godoc.org/gopkg.in/errgo.v2")
6067 (synopsis "Functions that use the fmt package to format error messages")
6068 (description "This package is the same as @code{gopkg.in/errgo.v2/errors}
6069 except that it adds convenience functions that use the fmt package to format
6071 (license license:bsd-3)))
6073 (define-public go-github-com-arceliar-phony
6074 (let ((commit "d0c68492aca0bd4b5c5c8e0452c9b4c8af923eaf")
6077 (name "go-github-com-arceliar-phony")
6078 (version (git-version "0.0.0" revision commit))
6083 (url "https://github.com/Arceliar/phony")
6085 (file-name (git-file-name name version))
6088 "0876y0hlb1zh8hn0pxrb5zfdadvaqmqwlr66p19yl2a76galz992"))))
6090 '(#:import-path "github.com/Arceliar/phony"))
6091 (build-system go-build-system)
6092 (home-page "https://github.com/Arceliar/phony")
6093 (synopsis "Very minimal actor model library")
6094 (description "Phony is a very minimal actor model library for Go,
6095 inspired by the causal messaging system in the Pony programming language.")
6096 (license license:expat))))
6098 (define-public go-github-com-cheggaaa-pb
6100 (name "go-github-com-cheggaaa-pb")
6106 (url "https://github.com/cheggaaa/pb/")
6107 (commit (string-append "v" version))))
6108 (file-name (git-file-name name version))
6111 "0xhsv9yf3fz918ay6w0d87jnb3hk9vxvi16jk172kqq26x7jixd0"))))
6112 (build-system go-build-system)
6114 '(#:import-path "github.com/cheggaaa/pb/"))
6116 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
6117 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
6118 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
6119 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
6121 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
6122 (home-page "https://github.com/cheggaaa/pb/")
6123 (synopsis "Console progress bar for Go")
6124 (description "This package is a Go library that draws progress bars on
6126 (license license:bsd-3)))
6128 (define-public go-github-com-gologme-log
6129 ;; this is the same as v1.2.0, only the LICENSE file changed
6130 (let ((commit "720ba0b3ccf0a91bc6018c9967a2479f93f56a55"))
6132 (name "go-github-com-gologme-log")
6138 (url "https://github.com/gologme/log")
6140 (file-name (git-file-name name version))
6143 "0z3gs5ngv2jszp42ypp3ai0pn410v3b2m674g73ma7vsbn2yjk1n"))))
6144 (build-system go-build-system)
6146 '(#:import-path "github.com/gologme/log"))
6147 (home-page "https://github.com/gologme/log/")
6149 "Fork of the golang built in log package to add support for levels")
6150 (description "This package is a drop in replacement for the built-in Go
6151 log package. All the functionality of the built-in package still exists and
6152 is unchanged. This package contains a series of small enhancements and
6154 (license license:bsd-3))))
6156 (define-public go-github-com-frankban-quicktest
6158 (name "go-github-com-frankban-quicktest")
6164 (url "https://github.com/frankban/quicktest")
6165 (commit (string-append "v" version))))
6166 (file-name (git-file-name name version))
6169 "0b1b44b2hli2p969gqz30z8v9z6ahlklpqzi17nwk1lsjz9yv938"))))
6170 (build-system go-build-system)
6172 '(#:import-path "github.com/frankban/quicktest"))
6174 `(("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)
6175 ("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
6176 (home-page "https://github.com/frankban/quicktest")
6177 (synopsis "Quick helpers for testing Go applications")
6179 "Package quicktest provides a collection of Go helpers for writing
6181 (license license:expat)))
6183 (define-public go-github-com-bep-golibsass
6185 (name "go-github-com-bep-golibsass")
6191 (url "https://github.com/bep/golibsass")
6192 (commit (string-append "v" version))))
6193 (file-name (git-file-name name version))
6196 "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
6197 (modules '((guix build utils)))
6200 (delete-file-recursively "libsass_src")
6202 (build-system go-build-system)
6204 '(#:import-path "github.com/bep/golibsass/libsass"
6205 #:unpack-path "github.com/bep/golibsass"
6206 ;; The dev build tag modifies the build to link to system libsass
6207 ;; instead of including the bundled one (which we remove.)
6208 ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
6209 #:build-flags '("-tags" "dev")
6211 (modify-phases %standard-phases
6212 (add-before 'build 'generate-bindings
6213 ;; Generate bindings for system libsass, replacing the
6214 ;; pre-generated bindings.
6215 (lambda* (#:key inputs unpack-path #:allow-other-keys)
6216 (mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
6217 (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
6218 (substitute* (string-append "src/" unpack-path "/gen/main.go")
6219 (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
6220 (string-append "\"" libsass-src "\""))
6221 (("../../libsass_src/src/")
6223 (invoke "go" "generate" (string-append unpack-path "/gen"))
6226 (lambda* (#:key tests? import-path #:allow-other-keys)
6228 (invoke "go" "test" import-path "-tags" "dev"))
6231 `(("libsass" ,libsass)))
6233 `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
6234 ("libsass-src" ,(package-source libsass))))
6235 (home-page "https://github.com/bep/golibsass")
6236 (synopsis "Easy to use Go bindings for LibSass")
6238 "This package provides SCSS compiler support for Go applications.")
6239 (license license:expat)))
6241 (define-public go-github-com-hashicorp-go-syslog
6243 (name "go-github-com-hashicorp-go-syslog")
6249 (url "https://github.com/hashicorp/go-syslog")
6250 (commit (string-append "v" version))))
6251 (file-name (git-file-name name version))
6254 "09vccqggz212cg0jir6vv708d6mx0f9w5bxrcdah3h6chgmal6v1"))))
6255 (build-system go-build-system)
6257 '(#:import-path "github.com/hashicorp/go-syslog"))
6258 (home-page "https://github.com/hashicorp/go-syslog")
6259 (synopsis "Golang syslog wrapper, cross-compile friendly")
6260 (description "This package is a very simple wrapper around log/syslog")
6261 (license license:expat)))
6263 (define-public go-github-com-hjson-hjson-go
6265 (name "go-github-com-hjson-hjson-go")
6271 (url "https://github.com/hjson/hjson-go")
6272 (commit (string-append "v" version))))
6273 (file-name (git-file-name name version))
6276 "1dfdiahimg6z9idg8jiqxwnlwjnmasbjccx8gnag49cz4yfqskaz"))))
6277 (build-system go-build-system)
6279 '(#:import-path "github.com/hjson/hjson-go"))
6280 (home-page "https://hjson.org/")
6281 (synopsis "Human JSON implementation for Go")
6282 (description "Hjson is a syntax extension to JSON. It is intended to be
6283 used like a user interface for humans, to read and edit before passing the
6284 JSON data to the machine.")
6285 (license license:expat)))
6287 (define-public go-golang-zx2c4-com-wireguard
6289 (name "go-golang-zx2c4-com-wireguard")
6290 (version "0.0.20200320")
6294 ;; NOTE: module URL is a redirect
6295 ;; target: git.zx2c4.com/wireguard-go
6296 ;; source: golang.zx2c4.com/wireguard
6298 (url "https://git.zx2c4.com/wireguard-go/")
6299 (commit (string-append "v" version))))
6300 (file-name (git-file-name name version))
6303 "0fy4qsss3i3pkq1rpgjds4aipbwlh1dr9hbbf7jn2a1c63kfks0r"))))
6304 (build-system go-build-system)
6306 '(#:import-path "golang.zx2c4.com/wireguard"))
6308 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
6309 ("go-golang-org-x-net" ,go-golang-org-x-net)
6310 ("go-golang-org-x-sys" ,go-golang-org-x-sys)
6311 ("go-golang-org-x-text" ,go-golang-org-x-text)))
6312 (home-page "https://git.zx2c4.com/wireguard")
6313 (synopsis "Implementation of WireGuard in Go")
6314 (description "This package is a Go Implementation of WireGuard.")
6315 (license license:expat)))
6317 (define-public go-github-com-kardianos-minwinsvc
6319 (name "go-github-com-kardianos-minwinsvc")
6325 (url "https://github.com/kardianos/minwinsvc")
6326 (commit (string-append "v" version))))
6327 (file-name (git-file-name name version))
6330 "0z941cxymkjcsj3p5l3g4wm2da3smz7iyqk2wbs5y8lmxd4kfzd8"))))
6331 (build-system go-build-system)
6333 '(#:import-path "github.com/kardianos/minwinsvc"))
6334 (home-page "https://github.com/kardianos/minwinsvc/")
6335 ;; some packages (Yggdrasil) need it to compile
6336 ;; it's a tiny package and it's easier to bundle it than to patch it out
6337 (synopsis "Minimal windows only service stub for Go")
6338 (description "Go programs designed to run from most *nix style operating
6339 systems can import this package to enable running programs as services without
6341 (license license:zlib)))
6343 (define-public go-github.com-ulikunitz-xz
6345 (name "go-github.com-ulikunitz-xz")
6350 (url "https://github.com/ulikunitz/xz.git")
6351 (commit (string-append "v" version))))
6352 (file-name (string-append name "-" version "-checkout"))
6355 "1xnsymi5fmmm734bi4c6z57p5cvnyxlpi29yxs4v21w5k763aypd"))))
6356 (build-system go-build-system)
6358 `(#:import-path "github.com/ulikunitz/xz"))
6359 (synopsis "Read and write xz compressed streams in Go")
6360 (description "This package provides a library to read and write xz
6361 compressed streams in Go.")
6362 (home-page "https://github.com/ulikunitz/xz")
6363 (license license:bsd-3)))