X-Git-Url: https://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/26db4c956dba32b1a3cdaed675915f6d34c84b3e..507da2fef84bf190c811ab6cf7723aec0255b0d9:/gnu/packages/golang.scm diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 4711ce937d..ab1bcace9e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1147,6 +1147,28 @@ containers.") values for the purpose of fuzz testing.") (license license:asl2.0)))) +(define-public go-github-com-gorilla-css + (package + (name "go-github-com-gorilla-css") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gorilla/css") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/gorilla/css/scanner" + #:unpack-path "github.com/gorilla/css")) + (home-page "https://github.com/gorilla/css/") + (synopsis "CSS3 tokenizer") + (description "This package provides a CSS3 tokenizer.") + (license license:bsd-3))) + (define-public go-github-com-gorilla-context (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42") (revision "0")) @@ -3882,6 +3904,32 @@ are semantically equal in Go (for writing tests).") 4122 and DCE 1.1: Authentication and Security Services.") (license license:bsd-3))) +(define-public go-github-com-google-goterm + (let ((commit "fc88cf888a3fa99ecc23d1efc1a44284268457d3") + (revision "1")) + (package + (name "go-github-com-google-goterm") + (version (git-version "0.0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/goterm") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0809sf02dhg2bjhsz43pmlb5d7nbsnwxls3lw01zw5p7ri9bqwfb")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/google/goterm/term" + #:unpack-path "github.com/google/goterm")) + (home-page "https://github.com/google/goterm/") + (synopsis "PTY creation and termios get/set attributes") + (description "The term package implements PTY creation and termios get/set +attributes. It also contains some convenience functions for colors, SSH to +and from termios translations, readCh, reading passwords, etc.") + (license license:bsd-3)))) + (define-public go-golang.org-x-sync-errgroup (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb") (revision "0")) @@ -4474,3 +4522,696 @@ maps (because they are not addressable using Go reflection).") (description "Sprig is a library that provides more than 100 commonly used template functions.") (license license:expat))) + +(define-public go-github-com-bmatcuk-doublestar + (package + (name "go-github-com-bmatcuk-doublestar") + (version "1.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bmatcuk/doublestar") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/bmatcuk/doublestar")) + (home-page "https://github.com/bmatcuk/doublestar/") + (synopsis "Path pattern matching and globbing supporting doublestar") + (description "@code{doublestar} is a Go implementation of path pattern +matching and globbing with support for \"doublestar\" patterns.") + (license license:expat))) + +(define-public go-github-com-dlclark-regexp2 + (package + (name "go-github-com-dlclark-regexp2") + (version "1.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dlclark/regexp2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "011l1prsywvhhi0yc7qmpsca1cwavmawyyld5kjzi0ff9ghvj4ng")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/dlclark/regexp2")) + (home-page "https://github.com/dlclark/regexp2/") + (synopsis "Full featured regular expressions for Go") + (description "Regexp2 is a feature-rich RegExp engine for Go.") + (license license:expat))) + +(define-public go-github-com-alecthomas-colour + (package + (name "go-github-com-alecthomas-colour") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/colour") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/alecthomas/colour")) + (native-inputs + `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty))) + (home-page "https://github.com/alecthomas/colour/") + (synopsis "Colour terminal text for Go") + (description "Package colour provides Quake-style colour formatting for +Unix terminals. + +The package level functions can be used to write to stdout (or strings or +other files). If stdout is not a terminal, colour formatting will be +stripped.") + (license license:expat))) + +(define-public go-github-com-alecthomas-repr + (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f") + (revision "1")) + (package + (name "go-github-com-alecthomas-repr") + (version (git-version "0.0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/repr") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/alecthomas/repr")) + (native-inputs + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify))) + (home-page "https://github.com/alecthomas/repr/") + (synopsis "Represent Go values in an almost direct form") + (description "This package attempts to represent Go values in a form that +can be used almost directly in Go source code.") + (license license:expat)))) + +(define-public go-github-com-sergi-go-diff + (package + (name "go-github-com-sergi-go-diff") + (version "1.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sergi/go-diff") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/sergi/go-diff/diffmatchpatch" + #:unpack-path "github.com/sergi/go-diff")) + (native-inputs + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify))) + (home-page "https://github.com/sergi/go-diff/") + (synopsis "Algorithms to perform operations for synchronizing plain text") + (description "@code{go-diff} offers algorithms to perform operations required for +synchronizing plain text: +@itemize +@item compare two texts and return their differences +@item perform fuzzy matching of text +@item apply patches onto text +@end itemize\n") + (license license:expat))) + +(define-public go-github-com-alecthomas-assert + (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06") + (revision "1")) + (package + (name "go-github-com-alecthomas-assert") + (version (git-version "0.0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/assert") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/alecthomas/assert")) + (native-inputs + `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) + ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour) + ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr) + ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff))) + (home-page "https://github.com/alecthomas/assert/") + (synopsis "Go assertion library") + (description "Assertion library that: +@itemize +@item makes spotting differences in equality much easier +@item uses repr and diffmatchpatch to display structural differences in colour +@item aborts tests on first assertion failure +@end itemize\n") + (license license:expat)))) + +(define-public go-github-com-alecthomas-chroma + (package + (name "go-github-com-alecthomas-chroma") + (version "0.8.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/chroma") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "066a6rdmf670d3v5sc7chbn7db09ldgxjympb03pcqwk644dixb1")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/alecthomas/chroma")) + (native-inputs + `(("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2) + ("go-github-com-alecthomas-assert" ,go-github-com-alecthomas-assert) + ("go-github-com-alecthomas-colour" ,go-github-com-alecthomas-colour) + ("go-github-com-alecthomas-repr" ,go-github-com-alecthomas-repr) + ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) + ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff))) + (home-page "https://github.com/alecthomas/chroma/") + (synopsis "General purpose syntax highlighter in pure Go") + (description "Chroma takes source code and other structured text and +converts it into syntax highlighted HTML, ANSI-coloured text, etc.") + (license license:expat))) + +(define-public go-github-com-andybalholm-cascadia + (package + (name "go-github-com-andybalholm-cascadia") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/andybalholm/cascadia") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/andybalholm/cascadia")) + (native-inputs + `(("go-golang-org-x-net" ,go-golang-org-x-net))) + (home-page "https://github.com/andybalholm/cascadia/") + (synopsis "CSS selectors for HTML") + (description "The Cascadia package implements CSS selectors for use with +the parse trees produced by the html package.") + (license license:bsd-2))) + +(define-public go-github-com-puerkitobio-goquery + (package + (name "go-github-com-puerkitobio-goquery") + (version "1.5.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/PuerkitoBio/goquery") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08nf88cg663slzqr51k2jxlm1krnh86nrzwbk6v41ccq5jkfm7fx")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/PuerkitoBio/goquery")) + (native-inputs + `(("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia) + ("go-golang-org-x-net" ,go-golang-org-x-net))) + (home-page "https://github.com/PuerkitoBio/goquery") + (synopsis "Features similar to jQuery to the Go language") + (description "@code{goquery} brings a syntax and a set of features similar +to jQuery to the Go language.") + (license license:bsd-3))) + +(define-public go-github-com-aymerick-douceur + (package + (name "go-github-com-aymerick-douceur") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aymerick/douceur/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/aymerick/douceur")) + (native-inputs + `(("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery) + ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia) + ("go-golang-org-x-net" ,go-golang-org-x-net) + ("go-github-com-gorilla-css" ,go-github-com-gorilla-css))) + (home-page "https://github.com/aymerick/douceur/") + (synopsis "CSS parser and inliner") + (description "This package provides a CSS parser and inliner.") + (license license:expat))) + +(define-public go-github-com-chris-ramon-douceur + (package + (name "go-github-com-chris-ramon-douceur") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/chris-ramon/douceur") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/chris-ramon/douceur")) + (native-inputs + `(("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur) + ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery) + ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia) + ("go-golang-org-x-net" ,go-golang-org-x-net) + ("go-github-com-gorilla-css" ,go-github-com-gorilla-css))) + (home-page "https://github.com/chris-ramon/douceur/") + (synopsis "CSS parser and inliner") + (description "This package provides a CSS parser and inliner.") + (license license:expat))) + +(define-public go-github-com-microcosm-cc-bluemonday + (package + (name "go-github-com-microcosm-cc-bluemonday") + (version "1.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/microcosm-cc/bluemonday") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/microcosm-cc/bluemonday")) + (native-inputs + `(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur) + ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur) + ("go-github-com-gorilla-css" ,go-github-com-gorilla-css) + ("go-golang-org-x-net" ,go-golang-org-x-net))) + (home-page "https://github.com/microcosm-cc/bluemonday/") + (synopsis "HTML sanitizer") + (description "@code{bluemonday} is a HTML sanitizer implemented in Go.") + (license license:bsd-3))) + +(define-public go-github-com-muesli-reflow-wordwrap + (package + (name "go-github-com-muesli-reflow-wordwrap") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/muesli/reflow") + (commit (string-append "v" version)))) + (sha256 + (base32 + "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/muesli/reflow/wordwrap" + #:unpack-path "github.com/muesli/reflow")) + (native-inputs + `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth))) + (home-page "https://github.com/muesli/reflow/") + (synopsis "Collection of methods helping to transform blocks of text") + (description "This package provides a collection of ANSI-aware methods and +io.Writers helping you to transform blocks of text.") + (license license:expat))) + +(define-public go-github-com-muesli-reflow-ansi + (package + (inherit go-github-com-muesli-reflow-wordwrap) + (name "go-github-com-muesli-reflow-ansi") + (arguments + `(#:import-path "github.com/muesli/reflow/ansi" + #:unpack-path "github.com/muesli/reflow")))) + +(define-public go-github-com-muesli-reflow-indent + (package + (inherit go-github-com-muesli-reflow-wordwrap) + (name "go-github-com-muesli-reflow-indent") + (arguments + `(#:import-path "github.com/muesli/reflow/indent" + #:unpack-path "github.com/muesli/reflow")))) + +(define-public go-github-com-muesli-reflow-padding + (package + (inherit go-github-com-muesli-reflow-wordwrap) + (name "go-github-com-muesli-reflow-padding") + (arguments + `(#:import-path "github.com/muesli/reflow/padding" + #:unpack-path "github.com/muesli/reflow")))) + +(define-public go-github-com-muesli-termenv + (package + (name "go-github-com-muesli-termenv") + (version "0.7.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/muesli/termenv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/muesli/termenv")) + (native-inputs + `(("go-github-com-google-goterm" ,go-github-com-google-goterm) + ("go-golang-org-colorful" ,go-golang-org-colorful) + ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) + ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth))) + (home-page "https://github.com/muesli/termenv/") + (synopsis "Advanced styling options on the terminal") + (description "termenv lets you safely use advanced styling options on the +terminal. It gathers information about the terminal environment in terms of +its ANSI and color support and offers you convenient methods to colorize and +style your output, without you having to deal with all kinds of weird ANSI +escape sequences and color conversions.") + (license license:expat))) + +(define-public go-github-com-olekukonko-tablewriter + (package + (name "go-github-com-olekukonko-tablewriter") + (version "0.0.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/olekukonko/tablewriter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "02r0n2b9yh3x8xyf48k17dxlwj234hlgjycylbjxi6qg08hfmz2x")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/olekukonko/tablewriter")) + (native-inputs + `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth))) + (home-page "https://github.com/olekukonko/tablewriter/") + (synopsis "Generate ASCII table") + (description "This package allows to generate ASCII table. Features: +@itemize +@item automatic Padding +@item support Multiple Lines +@item supports Alignment +@item support Custom Separators +@item automatic Alignment of numbers and percentage +@item write directly to http , file etc via @code{io.Writer} +@item read directly from CSV file +@item optional row line via @code{SetRowLine} +@item normalise table header +@item make CSV Headers optional +@item enable or disable table border +@item set custom footer support +@item optional identical cells merging +@item set custom caption +@item optional reflowing of paragrpahs in multi-line cells +@end itemize\n") + (license license:expat))) + +(define-public go-github-com-yuin-goldmark + (package + (name "go-github-com-yuin-goldmark") + (version "1.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/yuin/goldmark") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12rsnsf65drcp0jfw2jl9w589vsn3pxdk1zh3v9q908iigngrcmy")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/yuin/goldmark")) + (home-page "https://github.com/yuin/goldmark/") + (synopsis "Markdown parser") + (description "This package provides a markdown parser.") + (license license:expat))) + +(define-public go-github-com-charmbracelet-glamour + (package + (name "go-github-com-charmbracelet-glamour") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/charmbracelet/glamour") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/charmbracelet/glamour")) + (native-inputs + `(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma) + ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch) + ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2) + ("go-github-com-microcosm-cc-bluemonday" ,go-github-com-microcosm-cc-bluemonday) + ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur) + ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur) + ("go-github-com-gorilla-css" ,go-github-com-gorilla-css) + ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi) + ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap) + ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent) + ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding) + ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth) + ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv) + ("go-github-com-google-goterm" ,go-github-com-google-goterm) + ("go-golang-org-colorful" ,go-golang-org-colorful) + ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) + ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter) + ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark) + ("go-golang-org-x-net" ,go-golang-org-x-net))) + (home-page "https://github.com/charmbracelet/glamour/") + (synopsis "Write handsome command-line tools with glamour") + (description "@code{glamour} lets you render markdown documents and +templates on ANSI compatible terminals. You can create your own stylesheet or +use one of our glamourous default themes.") + (license license:expat))) + +(define-public go-github-com-coreos-go-semver + (package + (name "go-github-com-coreos-go-semver") + (version "0.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/coreos/go-semver") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0770h1mpig2j5sbiha3abnwaw8p6dg9i87r8pc7cf6m4kwml3sc9")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/coreos/go-semver")) + (home-page "https://github.com/coreos/go-semver/") + (synopsis "Semantic versioning library") + (description "@code{go-semver} is a semantic versioning library for Go. +It lets you parse and compare two semantic version strings.") + (license license:asl2.0))) + +(define-public go-github-com-emirpasic-gods + (package + (name "go-github-com-emirpasic-gods") + (version "1.12.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emirpasic/gods") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/emirpasic/gods" + ; Source-only package + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'build)))) + (home-page "https://github.com/emirpasic/gods/") + (synopsis "Implementation of various data structures and algorithms in Go") + (description "This package provides implementation of various data +structures and algorithms in Go.") + (license license:bsd-2))) + +(define-public go-gopkg-in-warnings + (package + (name "go-gopkg-in-warnings") + (version "0.1.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-warnings/warnings") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81")))) + (build-system go-build-system) + (arguments + `(#:import-path "gopkg.in/warnings.v0")) + (home-page "https://gopkg.in/warnings.v0") + (synopsis "Error handling with non-fatal errors") + (description "Package warnings implements error handling with non-fatal +errors (warnings).") + (license license:bsd-2))) + +(define-public go-github-com-go-git-gcfg + (package + (name "go-github-com-go-git-gcfg") + (version "1.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-git/gcfg") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lb14z4j35pwz2b2rbykkpsq515spwbndb00gwn2xlrzn949xb83")))) + (arguments + `(#:import-path "github.com/go-git/gcfg")) + (native-inputs + `(("go-gopkg-in-warnings" ,go-gopkg-in-warnings) + ("go-github-com-pkg-errors" ,go-github-com-pkg-errors))) + (build-system go-build-system) + (home-page "https://github.com/go-git/gcfg/") + (synopsis "Gcfg reads INI-style configuration files into Go structs") + (description "Gcfg reads INI-style configuration files into Go structs.") + (license license:bsd-3))) + +(define-public go-github-com-go-git-go-billy + (package + (name "go-github-com-go-git-go-billy") + (version "5.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-git/go-billy") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/go-git/go-billy/v5")) + (native-inputs + `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1))) + (home-page "https://github.com/go-git/go-billy/") + (synopsis "Filesystem abstraction for Go") + (description "Billy implements an interface based on the os standard +library, allowing to develop applications without dependency on the underlying +storage. Makes it virtually free to implement mocks and testing over +filesystem operations.") + (license license:asl2.0))) + +(define-public go-github-com-jbenet-go-context-io + (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4") + (revision "1")) + (package + (name "go-github-com-jbenet-go-context-io") + (version (git-version "0.0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jbenet/go-context") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/jbenet/go-context/io")) + (home-page "https://github.com/jbenet/go-context/") + (synopsis "@code{jbenet's} context extensions") + (description "This package provides @code{jbenet's} context +extensions.") + (license license:expat)))) + +(define-public go-github-com-kevinburke-ssh-config + (package + (name "go-github-com-kevinburke-ssh-config") + (version "1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kevinburke/ssh_config") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05jvz5r58a057zxvic9dyr9v2wilha8l6366npwkqgxmnmk9sh5f")))) + (arguments + `(#:import-path "github.com/kevinburke/ssh_config")) + (build-system go-build-system) + (home-page "https://github.com/kevinburke/ssh_config/") + (synopsis "Parser for @file{ssh_config} files") + (description "This is a Go parser for @file{ssh_config} files. +Importantly, this parser attempts to preserve comments in a given file, so you +can manipulate a @file{ssh_config} file from a program.") + (license license:expat))) + +(define-public go-github-com-xanzy-ssh-agent + (package + (name "go-github-com-xanzy-ssh-agent") + (version "0.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xanzy/ssh-agent") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/xanzy/ssh-agent")) + (native-inputs + `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) + (home-page "https://github.com/xanzy/ssh-agent/") + (synopsis "Control ssh-agent from Go") + (description "Package agent implements the ssh-agent protocol, and +provides both a client and a server. The client can talk to a standard +ssh-agent that uses UNIX sockets, and one could implement an alternative +ssh-agent process using the sample server. ") + (license license:asl2.0)))