1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
3 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
4 ;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
5 ;;; Copyright © 2016, 2019 Ludovic Courtès <ludo@gnu.org>
6 ;;; Copyright © 2016, 2017 Petter <petter@mykolab.ch>
7 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
8 ;;; Copyright © 2017 Sergei Trofimovich <slyfox@inbox.ru>
9 ;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
10 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
11 ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
12 ;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
13 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
14 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
15 ;;; Copyright @ 2018, 2019, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
16 ;;; Copyright @ 2019 Giovanni Biscuolo <g@xelera.eu>
17 ;;; Copyright @ 2019, 2020 Alex Griffin <a@ajgrf.com>
18 ;;; Copyright © 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
20 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
22 ;;; This file is part of GNU Guix.
24 ;;; GNU Guix is free software; you can redistribute it and/or modify it
25 ;;; under the terms of the GNU General Public License as published by
26 ;;; the Free Software Foundation; either version 3 of the License, or (at
27 ;;; your option) any later version.
29 ;;; GNU Guix is distributed in the hope that it will be useful, but
30 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
31 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 ;;; GNU General Public License for more details.
34 ;;; You should have received a copy of the GNU General Public License
35 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
37 (define-module (gnu packages golang)
38 #:use-module ((guix licenses) #:prefix license:)
39 #:use-module (guix utils)
40 #:use-module (guix download)
41 #:use-module (guix git-download)
42 #:use-module (guix packages)
43 #:use-module (guix build-system gnu)
44 #:use-module (guix build-system trivial)
45 #:use-module (guix build-system go)
46 #:use-module (gnu packages)
47 #:use-module (gnu packages admin)
48 #:use-module (gnu packages gcc)
49 #:use-module (gnu packages base)
50 #:use-module (gnu packages perl)
51 #:use-module (gnu packages pkg-config)
52 #:use-module (gnu packages pcre)
53 #:use-module (gnu packages lua)
54 #:use-module (gnu packages mp3)
55 #:use-module (gnu packages textutils)
56 #:use-module (gnu packages tls)
57 #:use-module (ice-9 match)
58 #:use-module (srfi srfi-1))
60 ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a
61 ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2
62 ;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately
63 ;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of
64 ;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or
65 ;; gccgo-5. Mips is not officially supported, but it should work if it is
71 ;; The C-language bootstrap of Go:
72 ;; https://golang.org/doc/install/source#go14
73 (version "1.4-bootstrap-20171003")
76 (uri (string-append "https://storage.googleapis.com/golang/"
77 name version ".tar.gz"))
80 "0liybk5z00hizsb5ypkbhqcawnwwa6mkwgvjjg4y3jm3ndg5pzzl"))))
81 (build-system gnu-build-system)
86 `(#:modules ((ice-9 match)
87 (guix build gnu-build-system)
90 #:tests? #f ; Tests are run by the all.bash script.
91 ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
92 (%current-target-system)))
93 '(#:system "armhf-linux")
96 (modify-phases %standard-phases
98 (add-after 'patch-generated-file-shebangs 'chdir
102 (add-before 'build 'prebuild
103 (lambda* (#:key inputs outputs #:allow-other-keys)
104 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
105 (ld (string-append (assoc-ref inputs "libc") "/lib"))
106 (loader (car (find-files ld "^ld-linux.+")))
107 (net-base (assoc-ref inputs "net-base"))
109 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
110 (output (assoc-ref outputs "out")))
112 ;; Removing net/ tests, which fail when attempting to access
113 ;; network resources not present in the build container.
114 (for-each delete-file
115 '("net/multicast_test.go" "net/parse_test.go"
118 ;; Add libgcc to the RUNPATH.
119 (substitute* "cmd/go/build.go"
120 (("cgoldflags := \\[\\]string\\{\\}")
121 (string-append "cgoldflags := []string{"
122 "\"-rpath=" gcclib "\"}"))
123 (("ldflags := buildLdflags")
125 "ldflags := buildLdflags\n"
126 "ldflags = append(ldflags, \"-r\")\n"
127 "ldflags = append(ldflags, \"" gcclib "\")\n")))
129 (substitute* "os/os_test.go"
130 (("/usr/bin") (getcwd))
131 (("/bin/pwd") (which "pwd")))
133 ;; Disable failing tests: these tests attempt to access
134 ;; commands or network resources which are neither available or
135 ;; necessary for the build to succeed.
140 ((regex all before test_name)
141 (string-append before "Disabled" test_name)))))
142 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
143 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
144 ("os/os_test.go" "(.+)(TestHostname.+)")
145 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
147 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
148 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
149 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
150 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
151 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
152 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
153 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
154 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
155 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")))
157 (substitute* "net/lookup_unix.go"
158 (("/etc/protocols") (string-append net-base "/etc/protocols")))
159 (substitute* "time/zoneinfo_unix.go"
160 (("/usr/share/zoneinfo/") tzdata-path))
161 (substitute* (find-files "cmd" "asm.c")
162 (("/lib/ld-linux.*\\.so\\.[0-9]") loader))
166 (lambda* (#:key inputs outputs #:allow-other-keys)
167 ;; FIXME: Some of the .a files are not bit-reproducible.
168 (let* ((output (assoc-ref outputs "out")))
169 (setenv "CC" (which "gcc"))
170 (setenv "GOOS" "linux")
171 (setenv "GOROOT" (dirname (getcwd)))
172 (setenv "GOROOT_FINAL" output)
173 (setenv "GO14TESTS" "1")
174 (invoke "sh" "all.bash"))))
177 (lambda* (#:key outputs inputs #:allow-other-keys)
178 (let* ((output (assoc-ref outputs "out"))
179 (doc_out (assoc-ref outputs "doc"))
180 (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
181 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
182 (tests (string-append
183 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
185 (copy-recursively "../test" (string-append tests "/test"))
186 (delete-file-recursively "../test")
188 (copy-recursively "../api" (string-append docs "/api"))
189 (delete-file-recursively "../api")
190 (copy-recursively "../doc" (string-append docs "/doc"))
191 (delete-file-recursively "../doc")
193 (for-each (lambda (file)
194 (let ((file (string-append "../" file)))
195 (install-file file docs)
197 '("README" "CONTRIBUTORS" "AUTHORS" "PATENTS"
198 "LICENSE" "VERSION" "robots.txt"))
199 (copy-recursively "../" output)
204 ("gcc:lib" ,(canonical-package gcc) "lib")))
206 `(("pkg-config" ,pkg-config)
208 ("net-base" ,net-base)
211 (home-page "https://golang.org/")
212 (synopsis "Compiler and libraries for Go, a statically-typed language")
213 (description "Go, also commonly referred to as golang, is an imperative
214 programming language designed primarily for systems programming. Go is a
215 compiled, statically typed language in the tradition of C and C++, but adds
216 garbage collection, various safety features, and concurrent programming features
217 in the style of communicating sequential processes (@dfn{CSP}).")
218 (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
219 (license license:bsd-3)))
221 (define-public go-1.14
230 (url "https://github.com/golang/go")
231 (commit (string-append "go" version))))
232 (file-name (git-file-name name version))
235 "08bazglmqp123c9dgrxflvxd011xsqfxsgah2kzbvca0mhm6qcm3"))))
237 (substitute-keyword-arguments (package-arguments go-1.4)
239 (if (string-prefix? "aarch64-linux" (or (%current-system)
240 (%current-target-system)))
244 `(modify-phases ,phases
246 (lambda* (#:key inputs outputs #:allow-other-keys)
247 (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") "/lib"))
248 (ld (string-append (assoc-ref inputs "libc") "/lib"))
249 (loader (car (find-files ld "^ld-linux.+")))
250 (net-base (assoc-ref inputs "net-base"))
252 (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))
253 (output (assoc-ref outputs "out")))
255 ;; Having the patch in the 'patches' field of <origin> breaks
256 ;; the 'TestServeContent' test due to the fact that
257 ;; timestamps are reset. Thus, apply it from here.
258 (invoke "patch" "-p2" "--force" "-i"
259 (assoc-ref inputs "go-skip-gc-test.patch"))
261 ;; A side effect of these test scripts is testing
262 ;; cgo. Attempts at using cgo flags and directives with these
263 ;; scripts as specified here (https://golang.org/cmd/cgo/)
264 ;; have not worked. The tests continue to state that they can
265 ;; not find object files/headers despite being present.
268 '("cmd/go/testdata/script/mod_case_cgo.txt"
269 "cmd/go/testdata/script/list_find.txt"
270 "cmd/go/testdata/script/list_compiled_imports.txt"
271 "cmd/go/testdata/script/cgo_syso_issue29253.txt"
272 "cmd/go/testdata/script/cover_cgo.txt"
273 "cmd/go/testdata/script/cover_cgo_xtest.txt"
274 "cmd/go/testdata/script/cover_cgo_extra_test.txt"
275 "cmd/go/testdata/script/cover_cgo_extra_file.txt"))
277 (for-each make-file-writable (find-files "."))
279 (substitute* "os/os_test.go"
280 (("/usr/bin") (getcwd))
281 (("/bin/pwd") (which "pwd"))
282 (("/bin/sh") (which "sh")))
284 ;; Add libgcc to runpath
285 (substitute* "cmd/link/internal/ld/lib.go"
286 (("!rpath.set") "true"))
287 (substitute* "cmd/go/internal/work/gccgo.go"
288 (("cgoldflags := \\[\\]string\\{\\}")
289 (string-append "cgoldflags := []string{"
290 "\"-rpath=" gcclib "\""
294 "\"-Wl,-rpath=" gcclib "\", \"-lgcc_s\", ")))
295 (substitute* "cmd/go/internal/work/gc.go"
296 (("ldflags = setextld\\(ldflags, compiler\\)")
298 "ldflags = setextld(ldflags, compiler)\n"
299 "ldflags = append(ldflags, \"-r\")\n"
300 "ldflags = append(ldflags, \"" gcclib "\")\n")))
302 ;; Disable failing tests: these tests attempt to access
303 ;; commands or network resources which are neither available
304 ;; nor necessary for the build to succeed.
309 ((regex all before test_name)
310 (string-append before "Disabled" test_name)))))
311 '(("net/net_test.go" "(.+)(TestShutdownUnix.+)")
312 ("net/dial_test.go" "(.+)(TestDialTimeout.+)")
313 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPort.+)")
314 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPortWithCancel.+)")
315 ;; 127.0.0.1 doesn't exist
316 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTR.+)")
317 ;; 127.0.0.1 doesn't exist
318 ("net/cgo_unix_test.go" "(.+)(TestCgoLookupPTRWithCancel.+)")
319 ;; /etc/services doesn't exist
320 ("net/parse_test.go" "(.+)(TestReadLine.+)")
321 ("os/os_test.go" "(.+)(TestHostname.+)")
322 ;; The user's directory doesn't exist
323 ("os/os_test.go" "(.+)(TestUserHomeDir.+)")
324 ("time/format_test.go" "(.+)(TestParseInSydney.+)")
325 ("time/format_test.go" "(.+)(TestParseInLocation.+)")
326 ("os/exec/exec_test.go" "(.+)(TestEcho.+)")
327 ("os/exec/exec_test.go" "(.+)(TestCommandRelativeName.+)")
328 ("os/exec/exec_test.go" "(.+)(TestCatStdin.+)")
329 ("os/exec/exec_test.go" "(.+)(TestCatGoodAndBadFile.+)")
330 ("os/exec/exec_test.go" "(.+)(TestExitStatus.+)")
331 ("os/exec/exec_test.go" "(.+)(TestPipes.+)")
332 ("os/exec/exec_test.go" "(.+)(TestStdinClose.+)")
333 ("os/exec/exec_test.go" "(.+)(TestIgnorePipeErrorOnSuccess.+)")
334 ("syscall/syscall_unix_test.go" "(.+)(TestPassFD\\(.+)")
335 ("os/exec/exec_test.go" "(.+)(TestExtraFiles/areturn.+)")
336 ("cmd/go/go_test.go" "(.+)(TestCoverageWithCgo.+)")
337 ("cmd/go/go_test.go" "(.+)(TestTwoPkgConfigs.+)")
338 ("os/exec/exec_test.go" "(.+)(TestOutputStderrCapture.+)")
339 ("os/exec/exec_test.go" "(.+)(TestExtraFiles.+)")
340 ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
341 ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
342 ("syscall/exec_linux_test.go"
343 "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
345 ;; These tests fail on aarch64-linux
346 (substitute* "cmd/dist/test.go"
347 (("t.registerHostTest\\(\"testsanitizers/msan.*") ""))
349 ;; fix shebang for testar script
350 ;; note the target script is generated at build time.
351 (substitute* "../misc/cgo/testcarchive/carchive_test.go"
352 (("#!/usr/bin/env") (string-append "#!" (which "env"))))
354 (substitute* "net/lookup_unix.go"
355 (("/etc/protocols") (string-append net-base "/etc/protocols")))
356 (substitute* "net/port_unix.go"
357 (("/etc/services") (string-append net-base "/etc/services")))
358 (substitute* "time/zoneinfo_unix.go"
359 (("/usr/share/zoneinfo/") tzdata-path))
360 (substitute* (find-files "cmd" "\\.go")
361 (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader))
363 (add-before 'build 'set-bootstrap-variables
364 (lambda* (#:key outputs inputs #:allow-other-keys)
365 ;; Tell the build system where to find the bootstrap Go.
366 (let ((go (assoc-ref inputs "go")))
367 (setenv "GOROOT_BOOTSTRAP" go)
368 (setenv "GOGC" "400")
371 (lambda* (#:key inputs outputs #:allow-other-keys)
372 ;; FIXME: Some of the .a files are not bit-reproducible.
373 (let* ((output (assoc-ref outputs "out")))
374 (setenv "CC" (which "gcc"))
375 (setenv "GOOS" "linux")
376 (setenv "GOROOT" (dirname (getcwd)))
377 (setenv "GOROOT_FINAL" output)
378 (setenv "CGO_ENABLED" "1")
379 (invoke "sh" "all.bash"))))
381 ;; TODO: Most of this could be factorized with Go 1.4.
382 (lambda* (#:key outputs #:allow-other-keys)
383 (let* ((output (assoc-ref outputs "out"))
384 (doc_out (assoc-ref outputs "doc"))
385 (docs (string-append doc_out "/share/doc/" ,name "-" ,version))
387 (assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
388 ;; Prevent installation of the build cache, which contains
389 ;; store references to most of the tools used to build Go and
390 ;; would unnecessarily increase the size of Go's closure if it
392 (delete-file-recursively "../pkg/obj")
395 (copy-recursively "../test" (string-append src "/test"))
396 (delete-file-recursively "../test")
398 (copy-recursively "../api" (string-append docs "/api"))
399 (delete-file-recursively "../api")
400 (copy-recursively "../doc" (string-append docs "/doc"))
401 (delete-file-recursively "../doc")
405 (let* ((filein (string-append "../" file))
406 (fileout (string-append docs "/" file)))
407 (copy-file filein fileout)
408 (delete-file filein)))
409 ;; Note the slightly different file names compared to 1.4.
410 '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
411 "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
413 (copy-recursively "../" output)
417 ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
418 ,@(match (%current-system)
419 ((or "armhf-linux" "aarch64-linux")
420 `(("gold" ,binutils-gold)))
422 ,@(package-native-inputs go-1.4)))
423 (supported-systems %supported-systems)))
425 (define-public go go-1.14)
427 (define-public go-github-com-alsm-ioprogress
428 (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")
431 (name "go-github-com-alsm-ioprogress")
432 (version (git-version "0.0.0" revision commit))
436 (url "https://github.com/alsm/ioprogress")
438 (file-name (git-file-name name version))
441 "10ym5qlq77nynmkxbk767f2hfwyxg2k7hrzph05hvgzv833dhivh"))))
442 (build-system go-build-system)
444 '(#:import-path "github.com/alsm/ioprogress"))
445 (synopsis "Textual progress bars in Go")
446 (description "@code{ioprogress} is a Go library with implementations of
447 @code{io.Reader} and @code{io.Writer} that draws progress bars. The primary use
448 case for these are for command-line applications but alternate progress bar
449 writers can be supplied for alternate environments.")
450 (home-page "https://github.com/alsm/ioprogress")
451 (license license:expat))))
453 (define-public go-github-com-aki237-nscjar
454 (let ((commit "e2df936ddd6050d30dd90c7214c02b5019c42f06")
457 (name "go-github-com-aki237-nscjar")
458 (version (git-version "0.0.0" revision commit))
462 (url "https://github.com/aki237/nscjar")
464 (file-name (git-file-name name version))
467 "03y7zzq12qvhsq86lb06sgns8xrkblbn7i7wd886wk3zr5574b96"))))
468 (build-system go-build-system)
470 '(#:import-path "github.com/aki237/nscjar"))
471 (synopsis "Handle Netscape / Mozilla cookies")
472 (description "@code{nscjar} is a Go library used to parse and output
473 Netscape/Mozilla's old-style cookie files. It also implements a simple cookie
474 jar struct to manage the cookies added to the cookie jar.")
475 (home-page "https://github.com/aki237/nscjar")
476 (license license:expat))))
478 (define-public go-github.com-jessevdk-go-flags
480 (name "go-github.com-jessevdk-go-flags")
485 (url "https://github.com/jessevdk/go-flags")
486 (commit (string-append "v" version))))
487 (file-name (git-file-name name version))
490 "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
491 (build-system go-build-system)
493 '(#:import-path "github.com/jessevdk/go-flags"))
494 (synopsis "Go library for parsing command line arguments")
496 "The @code{flags} package provides a command line option parser. The
497 functionality is similar to the go builtin @code{flag} package, but
498 @code{flags} provides more options and uses reflection to provide a succinct
499 way of specifying command line options.")
500 (home-page "https://github.com/jessevdk/go-flags")
501 (license license:bsd-3)))
503 (define-public go-gopkg.in-tomb.v2
504 (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
507 (name "go-gopkg.in-tomb.v2")
508 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
512 (url "https://github.com/go-tomb/tomb")
514 (file-name (string-append name "-" version ".tar.gz"))
517 "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
518 (build-system go-build-system)
520 '(#:import-path "gopkg.in/tomb.v2"
522 (modify-phases %standard-phases
523 (add-after 'unpack 'patch-source
525 ;; Add a missing % to fix the compilation of this test
526 (substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
527 (("t.Fatalf\\(`Killf\\(\"BO%s")
528 "t.Fatalf(`Killf(\"BO%%s"))
530 (synopsis "@code{tomb} handles clean goroutine tracking and termination")
532 "The @code{tomb} package handles clean goroutine tracking and
534 (home-page "https://gopkg.in/tomb.v2")
535 (license license:bsd-3))))
537 (define-public go-github.com-jtolds-gls
539 (name "go-github.com-jtolds-gls")
544 (url "https://github.com/jtolds/gls")
545 (commit (string-append "v" version))))
546 (file-name (git-file-name name version))
549 "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
550 (build-system go-build-system)
552 '(#:import-path "github.com/jtolds/gls"))
553 (synopsis "@code{gls} provides Goroutine local storage")
555 "The @code{gls} package provides a way to store a retrieve values
557 (home-page "https://github.com/jtolds/gls")
558 (license license:expat)))
560 (define-public go-github-com-tj-docopt
562 (name "go-github-com-tj-docopt")
567 (url "https://github.com/tj/docopt")
568 (commit (string-append "v" version))))
569 (file-name (git-file-name name version))
572 "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
573 (build-system go-build-system)
575 '(#:import-path "github.com/tj/docopt"))
576 (synopsis "Go implementation of docopt")
578 "This library allows the user to define a command-line interface from a
579 program's help message rather than specifying it programmatically with
580 command-line parsers.")
581 (home-page "https://github.com/tj/docopt")
582 (license license:expat)))
584 (define-public go-github-com-hashicorp-hcl
585 (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
588 (name "go-github-com-hashicorp-hcl")
589 (version (git-version "0.0.0" revision commit))
593 (url "https://github.com/hashicorp/hcl")
595 (file-name (git-file-name name version))
598 "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
599 (build-system go-build-system)
602 #:import-path "github.com/hashicorp/hcl"))
603 (synopsis "Go implementation of HashiCorp Configuration Language")
605 "This package contains the main implementation of the @acronym{HCL,
606 HashiCorp Configuration Language}. HCL is designed to be a language for
607 expressing configuration which is easy for both humans and machines to read.")
608 (home-page "https://github.com/hashicorp/hcl")
609 (license license:mpl2.0))))
611 (define-public go-golang-org-x-tools
612 (let ((commit "8b927904ee0dec805c89aaf9172f4459296ed6e8")
615 (name "go-golang-org-x-tools")
616 (version (git-version "0.1.3" revision commit))
620 (url "https://go.googlesource.com/tools")
622 (file-name (string-append "go.googlesource.com-tools-"
623 version "-checkout"))
626 "0iinb70xhcjsddgi42ia1n745lx2ibnjdm6m2v666qrk3876vpck"))))
627 (build-system go-build-system)
629 `(#:import-path "golang.org/x/tools"
630 ;; Source-only package
633 (modify-phases %standard-phases
634 ;; Source-only package
636 (synopsis "Tools that support the Go programming language")
637 (description "This package provides miscellaneous tools that support the
638 Go programming language.")
639 (home-page "https://go.googlesource.com/tools/")
640 (license license:bsd-3))))
642 (define-public go-golang-org-x-crypto
643 (let ((commit "2aa609cf4a9d7d1126360de73b55b6002f9e052a")
646 (name "go-golang-org-x-crypto")
647 (version (git-version "0.0.0" revision commit))
651 (url "https://go.googlesource.com/crypto")
653 (file-name (string-append "go.googlesource.com-crypto-"
654 version "-checkout"))
657 "1yvis6fqbsd7f356aqyi18f76vnwj3bry6mxqnkvshq4cwrf92il"))))
658 (build-system go-build-system)
660 '(#:import-path "golang.org/x/crypto"
661 ;; Source-only package
664 (modify-phases %standard-phases
665 ;; Source-only package
667 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
668 (lambda* (#:key outputs #:allow-other-keys)
670 (make-file-writable file))
672 (string-append (assoc-ref outputs "out")
673 "/src/golang.org/x/crypto/ed25519/testdata")
677 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
678 (synopsis "Supplementary cryptographic libraries in Go")
679 (description "This package provides supplementary cryptographic libraries
680 for the Go language.")
681 (home-page "https://go.googlesource.com/crypto/")
682 (license license:bsd-3))))
684 (define-public go-golang-org-x-net
685 (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
688 (name "go-golang-org-x-net")
689 (version (git-version "0.0.0" revision commit))
693 (url "https://go.googlesource.com/net")
695 (file-name (git-file-name name version))
698 "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
699 (build-system go-build-system)
701 `(#:import-path "golang.org/x/net"
702 ; Source-only package
705 (modify-phases %standard-phases
707 (synopsis "Go supplemental networking libraries")
708 (description "This package provides supplemental Go networking libraries.")
709 (home-page "https://go.googlesource.com/net")
710 (license license:bsd-3))))
712 (define-public go-golang-org-x-image
713 (let ((commit "58c23975cae11f062d4b3b0c143fe248faac195d")
716 (name "go-golang-org-x-image")
717 (version (git-version "0.0.0" revision commit))
721 (url "https://go.googlesource.com/image")
723 (file-name (string-append "go.googlesource.com-image-"
724 version "-checkout"))
727 "0i2p2girc1sfcic6xs6vrq0fp3szfx057xppksb67kliywjjrm5x"))))
728 (build-system go-build-system)
730 `(#:import-path "golang.org/x/image"
731 ; Source-only package
734 (modify-phases %standard-phases
736 (home-page "https://go.googlesource.com/image")
737 (synopsis "Supplemental Go image libraries")
738 (description "This package provides supplemental Go libraries for image
740 (license license:bsd-3))))
742 (define-public go-golang-org-x-sys
743 (let ((commit "c709ea063b76879dc9915358f55d4d77c16ab6d5")
746 (name "go-golang-org-x-sys")
747 (version (git-version "0.0.0" revision commit))
751 (url "https://go.googlesource.com/sys")
753 (file-name (git-file-name name version))
756 "15nq53a6kcqchng4j0d1pjw0m6hny6126nhjdwqw5n9dzh6a226d"))))
757 (build-system go-build-system)
759 `(#:import-path "golang.org/x/sys"
760 ;; Source-only package
763 (modify-phases %standard-phases
765 (synopsis "Go support for low-level system interaction")
766 (description "This package provides supplemental libraries offering Go
767 support for low-level interaction with the operating system.")
768 (home-page "https://go.googlesource.com/sys")
769 (license license:bsd-3))))
771 (define-public go-golang-org-x-text
773 (name "go-golang-org-x-text")
778 (url "https://go.googlesource.com/text")
779 (commit (string-append "v" version))))
780 (file-name (string-append "go.googlesource.com-text-"
781 version "-checkout"))
784 "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"))))
785 (build-system go-build-system)
787 `(#:import-path "golang.org/x/text"
788 ; Source-only package
791 (modify-phases %standard-phases
793 (synopsis "Supplemental Go text processing libraries")
794 (description "This package provides supplemental Go libraries for text
796 (home-page "https://go.googlesource.com/text")
797 (license license:bsd-3)))
799 (define-public go-golang-org-x-time
800 (let ((commit "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef")
803 (name "go-golang-org-x-time")
804 (version (git-version "0.0.0" revision commit))
808 (url "https://go.googlesource.com/time")
810 (file-name (git-file-name name version))
813 "1f5nkr4vys2vbd8wrwyiq2f5wcaahhpxmia85d1gshcbqjqf8dkb"))))
814 (build-system go-build-system)
816 `(#:import-path "golang.org/x/time"
817 ; Source-only package
820 (modify-phases %standard-phases
823 ; `(("go-golang-org-x-net" ,go-golang-org-x-net)))
824 (synopsis "Supplemental Go time libraries")
825 (description "This package provides supplemental Go libraries related to
827 (home-page "https://godoc.org/golang.org/x/time/rate")
828 (license license:bsd-3))))
830 (define-public go-golang-org-x-oauth2
831 (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
834 (name "go-golang-org-x-oauth2")
835 (version (git-version "0.0.0" revision commit))
839 (url "https://go.googlesource.com/oauth2")
841 (file-name (string-append "go.googlesource.com-oauth2-"
842 version "-checkout"))
845 "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
846 (build-system go-build-system)
848 `(#:import-path "golang.org/x/oauth2"))
850 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
851 (home-page "https://go.googlesource.com/oauth2")
852 (synopsis "Client implementation of the OAuth 2.0 spec")
853 (description "This package contains a client implementation for OAuth 2.0
855 (license license:bsd-3))))
857 (define-public go-github-com-burntsushi-toml
859 (name "go-github-com-burntsushi-toml")
865 (url "https://github.com/BurntSushi/toml")
866 (commit (string-append "v" version))))
867 (file-name (git-file-name name version))
870 "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"))))
871 (build-system go-build-system)
873 '(#:import-path "github.com/BurntSushi/toml"))
874 (home-page "https://github.com/BurntSushi/toml")
875 (synopsis "Toml parser and encoder for Go")
876 (description "This package is toml parser and encoder for Go. The interface
877 is similar to Go's standard library @code{json} and @code{xml} package.")
878 (license license:expat)))
880 (define-public go-github-com-getsentry-raven-go
881 (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
884 (name "go-github-com-getsentry-raven-go")
885 (version (git-version "0.2.0" revision commit))
890 (url "https://github.com/getsentry/raven-go")
892 (file-name (git-file-name name version))
895 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
896 (build-system go-build-system)
898 '(#:import-path "github.com/getsentry/raven-go"))
900 `(("go-github-com-certifi-gocertifi" ,go-github-com-certifi-gocertifi)
901 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
902 (home-page "https://github.com/getsentry/raven-go")
903 (synopsis "Sentry client in Go")
904 (description "This package is a Go client API for the Sentry event/error
906 (license license:bsd-3))))
908 (define-public go-github-com-hashicorp-go-version
910 "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
913 (name "go-github-com-hashicorp-go-version")
914 (version (git-version "0.0.0" revision commit))
919 (url "https://github.com/hashicorp/go-version")
921 (file-name (git-file-name name version))
924 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
925 (build-system go-build-system)
927 '(#:import-path "github.com/hashicorp/go-version"))
929 "https://github.com/hashicorp/go-version")
930 (synopsis "Go library for parsing and verifying versions and version
932 (description "This package is a library for parsing versions and version
933 constraints, and verifying versions against a set of constraints. It can sort
934 a collection of versions properly, handles prerelease/beta versions, can
935 increment versions.")
936 (license license:mpl2.0))))
938 (define-public go-github-com-jpillora-backoff
940 "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")
943 (name "go-github-com-jpillora-backoff")
944 (version (git-version "0.0.0" revision commit))
949 (url "https://github.com/jpillora/backoff")
951 (file-name (git-file-name name version))
954 "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l"))))
955 (build-system go-build-system)
957 '(#:import-path "github.com/jpillora/backoff"))
958 (home-page "https://github.com/jpillora/backoff")
959 (synopsis "Simple exponential backoff counter in Go")
960 (description "This package is a simple exponential backoff counter in
962 (license license:expat))))
964 (define-public go-github-com-stretchr-objx
966 (name "go-github-com-stretchr-objx")
972 (url "https://github.com/stretchr/objx")
973 (commit (string-append "v" version))))
974 (file-name (git-file-name name version))
977 "0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
978 (build-system go-build-system)
980 '(#:import-path "github.com/stretchr/objx"))
981 (home-page "https://github.com/stretchr/objx")
982 (synopsis "Go package for dealing with maps, slices, JSON and other data")
983 (description "This package provides a Go library for dealing with maps,
984 slices, JSON and other data.")
985 (license license:expat)))
987 (define-public go-github-com-stretchr-testify
989 (name "go-github-com-stretchr-testify")
995 (url "https://github.com/stretchr/testify")
996 (commit (string-append "v" version))))
997 (file-name (git-file-name name version))
1000 "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"))))
1001 (build-system go-build-system)
1003 '(#:import-path "github.com/stretchr/testify"))
1005 `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1006 ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib)
1007 ("github.com/stretchr/objx" ,go-github-com-stretchr-objx)
1008 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1009 (home-page "https://github.com/stretchr/testify")
1010 (synopsis "Go helper library for tests and invariant checking")
1011 (description "This package provide many tools for testifying that your
1012 code will behave as you intend.
1016 @item Easy assertions
1018 @item HTTP response trapping
1019 @item Testing suite interfaces and functions.
1021 (license license:expat)))
1023 (define-public go-github-com-tevino-abool
1025 "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
1028 (name "go-github-com-tevino-abool")
1029 (version (git-version "0.0.0" revision commit))
1034 (url "https://github.com/tevino/abool")
1036 (file-name (git-file-name name version))
1039 "1wxqrclxk93q0aj15z596dx2y57x9nkhi64nbrr5cxnhxn8vwixm"))))
1040 (build-system go-build-system)
1042 '(#:import-path "github.com/tevino/abool"))
1043 (home-page "https://github.com/tevino/abool")
1044 (synopsis "Atomic boolean library for Go code")
1045 (description "This package is atomic boolean library for Go code,
1046 optimized for performance yet simple to use.")
1047 (license license:expat))))
1049 (define-public go-github-com-blang-semver
1050 (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
1053 (name "go-github-com-blang-semver")
1054 (version (git-version "0.0.0" revision commit))
1059 (url "https://github.com/blang/semver")
1061 (file-name (git-file-name name version))
1064 "19pli07y5592g4dyjyj0jq5rn548vc3fz0qg3624vm1j5828p1c2"))))
1065 (build-system go-build-system)
1067 '(#:import-path "github.com/blang/semver"))
1068 (home-page "https://github.com/blang/semver")
1069 (synopsis "Semantic versioning library written in Go")
1070 (description "Semver is a library for Semantic versioning written in Go.")
1071 (license license:expat))))
1073 (define-public go-github-com-emicklei-go-restful
1074 (let ((commit "89ef8af493ab468a45a42bb0d89a06fccdd2fb22")
1077 (name "go-github-com-emicklei-go-restful")
1078 (version (git-version "0.0.0" revision commit))
1083 (url "https://github.com/emicklei/go-restful")
1085 (file-name (git-file-name name version))
1088 "0rrlfcfq80fkxifpih6bq31vavb5mf4530xz51pp9pq1mn2fzjfh"))))
1089 (build-system go-build-system)
1091 '(#:import-path "github.com/emicklei/go-restful"))
1092 (home-page "https://github.com/emicklei/go-restful")
1093 (synopsis "Build REST-style web services using Go")
1094 (description "This package provides @code{go-restful}, which helps
1095 developers to use @code{http} methods explicitly and in a way that's consistent
1096 with the HTTP protocol definition.")
1097 (license license:expat))))
1099 (define-public go-github-com-google-cadvisor
1100 (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
1103 (name "go-github-com-google-cadvisor")
1104 (version (git-version "0.0.0" revision commit))
1109 (url "https://github.com/google/cadvisor")
1111 (file-name (git-file-name name version))
1114 "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55"))))
1115 (build-system go-build-system)
1117 '(#:import-path "github.com/google/cadvisor"))
1118 (home-page "https://github.com/google/cadvisor")
1119 (synopsis "Analyze resource usage of running containers")
1120 (description "The package provides @code{cadvisor}, which provides
1121 information about the resource usage and performance characteristics of running
1123 (license license:asl2.0))))
1125 (define-public go-github-com-google-gofuzz
1126 (let ((commit "fd52762d25a41827db7ef64c43756fd4b9f7e382")
1129 (name "go-github-com-google-gofuzz")
1130 (version (git-version "0.0.0" revision commit))
1135 (url "https://github.com/google/gofuzz")
1137 (file-name (git-file-name name version))
1140 "1yxmmr73h0lq7ryf3q9a7pcm2x5xrg4d5bxkq8n5pxwxwyq26kw8"))))
1141 (build-system go-build-system)
1143 '(#:import-path "github.com/google/gofuzz"))
1144 (home-page "https://github.com/google/gofuzz")
1145 (synopsis "Fuzz testing library for Go")
1146 (description "Gofuzz is a library for populationg Go objects with random
1147 values for the purpose of fuzz testing.")
1148 (license license:asl2.0))))
1150 (define-public go-github-com-gorilla-css
1152 (name "go-github-com-gorilla-css")
1157 (url "https://github.com/gorilla/css")
1158 (commit (string-append "v" version))))
1159 (file-name (git-file-name name version))
1162 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
1163 (build-system go-build-system)
1165 `(#:import-path "github.com/gorilla/css/scanner"
1166 #:unpack-path "github.com/gorilla/css"))
1167 (home-page "https://github.com/gorilla/css/")
1168 (synopsis "CSS3 tokenizer")
1169 (description "This package provides a CSS3 tokenizer.")
1170 (license license:bsd-3)))
1172 (define-public go-github-com-gorilla-context
1173 (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
1176 (name "go-github-com-gorilla-context")
1177 (version (git-version "0.0.0" revision commit))
1182 (url "https://github.com/gorilla/context")
1184 (file-name (git-file-name name version))
1187 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
1188 (build-system go-build-system)
1190 '(#:import-path "github.com/gorilla/context"))
1191 (home-page "https://github.com/gorilla/context")
1192 (synopsis "Go registry for request variables")
1193 (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
1194 (license license:bsd-3))))
1196 (define-public go-github-com-gorilla-mux
1197 (let ((commit "599cba5e7b6137d46ddf58fb1765f5d928e69604")
1200 (name "go-github-com-gorilla-mux")
1201 (version (git-version "0.0.0" revision commit))
1206 (url "https://github.com/gorilla/mux")
1208 (file-name (git-file-name name version))
1211 "0wd6jjii1kg5s0nk3ri6gqriz6hbd6bbcn6x4jf8n7ncrb8qsxyz"))))
1212 (build-system go-build-system)
1214 '(#:import-path "github.com/gorilla/mux"))
1215 (home-page "https://github.com/gorilla/mux")
1216 (synopsis "URL router and dispatcher for Go")
1218 "Gorilla/Mux implements a request router and dispatcher for matching
1219 incoming requests with their respective handler.")
1220 (license license:bsd-3))))
1222 (define-public go-github-com-jonboulle-clockwork
1223 (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
1226 (name "go-github-com-jonboulle-clockwork")
1227 (version (git-version "0.0.0" revision commit))
1232 (url "https://github.com/jonboulle/clockwork")
1234 (file-name (git-file-name name version))
1237 "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"))))
1238 (build-system go-build-system)
1240 '(#:import-path "github.com/jonboulle/clockwork"))
1241 (home-page "https://github.com/jonboulle/clockwork")
1242 (synopsis "Fake clock library for Go")
1244 "Replace uses of the @code{time} package with the
1245 @code{clockwork.Clock} interface instead.")
1246 (license license:asl2.0))))
1248 (define-public go-github-com-spf13-afero
1250 (name "go-github-com-spf13-afero")
1256 (url "https://github.com/spf13/afero")
1257 (commit (string-append "v" version))))
1258 (file-name (git-file-name name version))
1261 "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"))))
1262 (build-system go-build-system)
1264 `(#:import-path "github.com/spf13/afero"))
1266 `(("golang.org/x/text" ,go-golang-org-x-text)))
1267 (home-page "https://github.com/spf13/afero")
1268 (synopsis "File system abstraction for Go")
1270 "This package provides a file system abstraction for Go.")
1271 (license license:asl2.0)))
1273 (define-public go-github-com-spf13-cast
1275 (name "go-github-com-spf13-cast")
1281 (url "https://github.com/spf13/cast")
1282 (commit (string-append "v" version))))
1283 (file-name (git-file-name name version))
1286 "0lb84788glr0qzrq2ifi36rgvp96qrgywvxrr3ggq5hrbr38hgn1"))))
1287 (build-system go-build-system)
1289 `(#:import-path "github.com/spf13/cast"))
1291 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1292 (home-page "https://github.com/spf13/cast")
1293 (synopsis "Safe and easy casting from one type to another in Go")
1294 (description "Safe and easy casting from one type to another in Go")
1295 (license license:expat)))
1297 (define-public go-github-com-spf13-cobra
1299 (name "go-github-com-spf13-cobra")
1305 (url "https://github.com/spf13/cobra")
1306 (commit (string-append "v" version))))
1307 (file-name (git-file-name name version))
1310 "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h"))))
1311 (build-system go-build-system)
1313 `(#:import-path "github.com/spf13/cobra"))
1315 `(("github.com/spf13/pflag" ,go-github-com-spf13-pflag)))
1316 (home-page "https://github.com/spf13/cobra")
1317 (synopsis "Go library for creating CLI applications")
1318 (description "Cobra is both a library for creating powerful modern CLI
1319 applications as well as a program to generate applications and command files.")
1320 (license license:asl2.0)))
1322 (define-public go-github-com-spf13-jwalterweatherman
1324 (name "go-github-com-spf13-jwalterweatherman")
1330 (url "https://github.com/spf13/jwalterweatherman")
1331 (commit (string-append "v" version))))
1332 (file-name (git-file-name name version))
1335 "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"))))
1336 (build-system go-build-system)
1338 `(#:import-path "github.com/spf13/jwalterweatherman"))
1340 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1341 (home-page "https://github.com/spf13/jwalterweatherman")
1342 (synopsis "Go logging library")
1343 (description "Go logging library")
1344 (license license:expat)))
1346 (define-public go-github-com-spf13-pflag
1348 (name "go-github-com-spf13-pflag")
1354 (url "https://github.com/spf13/pflag")
1355 (commit (string-append "v" version))))
1356 (file-name (git-file-name name version))
1359 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31"))))
1360 (build-system go-build-system)
1362 '(#:import-path "github.com/spf13/pflag"))
1363 (home-page "https://github.com/spf13/pflag")
1364 (synopsis "Replacement for Go's @code{flag} package")
1366 "Pflag is library to replace Go's @code{flag} package. It implements
1367 POSIX/GNU-style command-line options with double hyphens. It is is compatible
1369 @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
1370 GNU extensions} to the POSIX recommendations for command-line options.")
1371 (license license:bsd-3)))
1373 (define-public go-github-com-spf13-viper
1375 (name "go-github-com-spf13-viper")
1381 (url "https://github.com/spf13/viper")
1382 (commit (string-append "v" version))))
1383 (file-name (git-file-name name version))
1386 "099n2g7fg6r8hqyszqw2axr775qyhyvwhsykvgw0f0s16ql48h5c"))))
1387 (build-system go-build-system)
1389 '(#:import-path "github.com/spf13/viper"))
1391 `(("github.com/spf13/afero" ,go-github-com-spf13-afero)
1392 ("github.com/spf13/cast" ,go-github-com-spf13-cast)
1393 ("github.com/spf13/pflag" ,go-github-com-spf13-pflag)
1394 ("github.com/spf13/jwalterweatherman" ,go-github-com-spf13-jwalterweatherman)
1395 ("github.com/fsnotify/fsnotify" ,go-github-com-fsnotify-fsnotify)
1396 ("github.com/hashicorp/hcl" ,go-github-com-hashicorp-hcl)
1397 ("github.com/magiconair/properties" ,go-github-com-magiconair-properties)
1398 ("github.com/mitchellh/mapstructure" ,go-github-com-mitchellh-mapstructure)
1399 ("github.com/pelletier/go-toml" ,go-github-com-pelletier-go-toml)
1400 ("github.com/subosito/gotenv" ,go-github-com-subosito-gotenv)
1402 ("gopkg.in/ini.v1" ,go-gopkg-in-ini-v1)
1403 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1405 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1406 (home-page "https://github.com/spf13/viper")
1407 (synopsis "Go configuration with fangs")
1409 "Viper is a complete configuration solution for Go applications including
1410 12-Factor apps. It is designed to work within an application, and can handle
1411 all types of configuration needs and formats.")
1412 (license license:expat)))
1414 (define-public go-github-com-fsnotify-fsnotify
1416 (name "go-github-com-fsnotify-fsnotify")
1422 (url "https://github.com/fsnotify/fsnotify")
1423 (commit (string-append "v" version))))
1424 (file-name (git-file-name name version))
1427 "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x"))))
1428 (build-system go-build-system)
1430 `(#:import-path "github.com/fsnotify/fsnotify"))
1432 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1433 (home-page "https://github.com/fsnotify/fsnotify")
1434 (synopsis "File system notifications for Go")
1435 (description "File system notifications for Go")
1436 (license license:bsd-3)))
1438 (define-public go-github-com-magiconair-properties
1440 (name "go-github-com-magiconair-properties")
1446 (url "https://github.com/magiconair/properties")
1447 (commit (string-append "v" version))))
1448 (file-name (git-file-name name version))
1451 "19zqw1x0w0crh8zc84yy82nkcc5yjz72gviaf2xjgfm5a8np7nyb"))))
1452 (build-system go-build-system)
1454 `(#:import-path "github.com/magiconair/properties"))
1455 (home-page "https://github.com/magiconair/properties")
1456 (synopsis "Java properties scanner for Go")
1457 (description "Java properties scanner for Go")
1458 (license license:bsd-2)))
1460 (define-public go-github-com-pelletier-go-toml
1462 (name "go-github-com-pelletier-go-toml")
1468 (url "https://github.com/pelletier/go-toml")
1469 (commit (string-append "v" version))))
1470 (file-name (git-file-name name version))
1473 "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y"))))
1474 (build-system go-build-system)
1476 `(#:import-path "github.com/pelletier/go-toml"))
1478 `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml)
1479 ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew)
1480 ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
1481 (home-page "https://github.com/pelletier/go-toml")
1482 (synopsis "Go library for the TOML configuration language")
1483 (description "Go library for the TOML configuration language")
1484 (license license:expat)))
1486 (define-public go-github-com-subosito-gotenv
1488 (name "go-github-com-subosito-gotenv")
1494 (url "https://github.com/subosito/gotenv")
1495 (commit (string-append "v" version))))
1496 (file-name (git-file-name name version))
1499 "0mav91j7r4arjkpq5zcf9j74f6pww8ic53x43wy7kg3ibw31yjs5"))))
1500 (build-system go-build-system)
1502 `(#:import-path "github.com/subosito/gotenv"))
1504 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
1505 (home-page "https://github.com/subosito/gotenv")
1506 (synopsis "Go library for loading environment variables from files")
1507 (description "Go library for loading environment variables from files")
1508 (license license:expat)))
1510 (define-public go-github-com-sirupsen-logrus
1512 (name "go-github-com-sirupsen-logrus")
1518 (url "https://github.com/sirupsen/logrus")
1519 (commit (string-append "v" version))))
1520 (file-name (git-file-name name version))
1523 "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz"))))
1524 (build-system go-build-system)
1526 `(("go-golang-org-x-crypto"
1527 ,go-golang-org-x-crypto)
1528 ("go-github-com-stretchr-testify"
1529 ,go-github-com-stretchr-testify)
1530 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1532 '(#:tests? #f ;FIXME missing dependencies
1533 #:import-path "github.com/sirupsen/logrus"))
1534 (home-page "https://github.com/sirupsen/logrus")
1535 (synopsis "Structured, pluggable logging for Go")
1536 (description "Logrus is a structured logger for Go, completely API
1537 compatible with the standard library logger.")
1538 (license license:expat)))
1540 (define-public go-github-com-rifflock-lfshook
1542 (name "go-github-com-rifflock-lfshook")
1547 (url "https://github.com/rifflock/lfshook")
1548 (commit (string-append "v" version))))
1549 (file-name (git-file-name name version))
1552 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
1553 (build-system go-build-system)
1555 `(#:import-path "github.com/rifflock/lfshook"))
1557 `(("go-github-com-sirupsen-logrus" ,go-github-com-sirupsen-logrus)))
1558 (home-page "https://github.com/rifflock/lfshook")
1559 (synopsis "Local File System hook for Logrus logger")
1560 (description "This package provides a hook for Logrus to write directly to
1561 a file on the file system. The log levels are dynamic at instantiation of the
1562 hook, so it is capable of logging at some or all levels.")
1563 (license license:expat)))
1565 (define-public go-github-com-kardianos-osext
1566 (let ((commit "ae77be60afb1dcacde03767a8c37337fad28ac14")
1569 (name "go-github-com-kardianos-osext")
1570 (version (git-version "0.0.0" revision commit))
1574 (url "https://github.com/kardianos/osext")
1576 (file-name (git-file-name name version))
1579 "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz"))))
1580 (build-system go-build-system)
1582 `(#:import-path "github.com/kardianos/osext"
1583 ;; The tests are flaky:
1584 ;; <https://github.com/kardianos/osext/issues/21>
1586 (synopsis "Find the running executable")
1587 (description "Osext provides a method for finding the current executable
1588 file that is running. This can be used for upgrading the current executable or
1589 finding resources located relative to the executable file.")
1590 (home-page "https://github.com/kardianos/osext")
1591 (license license:bsd-3))))
1593 (define-public go-github-com-ayufan-golang-kardianos-service
1594 (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
1597 (name "go-github-com-ayufan-golang-kardianos-service")
1598 (version (git-version "0.0.0" revision commit))
1604 "https://github.com/ayufan/golang-kardianos-service.git")
1606 (file-name (git-file-name name version))
1609 "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
1610 (build-system go-build-system)
1612 `(("go-github-com-kardianos-osext"
1613 ,go-github-com-kardianos-osext)))
1615 '(#:tests? #f ;FIXME tests fail: Service is not running.
1616 #:import-path "github.com/ayufan/golang-kardianos-service"))
1617 (home-page "https://github.com/ayufan/golang-kardianos-service")
1618 (synopsis "Go interface to a variety of service supervisors")
1619 (description "This package provides @code{service}, a Go module that can
1620 run programs as a service using a variety of supervisors, including systemd,
1621 SysVinit, and more.")
1622 (license license:zlib))))
1624 (define-public go-github-com-docker-distribution
1625 (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329")
1628 (name "go-github-com-docker-distribution")
1629 (version (git-version "0.0.0" revision commit))
1631 ;; FIXME: This bundles many things, see
1632 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>.
1636 (url "https://github.com/docker/distribution")
1638 (file-name (git-file-name name version))
1641 "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
1642 (build-system go-build-system)
1644 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
1645 ("go-github-com-sirupsen-logrus"
1646 ,go-github-com-sirupsen-logrus)
1647 ("go-golang-org-x-crypto"
1648 ,go-golang-org-x-crypto)))
1650 '(#:import-path "github.com/docker/distribution"
1652 (modify-phases %standard-phases
1653 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
1654 (lambda* (#:key outputs #:allow-other-keys)
1656 (make-file-writable file))
1658 (assoc-ref outputs "out")
1662 "https://github.com/docker/distribution")
1663 (synopsis "This package is a Docker toolset to pack, ship, store, and
1665 (description "Docker Distribution is a Docker toolset to pack, ship,
1666 store, and deliver content. It contains Docker Registry 2.0 and libraries
1667 to interact with distribution components.")
1668 (license license:asl2.0))))
1670 (define-public go-github-com-docker-go-connections
1671 (let ((commit "3ede32e2033de7505e6500d6c868c2b9ed9f169d")
1674 (name "go-github-com-docker-go-connections")
1675 (version (git-version "0.0.0" revision commit))
1680 (url "https://github.com/docker/go-connections")
1682 (file-name (git-file-name name version))
1685 "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0"))))
1686 (build-system go-build-system)
1688 '(#:import-path "github.com/docker/go-connections"))
1689 (home-page "https://github.com/docker/go-connections")
1690 (synopsis "Networking library for Go")
1692 "This package provides a library to work with network connections in
1693 the Go language. In particular it provides tools to deal with network address
1694 translation (NAT), proxies, sockets, and transport layer security (TLS).")
1695 (license license:asl2.0))))
1697 (define-public go-github-com-docker-machine
1698 (let ((commit "7b7a141da84480342357c51838be142bf183b095")
1701 (name "go-github-com-docker-machine")
1702 (version (git-version "0.0.0" revision commit))
1707 (url "https://github.com/docker/machine")
1709 (file-name (git-file-name name version))
1712 "0bavk0lvs462yh0lnmnxi9psi5qv1x3nvzmd2b0drsahlp1gxi8s"))))
1713 (build-system go-build-system)
1715 '(#:import-path "github.com/docker/machine"))
1716 (home-page "https://github.com/docker/machine")
1717 (synopsis "Machine management for a container-centric world")
1719 "@dfn{Machine} lets you create Docker hosts on your computer, on
1720 hosting providers, and inside your data center. It creates servers, installs
1721 Docker on them, then configures the Docker client to talk to them.")
1722 (license license:asl2.0))))
1724 (define-public go-github-com-gorhill-cronexpr
1725 (let ((commit "f0984319b44273e83de132089ae42b1810f4933b")
1728 (name "go-github-com-gorhill-cronexpr")
1729 (version (git-version "0.0.0" revision commit))
1734 (url "https://github.com/gorhill/cronexpr")
1736 (file-name (git-file-name name version))
1739 "0dphhhqy3i7265znv3m8n57l80dmaq6z4hsj5kgd87qd19z8x0l2"))))
1740 (build-system go-build-system)
1742 '(#:import-path "github.com/gorhill/cronexpr"))
1743 (home-page "https://github.com/gorhill/cronexpr")
1744 (synopsis "Cron expression parser in the Go language")
1746 "This package provides a cron expression parser in the Go language.
1747 Given a cron expression and a time stamp, you can get the next time stamp
1748 which satisfies the cron expression.")
1749 (license (list license:gpl3+
1752 (define-public go-gopkg-in-check-v1
1753 (let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
1756 (name "go-gopkg-in-check-v1")
1757 (version (git-version "1.0.0" revision commit))
1762 (url "https://github.com/go-check/check")
1764 (file-name (git-file-name name version))
1767 "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"))))
1768 (build-system go-build-system)
1770 '(#:import-path "gopkg.in/check.v1"))
1772 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
1773 (home-page "https://gopkg.in/check.v1")
1774 (synopsis "Test framework for the Go language")
1775 (description "This package provides a test library for the Go language.")
1776 (license license:asl2.0))))
1778 (define-public go-gopkg-in-ini-v1
1780 (name "go-gopkg-in-ini-v1")
1786 (url "https://github.com/go-ini/ini")
1787 (commit (string-append "v" version))))
1788 (file-name (git-file-name name version))
1791 "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5"))))
1792 (build-system go-build-system)
1794 '(#:import-path "gopkg.in/ini.v1"
1795 ;; Requires large unpackaged test framework
1797 (home-page "https://gopkg.in/ini.v1")
1798 (synopsis "Go library for ini files")
1799 (description "Go library for ini files")
1800 (license license:asl2.0)))
1802 (define-public go-gopkg-in-yaml-v2
1804 (name "go-gopkg-in-yaml-v2")
1810 (url "https://gopkg.in/yaml.v2.git")
1811 (commit (string-append "v" version))))
1812 (file-name (git-file-name name version))
1815 "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"))))
1816 (build-system go-build-system)
1818 '(#:import-path "gopkg.in/yaml.v2"))
1820 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
1821 (home-page "https://gopkg.in/yaml.v2")
1822 (synopsis "YAML reader and writer for the Go language")
1824 "This package provides a Go library for encode and decode YAML
1826 (license license:asl2.0)))
1828 (define-public go-github-com-mattn-go-isatty
1830 (name "go-github-com-mattn-go-isatty")
1836 (url "https://github.com/mattn/go-isatty")
1837 (commit (string-append "v" version))))
1838 (file-name (git-file-name name version))
1841 "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
1842 (build-system go-build-system)
1844 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1846 '(#:import-path "github.com/mattn/go-isatty"))
1847 (home-page "https://github.com/mattn/go-isatty")
1848 (synopsis "Provide @code{isatty} for Golang")
1849 (description "This package provides @code{isatty}, a Go module that can
1850 tell you whether a file descriptor points to a terminal and the type of the
1852 (license license:expat)))
1854 (define-public go-github-com-mattn-go-colorable
1855 (let ((commit "efa589957cd060542a26d2dd7832fd6a6c6c3ade")
1858 (name "go-github-com-mattn-go-colorable")
1859 (version (git-version "0.0.0" revision commit))
1864 (url "https://github.com/mattn/go-colorable")
1866 (file-name (git-file-name name version))
1869 "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r"))))
1870 (build-system go-build-system)
1872 `(("go-github-com-mattn-go-isatty"
1873 ,go-github-com-mattn-go-isatty)))
1875 '(#:import-path "github.com/mattn/go-colorable"))
1876 (home-page "https://github.com/mattn/go-colorable")
1877 (synopsis "Handle ANSI color escapes on Windows")
1878 (description "This package provides @code{colorable}, a module that
1879 makes it possible to handle ANSI color escapes on Windows.")
1880 (license license:expat))))
1882 (define-public go-github-com-mattn-go-pointer
1883 (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
1886 (name "go-github-com-mattn-go-pointer")
1887 (version (git-version "0.0.0" revision commit))
1892 (url "https://github.com/mattn/go-pointer")
1896 "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
1897 (file-name (git-file-name name version))))
1898 (build-system go-build-system)
1900 '(#:import-path "github.com/mattn/go-pointer"))
1901 (home-page "https://github.com/mattn/go-pointer")
1902 (synopsis "Utility for cgo")
1904 "This package allows for a cgo argument to be passed a Go pointer.")
1905 (license license:expat))))
1907 (define-public go-github-com-mgutz-ansi
1908 (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
1911 (name "go-github-com-mgutz-ansi")
1912 (version (git-version "0.0.0" revision commit))
1918 "https://github.com/mgutz/ansi")
1920 (file-name (git-file-name name version))
1923 "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
1924 (build-system go-build-system)
1926 `(("go-github-com-mattn-go-isatty"
1927 ,go-github-com-mattn-go-isatty)
1928 ("go-github-com-mattn-go-colorable"
1929 ,go-github-com-mattn-go-colorable)))
1931 '(#:import-path "github.com/mgutz/ansi"))
1932 (home-page "https://github.com/mgutz/ansi")
1933 (synopsis "Small, fast library to create ANSI colored strings and codes")
1934 (description "This package provides @code{ansi}, a Go module that can
1935 generate ANSI colored strings.")
1936 (license license:expat))))
1938 (define-public go-github-com-aarzilli-golua
1939 (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
1942 (name "go-github-com-aarzilli-golua")
1943 (version (git-version "0.0.0" revision commit))
1949 "https://github.com/aarzilli/golua")
1951 (file-name (git-file-name name version))
1954 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
1955 (build-system go-build-system)
1956 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
1957 ;; when this package required as input for another one, it will have to
1958 ;; be built again. Thus its CGO requirements must be made available in
1959 ;; the environment, that is, they must be propagated.
1963 `(#:unpack-path "github.com/aarzilli/golua"
1964 #:import-path "github.com/aarzilli/golua/lua"
1966 (modify-phases %standard-phases
1967 ;; While it's possible to fix the CGO_LDFLAGS with the "-tags"
1968 ;; command line argument, go-1.10+ does not re-use the produced pkg
1969 ;; for dependencies, which means we would need to propagate the
1970 ;; same "-tags" argument to all golua referrers. A substitution is
1971 ;; more convenient here. We also need to propagate the lua
1972 ;; dependency to make it available to referrers.
1973 (add-after 'unpack 'fix-lua-ldflags
1975 (substitute* "src/github.com/aarzilli/golua/lua/lua.go"
1976 (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3")
1977 "#cgo linux,!llua,!luaa LDFLAGS: -llua")))))))
1978 (home-page "https://github.com/aarzilli/golua")
1979 (synopsis "Go Bindings for the Lua C API")
1980 (description "This package provides @code{lua}, a Go module that can
1981 run a Lua virtual machine.")
1982 (license license:expat))))
1984 (define-public go-gitlab-com-ambrevar-golua-unicode
1985 (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
1988 (name "go-gitlab-com-ambrevar-golua-unicode")
1989 (version (git-version "0.0.0" revision commit))
1995 "https://gitlab.com/ambrevar/golua")
1997 (file-name (git-file-name name version))
2000 "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
2001 (build-system go-build-system)
2004 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2006 `(#:unpack-path "gitlab.com/ambrevar/golua"
2007 #:import-path "gitlab.com/ambrevar/golua/unicode"
2009 (modify-phases %standard-phases
2011 (lambda* (#:key import-path #:allow-other-keys)
2012 (setenv "USER" "homeless-dude")
2013 (invoke "go" "test" import-path))))))
2014 (home-page "https://gitlab.com/ambrevar/golua")
2015 (synopsis "Add Unicode support to Golua")
2016 (description "This extension to Arzilli's Golua adds Unicode support to
2017 all functions from the Lua string library. Lua patterns are replaced by Go
2018 regexps. This breaks compatibility with Lua, but Unicode support breaks it
2019 anyways and Go regexps are more powerful.")
2020 (license license:expat))))
2022 (define-public go-github-com-yookoala-realpath
2023 (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
2026 (name "go-github-com-yookoala-realpath")
2027 (version (git-version "0.0.0" revision commit))
2033 "https://github.com/yookoala/realpath")
2035 (file-name (git-file-name name version))
2038 "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
2039 (build-system go-build-system)
2041 `(#:import-path "github.com/yookoala/realpath"))
2042 (home-page "https://github.com/yookoala/realpath")
2043 (synopsis "@code{realpath} for Golang")
2044 (description "This package provides @code{realpath}, a Go module that
2045 when provided with a valid relative path / alias path, it will return you with
2046 a string of its real absolute path in the system.")
2047 (license license:expat))))
2049 (define-public go-gitlab-com-ambrevar-damerau
2050 (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
2053 (name "go-gitlab-com-ambrevar-damerau")
2054 (version (git-version "0.0.0" revision commit))
2060 "https://gitlab.com/ambrevar/damerau")
2062 (file-name (git-file-name name version))
2065 "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
2066 (build-system go-build-system)
2068 `(#:import-path "gitlab.com/ambrevar/damerau"))
2069 (home-page "https://gitlab.com/ambrevar/damerau")
2070 (synopsis "Damerau-Levenshtein distance for Golang")
2071 (description "This is a spelling corrector implementing the
2072 Damerau-Levenshtein distance. Takes a string value input from the user.
2073 Looks for an identical word on a list of words, if none is found, look for a
2075 (license license:expat))))
2077 (define-public go-github-com-stevedonovan-luar
2078 (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
2081 (name "go-github-com-stevedonovan-luar")
2082 (version (git-version "0.0.0" revision commit))
2088 "https://github.com/stevedonovan/luar")
2090 (file-name (git-file-name name version))
2093 "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
2094 (build-system go-build-system)
2096 `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
2098 `(#:tests? #f ; Upstream tests are broken.
2099 #:import-path "github.com/stevedonovan/luar"))
2100 (home-page "https://github.com/stevedonovan/luar")
2101 (synopsis "Lua reflection bindings for Go")
2102 (description "Luar is designed to make using Lua from Go more
2103 convenient. Go structs, slices and maps can be automatically converted to Lua
2104 tables and vice-versa. The resulting conversion can either be a copy or a
2105 proxy. In the latter case, any change made to the result will reflect on the
2108 Any Go function can be made available to Lua scripts, without having to write
2111 Luar support cyclic structures (lists, etc.).
2113 User-defined types can be made available to Lua as well: their exported
2114 methods can be called and usual operations such as indexing or arithmetic can
2116 (license license:expat))))
2118 (define-public go-github-com-michiwend-golang-pretty
2119 (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
2122 (name "go-github-com-michiwend-golang-pretty")
2123 (version (git-version "0.0.0" revision commit))
2129 "https://github.com/michiwend/golang-pretty")
2131 (file-name (git-file-name name version))
2134 "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
2135 (build-system go-build-system)
2137 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
2139 `(#:tests? #f ; Upstream tests seem to be broken.
2140 #:import-path "github.com/michiwend/golang-pretty"))
2141 (home-page "https://github.com/michiwend/golang-pretty")
2142 (synopsis "Pretty printing for Go values")
2143 (description "Package @code{pretty} provides pretty-printing for Go
2144 values. This is useful during debugging, to avoid wrapping long output lines
2147 It provides a function, @code{Formatter}, that can be used with any function
2148 that accepts a format string. It also provides convenience wrappers for
2149 functions in packages @code{fmt} and @code{log}.")
2150 (license license:expat))))
2152 (define-public go-github-com-michiwend-gomusicbrainz
2153 (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
2156 (name "go-github-com-michiwend-gomusicbrainz")
2157 (version (git-version "0.0.0" revision commit))
2163 "https://github.com/michiwend/gomusicbrainz")
2165 (file-name (git-file-name name version))
2168 "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
2169 (build-system go-build-system)
2171 `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
2172 ("go-github-com-kr-text" ,go-github-com-kr-text)))
2174 `(#:import-path "github.com/michiwend/gomusicbrainz"))
2175 (home-page "https://github.com/michiwend/gomusicbrainz")
2176 (synopsis "MusicBrainz WS2 client library for Golang")
2177 (description "Currently GoMusicBrainz provides methods to perform search
2178 and lookup requests. Browse requests are not supported yet.")
2179 (license license:expat))))
2181 (define-public go-github-com-wtolson-go-taglib
2182 (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
2185 (name "go-github-com-wtolson-go-taglib")
2186 (version (git-version "0.0.0" revision commit))
2192 "https://github.com/wtolson/go-taglib")
2194 (file-name (git-file-name name version))
2197 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
2198 (build-system go-build-system)
2199 ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so
2200 ;; when this package required as input for another one, it will have to
2201 ;; be built again. Thus its CGO requirements must be made available in
2202 ;; the environment, that is, they must be propagated.
2204 `(("pkg-config" ,pkg-config)
2205 ("taglib" ,taglib)))
2207 `(#:import-path "github.com/wtolson/go-taglib"
2208 ;; Tests don't pass "vet" on Go since 1.11. See
2209 ;; https://github.com/wtolson/go-taglib/issues/12.
2211 (modify-phases %standard-phases
2213 (lambda* (#:key import-path #:allow-other-keys)
2217 (home-page "https://github.com/wtolson/go-taglib")
2218 (synopsis "Go wrapper for taglib")
2219 (description "Go wrapper for taglib")
2220 (license license:unlicense))))
2222 (define-public go-github-com-gogo-protobuf
2224 (name "go-github-com-gogo-protobuf")
2229 (url "https://github.com/gogo/protobuf")
2230 (commit (string-append "v" version))))
2231 (file-name (git-file-name name version))
2234 "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp"))))
2235 (build-system go-build-system)
2237 `(#:import-path "github.com/gogo/protobuf"
2238 ; Source-only package
2241 (modify-phases %standard-phases
2243 (synopsis "Protocol Buffers for Go with Gadgets")
2244 (description "Gogoprotobuf is a fork of golang/protobuf with extra code
2245 generation features. This code generation is used to achieve:
2247 @item fast marshalling and unmarshalling
2248 @item more canonical Go structures
2249 @item goprotobuf compatibility
2250 @item less typing by optionally generating extra helper code
2251 @item peace of mind by optionally generating test and benchmark code
2252 @item other serialization formats
2254 (home-page "https://github.com/gogo/protobuf")
2255 (license license:bsd-3)))
2257 (define-public go-github-com-libp2p-go-flow-metrics
2258 (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43")
2261 (name "go-github-com-libp2p-go-flow-metrics")
2262 (version (git-version "0.2.0" revision commit))
2267 (url "https://github.com/libp2p/go-flow-metrics")
2269 (file-name (git-file-name name version))
2272 "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1"))))
2273 (build-system go-build-system)
2275 `(#:import-path "github.com/libp2p/go-flow-metrics"
2276 ;; TODO: Tests hang.
2279 "https://github.com/libp2p/go-flow-metrics")
2280 (synopsis "Simple library for tracking flow metrics")
2281 (description "A simple alternative to rcrowley's @command{go-metrics}
2282 that's a lot faster (and only does simple bandwidth metrics).")
2283 (license license:expat))))
2285 (define-public go-github-com-davecgh-go-spew
2287 (name "go-github-com-davecgh-go-spew")
2293 (url "https://github.com/davecgh/go-spew")
2294 (commit (string-append "v" version))))
2295 (file-name (git-file-name name version))
2298 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
2299 (build-system go-build-system)
2301 '(#:unpack-path "github.com/davecgh/go-spew"
2302 #:import-path "github.com/davecgh/go-spew/spew"))
2303 (home-page "https://github.com/davecgh/go-spew")
2304 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
2305 (description "Package @command{spew} implements a deep pretty printer
2306 for Go data structures to aid in debugging.
2308 A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
2311 @item Pointers are dereferenced and followed.
2312 @item Circular data structures are detected and handled properly.
2313 @item Custom Stringer/error interfaces are optionally invoked, including on
2315 @item Custom types which only implement the Stringer/error interfaces via a
2316 pointer receiver are optionally invoked when passing non-pointer variables.
2317 @item Byte arrays and slices are dumped like the hexdump -C command which
2318 includes offsets, byte values in hex, and ASCII output (only when using Dump
2321 (license license:isc)))
2323 (define-public go-github-com-btcsuite-btclog
2324 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
2327 (name "go-github-com-btcsuite-btclog")
2328 (version (git-version "0.0.3" revision commit))
2333 (url "https://github.com/btcsuite/btclog")
2335 (file-name (git-file-name name version))
2338 "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk"))))
2339 (build-system go-build-system)
2341 '(#:import-path "github.com/btcsuite/btclog"))
2342 (home-page "https://github.com/btcsuite/btclog")
2343 (synopsis "Subsystem aware logger for Go")
2344 (description "Package @command{btclog} defines a logger interface and
2345 provides a default implementation of a subsystem-aware leveled logger
2346 implementing the same interface.")
2347 (license license:isc))))
2349 (define-public go-github-com-btcsuite-btcd-btcec
2350 (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
2353 (name "go-github-com-btcsuite-btcd-btcec")
2354 (version (git-version "0.12.0-beta" revision commit))
2359 (url "https://github.com/btcsuite/btcd")
2361 (file-name (git-file-name name version))
2364 "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
2365 (build-system go-build-system)
2367 '(#:unpack-path "github.com/btcsuite/btcd"
2368 #:import-path "github.com/btcsuite/btcd/btcec"))
2370 `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
2371 (home-page "https://github.com/btcsuite/btcd")
2372 (synopsis "Elliptic curve cryptography to work with Bitcoin")
2373 (description "Package @command{btcec} implements elliptic curve
2374 cryptography needed for working with Bitcoin (secp256k1 only for now). It is
2375 designed so that it may be used with the standard crypto/ecdsa packages
2376 provided with Go. A comprehensive suite of test is provided to ensure proper
2377 functionality. Package @command{btcec} was originally based on work from
2378 ThePiachu which is licensed under the same terms as Go, but it has
2379 significantly diverged since then. The @command{btcsuite} developers original
2380 is licensed under the liberal ISC license.
2382 Although this package was primarily written for btcd, it has intentionally
2383 been designed so it can be used as a standalone package for any projects
2384 needing to use secp256k1 elliptic curve cryptography.")
2385 (license license:isc))))
2387 (define-public go-github-com-minio-sha256-simd
2389 (name "go-github-com-minio-sha256-simd")
2395 (url "https://github.com/minio/sha256-simd")
2396 (commit (string-append "v" version))))
2397 (file-name (git-file-name name version))
2400 "1j0iqsckm97g4l79vd4mc7apbmkdar23jpzqpnpdhwpfd834j8lp"))))
2401 (build-system go-build-system)
2403 '(#:import-path "github.com/minio/sha256-simd"))
2404 (home-page "https://github.com/minio/sha256-simd")
2405 (synopsis "Accelerate SHA256 computations in pure Go")
2406 (description "Accelerate SHA256 computations in pure Go using AVX512 and
2407 AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x
2408 improvement (over 3 GB/s per core) in comparison to AVX2.
2410 This package is designed as a replacement for @command{crypto/sha256}. For
2411 Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also
2412 supported). For ARM CPUs with the Cryptography Extensions, advantage is taken
2413 of the SHA2 instructions resulting in a massive performance improvement.
2415 This package uses Golang assembly. The AVX512 version is based on the Intel's
2416 \"multi-buffer crypto library for IPSec\" whereas the other Intel
2417 implementations are described in \"Fast SHA-256 Implementations on Intel
2418 Architecture Processors\" by J. Guilford et al.")
2419 (license license:asl2.0)))
2421 (define-public go-github-com-libp2p-go-libp2p-crypto
2422 (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
2425 (name "go-github-com-libp2p-go-libp2p-crypto")
2426 (version (git-version "2.0.1" revision commit))
2431 (url "https://github.com/libp2p/go-libp2p-crypto")
2433 (file-name (git-file-name name version))
2436 "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
2437 (build-system go-build-system)
2439 '(#:import-path "github.com/libp2p/go-libp2p-crypto"))
2441 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
2442 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2443 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2444 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
2446 "https://github.com/libp2p/go-libp2p-crypto")
2447 (synopsis "Various cryptographic utilities used by IPFS")
2448 (description "Various cryptographic utilities used by IPFS")
2449 (license license:expat))))
2451 (define-public go-github-com-mr-tron-base58
2452 (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312")
2455 (name "go-github-com-mr-tron-base58")
2456 (version (git-version "1.1.0" revision commit))
2461 (url "https://github.com/mr-tron/base58")
2463 (file-name (git-file-name name version))
2466 "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa"))))
2467 (build-system go-build-system)
2469 `(#:unpack-path "github.com/mr-tron/base58"
2470 #:import-path "github.com/mr-tron/base58/base58"))
2471 (home-page "https://github.com/mr-tron/base58")
2472 (synopsis "Fast implementation of base58 encoding on Golang")
2473 (description "Fast implementation of base58 encoding on Golang. A
2474 trivial @command{big.Int} encoding benchmark results in 6 times faster
2475 encoding and 8 times faster decoding.")
2476 (license license:expat))))
2478 (define-public go-github-com-gxed-hashland-keccakpg
2479 (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
2482 (name "go-github-com-gxed-hashland-keccakpg")
2483 (version (git-version "0.0.0" revision commit))
2488 (url "https://github.com/gxed/hashland")
2490 (file-name (git-file-name name version))
2493 "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"))))
2494 (build-system go-build-system)
2496 '(#:unpack-path "github.com/gxed/hashland"
2497 #:import-path "github.com/gxed/hashland/keccakpg"))
2498 (home-page "https://github.com/gxed/hashland")
2499 (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go")
2500 (description "Package @command{keccak} implements the Keccak (SHA-3)
2501 hash algorithm. See http://keccak.noekeon.org.")
2502 (license license:expat))))
2504 (define-public go-github-com-minio-blake2b-simd
2505 (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4")
2508 (name "go-github-com-minio-blake2b-simd")
2509 (version (git-version "0.0.0" revision commit))
2514 (url "https://github.com/minio/blake2b-simd")
2516 (file-name (git-file-name name version))
2519 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"))))
2520 (build-system go-build-system)
2522 '(#:import-path "github.com/minio/blake2b-simd"))
2523 (home-page "https://github.com/minio/blake2b-simd")
2524 (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions")
2525 (description "This package was initially based on the pure go BLAKE2b
2526 implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX
2527 optimized BLAKE2 implementation (which in turn is based on the official
2528 implementation. It does so by using Go's Assembler for amd64 architectures
2529 with a golang only fallback for other architectures.
2531 In addition to AVX there is also support for AVX2 as well as SSE. Best
2532 performance is obtained with AVX2 which gives roughly a 4X performance
2533 increase approaching hashing speeds of 1GB/sec on a single core.")
2534 (license license:asl2.0))))
2536 (define-public go-github-com-spaolacci-murmur3
2538 (name "go-github-com-spaolacci-murmur3")
2544 (url "https://github.com/spaolacci/murmur3")
2545 (commit (string-append "v" version))))
2546 (file-name (git-file-name name version))
2549 "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"))))
2550 (build-system go-build-system)
2552 '(#:import-path "github.com/spaolacci/murmur3"))
2553 (home-page "https://github.com/spaolacci/murmur3")
2554 (synopsis "Native MurmurHash3 Go implementation")
2555 (description "Native Go implementation of Austin Appleby's third MurmurHash
2556 revision (aka MurmurHash3).
2558 Reference algorithm has been slightly hacked as to support the streaming mode
2559 required by Go's standard Hash interface.")
2560 (license license:bsd-3)))
2562 (define-public go-github-com-twmb-murmur3
2564 (name "go-github-com-twmb-murmur3")
2570 (url "https://github.com/twmb/murmur3")
2571 (commit (string-append "v" version))))
2572 (file-name (git-file-name name version))
2575 "00riapwkyf23l5wyis47mbr8rwr4yrjw491jfc30wpzs111c1gyy"))))
2576 (build-system go-build-system)
2578 '(#:import-path "github.com/twmb/murmur3"))
2579 (home-page "https://github.com/twmb/murmur3")
2580 (synopsis "Native MurmurHash3 Go implementation")
2581 (description "Native Go implementation of Austin Appleby's third
2582 MurmurHash revision (aka MurmurHash3).
2584 Reference algorithm has been slightly hacked as to support the streaming mode
2585 required by Go's standard Hash interface.")
2586 (license license:bsd-3)))
2588 (define-public go-github-com-multiformats-go-multihash
2589 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
2592 (name "go-github-com-multiformats-go-multihash")
2593 (version (git-version "1.0.8" revision commit))
2598 (url "https://github.com/multiformats/go-multihash")
2600 (file-name (git-file-name name version))
2603 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
2604 (build-system go-build-system)
2606 '(#:import-path "github.com/multiformats/go-multihash"))
2608 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2609 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2610 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2611 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2612 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2613 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2614 (home-page "https://github.com/multiformats/go-multihash")
2615 (synopsis "Multihash implementation in Go")
2616 (description "Multihash implementation in Go.")
2617 (license license:expat))))
2619 (define-public go-github-com-libp2p-go-libp2p-peer
2620 (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c")
2623 (name "go-github-com-libp2p-go-libp2p-peer")
2624 (version (git-version "2.3.8" revision commit))
2629 (url "https://github.com/libp2p/go-libp2p-peer")
2631 (file-name (git-file-name name version))
2634 "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh"))))
2635 (build-system go-build-system)
2637 '(#:import-path "github.com/libp2p/go-libp2p-peer"))
2639 `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2640 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2641 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2642 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2643 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2644 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2645 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2646 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2647 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2648 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2649 (home-page "https://github.com/libp2p/go-libp2p-peer")
2650 (synopsis "PKI based identities for use in go-libp2p")
2651 (description "PKI based identities for use in @command{go-libp2p}.")
2652 (license license:expat))))
2654 (define-public go-github-com-libp2p-go-libp2p-protocol
2655 (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b")
2658 (name "go-github-com-libp2p-go-libp2p-protocol")
2659 (version (git-version "1.0.0" revision commit))
2664 (url "https://github.com/libp2p/go-libp2p-protocol")
2666 (file-name (git-file-name name version))
2669 "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld"))))
2670 (build-system go-build-system)
2673 "github.com/libp2p/go-libp2p-protocol"))
2674 (home-page "https://github.com/libp2p/go-libp2p-protocol")
2675 (synopsis "Type for protocol strings in Golang")
2676 (description "Just a type for protocol strings. Nothing more.")
2677 (license license:expat))))
2679 (define-public go-github-com-libp2p-go-libp2p-metrics
2680 (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624")
2683 (name "go-github-com-libp2p-go-libp2p-metrics")
2684 (version (git-version "2.1.6" revision commit))
2689 (url "https://github.com/libp2p/go-libp2p-metrics")
2691 (file-name (git-file-name name version))
2694 "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m"))))
2695 (build-system go-build-system)
2697 '(#:import-path "github.com/libp2p/go-libp2p-metrics"))
2699 `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
2700 ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
2701 ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
2702 ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
2703 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2704 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2705 ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
2706 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
2707 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2708 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2709 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2710 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2711 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2712 (home-page "https://github.com/libp2p/go-libp2p-metrics")
2713 (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics")
2714 (description "A connection wrapper for @command{go-libp2p} that provides bandwidth
2715 statistics for wrapped connections.")
2716 (license license:expat))))
2718 (define-public go-github-com-mitchellh-go-homedir
2719 (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
2722 (name "go-github-com-mitchellh-go-homedir")
2723 (version (git-version "1.0.0" revision commit))
2728 (url "https://github.com/mitchellh/go-homedir")
2730 (file-name (git-file-name name version))
2733 "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
2734 (build-system go-build-system)
2736 (quote (#:import-path "github.com/mitchellh/go-homedir"
2737 ;; TODO: Tests fail because it tries to access home.
2739 (home-page "https://github.com/mitchellh/go-homedir")
2740 (synopsis "Go library for detecting and expanding the user's home directory without cgo")
2741 (description "This is a Go library for detecting the user's home
2742 directory without the use of @command{cgo}, so the library can be used in
2743 cross-compilation environments.
2745 Usage is simple, just call homedir.Dir() to get the home directory for a user,
2746 and homedir.Expand() to expand the @command{~} in a path to the home
2749 Why not just use @command{os/user}? The built-in @command{os/user} package
2750 requires cgo on Darwin systems. This means that any Go code that uses that
2751 package cannot cross compile. But 99% of the time the use for
2752 @command{os/user} is just to retrieve the home directory, which we can do for
2753 the current user without cgo. This library does that, enabling
2754 cross-compilation.")
2755 (license license:expat))))
2757 (define-public go-github-com-mitchellh-mapstructure
2759 (name "go-github-com-mitchellh-mapstructure")
2760 (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0
2765 (url "https://github.com/mitchellh/mapstructure")
2766 (commit (string-append "v" version))))
2767 (file-name (git-file-name name version))
2770 "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"))))
2771 (build-system go-build-system)
2773 `(#:import-path "github.com/mitchellh/mapstructure"))
2774 (home-page "https://github.com/mitchellh/mapstructure")
2775 (synopsis "Go library for decoding generic map values")
2776 (description "Go library for decoding generic map values")
2777 (license license:expat)))
2779 (define-public go-github-com-mitchellh-reflectwalk
2781 (name "go-github-com-mitchellh-reflectwalk")
2786 (url "https://github.com/mitchellh/reflectwalk")
2787 (commit (string-append "v" version))))
2788 (file-name (git-file-name name version))
2791 "0pa6a3nhzwv5s5yqcmsmsfhdp5ggxsg2wa86f3akawxrhrkjarnx"))))
2792 (build-system go-build-system)
2794 `(#:import-path "github.com/mitchellh/reflectwalk"))
2795 (home-page "https://github.com/mitchellh/reflectwalk/")
2796 (synopsis "Walk a value in Go using reflection")
2797 (description "reflectwalk is a Go library for \"walking\" a value in Go
2798 using reflection, in the same way a directory tree can be \"walked\" on the
2799 filesystem. Walking a complex structure can allow you to do manipulations on
2800 unknown structures such as those decoded from JSON.")
2801 (license license:expat)))
2803 (define-public go-github-com-mitchellh-copystructure
2805 (name "go-github-com-mitchellh-copystructure")
2811 (url "https://github.com/mitchellh/copystructure")
2812 (commit (string-append "v" version))))
2813 (file-name (git-file-name name version))
2816 "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
2817 (build-system go-build-system)
2819 `(#:import-path "github.com/mitchellh/copystructure"))
2821 `(("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)))
2822 (home-page "https://github.com/mitchellh/copystructure")
2823 (synopsis "Go library for decoding deep copying values")
2824 (description "@code{copystructure} is a Go library for deep copying values
2827 This allows you to copy Go values that may contain reference values such as
2828 maps, slices, or pointers, and copy their data as well instead of just their
2830 (license license:expat)))
2832 (define-public go-github-com-multiformats-go-multiaddr
2833 (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
2836 (name "go-github-com-multiformats-go-multiaddr")
2837 (version (git-version "1.3.0" revision commit))
2842 (url "https://github.com/multiformats/go-multiaddr")
2844 (file-name (git-file-name name version))
2847 "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
2848 (build-system go-build-system)
2851 "github.com/multiformats/go-multiaddr"))
2853 `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2854 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2855 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2856 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2857 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2858 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2859 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2860 (home-page "https://github.com/multiformats/go-multiaddr")
2861 (synopsis "Composable and future-proof network addresses")
2862 (description "Multiaddr is a standard way to represent addresses that
2866 @item Support any standard network protocols.
2867 @item Self-describe (include protocols).
2868 @item Have a binary packed format.
2869 @item Have a nice string representation.
2870 @item Encapsulate well.
2872 (license license:expat))))
2874 (define-public go-github-com-multiformats-go-multiaddr-net
2875 (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e")
2878 (name "go-github-com-multiformats-go-multiaddr-net")
2879 (version (git-version "1.6.3" revision commit))
2884 (url "https://github.com/multiformats/go-multiaddr-net")
2886 (file-name (git-file-name name version))
2889 "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3"))))
2890 (build-system go-build-system)
2892 (quote (#:import-path "github.com/multiformats/go-multiaddr-net"
2893 ;; TODO: Tests fail because they try to access the network.
2896 `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
2897 ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
2898 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2899 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2900 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2901 ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2902 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2903 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
2904 (home-page "https://github.com/multiformats/go-multiaddr-net")
2905 (synopsis "Multiaddress net tools")
2906 (description "This package provides Multiaddr specific versions of
2907 common functions in stdlib's @command{net} package. This means wrappers of
2908 standard net symbols like @command{net.Dial} and @command{net.Listen}, as well
2909 as conversion to and from @command{net.Addr}.")
2910 (license license:expat))))
2912 (define-public go-github-com-whyrusleeping-tar-utils
2913 (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
2916 (name "go-github-com-whyrusleeping-tar-utils")
2917 (version (git-version "0.0.0" revision commit))
2922 (url "https://github.com/whyrusleeping/tar-utils")
2924 (file-name (git-file-name name version))
2927 "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s"))))
2928 (build-system go-build-system)
2931 "github.com/whyrusleeping/tar-utils"))
2932 (home-page "https://github.com/whyrusleeping/tar-utils")
2933 (synopsis "Tar utilities extracted from go-ipfs codebase")
2934 (description "Tar utilities extracted from @command{go-ipfs} codebase.")
2935 (license license:expat))))
2937 (define-public go-github-com-cheekybits-is
2938 (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
2941 (name "go-github-com-cheekybits-is")
2942 (version (git-version "0.0.0" revision commit))
2947 (url "https://github.com/cheekybits/is")
2949 (file-name (git-file-name name version))
2952 "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
2953 (build-system go-build-system)
2955 '(#:import-path "github.com/cheekybits/is"))
2956 (home-page "https://github.com/cheekybits/is")
2957 (synopsis "Mini testing helper for Go")
2958 (description "A mini testing helper for Go.
2961 @item It has a simple interface (@command{is.OK} and @command{is.Equal}).
2962 @item It plugs into existing Go toolchain (uses @command{testing.T}).
2963 @item It's obvious for newcomers.
2964 @item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers
2965 - because testing panics is ugly.
2967 (license license:expat))))
2969 (define-public go-github-com-sabhiram-go-gitignore
2970 (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e")
2973 (name "go-github-com-sabhiram-go-gitignore")
2974 (version (git-version "1.0.2" revision commit))
2979 (url "https://github.com/sabhiram/go-gitignore")
2981 (file-name (git-file-name name version))
2984 "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l"))))
2985 (build-system go-build-system)
2988 "github.com/sabhiram/go-gitignore"))
2990 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
2991 (home-page "https://github.com/sabhiram/go-gitignore")
2992 (synopsis "Gitignore parser for Go")
2993 (description "A @command{.gitignore} parser for Go.")
2994 (license license:expat))))
2996 (define-public go-github-com-urfave-cli
2998 (name "go-github-com-urfave-cli")
3004 (url "https://github.com/urfave/cli")
3005 (commit (string-append "v" version))))
3006 (file-name (git-file-name name version))
3009 "10mcnvi5qmn00vpyk6si8gjka7p654wr9hac4zc9w5h3ickhvbdc"))))
3010 (build-system go-build-system)
3012 '(#:import-path "github.com/urfave/cli"))
3014 `(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
3015 (home-page "https://github.com/urfave/cli")
3016 (synopsis "Simple, fast, and fun package for building command line apps in Go")
3017 (description "@command{cli} is a simple, fast, and fun package for
3018 building command line apps in Go. The goal is to enable developers to write
3019 fast and distributable command line applications in an expressive way.")
3020 (license license:expat)))
3022 (define-public go-github-com-go-md2man
3024 (name "go-github-com-go-md2man")
3030 (url "https://github.com/cpuguy83/go-md2man")
3031 (commit (string-append "v" version))))
3032 (file-name (git-file-name name version))
3035 "0r1f7v475dxxgzqci1mxfliwadcrk86ippflx9n411325l4g3ghv"))
3036 (modules '((guix build utils)))
3038 (delete-file-recursively "vendor")
3040 (build-system go-build-system)
3042 '(#:import-path "github.com/cpuguy83/go-md2man"))
3044 `(("go-github-com-russross-blackfriday" ,go-github-com-russross-blackfriday)))
3045 (home-page "https://github.com/cpuguy83/go-md2man")
3046 (synopsis "Convert markdown into roff")
3047 (description "Go-md2man is a Go program that converts markdown to roff for
3048 the purpose of building man pages.")
3049 (license license:expat)))
3051 (define-public go-github-com-russross-blackfriday
3053 (name "go-github-com-russross-blackfriday")
3059 (url "https://github.com/russross/blackfriday")
3060 (commit (string-append "v" version))))
3061 (file-name (git-file-name name version))
3064 "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j"))))
3065 (build-system go-build-system)
3067 '(#:import-path "github.com/russross/blackfriday"))
3069 `(("go-github-com-shurcool-sanitized-anchor-name"
3070 ,go-github-com-shurcool-sanitized-anchor-name)))
3072 `(("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)))
3073 (home-page "https://github.com/russross/blackfriday")
3074 (synopsis "Markdown processor in Go")
3075 (description "Blackfriday is a Markdown processor in Go.")
3076 (license license:bsd-2)))
3078 (define-public go-github-com-shurcool-sanitized-anchor-name
3080 (name "go-github-com-shurcool-sanitized-anchor-name")
3086 (url "https://github.com/shurcooL/sanitized_anchor_name")
3087 (commit (string-append "v" version))))
3088 (file-name (git-file-name name version))
3091 "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f"))))
3092 (build-system go-build-system)
3094 '(#:import-path "github.com/shurcooL/sanitized_anchor_name"))
3095 (home-page "https://github.com/shurcooL/sanitized_anchor_name")
3096 (synopsis "Create sanitized anchor names")
3097 (description "This package provides a Go program for creating sanitized
3099 (license license:expat)))
3101 (define-public go-github-com-pmezard-go-difflib
3103 (name "go-github-com-pmezard-go-difflib")
3108 (url "https://github.com/pmezard/go-difflib")
3109 (commit (string-append "v" version))))
3110 (file-name (git-file-name name version))
3113 "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"))))
3114 (build-system go-build-system)
3116 '(#:import-path "github.com/pmezard/go-difflib/difflib"
3117 #:unpack-path "github.com/pmezard/go-difflib/"))
3118 (home-page "https://github.com/pmezard/go-difflib")
3119 (synopsis "Go diff implementation")
3120 (description "This package provides unified and context-aware diffs in Go.")
3121 (license license:bsd-3)))
3123 (define-public go-github-com-whyrusleeping-json-filter
3124 (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
3127 (name "go-github-com-whyrusleeping-json-filter")
3128 (version (git-version "0.0.0" revision commit))
3133 (url "https://github.com/whyrusleeping/json-filter")
3135 (file-name (git-file-name name version))
3138 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
3139 (build-system go-build-system)
3142 "github.com/whyrusleeping/json-filter"))
3143 (home-page "https://github.com/whyrusleeping/json-filter")
3144 (synopsis "Library to query JSON objects marshalled into map[string]interface")
3145 (description "A library to query JSON objects marshalled into
3146 @command{map[string]interface{}}.")
3147 (license license:expat))))
3149 (define-public go-github-com-whyrusleeping-progmeter
3150 (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
3153 (name "go-github-com-whyrusleeping-progmeter")
3154 (version (git-version "0.0.0" revision commit))
3159 (url "https://github.com/whyrusleeping/progmeter")
3161 (file-name (git-file-name name version))
3164 "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb"))))
3165 (build-system go-build-system)
3168 "github.com/whyrusleeping/progmeter"))
3169 (home-page "https://github.com/whyrusleeping/progmeter")
3170 (synopsis "Progress meter for Go")
3171 (description "Progress meter for Go.")
3172 (license license:expat))))
3174 (define-public go-github-com-whyrusleeping-stump
3175 (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5")
3178 (name "go-github-com-whyrusleeping-stump")
3179 (version (git-version "0.0.0" revision commit))
3184 (url "https://github.com/whyrusleeping/stump")
3186 (file-name (git-file-name name version))
3189 "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n"))))
3190 (build-system go-build-system)
3192 '(#:import-path "github.com/whyrusleeping/stump"))
3193 (home-page "https://github.com/whyrusleeping/stump")
3194 (synopsis "Very basic logging package for Go")
3195 (description "A simple log library, for when you don't really care to
3196 have super fancy logs.")
3197 (license license:expat))))
3199 (define-public go-github-com-kr-fs
3200 (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba")
3203 (name "go-github-com-kr-fs")
3204 (version (git-version "0.1.0" revision commit))
3209 (url "https://github.com/kr/fs")
3211 (file-name (git-file-name name version))
3214 "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"))))
3215 (build-system go-build-system)
3217 '(#:import-path "github.com/kr/fs"))
3218 (home-page "https://github.com/kr/fs")
3219 (synopsis "File-system-related functions for Go")
3221 "The fs package provides file-system-related Go functions.")
3222 (license license:bsd-3))))
3224 (define-public go-github-com-direnv-go-dotenv
3225 (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed")
3228 (name "go-github-com-direnv-go-dotenv")
3229 (version (git-version "0.0.0" revision commit))
3234 (url "https://github.com/direnv/go-dotenv")
3236 (file-name (git-file-name name version))
3239 "00wn4fc2lma0csf6ryvlc6k9jbpbifm4n7i3kkd2xrfw5qlm29b6"))))
3240 (build-system go-build-system)
3242 '(#:import-path "github.com/direnv/go-dotenv"))
3243 (home-page "https://github.com/direnv/go-dotenv")
3244 (synopsis "Go dotenv parsing library")
3245 (description "This package provides a library for parsing the dotenv
3247 (license license:expat))))
3249 (define-public go-github-com-kr-pretty
3251 (name "go-github-com-kr-pretty")
3256 (url "https://github.com/kr/pretty")
3257 (commit (string-append "v" version))))
3258 (file-name (git-file-name name version))
3261 "1ywbfzz1h3a3qd8rpkiqwi1dm4w8ls9ijb4x1b7567grns9f0vnp"))))
3262 (build-system go-build-system)
3264 `(("go-github-com-kr-text" ,go-github-com-kr-text)))
3266 '(#:import-path "github.com/kr/pretty"))
3267 (synopsis "A pretty printer for Go values")
3268 (description "This package provides a pretty printer for Go values.")
3269 (home-page "https://github.com/kr/pretty")
3270 (license license:expat)))
3272 (define-public go-github-com-kr-text
3274 (name "go-github-com-kr-text")
3279 (url "https://github.com/kr/text")
3280 (commit (string-append "v" version))))
3281 (file-name (git-file-name name version))
3284 "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
3285 (build-system go-build-system)
3287 '(#:import-path "github.com/kr/text"))
3288 (synopsis "Text formatting in Go")
3289 (description "This package provides a text formatting functions in Go.")
3290 (home-page "https://github.com/kr/text")
3291 (license license:expat)))
3293 (define-public go-golang-org-sql-mock
3294 (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
3298 (name "go-golang-org-sql-mock")
3299 (version (git-version version revision commit))
3303 (url "https://github.com/DATA-DOG/go-sqlmock")
3305 (file-name (git-file-name name version))
3308 "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
3309 (build-system go-build-system)
3311 '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
3312 (synopsis "Mock library implementing @code{sql/driver}")
3313 (description "This library simulates SQL-driver behavior in tests
3314 without requiring a real database connection.")
3315 (home-page "https://github.com/DATA-DOG/go-sqlmock")
3316 (license license:expat))))
3318 (define-public go-golang-org-colorful
3320 (name "go-golang-org-colorful")
3325 (url "https://github.com/lucasb-eyer/go-colorful")
3326 (commit (string-append "v" version))))
3327 (file-name (git-file-name name version))
3330 "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
3331 (build-system go-build-system)
3333 '(#:import-path "github.com/lucasb-eyer/go-colorful"))
3335 `(("go-golang-org-sql-mock" ,go-golang-org-sql-mock)))
3336 (synopsis "Convert between colorspaces and generate colors")
3337 (description "This package implements Go's @code{color.Color} interface
3338 and provides a means of converting colors stored as RGB to various
3340 (home-page "https://github.com/lucasb-eyer/go-colorful")
3341 (license license:expat)))
3343 (define-public go-github-com-gdamore-encoding
3345 (name "go-github-com-gdamore-encoding")
3351 (url "https://github.com/gdamore/encoding")
3352 (commit (string-append "v" version))))
3353 (file-name (git-file-name name version))
3356 "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"))))
3357 (build-system go-build-system)
3359 '(#:import-path "github.com/gdamore/encoding"))
3361 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3362 (home-page "https://github.com/gdamore/encoding")
3363 (synopsis "Provide encodings missing from Go")
3364 (description "This package provides useful encodings not included in the
3365 standard @code{Text} package, including some for dealing with I/O streams from
3366 non-UTF-friendly sources.")
3367 (license license:expat)))
3369 (define-public go-github-com-gdamore-tcell
3370 (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
3374 (name "go-github-com-gdamore-tcell")
3375 (version (git-version version revision commit))
3380 (url "https://github.com/gdamore/tcell")
3382 (file-name (git-file-name name version))
3385 "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
3386 (build-system go-build-system)
3388 `(#:import-path "github.com/gdamore/tcell"
3390 (modify-phases %standard-phases
3391 (add-before 'reset-gzip-timestamps 'make-files-writable
3392 (lambda* (#:key outputs #:allow-other-keys)
3393 ;; Make sure .gz files are writable so that the
3394 ;; 'reset-gzip-timestamps' phase can do its work.
3395 (let ((out (assoc-ref outputs "out")))
3396 (for-each make-file-writable
3397 (find-files out "\\.gz$"))
3400 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
3401 ("go-golang-org-colorful" ,go-golang-org-colorful)
3402 ("go-golang-org-x-text" ,go-golang-org-x-text)
3403 ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
3404 (home-page "https://github.com/gdamore/tcell")
3405 (synopsis "Provide a cell-based view for text terminals")
3406 (description "This package includes a full parser and expander for
3407 terminfo capability strings to avoid hard-coding escape strings for
3408 formatting. It also favors portability, and includes support for all POSIX
3410 (license license:expat))))
3412 (define-public go-github-com-mattn-go-shellwords
3413 (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
3417 (name "go-github-com-mattn-go-shellwords")
3418 (version (git-version version revision commit))
3423 (url "https://github.com/mattn/go-shellwords")
3425 (file-name (git-file-name name version))
3428 "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
3429 (build-system go-build-system)
3431 `(#:import-path "github.com/mattn/go-shellwords"
3432 ;; TODO: can't make homeless-shelter:
3433 ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
3434 ;; initialization failure: mkdir /homeless-shelter: permission denied
3436 ;; This doesn't seem to work:
3439 ;; (modify-phases %standard-phases
3441 ;; (lambda* (#:key import-path #:allow-other-keys)
3442 ;; (setenv "HOME" "/tmp")
3443 ;; (invoke "go" "test" import-path))))
3445 ;; TODO: There are also a couple of tests that have stymied Debian in
3446 ;; the past. They seem to work when run locally.
3450 (home-page "https://github.com/mattn/go-shellwords")
3451 (synopsis "Parse lines into shell words")
3452 (description "This package parses text into shell arguments. Based on
3453 the @code{cpan} module @code{Parse::CommandLine}.")
3454 (license license:expat))))
3456 (define-public go-github-com-burntsushi-locker
3457 (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
3460 (name "go-github-com-burntsushi-locker")
3461 (version (git-version "0.0.0" revision commit))
3466 (url "https://github.com/BurntSushi/locker")
3468 (file-name (git-file-name name version))
3471 "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg"))))
3472 (build-system go-build-system)
3474 '(#:import-path "github.com/BurntSushi/locker"))
3475 (home-page "https://github.com/BurntSushi/locker")
3476 (synopsis "Manage named ReadWrite mutexes in Go")
3477 (description "Golang package for conveniently using named read/write
3478 locks. These appear to be especially useful for synchronizing access to
3479 session based information in web applications.
3481 The common use case is to use the package level functions, which use a package
3482 level set of locks (safe to use from multiple goroutines
3483 simultaneously). However, you may also create a new separate set of locks
3486 All locks are implemented with read-write mutexes. To use them like a regular
3487 mutex, simply ignore the RLock/RUnlock functions.")
3488 (license license:unlicense))))
3490 (define-public go-github-com-marten-seemann-qtls
3492 (name "go-github-com-marten-seemann-qtls")
3497 (url "https://github.com/marten-seemann/qtls")
3498 (commit (string-append "v" version))))
3499 (file-name (git-file-name name version))
3502 "0dz60y98nm7l70hamq0v2vrs2dspyr5yqhnrds2dfh7hchxvq76j"))))
3503 (build-system go-build-system)
3505 '(#:import-path "github.com/marten-seemann/qtls"
3506 ;; The test suite requires networking.
3509 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
3510 (synopsis "TLS 1.3 with QUIC in Go")
3511 (description "This package provides @code{qtls}, a QUIC-capable variant of
3512 the Go standard library's TLS 1.3 implementation.")
3513 (home-page "https://github.com/marten-seemann/qtls")
3514 (license license:bsd-3)))
3516 (define-public go-github-com-marten-seemann-chacha20
3518 (name "go-github-com-marten-seemann-chacha20")
3523 (url "https://github.com/marten-seemann/chacha20")
3524 (commit (string-append "v" version))))
3525 (file-name (git-file-name name version))
3528 "0x1j4cvbap45zk962qkjalc1h3axhzzdy9cdzhcjmprmm1ql4gjm"))))
3529 (build-system go-build-system)
3531 '(#:import-path "github.com/marten-seemann/chacha20"))
3532 (synopsis "ChaCha20 in Go")
3533 (description "This package is an external copy of the Go standard library's
3534 internal ChaCha20 package.")
3535 (home-page "https://github.com/marten-seemann/chacha20")
3536 (license license:bsd-3)))
3538 (define-public go-github-com-cheekybits-genny
3540 (name "go-github-com-cheekybits-genny")
3545 (url "https://github.com/cheekybits/genny")
3546 (commit (string-append "v" version))))
3547 (file-name (git-file-name name version))
3550 "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87"))))
3551 (build-system go-build-system)
3553 '(#:import-path "github.com/cheekybits/genny"))
3555 `(("go-golang-org-x-tools" ,go-golang-org-x-tools)))
3556 (synopsis "Generics for Go")
3557 (description "This package provides @code{genny}, a Go language
3558 implementation of generics.")
3559 (home-page "https://github.com/cheekybits/genny/")
3560 (license license:expat)))
3562 (define-public go-github-com-lucas-clemente-quic-go
3564 (name "go-github-com-lucas-clemente-quic-go")
3569 (url "https://github.com/lucas-clemente/quic-go")
3570 (commit (string-append "v" version))))
3571 (file-name (git-file-name name version))
3574 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
3575 (build-system go-build-system)
3577 '(#:import-path "github.com/lucas-clemente/quic-go"
3578 ;; XXX More packages required...
3581 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
3582 ("go-github-com-cheekybits-genny" ,go-github-com-cheekybits-genny)
3583 ("go-github-com-marten-seemann-chacha20" ,go-github-com-marten-seemann-chacha20)
3584 ("go-github-com-marten-seemann-qtls" ,go-github-com-marten-seemann-qtls)
3585 ("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto)))
3586 (synopsis "QUIC in Go")
3587 (description "This package provides a Go language implementation of the QUIC
3589 (home-page "https://github.com/lucas-clemente/quic-go")
3590 (license license:expat)))
3592 (define-public go-github-com-francoispqt-gojay
3594 (name "go-github-com-francoispqt-gojay")
3599 (url "https://github.com/francoispqt/gojay")
3600 (commit (string-append "v" version))))
3601 (file-name (git-file-name name version))
3604 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
3605 (build-system go-build-system)
3607 '(#:import-path "github.com/francoispqt/gojay"))
3609 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
3610 (synopsis "JSON encoder/decoder with powerful stream API for Golang")
3611 (description "GoJay is a performant JSON encoder/decoder for Golang. It has
3612 a simple API and doesn't use reflection. It relies on small interfaces to
3613 decode/encode structures and slices.")
3614 (home-page "https://github.com/francoispqt/gojay")
3615 (license license:expat)))
3617 (define-public go-github-com-pkg-errors
3619 (name "go-github-com-pkg-errors")
3624 (url "https://github.com/pkg/errors")
3625 (commit (string-append "v" version))))
3626 (file-name (git-file-name name version))
3629 "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"))))
3630 (build-system go-build-system)
3632 `(#:import-path "github.com/pkg/errors"))
3633 (synopsis "Go error handling primitives")
3634 (description "This package provides @code{error}, which offers simple
3635 error handling primitives in Go.")
3636 (home-page "https://github.com/pkg/errors")
3637 (license license:bsd-2)))
3639 (define-public go-github-com-maruel-panicparse
3641 (name "go-github-com-maruel-panicparse")
3646 (url "https://github.com/maruel/panicparse")
3647 (commit (string-append "v" version))))
3648 (file-name (git-file-name name version))
3651 "13qkn7f64yln8jdmma37h6ra4c7anxkp3vfgvfyb6lb07dpr1ibq"))))
3652 (build-system go-build-system)
3654 '(#:import-path "github.com/maruel/panicparse"))
3655 (synopsis "Toolkit for parsing Go stack traces")
3656 (description "This package provides a toolkit for parsing Go language panic
3657 stack traces. It simplifies the traces to make salient information more visible
3658 and aid debugging.")
3659 (home-page "https://github.com/maruel/panicparse")
3660 (license license:asl2.0)))
3662 (define-public go-github-com-robfig-cron
3664 (name "go-github-com-robfig-cron")
3670 (url "https://github.com/robfig/cron")
3671 (commit (string-append "v" version))))
3672 (file-name (git-file-name name version))
3675 "1agzbw2dfk2d1mpmddr85s5vh6ygm8kqrvfg87i9d2wqnlsnliqm"))))
3676 (build-system go-build-system)
3678 `(#:import-path "github.com/robfig/cron"))
3679 (home-page "https://godoc.org/github.com/robfig/cron")
3680 (synopsis "Cron library for Go")
3681 (description "This package provides a cron library for Go. It implements
3682 a cron spec parser and job runner.")
3683 (license license:expat)))
3685 (define-public go-github-com-shirou-gopsutil
3686 (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399")
3689 (name "go-github-com-shirou-gopsutil")
3690 (version (git-version "v2.19.7" revision commit))
3694 (url "https://github.com/shirou/gopsutil")
3695 (commit commit))) ; XXX
3696 (file-name (git-file-name name version))
3699 "0x1g4r32q4201nr2b754xnrrndmwsrhfr7zg37spya86qrmijnws"))))
3700 (build-system go-build-system)
3702 '(#:import-path "github.com/shirou/gopsutil"))
3703 (synopsis "Process and system monitoring in Go")
3704 (description "This package provides a library for retrieving information
3705 on running processes and system utilization (CPU, memory, disks, network,
3707 (home-page "https://github.com/shirou/gopsutil")
3708 (license license:bsd-3))))
3710 (define-public go-github-com-danwakefield-fnmatch
3711 (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
3714 (name "go-github-com-danwakefield-fnmatch")
3715 (version (git-version "0.0.0" revision commit))
3720 (url "https://github.com/danwakefield/fnmatch")
3724 "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
3725 (file-name (git-file-name name version))))
3726 (build-system go-build-system)
3728 '(#:import-path "github.com/danwakefield/fnmatch"))
3729 (home-page "https://github.com/danwakefield/fnmatch")
3730 (synopsis "Updated clone of kballards golang fnmatch gist")
3731 (description "This package provides an updated clone of kballards golang
3732 fnmatch gist (https://gist.github.com/kballard/272720).")
3733 (license license:bsd-2))))
3735 (define-public go-github-com-ddevault-go-libvterm
3736 (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
3739 (name "go-github-com-ddevault-go-libvterm")
3740 (version (git-version "0.0.0" revision commit))
3745 (url "https://github.com/ddevault/go-libvterm")
3749 "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
3750 (file-name (git-file-name name version))))
3751 (build-system go-build-system)
3753 '(#:import-path "github.com/ddevault/go-libvterm"))
3755 `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
3756 (home-page "https://github.com/ddevault/go-libvterm")
3757 (synopsis "Go binding to libvterm")
3759 "This is a fork of another go-libvterm library for use with aerc.")
3760 (license license:expat))))
3762 (define-public go-github-com-emersion-go-imap
3764 (name "go-github-com-emersion-go-imap")
3770 (url "https://github.com/emersion/go-imap")
3771 (commit (string-append "v" version))))
3774 "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
3775 (file-name (git-file-name name version))))
3776 (build-system go-build-system)
3778 '(#:import-path "github.com/emersion/go-imap"))
3780 `(("go-golang-org-x-text" ,go-golang-org-x-text)))
3781 (home-page "https://github.com/emersion/go-imap")
3782 (synopsis "IMAP4rev1 library written in Go")
3783 (description "This package provides an IMAP4rev1 library written in Go. It
3784 can be used to build a client and/or a server.")
3785 (license license:expat)))
3787 (define-public go-github-com-emersion-go-sasl
3788 (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
3791 (name "go-github-com-emersion-go-sasl")
3792 (version (git-version "0.0.0" revision commit))
3797 (url "https://github.com/emersion/go-sasl")
3801 "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
3802 (file-name (git-file-name name version))))
3803 (build-system go-build-system)
3805 '(#:import-path "github.com/emersion/go-sasl"))
3806 (home-page "https://github.com/emersion/go-sasl")
3807 (synopsis "SASL library written in Go")
3808 (description "This package provides a SASL library written in Go.")
3809 (license license:expat))))
3811 (define-public go-github-com-emersion-go-imap-idle
3812 (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
3815 (name "go-github-com-emersion-go-imap-idle")
3816 (version (git-version "0.0.0" revision commit))
3821 (url "https://github.com/emersion/go-imap-idle")
3825 "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
3826 (file-name (git-file-name name version))))
3827 (build-system go-build-system)
3829 '(#:import-path "github.com/emersion/go-imap-idle"))
3831 `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
3832 ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
3833 ("go-golang-org-x-text" ,go-golang-org-x-text)))
3834 (home-page "https://github.com/emersion/go-imap-idle")
3835 (synopsis "IDLE extension for go-imap")
3836 (description "This package provides an IDLE extension for go-imap.")
3837 (license license:expat))))
3839 (define-public go-github-com-fatih-color
3841 (name "go-github-com-fatih-color")
3846 (url "https://github.com/fatih/color")
3847 (commit (string-append "v" version))))
3848 (file-name (git-file-name name version))
3851 "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0"))))
3852 (build-system go-build-system)
3854 '(#:import-path "github.com/fatih/color"))
3855 (synopsis "Print colored text in Go")
3856 (description "This package provides an ANSI color package to output
3857 colorized or SGR defined output to the standard output.")
3858 (home-page "https://godoc.org/github.com/fatih/color")
3859 (license license:expat)))
3861 (define-public go-github-com-google-go-cmp-cmp
3863 (name "go-github-com-google-go-cmp-cmp")
3868 (url "https://github.com/google/go-cmp")
3869 (commit (string-append "v" version))))
3870 (file-name (git-file-name name version))
3873 "1caw49i0plkjxir7kdf5qhwls3krqwfmi7g4h392rdfwi3kfahx1"))))
3874 (build-system go-build-system)
3876 '(#:import-path "github.com/google/go-cmp/cmp"
3877 #:unpack-path "github.com/google/go-cmp"))
3878 (synopsis "Determine equality of values in Go")
3879 (description "This package provides a more powerful and safer
3880 alternative to @code{reflect.DeepEqual} for comparing whether two values
3881 are semantically equal in Go (for writing tests).")
3882 (home-page "https://godoc.org/github.com/google/go-cmp/cmp")
3883 (license license:asl2.0)))
3885 (define-public go-github-com-google-uuid
3887 (name "go-github-com-google-uuid")
3892 (url "https://github.com/google/uuid")
3893 (commit (string-append "v" version))))
3894 (file-name (git-file-name name version))
3897 "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb"))))
3898 (build-system go-build-system)
3900 '(#:import-path "github.com/google/uuid"))
3901 (home-page "https://github.com/google/uuid/")
3902 (synopsis "Generate and inspect UUIDs based on RFC 4122 and DCE 1.1")
3903 (description "The uuid package generates and inspects UUIDs based on RFC
3904 4122 and DCE 1.1: Authentication and Security Services.")
3905 (license license:bsd-3)))
3907 (define-public go-github-com-google-goterm
3908 (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3")
3911 (name "go-github-com-google-goterm")
3912 (version (git-version "0.0.1" revision commit))
3916 (url "https://github.com/google/goterm")
3918 (file-name (git-file-name name version))
3921 "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb"))))
3922 (build-system go-build-system)
3924 `(#:import-path "github.com/google/goterm/term"
3925 #:unpack-path "github.com/google/goterm"))
3926 (home-page "https://github.com/google/goterm/")
3927 (synopsis "PTY creation and termios get/set attributes")
3928 (description "The term package implements PTY creation and termios get/set
3929 attributes. It also contains some convenience functions for colors, SSH to
3930 and from termios translations, readCh, reading passwords, etc.")
3931 (license license:bsd-3))))
3933 (define-public go-golang.org-x-sync-errgroup
3934 (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
3937 (name "go-golang.org-x-sync-errgroup")
3938 (version (git-version "0.0.0" revision commit))
3942 (url "https://go.googlesource.com/sync")
3944 (file-name (git-file-name name version))
3947 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
3948 (build-system go-build-system)
3950 '(#:import-path "golang.org/x/sync/errgroup"
3951 #:unpack-path "golang.org/x/sync"))
3952 (synopsis "Synchronization, error propagation, and Context cancellation
3953 for groups of goroutines working on subtasks of a common task.")
3954 (description "This package provides synchronization, error propagation,
3955 and Context cancellation for groups of goroutines working on subtasks of a
3957 (home-page "https://godoc.org/golang.org/x/sync/errgroup")
3958 (license license:bsd-3))))
3960 (define (go-gotest-tools-source version sha256-base32-hash)
3964 (url "https://github.com/gotestyourself/gotest.tools")
3965 (commit (string-append "v" version))))
3966 (file-name (git-file-name "go-gotest-tools" version))
3968 (base32 sha256-base32-hash))))
3970 ;; Note that version 3.0.0 is incompatible to 2.3.0.
3971 ;; See also <https://github.com/gotestyourself/gotest.tools/issues/166>.
3972 (define (go-gotest-tools-package suffix)
3974 (name (string-append "go-gotest-tools-"
3975 (string-replace-substring suffix "/" "-")))
3978 (go-gotest-tools-source version
3979 "0071rjxp4xzcr3vprkaj1hdk35a3v45bx8v0ipk16wwc5hx84i2i"))
3980 (build-system go-build-system)
3982 `(#:import-path ,(string-append "gotest.tools/" suffix)
3983 #:unpack-path "gotest.tools"))
3984 (synopsis "@code{gotest-tools} part")
3985 (description "This package provides a part of @code{gotest-tools}.")
3986 (home-page "https://github.com/gotestyourself/gotest.tools")
3987 (license license:asl2.0)))
3989 (define-public go-gotest-tools-internal-format
3990 (package (inherit (go-gotest-tools-package "internal/format"))
3992 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
3993 ("go-github-com-google-go-cmp-cmp"
3994 ,go-github-com-google-go-cmp-cmp)))
3995 (synopsis "Formats messages for use with gotest-tools")
3996 (description "This package provides a way to format messages for use
3997 with gotest-tools.")))
3999 (define-public go-gotest-tools-internal-difflib
4000 (package (inherit (go-gotest-tools-package "internal/difflib"))
4001 (synopsis "Differences for use with gotest-tools")
4002 (description "This package computes differences for use
4003 with gotest-tools.")))
4005 (define-public go-gotest-tools-internal-source
4006 (package (inherit (go-gotest-tools-package "internal/source"))
4008 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4009 ("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
4010 (synopsis "Source code AST formatters for gotest-tools")
4011 (description "This package provides source code AST formatters for
4014 (define-public go-gotest-tools-assert
4015 (package (inherit (go-gotest-tools-package "assert"))
4016 (name "go-gotest-tools-assert")
4018 `(#:tests? #f ; Test failure concerning message formatting (FIXME)
4019 #:import-path "gotest.tools/assert"
4020 #:unpack-path "gotest.tools"))
4022 ; `(("go-gotest-tools-internal-format" ,go-gotest-tools-internal-format)))
4024 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4025 ("go-github-com-google-go-cmp-cmp"
4026 ,go-github-com-google-go-cmp-cmp)))
4027 (synopsis "Compare values and fail a test when a comparison fails")
4028 (description "This package provides a way to compare values and fail a
4029 test when a comparison fails.")
4030 (home-page "https://github.com/gotestyourself/gotest.tools")
4031 (license license:asl2.0)))
4033 (define-public gotestsum
4040 (url "https://github.com/gotestyourself/gotestsum")
4041 (commit (string-append "v" version))))
4042 (file-name (git-file-name name version))
4045 "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
4046 (build-system go-build-system)
4048 '(#:import-path "gotest.tools/gotestsum"))
4050 `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
4051 ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
4052 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
4053 ("go-github-com-sirupsen-logrus"
4054 ,go-github-com-sirupsen-logrus)
4055 ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
4056 ("go-github-com-jonboulle-clockwork"
4057 ,go-github-com-jonboulle-clockwork)
4058 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4059 ("go-gotest-tools-assert" ,go-gotest-tools-assert)
4060 ("go-github-com-google-go-cmp-cmp"
4061 ,go-github-com-google-go-cmp-cmp)
4062 ;; TODO: This would be better as a propagated-input of
4063 ;; go-gotest-tools-assert, but that does not work for
4065 ("go-gotest-tools-internal-format"
4066 ,go-gotest-tools-internal-format)
4067 ("go-gotest-tools-internal-difflib"
4068 ,go-gotest-tools-internal-difflib)
4069 ("go-gotest-tools-internal-source"
4070 ,go-gotest-tools-internal-source)
4071 ("go-github-com-google-go-cmp-cmp"
4072 ,go-github-com-google-go-cmp-cmp)))
4073 (synopsis "Go test runner with output optimized for humans")
4074 (description "This package provides a @code{go test} runner with output
4075 optimized for humans, JUnit XML for CI integration, and a summary of the
4077 (home-page "https://github.com/gotestyourself/gotestsum")
4078 (license license:asl2.0)))
4080 (define-public go-github-com-golang-protobuf-proto
4082 (name "go-github-com-golang-protobuf-proto")
4087 (url "https://github.com/golang/protobuf")
4088 (commit (string-append "v" version))))
4089 (file-name (git-file-name name version))
4092 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
4093 (build-system go-build-system)
4095 '(#:import-path "github.com/golang/protobuf/proto"
4096 #:unpack-path "github.com/golang/protobuf"
4097 ;; Requires unpackaged golang.org/x/sync/errgroup
4099 (synopsis "Go support for Protocol Buffers")
4100 (description "This package provides Go support for the Protocol Buffers
4101 data serialization format.")
4102 (home-page "https://github.com/golang/protobuf")
4103 (license license:bsd-3)))
4105 (define-public go-github-com-mattn-go-zglob
4107 (name "go-github-com-mattn-go-zglob")
4112 (url "https://github.com/mattn/go-zglob")
4113 (commit (string-append "v" version))))
4114 (file-name (git-file-name name version))
4117 "1sncdyq5fbd42al4amyy91h7vlzm3wm6c9vl8za2pjgfgsd581fz"))))
4118 (build-system go-build-system)
4120 `(#:import-path "github.com/mattn/go-zglob"))
4121 (home-page "https://github.com/mattn/go-zglob")
4122 (synopsis "Glob library that descends into other directories")
4123 (description " A glob library that implements descending into other
4124 directories. It is optimized for filewalking. ")
4125 (license license:expat)))
4127 (define-public go-github-com-willf-bitset
4129 (name "go-github-com-willf-bitset")
4134 (url "https://github.com/willf/bitset")
4135 (commit (string-append "v" version))))
4136 (file-name (git-file-name name version))
4139 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
4140 (build-system go-build-system)
4142 '(#:import-path "github.com/willf/bitset"))
4143 (synopsis "Bitsets in Go")
4144 (description "This package provides a Go implementation of bitsets, which
4145 are a mapping between non-negative integers and boolean values focused on
4146 efficient space usage.")
4147 (home-page "https://github.com/willf/bitset")
4148 (license license:bsd-3)))
4150 (define-public go-github-com-willf-bloom
4152 (name "go-github-com-willf-bloom")
4157 (url "https://github.com/willf/bloom")
4158 (commit (string-append "v" version))))
4159 (file-name (git-file-name name version))
4162 "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg"))))
4163 (build-system go-build-system)
4165 '(#:import-path "github.com/willf/bloom"
4167 (modify-phases %standard-phases
4168 (add-after 'unpack 'patch-import-path
4170 ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for
4171 ;; more information.
4172 ;; <https://github.com/spaolacci/murmur3/issues/29>
4173 (substitute* "src/github.com/willf/bloom/bloom.go"
4174 (("spaolacci") "twmb"))
4177 `(("go-github-com-twmb-murmur3" ,go-github-com-twmb-murmur3)
4178 ("go-github-com-willf-bitset" ,go-github-com-willf-bitset)))
4179 (synopsis "Bloom filters in Go")
4180 (description "This package provides a Go implementation of bloom filters,
4181 based on murmurhash.")
4182 (home-page "https://github.com/willf/bloom")
4183 (license license:bsd-2)))
4185 (define-public go-golang-org-rainycape-unidecode
4186 (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
4189 (name "go-golang-org-rainycape-unidecode")
4190 (version (git-version "0.0.0" revision commit))
4194 (url "https://github.com/rainycape/unidecode")
4196 (file-name (string-append "go-golang-org-rainycape-unidecode-"
4197 version "-checkout"))
4200 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5"))))
4201 (build-system go-build-system)
4203 `(#:import-path "golang.org/rainycape/unidecode"))
4204 (home-page "https://github.com/rainycape/unidecode")
4205 (synopsis "Unicode transliterator in Golang")
4206 (description "Unicode transliterator in Golang - Replaces non-ASCII
4207 characters with their ASCII approximations.")
4208 (license license:asl2.0))))
4210 (define-public go-github-com-golang-freetype
4211 (let ((commit "e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4")
4214 (name "go-github-com-golang-freetype")
4215 (version (git-version "0.0.0" revision commit))
4219 (url "https://github.com/golang/freetype")
4221 (file-name (string-append "go-github-com-golang-freetype-"
4222 version "-checkout"))
4225 "194w3djc6fv1rgcjqds085b9fq074panc5vw582bcb8dbfzsrqxc"))))
4226 (build-system go-build-system)
4228 `(#:import-path "github.com/golang/freetype"))
4230 `(("go-golang-org-x-image" ,go-golang-org-x-image)))
4231 (home-page "https://github.com/golang/freetype")
4232 (synopsis "Freetype font rasterizer in the Go programming language")
4233 (description "The Freetype font rasterizer in the Go programming language.")
4234 (license (list license:freetype
4237 (define-public go-github-com-fogleman-gg
4239 (name "go-github-com-fogleman-gg")
4244 (url "https://github.com/fogleman/gg")
4245 (commit (string-append "v" version))))
4246 (file-name (git-file-name name version))
4249 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
4250 (build-system go-build-system)
4252 `(#:tests? #f ; Issue with test flags.
4253 #:import-path "github.com/fogleman/gg"))
4255 `(("go-github-com-golang-freetype" ,go-github-com-golang-freetype)))
4256 (home-page "https://github.com/fogleman/gg")
4257 (synopsis "2D rendering in Go")
4258 (description "@code{gg} is a library for rendering 2D graphics in pure Go.")
4259 (license license:expat)))
4261 (define-public go-github-com-gedex-inflector
4262 (let ((commit "16278e9db8130ac7ec405dc174cfb94344f16325")
4265 (name "go-github-com-gedex-inflector")
4266 (version (git-version "0.0.0" revision commit))
4270 (url "https://github.com/gedex/inflector")
4272 (file-name (string-append "go-github-com-gedex-inflector-"
4273 version "-checkout"))
4276 "05hjqw1m71vww4914d9h6nqa9jw3lgjzwsy7qaffl02s2lh1amks"))))
4277 (build-system go-build-system)
4279 `(#:import-path "github.com/gedex/inflector"))
4280 (home-page "https://github.com/gedex/inflector")
4281 (synopsis "Go library that pluralizes and singularizes English nouns")
4282 (description "Go library that pluralizes and singularizes English nouns.")
4283 (license license:bsd-2))))
4285 (define-public go-github-com-klauspost-cpuid
4287 (name "go-github-com-klauspost-cpuid")
4292 (url "https://github.com/klauspost/cpuid")
4293 (commit (string-append "v" version))))
4294 (file-name (git-file-name name version))
4297 "1s510210wdj5dkamii1qrk7v87k4qpdcrrjzflp5ha9iscw6b06l"))))
4298 (build-system go-build-system)
4300 `(#:import-path "github.com/klauspost/cpuid"))
4301 (home-page "https://github.com/klauspost/cpuid")
4302 (synopsis "CPU feature identification for Go")
4303 (description "@code{cpuid} provides information about the CPU running the
4304 current program. CPU features are detected on startup, and kept for fast access
4305 through the life of the application. Currently x86 / x64 (AMD64) is supported,
4306 and no external C (cgo) code is used, which should make the library very eas
4308 (license license:expat)))
4310 (define-public go-github-com-pbnjay-memory
4311 (let ((commit "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510")
4314 (name "go-github-com-pbnjay-memory")
4315 (version (git-version "0.0.0" revision commit))
4319 (url "https://github.com/pbnjay/memory")
4321 (file-name (string-append "go-github-com-pbnjay-memory-"
4322 version "-checkout"))
4325 "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
4326 (build-system go-build-system)
4328 `(#:import-path "github.com/pbnjay/memory"))
4329 (home-page "https://github.com/gedex/inflector")
4330 (synopsis "Go library to report total system memory")
4331 (description "@code{memory} provides a single method reporting total
4332 physical system memory accessible to the kernel. It does not account for memory
4333 used by other processes.")
4334 (license license:bsd-3))))
4336 (define-public go-github-com-surge-glog
4337 (let ((commit "2578deb2b95c665e6b1ebabf304ce2085c9e1985")
4340 (name "go-github-com-surge-glog")
4341 (version (git-version "0.0.0" revision commit))
4345 (url "https://github.com/surge/glog")
4347 (file-name (string-append "go-github-com-surge-glog-"
4348 version "-checkout"))
4351 "1bxcwxvsvr2hfpjz9hrrn0wrgykwmrbyk567102k3vafw9xdcwk4"))))
4352 (build-system go-build-system)
4354 `(#:import-path "github.com/surge/glog"))
4355 (home-page "https://github.com/surge/glog")
4356 (synopsis "Leveled execution logs for Go")
4357 (description "Leveled execution logs for Go.")
4358 (license license:asl2.0))))
4360 (define-public go-github-com-surgebase-porter2
4361 (let ((commit "56e4718818e8dc4ea5ba6348402fc7661863732a")
4364 (name "go-github-com-surgebase-porter2")
4365 (version (git-version "0.0.0" revision commit))
4369 (url "https://github.com/surgebase/porter2")
4371 (file-name (string-append "go-github-com-surgebase-porter2-"
4372 version "-checkout"))
4375 "1ivcf83jlj9s7q5y9dfbpyl0br35cz8fcp0dm8sxxvqh54py06v2"))))
4376 (build-system go-build-system)
4378 `(#:import-path "github.com/surgebase/porter2"))
4380 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
4381 ("go-github-com-surge-glog" ,go-github-com-surge-glog)))
4382 (home-page "https://github.com/surgebase/porter2")
4383 (synopsis "Go library implementing english Porter2 stemmer")
4384 (description "Porter2 implements the
4385 @url{http://snowball.tartarus.org/algorithms/english/stemmer.html, english
4386 Porter2 stemmer}. It is written completely using finite state machines to do
4387 suffix comparison, rather than the string-based or tree-based approaches.")
4388 (license license:asl2.0))))
4390 (define-public go-github-com-masterminds-goutils
4392 (name "go-github-com-masterminds-goutils")
4397 (url "https://github.com/Masterminds/goutils")
4398 (commit (string-append "v" version))))
4399 (file-name (git-file-name name version))
4402 "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq"))))
4403 (build-system go-build-system)
4405 `(#:import-path "github.com/Masterminds/goutils"))
4406 (home-page "https://github.com/Masterminds/goutils/")
4407 (synopsis "Utility functions to manipulate strings")
4408 (description "GoUtils provides utility functions to manipulate strings in
4409 various ways. It is a Go implementation of some string manipulation libraries
4410 of Java Apache Commons.")
4411 (license license:asl2.0)))
4413 (define-public go-github-com-masterminds-semver
4415 (name "go-github-com-masterminds-semver")
4420 (url "https://github.com/Masterminds/semver")
4421 (commit (string-append "v" version))))
4422 (file-name (git-file-name name version))
4425 "1g1wizfdy29d02l9dh8gsb029yr4m4swp13swf0pnh9ryh5f1msz"))))
4426 (build-system go-build-system)
4428 `(#:import-path "github.com/Masterminds/semver"))
4429 (home-page "https://github.com/Masterminds/semver/")
4430 (synopsis "@code{semver} helps to work with semantic versions")
4431 (description "The semver package provides the ability to work with
4432 semantic versions. Specifically it provides the ability to:
4434 @item Parse semantic versions
4435 @item Sort semantic versions
4436 @item Check if a semantic version fits within a set of constraints
4437 @item Optionally work with a @code{v} prefix
4439 (license license:expat)))
4441 (define-public go-github-com-huandu-xstrings
4443 (name "go-github-com-huandu-xstrings")
4448 (url "https://github.com/huandu/xstrings")
4449 (commit (string-append "v" version))))
4450 (file-name (git-file-name name version))
4453 "0pwar6rc0fqb6pll38a44s81g5kb65vbg71jg5lx8caphjnikq5r"))))
4454 (build-system go-build-system)
4456 `(#:import-path "github.com/huandu/xstrings"))
4457 (home-page "https://github.com/huandu/xstrings/")
4458 (synopsis "Collection of string functions")
4459 (description "Go package xstrings is a collection of string functions,
4460 which are widely used in other languages but absent in Go package strings.")
4461 (license license:expat)))
4463 (define-public go-github-com-imdario-mergo
4465 (name "go-github-com-imdario-mergo")
4470 (url "https://github.com/imdario/mergo")
4471 (commit (string-append "v" version))))
4472 (file-name (git-file-name name version))
4475 "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
4476 (build-system go-build-system)
4478 `(#:import-path "github.com/imdario/mergo"))
4480 `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
4481 (home-page "https://github.com/imdario/mergo/")
4482 (synopsis "Helper to merge structs and maps in Golang")
4483 (description "Helper to merge structs and maps in Golang. Useful for
4484 configuration default values, avoiding messy if-statements.
4486 Mergo merges same-type structs and maps by setting default values in
4487 zero-value fields. Mergo won't merge unexported (private) fields. It will do
4488 recursively any exported one. It also won't merge structs inside
4489 maps (because they are not addressable using Go reflection).")
4490 (license license:bsd-3)))
4492 (define-public go-github-com-masterminds-sprig
4494 (name "go-github-com-masterminds-sprig")
4499 (url "https://github.com/Masterminds/sprig")
4500 (commit (string-append "v" version))))
4501 (file-name (git-file-name name version))
4504 "0wwi8n2adjc5jlga25lqq0hrz4jcgd5vpll68y2dfji034caaq18"))))
4505 (build-system go-build-system)
4507 `(#:tests? #f ;network tests only
4508 #:import-path "github.com/Masterminds/sprig"))
4510 `(("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils)
4511 ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver)
4512 ("go-github-com-google-uuid" ,go-github-com-google-uuid)
4513 ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings)
4514 ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo)
4515 ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk)
4516 ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure)
4517 ("go-github-com-spf13-cast" ,go-github-com-spf13-cast)
4518 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
4519 ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4520 (home-page "https://github.com/Masterminds/sprig/")
4521 (synopsis "Template functions for Go templates")
4522 (description "Sprig is a library that provides more than 100 commonly used
4523 template functions.")
4524 (license license:expat)))
4526 (define-public go-github-com-bmatcuk-doublestar
4528 (name "go-github-com-bmatcuk-doublestar")
4533 (url "https://github.com/bmatcuk/doublestar")
4534 (commit (string-append "v" version))))
4535 (file-name (git-file-name name version))
4538 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
4539 (build-system go-build-system)
4541 `(#:import-path "github.com/bmatcuk/doublestar"))
4542 (home-page "https://github.com/bmatcuk/doublestar/")
4543 (synopsis "Path pattern matching and globbing supporting doublestar")
4544 (description "@code{doublestar} is a Go implementation of path pattern
4545 matching and globbing with support for \"doublestar\" patterns.")
4546 (license license:expat)))
4548 (define-public go-github-com-dlclark-regexp2
4550 (name "go-github-com-dlclark-regexp2")
4555 (url "https://github.com/dlclark/regexp2")
4556 (commit (string-append "v" version))))
4557 (file-name (git-file-name name version))
4560 "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng"))))
4561 (build-system go-build-system)
4563 `(#:import-path "github.com/dlclark/regexp2"))
4564 (home-page "https://github.com/dlclark/regexp2/")
4565 (synopsis "Full featured regular expressions for Go")
4566 (description "Regexp2 is a feature-rich RegExp engine for Go.")
4567 (license license:expat)))
4569 (define-public go-github-com-alecthomas-colour
4571 (name "go-github-com-alecthomas-colour")
4576 (url "https://github.com/alecthomas/colour")
4577 (commit (string-append "v" version))))
4578 (file-name (git-file-name name version))
4581 "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb"))))
4582 (build-system go-build-system)
4584 `(#:import-path "github.com/alecthomas/colour"))
4586 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)))
4587 (home-page "https://github.com/alecthomas/colour/")
4588 (synopsis "Colour terminal text for Go")
4589 (description "Package colour provides Quake-style colour formatting for
4592 The package level functions can be used to write to stdout (or strings or
4593 other files). If stdout is not a terminal, colour formatting will be
4595 (license license:expat)))
4597 (define-public go-github-com-alecthomas-repr
4598 (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f")
4601 (name "go-github-com-alecthomas-repr")
4602 (version (git-version "0.0.1" revision commit))
4606 (url "https://github.com/alecthomas/repr")
4608 (file-name (git-file-name name version))
4611 "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7"))))
4612 (build-system go-build-system)
4614 `(#:import-path "github.com/alecthomas/repr"))
4616 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4617 (home-page "https://github.com/alecthomas/repr/")
4618 (synopsis "Represent Go values in an almost direct form")
4619 (description "This package attempts to represent Go values in a form that
4620 can be used almost directly in Go source code.")
4621 (license license:expat))))
4623 (define-public go-github-com-sergi-go-diff
4625 (name "go-github-com-sergi-go-diff")
4630 (url "https://github.com/sergi/go-diff")
4631 (commit (string-append "v" version))))
4632 (file-name (git-file-name name version))
4635 "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2"))))
4636 (build-system go-build-system)
4638 `(#:import-path "github.com/sergi/go-diff/diffmatchpatch"
4639 #:unpack-path "github.com/sergi/go-diff"))
4641 `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
4642 (home-page "https://github.com/sergi/go-diff/")
4643 (synopsis "Algorithms to perform operations for synchronizing plain text")
4644 (description "@code{go-diff} offers algorithms to perform operations required for
4645 synchronizing plain text:
4647 @item compare two texts and return their differences
4648 @item perform fuzzy matching of text
4649 @item apply patches onto text
4651 (license license:expat)))
4653 (define-public go-github-com-alecthomas-assert
4654 (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
4657 (name "go-github-com-alecthomas-assert")
4658 (version (git-version "0.0.1" revision commit))
4662 (url "https://github.com/alecthomas/assert")
4664 (file-name (git-file-name name version))
4667 "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
4668 (build-system go-build-system)
4670 `(#:import-path "github.com/alecthomas/assert"))
4672 `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4673 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4674 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4675 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4676 (home-page "https://github.com/alecthomas/assert/")
4677 (synopsis "Go assertion library")
4678 (description "Assertion library that:
4680 @item makes spotting differences in equality much easier
4681 @item uses repr and diffmatchpatch to display structural differences in colour
4682 @item aborts tests on first assertion failure
4684 (license license:expat))))
4686 (define-public go-github-com-alecthomas-chroma
4688 (name "go-github-com-alecthomas-chroma")
4693 (url "https://github.com/alecthomas/chroma")
4694 (commit (string-append "v" version))))
4695 (file-name (git-file-name name version))
4698 "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1"))))
4699 (build-system go-build-system)
4701 `(#:import-path "github.com/alecthomas/chroma"))
4703 `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
4704 ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert)
4705 ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour)
4706 ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr)
4707 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4708 ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff)))
4709 (home-page "https://github.com/alecthomas/chroma/")
4710 (synopsis "General purpose syntax highlighter in pure Go")
4711 (description "Chroma takes source code and other structured text and
4712 converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
4713 (license license:expat)))
4715 (define-public go-github-com-andybalholm-cascadia
4717 (name "go-github-com-andybalholm-cascadia")
4722 (url "https://github.com/andybalholm/cascadia")
4723 (commit (string-append "v" version))))
4724 (file-name (git-file-name name version))
4727 "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc"))))
4728 (build-system go-build-system)
4730 `(#:import-path "github.com/andybalholm/cascadia"))
4732 `(("go-golang-org-x-net" ,go-golang-org-x-net)))
4733 (home-page "https://github.com/andybalholm/cascadia/")
4734 (synopsis "CSS selectors for HTML")
4735 (description "The Cascadia package implements CSS selectors for use with
4736 the parse trees produced by the html package.")
4737 (license license:bsd-2)))
4739 (define-public go-github-com-puerkitobio-goquery
4741 (name "go-github-com-puerkitobio-goquery")
4746 (url "https://github.com/PuerkitoBio/goquery")
4747 (commit (string-append "v" version))))
4748 (file-name (git-file-name name version))
4751 "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx"))))
4752 (build-system go-build-system)
4754 `(#:import-path "github.com/PuerkitoBio/goquery"))
4756 `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4757 ("go-golang-org-x-net" ,go-golang-org-x-net)))
4758 (home-page "https://github.com/PuerkitoBio/goquery")
4759 (synopsis "Features similar to jQuery to the Go language")
4760 (description "@code{goquery} brings a syntax and a set of features similar
4761 to jQuery to the Go language.")
4762 (license license:bsd-3)))
4764 (define-public go-github-com-aymerick-douceur
4766 (name "go-github-com-aymerick-douceur")
4771 (url "https://github.com/aymerick/douceur/")
4772 (commit (string-append "v" version))))
4773 (file-name (git-file-name name version))
4776 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4777 (build-system go-build-system)
4779 `(#:import-path "github.com/aymerick/douceur"))
4781 `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
4782 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4783 ("go-golang-org-x-net" ,go-golang-org-x-net)
4784 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
4785 (home-page "https://github.com/aymerick/douceur/")
4786 (synopsis "CSS parser and inliner")
4787 (description "This package provides a CSS parser and inliner.")
4788 (license license:expat)))
4790 (define-public go-github-com-chris-ramon-douceur
4792 (name "go-github-com-chris-ramon-douceur")
4797 (url "https://github.com/chris-ramon/douceur")
4798 (commit (string-append "v" version))))
4799 (file-name (git-file-name name version))
4802 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
4803 (build-system go-build-system)
4805 `(#:import-path "github.com/chris-ramon/douceur"))
4807 `(("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
4808 ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery)
4809 ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia)
4810 ("go-golang-org-x-net" ,go-golang-org-x-net)
4811 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)))
4812 (home-page "https://github.com/chris-ramon/douceur/")
4813 (synopsis "CSS parser and inliner")
4814 (description "This package provides a CSS parser and inliner.")
4815 (license license:expat)))
4817 (define-public go-github-com-microcosm-cc-bluemonday
4819 (name "go-github-com-microcosm-cc-bluemonday")
4824 (url "https://github.com/microcosm-cc/bluemonday")
4825 (commit (string-append "v" version))))
4826 (file-name (git-file-name name version))
4829 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
4830 (build-system go-build-system)
4832 `(#:import-path "github.com/microcosm-cc/bluemonday"))
4834 `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
4835 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
4836 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
4837 ("go-golang-org-x-net" ,go-golang-org-x-net)))
4838 (home-page "https://github.com/microcosm-cc/bluemonday/")
4839 (synopsis "HTML sanitizer")
4840 (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
4841 (license license:bsd-3)))
4843 (define-public go-github-com-muesli-reflow-wordwrap
4845 (name "go-github-com-muesli-reflow-wordwrap")
4850 (url "https://github.com/muesli/reflow")
4851 (commit (string-append "v" version))))
4854 "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
4855 (build-system go-build-system)
4857 `(#:import-path "github.com/muesli/reflow/wordwrap"
4858 #:unpack-path "github.com/muesli/reflow"))
4860 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
4861 (home-page "https://github.com/muesli/reflow/")
4862 (synopsis "Collection of methods helping to transform blocks of text")
4863 (description "This package provides a collection of ANSI-aware methods and
4864 io.Writers helping you to transform blocks of text.")
4865 (license license:expat)))
4867 (define-public go-github-com-muesli-reflow-ansi
4869 (inherit go-github-com-muesli-reflow-wordwrap)
4870 (name "go-github-com-muesli-reflow-ansi")
4872 `(#:import-path "github.com/muesli/reflow/ansi"
4873 #:unpack-path "github.com/muesli/reflow"))))
4875 (define-public go-github-com-muesli-reflow-indent
4877 (inherit go-github-com-muesli-reflow-wordwrap)
4878 (name "go-github-com-muesli-reflow-indent")
4880 `(#:import-path "github.com/muesli/reflow/indent"
4881 #:unpack-path "github.com/muesli/reflow"))))
4883 (define-public go-github-com-muesli-reflow-padding
4885 (inherit go-github-com-muesli-reflow-wordwrap)
4886 (name "go-github-com-muesli-reflow-padding")
4888 `(#:import-path "github.com/muesli/reflow/padding"
4889 #:unpack-path "github.com/muesli/reflow"))))
4891 (define-public go-github-com-muesli-termenv
4893 (name "go-github-com-muesli-termenv")
4898 (url "https://github.com/muesli/termenv")
4899 (commit (string-append "v" version))))
4900 (file-name (git-file-name name version))
4903 "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
4904 (build-system go-build-system)
4906 `(#:import-path "github.com/muesli/termenv"))
4908 `(("go-github-com-google-goterm" ,go-github-com-google-goterm)
4909 ("go-golang-org-colorful" ,go-golang-org-colorful)
4910 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4911 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
4912 (home-page "https://github.com/muesli/termenv/")
4913 (synopsis "Advanced styling options on the terminal")
4914 (description "termenv lets you safely use advanced styling options on the
4915 terminal. It gathers information about the terminal environment in terms of
4916 its ANSI and color support and offers you convenient methods to colorize and
4917 style your output, without you having to deal with all kinds of weird ANSI
4918 escape sequences and color conversions.")
4919 (license license:expat)))
4921 (define-public go-github-com-olekukonko-tablewriter
4923 (name "go-github-com-olekukonko-tablewriter")
4928 (url "https://github.com/olekukonko/tablewriter")
4929 (commit (string-append "v" version))))
4930 (file-name (git-file-name name version))
4933 "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x"))))
4934 (build-system go-build-system)
4936 `(#:import-path "github.com/olekukonko/tablewriter"))
4938 `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)))
4939 (home-page "https://github.com/olekukonko/tablewriter/")
4940 (synopsis "Generate ASCII table")
4941 (description "This package allows to generate ASCII table. Features:
4943 @item automatic Padding
4944 @item support Multiple Lines
4945 @item supports Alignment
4946 @item support Custom Separators
4947 @item automatic Alignment of numbers and percentage
4948 @item write directly to http , file etc via @code{io.Writer}
4949 @item read directly from CSV file
4950 @item optional row line via @code{SetRowLine}
4951 @item normalise table header
4952 @item make CSV Headers optional
4953 @item enable or disable table border
4954 @item set custom footer support
4955 @item optional identical cells merging
4956 @item set custom caption
4957 @item optional reflowing of paragrpahs in multi-line cells
4959 (license license:expat)))
4961 (define-public go-github-com-yuin-goldmark
4963 (name "go-github-com-yuin-goldmark")
4968 (url "https://github.com/yuin/goldmark")
4969 (commit (string-append "v" version))))
4970 (file-name (git-file-name name version))
4973 "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy"))))
4974 (build-system go-build-system)
4976 `(#:import-path "github.com/yuin/goldmark"))
4977 (home-page "https://github.com/yuin/goldmark/")
4978 (synopsis "Markdown parser")
4979 (description "This package provides a markdown parser.")
4980 (license license:expat)))
4982 (define-public go-github-com-charmbracelet-glamour
4984 (name "go-github-com-charmbracelet-glamour")
4989 (url "https://github.com/charmbracelet/glamour")
4990 (commit (string-append "v" version))))
4991 (file-name (git-file-name name version))
4994 "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z"))))
4995 (build-system go-build-system)
4997 `(#:import-path "github.com/charmbracelet/glamour"))
4999 `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
5000 ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)
5001 ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
5002 ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday)
5003 ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
5004 ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
5005 ("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
5006 ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
5007 ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap)
5008 ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
5009 ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding)
5010 ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
5011 ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
5012 ("go-github-com-google-goterm" ,go-github-com-google-goterm)
5013 ("go-golang-org-colorful" ,go-golang-org-colorful)
5014 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5015 ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter)
5016 ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark)
5017 ("go-golang-org-x-net" ,go-golang-org-x-net)))
5018 (home-page "https://github.com/charmbracelet/glamour/")
5019 (synopsis "Write handsome command-line tools with glamour")
5020 (description "@code{glamour} lets you render markdown documents and
5021 templates on ANSI compatible terminals. You can create your own stylesheet or
5022 use one of our glamourous default themes.")
5023 (license license:expat)))
5025 (define-public go-github-com-coreos-go-semver
5027 (name "go-github-com-coreos-go-semver")
5032 (url "https://github.com/coreos/go-semver")
5033 (commit (string-append "v" version))))
5034 (file-name (git-file-name name version))
5037 "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9"))))
5038 (build-system go-build-system)
5040 `(#:import-path "github.com/coreos/go-semver"))
5041 (home-page "https://github.com/coreos/go-semver/")
5042 (synopsis "Semantic versioning library")
5043 (description "@code{go-semver} is a semantic versioning library for Go.
5044 It lets you parse and compare two semantic version strings.")
5045 (license license:asl2.0)))
5047 (define-public go-github-com-emirpasic-gods
5049 (name "go-github-com-emirpasic-gods")
5054 (url "https://github.com/emirpasic/gods")
5055 (commit (string-append "v" version))))
5056 (file-name (git-file-name name version))
5059 "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1"))))
5060 (build-system go-build-system)
5062 `(#:import-path "github.com/emirpasic/gods"
5063 ; Source-only package
5066 (modify-phases %standard-phases
5068 (home-page "https://github.com/emirpasic/gods/")
5069 (synopsis "Implementation of various data structures and algorithms in Go")
5070 (description "This package provides implementation of various data
5071 structures and algorithms in Go.")
5072 (license license:bsd-2)))
5074 (define-public go-gopkg-in-warnings
5076 (name "go-gopkg-in-warnings")
5081 (url "https://github.com/go-warnings/warnings")
5082 (commit (string-append "v" version))))
5083 (file-name (git-file-name name version))
5086 "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81"))))
5087 (build-system go-build-system)
5089 `(#:import-path "gopkg.in/warnings.v0"))
5090 (home-page "https://gopkg.in/warnings.v0")
5091 (synopsis "Error handling with non-fatal errors")
5092 (description "Package warnings implements error handling with non-fatal
5093 errors (warnings).")
5094 (license license:bsd-2)))
5096 (define-public go-github-com-go-git-gcfg
5098 (name "go-github-com-go-git-gcfg")
5103 (url "https://github.com/go-git/gcfg")
5104 (commit (string-append "v" version))))
5105 (file-name (git-file-name name version))
5108 "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83"))))
5110 `(#:import-path "github.com/go-git/gcfg"))
5112 `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings)
5113 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
5114 (build-system go-build-system)
5115 (home-page "https://github.com/go-git/gcfg/")
5116 (synopsis "Gcfg reads INI-style configuration files into Go structs")
5117 (description "Gcfg reads INI-style configuration files into Go structs.")
5118 (license license:bsd-3)))
5120 (define-public go-github-com-go-git-go-billy
5122 (name "go-github-com-go-git-go-billy")
5127 (url "https://github.com/go-git/go-billy")
5128 (commit (string-append "v" version))))
5129 (file-name (git-file-name name version))
5132 "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx"))))
5133 (build-system go-build-system)
5135 `(#:import-path "github.com/go-git/go-billy/v5"))
5137 `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1)))
5138 (home-page "https://github.com/go-git/go-billy/")
5139 (synopsis "Filesystem abstraction for Go")
5140 (description "Billy implements an interface based on the os standard
5141 library, allowing to develop applications without dependency on the underlying
5142 storage. Makes it virtually free to implement mocks and testing over
5143 filesystem operations.")
5144 (license license:asl2.0)))
5146 (define-public go-github-com-jbenet-go-context-io
5147 (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
5150 (name "go-github-com-jbenet-go-context-io")
5151 (version (git-version "0.0.1" revision commit))
5155 (url "https://github.com/jbenet/go-context")
5157 (file-name (git-file-name name version))
5160 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
5161 (build-system go-build-system)
5163 `(#:import-path "github.com/jbenet/go-context/io"))
5164 (home-page "https://github.com/jbenet/go-context/")
5165 (synopsis "@code{jbenet's} context extensions")
5166 (description "This package provides @code{jbenet's} context
5168 (license license:expat))))
5170 (define-public go-github-com-kevinburke-ssh-config
5172 (name "go-github-com-kevinburke-ssh-config")
5177 (url "https://github.com/kevinburke/ssh_config")
5179 (file-name (git-file-name name version))
5182 "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f"))))
5184 `(#:import-path "github.com/kevinburke/ssh_config"))
5185 (build-system go-build-system)
5186 (home-page "https://github.com/kevinburke/ssh_config/")
5187 (synopsis "Parser for @file{ssh_config} files")
5188 (description "This is a Go parser for @file{ssh_config} files.
5189 Importantly, this parser attempts to preserve comments in a given file, so you
5190 can manipulate a @file{ssh_config} file from a program.")
5191 (license license:expat)))
5193 (define-public go-github-com-xanzy-ssh-agent
5195 (name "go-github-com-xanzy-ssh-agent")
5200 (url "https://github.com/xanzy/ssh-agent")
5201 (commit (string-append "v" version))))
5202 (file-name (git-file-name name version))
5205 "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
5206 (build-system go-build-system)
5208 `(#:import-path "github.com/xanzy/ssh-agent"))
5210 `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
5211 (home-page "https://github.com/xanzy/ssh-agent/")
5212 (synopsis "Control ssh-agent from Go")
5213 (description "Package agent implements the ssh-agent protocol, and
5214 provides both a client and a server. The client can talk to a standard
5215 ssh-agent that uses UNIX sockets, and one could implement an alternative
5216 ssh-agent process using the sample server. ")
5217 (license license:asl2.0)))