diff options
author | Rodion Goritskov <rodion.goritskov@gmail.com> | 2023-12-12 01:21:09 +0400 |
---|---|---|
committer | Rodion Goritskov <rodion.goritskov@gmail.com> | 2023-12-12 01:21:09 +0400 |
commit | 36246ac64cc1048fab6dca92d53f67d10f918108 (patch) | |
tree | a34dcfc7177846d9e6c4cf9213e1f2b731a8ab08 | |
parent | 321d93a94ffc59f230851f02ed1f65060f49cecc (diff) |
Temporary result for gonic build
-rw-r--r-- | rodion/packages/go.scm | 841 |
1 files changed, 841 insertions, 0 deletions
diff --git a/rodion/packages/go.scm b/rodion/packages/go.scm new file mode 100644 index 0000000..c9dd695 --- /dev/null +++ b/rodion/packages/go.scm @@ -0,0 +1,841 @@ +(define-module (rodion packages go) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix gexp) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system go) + #:use-module (guix utils) + #:use-module (gnu packages golang) + #:use-module (gnu packages golang-check) + #:use-module (gnu packages syncthing) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages mp3) + #:use-module ((guix build utils) #:select (alist-replace))) + +(define-public gonic + (package + (name "gonic") + (version "0.16.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sentriz/gonic") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01n4zgxlmi7ybycfm5msc2776qv4afp49h6d6jfyncfnv3b89afh")))) + (build-system go-build-system) + (arguments + `(#:import-path "go.senan.xyz/gonic/cmd/gonic" + #:unpack-path "go.senan.xyz/gonic" + #:go ,go-1.20 + #:install-source? #f)) + (propagated-inputs `(("go-github-com-spf13-cast" ,go-github-com-spf13-cast) + ("go-gopkg-in-yaml-v3" ,go-gopkg-in-yaml-v3) + ("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2) + ;("go-gopkg-in-natefinch-npipe-v2" ,go-gopkg-in-natefinch-npipe-v2) + ("go-golang-org-x-text" ,go-golang-org-x-text) + ("go-golang-org-x-sys" ,go-golang-org-x-sys) + ("go-golang-org-x-image" ,go-golang-org-x-image) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) + ("go-github-com-ssor-bom" ,go-github-com-ssor-bom) + ("go-github-com-rogpeppe-go-internal" ,go-github-com-rogpeppe-go-internal) + ("go-github-com-rivo-uniseg" ,go-github-com-rivo-uniseg) + ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib) + ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter) + ;("go-github-com-modern-go-reflect2" ,go-github-com-modern-go-reflect2) + ;("go-github-com-modern-go-concurrent" ,go-github-com-modern-go-concurrent) + ;("go-github-com-mmcdole-goxpp" ,go-github-com-mmcdole-goxpp) + ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk) + ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure) + ("go-github-com-mattn-go-runewidth" ,go-github-com-mattn-go-runewidth) + ;("go-github-com-mailru-easyjson" ,go-github-com-mailru-easyjson) + ;("go-github-com-lib-pq" ,go-github-com-lib-pq) + ;("go-github-com-json-iterator-go" ,go-github-com-json-iterator-go) + ;("go-github-com-josharian-intern" ,go-github-com-josharian-intern) + ;("go-github-com-jinzhu-now" ,go-github-com-jinzhu-now) + ;("go-github-com-jinzhu-inflection" ,go-github-com-jinzhu-inflection) + ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo) + ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings) + ("go-github-com-gorilla-context" ,go-github-com-gorilla-context) + ;("go-github-com-go-openapi-swag" ,go-github-com-go-openapi-swag) + ;("go-github-com-go-openapi-jsonpointer" ,go-github-com-go-openapi-jsonpointer) + ("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew) + ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery) + ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver) + ("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils) + ("go-jaytaylor-com-html2text" ,go-jaytaylor-com-html2text) + ("go-gopkg-in-gormigrate-v1" ,go-gopkg-in-gormigrate-v1) + ("go-golang-org-x-sync" ,go-golang-org-x-sync) + ("go-golang-org-x-net" ,go-golang-org-x-net) + ("go-golang-org-x-exp" ,go-golang-org-x-exp) + ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify) + ("go-github-com-sentriz-gormstore" ,go-github-com-sentriz-gormstore) + ("go-github-com-sentriz-audiotags" ,go-github-com-sentriz-audiotags) + ("go-github-com-rainycape-unidecode" ,go-github-com-rainycape-unidecode) + ("go-github-com-philippta-go-template-html" ,go-github-com-philippta-go-template-html) + ("go-github-com-philippta-go-template-text" ,go-github-com-philippta-go-template-text) + ("go-github-com-philippta-go-template-internal-fmtsort" ,go-github-com-philippta-go-template-internal-fmtsort) + ("go-github-com-peterbourgon-ff" ,go-github-com-peterbourgon-ff) + ("go-github-com-nfnt-resize" ,go-github-com-nfnt-resize) + ("go-github-com-mmcdole-gofeed" ,go-github-com-mmcdole-gofeed) + ("go-github-com-mitchellh-mapstructure" ,go-github-com-mitchellh-mapstructure) + ("go-github-com-mattn-go-sqlite3" ,go-github-com-mattn-go-sqlite3) + ;("go-github-com-josephburnett-jd" ,go-github-com-josephburnett-jd) + ("go-github-com-jinzhu-gorm" ,go-github-com-jinzhu-gorm) + ("go-github-com-gorilla-sessions" ,go-github-com-gorilla-sessions) + ("go-github-com-gorilla-securecookie" ,go-github-com-gorilla-securecookie) + ("go-github-com-google-uuid" ,go-github-com-google-uuid) + ("go-github-com-google-shlex" ,go-github-com-google-shlex) + ("go-github-com-fsnotify-fsnotify" ,go-github-com-fsnotify-fsnotify) + ("go-github-com-fatih-structs" ,go-github-com-fatih-structs) + ("go-github-com-dustin-go-humanize" ,go-github-com-dustin-go-humanize) + ("go-github-com-disintegration-imaging" ,go-github-com-disintegration-imaging) + ("go-github-com-dexterlb-mpvipc" ,go-github-com-dexterlb-mpvipc) + ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia) + ("go-github-com-masterminds-sprig" ,go-github-com-masterminds-sprig))) + (home-page "https://github.com/sentriz/gonic") + (synopsis "Music streaming server / free-software subsonic server API implementation") + (description "free-software subsonic server API implementation, supporting its many clients") + (license license:gpl3))) + +(define-public go-github-com-dexterlb-mpvipc + (package + (name "go-github-com-dexterlb-mpvipc") + (version "0.0.0-20230829142118-145d6eabdc37") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dexterlb/mpvipc") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1swwyl4ivmvif5rrm0l7p20js4bm2d7q5daaygkz8pdnwx13x930")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/dexterlb/mpvipc")) + (home-page "https://github.com/dexterlb/mpvipc") + (synopsis "mpvipc") + (description + "Package mpvipc provides an interface for communicating with the mpv media player +via it's JSON IPC interface") + (license license:expat))) + +(define-public go-github-com-fatih-structs + (package + (name "go-github-com-fatih-structs") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fatih/structs") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wrhb8wp8zpzggl61lapb627lw8yv281abvr6vqakmf569nswa9q")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/fatih/structs")) + (home-page "https://github.com/fatih/structs") + (synopsis "Structs") + (description + "Package structs contains various utilities functions to work with structs.") + (license license:expat))) + +(define-public go-github-com-jinzhu-gorm + (package + (name "go-github-com-jinzhu-gorm") + (version "1.9.16") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jinzhu/gorm") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1nnbxs337238gx0d9rg643m5jwpz005ki91g5did7rwvk7bbsly9")))) + (build-system go-build-system) + (arguments + '(#:tests? #f ;Needs MSSQL library + #:import-path "github.com/jinzhu/gorm")) + (propagated-inputs `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto) + ("go-github-com-mattn-go-sqlite3" ,go-github-com-mattn-go-sqlite3) + ("go-github-com-lib-pq" ,go-github-com-lib-pq) + ("go-github-com-jinzhu-now" ,go-github-com-jinzhu-now) + ("go-github-com-jinzhu-inflection" ,go-github-com-jinzhu-inflection) + ("go-github-com-go-sql-driver-mysql" ,go-github-com-go-sql-driver-mysql) + ("go-github-com-erikstmartin-go-testdb" ,go-github-com-erikstmartin-go-testdb) + ;("go-github-com-denisenkom-go-mssqldb" ,go-github-com-denisenkom-go-mssqldb) + )) + (home-page "https://github.com/jinzhu/gorm") + (synopsis "GORM") + (description + "GORM V2 moved to +@@url{https://github.com/go-gorm/gorm,https://github.com/go-gorm/gorm}") + (license license:expat))) + +(define-public go-github-com-jinzhu-now + (package + (name "go-github-com-jinzhu-now") + (version "1.1.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jinzhu/now") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "10ywpaxs6d3y8gqlzx6rh3yw4ya83bnx0hrs0k0wq5bxbjhfmlil")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/jinzhu/now")) + (home-page "https://github.com/jinzhu/now") + (synopsis "Now") + (description "Package now is a time toolkit for golang.") + (license license:expat))) + +(define-public go-github-com-jinzhu-inflection + (package + (name "go-github-com-jinzhu-inflection") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jinzhu/inflection") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "165i20d11s03771gi43skl66salxj36212r25fbs0cgr4qgfj7fy")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/jinzhu/inflection")) + (home-page "https://github.com/jinzhu/inflection") + (synopsis "Inflection") + (description + "Package inflection pluralizes and singularizes English nouns.") + (license license:expat))) + +(define-public go-github-com-erikstmartin-go-testdb + (package + (name "go-github-com-erikstmartin-go-testdb") + (version "0.0.0-20160219214506-8d10e4a1bae5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/erikstmartin/go-testdb") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fhrqcpv8x74qwxx9gpnhgqbz5wkp2bnsq92w418l1fnrgh4ppmq")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/erikstmartin/go-testdb")) + (home-page "https://github.com/erikstmartin/go-testdb") + (synopsis "go-testdb") + (description + "Framework for stubbing responses from go's driver.Driver interface.") + (license license:bsd-2))) + +(define-public go-github-com-json-iterator-go + (package + (name "go-github-com-json-iterator-go") + (version "1.1.12") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/json-iterator/go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1c8f0hxm18wivx31bs615x3vxs2j3ba0v6vxchsjhldc8kl311bz")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/json-iterator/go")) + (propagated-inputs `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify) + ("go-github-com-modern-go-reflect2" ,go-github-com-modern-go-reflect2) + ("go-github-com-modern-go-concurrent" ,go-github-com-modern-go-concurrent) + ("go-github-com-google-gofuzz" ,go-github-com-google-gofuzz) + ("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew))) + (home-page "https://github.com/json-iterator/go") + (synopsis "Benchmark") + (description + "Package jsoniter implements encoding and decoding of JSON as defined in +@@url{https://rfc-editor.org/rfc/rfc4627.html,RFC 4627} and provides interfaces +with identical syntax of standard lib encoding/json. Converting from +encoding/json to jsoniter is no more than replacing the package with jsoniter +and variable type declarations (if any). jsoniter interfaces gives 100% +compatibility with code using standard lib.") + (license license:expat))) + +(define-public go-github-com-mmcdole-goxpp + (package + (name "go-github-com-mmcdole-goxpp") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mmcdole/goxpp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0cykav3nfrixm1g3cpzjmi8v0kb4kr67ymgs98ch69kxm2n2645z")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/mmcdole/goxpp")) + (propagated-inputs `(("go-gopkg-in-yaml-v3" ,go-gopkg-in-yaml-v3) + ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib) + ("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew) + ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify))) + (home-page "https://github.com/mmcdole/goxpp") + (synopsis "goxpp") + (description + "The @@code{goxpp} library is an XML parser library that is loosely based on the +@@url{http://www.xmlpull.org/v1/download/unpacked/doc/quick_intro.html,Java +XML@code{PullParser}}. This library allows you to easily parse arbitrary XML +content using a pull parser. You can think of @@code{goxpp} as a lightweight +wrapper around Go's XML @@code{Decoder} that provides a set of functions that +make it easier to parse XML content than using the raw decoder itself.") + (license license:expat))) + +(define-public go-github-com-cpuguy83-go-md2man-v2 + (package + (name "go-github-com-cpuguy83-go-md2man-v2") + (version "2.0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cpuguy83/go-md2man") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1a7l569x9sb0s3siyc7w2gfyyq6xc6587i0g16j9gx25x8vjw03f")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/cpuguy83/go-md2man/v2")) + (propagated-inputs `(("go-github-com-russross-blackfriday-v2" ,go-github-com-russross-blackfriday-v2))) + (home-page "https://github.com/cpuguy83/go-md2man") + (synopsis "go-md2man") + (description "Converts markdown into roff (man pages).") + (license license:expat))) + +(define-public go-github-com-modern-go-concurrent + (package + (name "go-github-com-modern-go-concurrent") + (version "0.0.0-20180306012644-bacd9c7ef1dd") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/modern-go/concurrent") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0s0fxccsyb8icjmiym5k7prcqx36hvgdwl588y0491gi18k5i4zs")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/modern-go/concurrent")) + (home-page "https://github.com/modern-go/concurrent") + (synopsis "concurrent") + (description + "because sync.Map is only available in go 1.9, we can use concurrent.Map to make +code portable") + (license license:asl2.0))) + +(define-public go-github-com-modern-go-reflect2 + (package + (name "go-github-com-modern-go-reflect2") + (version "1.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/modern-go/reflect2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05a89f9j4nj8v1bchfkv2sy8piz746ikj831ilbp54g8dqhl8vzr")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/modern-go/reflect2")) + (home-page "https://github.com/modern-go/reflect2") + (synopsis "reflect2") + (description "reflect api that avoids runtime reflect.Value cost") + (license license:asl2.0))) + +(define-public go-github-com-russross-blackfriday-v2 + (package + (name "go-github-com-russross-blackfriday-v2") + (version "2.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/russross/blackfriday") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0d1rg1drrfmabilqjjayklsz5d0n3hkf979sr3wsrw92bfbkivs7")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/russross/blackfriday/v2")) + (home-page "https://github.com/russross/blackfriday") + (synopsis "Blackfriday") + (description "Package blackfriday is a markdown processor.") + (license license:bsd-2))) + +(define-public go-github-com-mmcdole-gofeed + (package + (name "go-github-com-mmcdole-gofeed") + (version "1.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mmcdole/gofeed") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "02lgm0hxd50hgpllr46pg6ficffqz7ry3k0ypim0ii73jqc4lym3")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/mmcdole/gofeed")) + (propagated-inputs `(("go-gopkg-in-yaml-v3" ,go-gopkg-in-yaml-v3) + ("go-github-com-shurcool-sanitized-anchor-name" ,go-github-com-shurcool-sanitized-anchor-name) + ("go-github-com-russross-blackfriday-v2" ,go-github-com-russross-blackfriday-v2) + ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib) + ("go-github-com-modern-go-reflect2" ,go-github-com-modern-go-reflect2) + ("go-github-com-modern-go-concurrent" ,go-github-com-modern-go-concurrent) + ("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew) + ("go-github-com-cpuguy83-go-md2man-v2" ,go-github-com-cpuguy83-go-md2man-v2) + ("go-github-com-andybalholm-cascadia" ,go-github-com-andybalholm-cascadia) + ("go-golang-org-x-text" ,go-golang-org-x-text) + ("go-golang-org-x-net" ,go-golang-org-x-net) + ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) + ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify) + ("go-github-com-mmcdole-goxpp" ,go-github-com-mmcdole-goxpp) + ("go-github-com-json-iterator-go" ,go-github-com-json-iterator-go) + ("go-github-com-puerkitobio-goquery" ,go-github-com-puerkitobio-goquery))) + (home-page "https://github.com/mmcdole/gofeed") + (synopsis "gofeed") + (description + "The @@code{gofeed} library is a robust feed parser that supports parsing both +@@url{https://en.wikipedia.org/wiki/RSS,RSS}, +@@url{https://en.wikipedia.org/wiki/Atom_(standard),Atom} and +@@url{https://jsonfeed.org/version/1,JSON} feeds. The library provides a +universal @@code{gofeed.Parser} that will parse and convert all feed types into +a hybrid @@code{gofeed.Feed} model. You also have the option of utilizing the +feed specific @@code{atom.Parser} or @@code{rss.Parser} or @@code{json.Parser} +parsers which generate @@code{atom. Feed} , @@code{rss.Feed} and +@@code{json.Feed} respectively.") + (license license:expat))) + +(define-public go-github-com-nfnt-resize + (package + (name "go-github-com-nfnt-resize") + (version "0.0.0-20180221191011-83c6a9932646") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nfnt/resize") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "005cpiwq28krbjf0zjwpfh63rp4s4is58700idn24fs3g7wdbwya")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/nfnt/resize")) + (home-page "https://github.com/nfnt/resize") + (synopsis + "This package is no longer being updated! Please look for alternatives if that bothers you.") + (description "Package resize implements various image resizing methods.") + (license license:isc))) + +(define-public go-github-com-peterbourgon-ff + (package + (name "go-github-com-peterbourgon-ff") + (version "1.7.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/peterbourgon/ff") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0kakfdc473dsg1gqvxycbbpjhai6bix90hdp2bi284dxgkhl4r7k")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/peterbourgon/ff")) + (propagated-inputs `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2) + ("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors) + ("go-github-com-pelletier-go-toml" ,go-github-com-pelletier-go-toml) + ("go-github-com-mitchellh-go-wordwrap" ,go-github-com-mitchellh-go-wordwrap))) + (home-page "https://github.com/peterbourgon/ff") + (synopsis "ff") + (description + "ff stands for flags-first, and provides an opinionated way to populate a +@@url{https://golang.org/pkg/flag#@code{FlagSet,flag.FlagSet}} with +configuration data from the environment. By default, it parses only from the +command line, but you can enable parsing from a configuration file and/or +environmental variables.") + (license license:asl2.0))) + +(define-public go-github-com-philippta-go-template-html + (package + (name "go-github-com-philippta-go-template") + (version "0.0.0-20220911145045-4556aca435e4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/philippta/go-template") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1di32slavqd5xja5m5vy9218d963h7szny81sinwsa29zraw7m0v")))) + (build-system go-build-system) + (arguments + `(#:go ,go-1.18 + #:unpack-path "github.com/philippta/go-template" + #:import-path "github.com/philippta/go-template/html/template")) + (home-page "https://github.com/philippta/go-template") + (synopsis "Install") + (description + "This is a drop-in replacement for Go's @@code{text/template} and +@@code{html/template} packages, that adds a new @@code{{{component}}} and +@@code{{{slot}}} element to the language.") + (license license:bsd-3))) + +(define-public go-github-com-philippta-go-template-text + (package + (inherit go-github-com-philippta-go-template-html) + (name "go-github-com-philippta-go-template-text") + (arguments + `(#:go ,go-1.20 + #:unpack-path "github.com/philippta/go-template" + #:import-path "github.com/philippta/go-template/text/template")))) + +(define-public go-github-com-philippta-go-template-internal-fmtsort + (package + (inherit go-github-com-philippta-go-template-html) + (name "go-github-com-philippta-go-template-internal-fmtsort") + (arguments + `(#:go ,go-1.20 + #:unpack-path "github.com/philippta/go-template" + #:import-path "github.com/philippta/go-template/internal/fmtsort")))) + +(define-public go-github-com-rainycape-unidecode + (package + (name "go-github-com-rainycape-unidecode") + (version "0.0.0-20150907023854-cb7f23ec59be") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rainycape/unidecode") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/rainycape/unidecode")) + (home-page "https://github.com/rainycape/unidecode") + (synopsis "unidecode") + (description + "Package unidecode implements a unicode transliterator which replaces non-ASCII +characters with their ASCII approximations.") + (license license:asl2.0))) + +(define-public go-github-com-sentriz-audiotags + (package + (name "go-github-com-sentriz-audiotags") + (version "0.0.0-20230419125925-8886243b2137") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sentriz/audiotags") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "058sia5rx2igpxd6k47hiizwhdkwa76rbzhlnrdr0mab278zj76n")))) + (build-system go-build-system) + (inputs (list pkg-config taglib)) + (arguments + `(#:go ,go-1.20 + #:import-path "github.com/sentriz/audiotags")) + (home-page "https://github.com/sentriz/audiotags") + (synopsis #f) + (description #f) + (license license:lgpl2.1))) + +(define-public go-github-com-sentriz-gormstore + (package + (name "go-github-com-sentriz-gormstore") + (version "0.0.0-20220105134332-64e31f7f6981") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sentriz/gormstore") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09wcxxnfqgvlcqy0887kifrlha6sc2licw0c3fy67nfs70clm6f7")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/sentriz/gormstore")) + (propagated-inputs `(("go-github-com-jinzhu-gorm" ,go-github-com-jinzhu-gorm) + ("go-github-com-gorilla-sessions" ,go-github-com-gorilla-sessions) + ("go-github-com-gorilla-securecookie" ,go-github-com-gorilla-securecookie) + ("go-github-com-gorilla-context" ,go-github-com-gorilla-context))) + (home-page "https://github.com/sentriz/gormstore") + (synopsis #f) + (description "Package gormstore is a GORM backend for gorilla sessions") + (license license:expat))) + +(define-public go-github-com-google-go-cmp + (package + (name "go-github-com-google-go-cmp") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/go-cmp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1n1j4hi50bl05pyys4i7y417k9g6k1blslj27z327qny7kkdl2ma")))) + (build-system go-build-system) + (arguments + '(#:unpack-path "github.com/google/go-cmp" + #:import-path "github.com/google/go-cmp/cmp")) + (home-page "https://github.com/google/go-cmp") + (synopsis "Package for equality of Go values") + (description + "This package is intended to be a more powerful and safer alternative to +@@code{reflect.@code{DeepEqual}} for comparing whether two values are +semantically equal.") + (license license:bsd-3))) + +(define-public go-github-com-spf13-cast + (package + (name "go-github-com-spf13-cast") + (version "1.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/spf13/cast") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0cpbqlqyy70y22vdcnbwj40v90fxlw4zfgcx2c04sp2z2slsh647")))) + (build-system go-build-system) + (arguments + '(#:tests? #f + #:import-path "github.com/spf13/cast")) + (propagated-inputs `(("go-github-com-rogpeppe-go-internal" ,go-github-com-rogpeppe-go-internal) + ("go-github-com-kr-text" ,go-github-com-kr-text) + ("go-github-com-kr-pretty" ,go-github-com-kr-pretty) + ("go-github-com-google-go-cmp" ,go-github-com-google-go-cmp) + ("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest))) + (home-page "https://github.com/spf13/cast") + (synopsis "cast") + (description "Package cast provides easy and safe casting in Go.") + (license license:expat))) + +(define-public go-gopkg-in-gormigrate-v1 + (package + (name "go-gopkg-in-gormigrate-v1") + (version "1.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gopkg.in/gormigrate.v1") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "03304vh58i5gxchrxy2v91bjdfgp7849jarmlanz3gaa2r574fmf")))) + (build-system go-build-system) + (arguments + `(#:tests? #f + #:import-path "gopkg.in/gormigrate.v1" + #:unpack-path "gopkg.in/gormigrate.v1")) + (propagated-inputs `(;("go-google-golang-org-appengine" ,go-google-golang-org-appengine) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) + ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify) + ("go-github-com-mattn-go-sqlite3" ,go-github-com-mattn-go-sqlite3) + ("go-github-com-lib-pq" ,go-github-com-lib-pq) + ("go-github-com-joho-godotenv" ,go-github-com-joho-godotenv) + ("go-github-com-jinzhu-now" ,go-github-com-jinzhu-now) + ("go-github-com-jinzhu-inflection" ,go-github-com-jinzhu-inflection) + ("go-github-com-jinzhu-gorm" ,go-github-com-jinzhu-gorm) + ("go-github-com-google-go-cmp" ,go-github-com-google-go-cmp) + ("go-github-com-gofrs-uuid" ,go-github-com-gofrs-uuid) + ;("go-github-com-go-sql-driver-mysql" ,go-github-com-go-sql-driver-mysql) + ("go-github-com-erikstmartin-go-testdb" ,go-github-com-erikstmartin-go-testdb) + ;("go-github-com-denisenkom-go-mssqldb" ,go-github-com-denisenkom-go-mssqldb) + ;("go-cloud-google-com-go" ,go-cloud-google-com-go) + )) + (home-page "https://gopkg.in/gormigrate.v1") + (synopsis "Gormigrate") + (description + "Package gormigrate is a migration helper for Gorm +(@@url{http://jinzhu.me/gorm/,http://jinzhu.me/gorm/}). Gorm already have +useful migrate functions +(@@url{http://jinzhu.me/gorm/database.html#migration,http://jinzhu.me/gorm/database.html#migration}), +just misses proper schema versioning and rollback cababilities.") + (license license:expat))) + +(define-public go-github-com-joho-godotenv + (package + (name "go-github-com-joho-godotenv") + (version "1.5.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/joho/godotenv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "03vijs05k31jdf24pzj3vlk6b5jxf894v1kvzals4wzclyq2h3ch")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/joho/godotenv")) + (home-page "https://github.com/joho/godotenv") + (synopsis "GoDotEnv") + (description + "Package godotenv is a go port of the ruby dotenv library +(@@url{https://github.com/bkeepers/dotenv,https://github.com/bkeepers/dotenv})") + (license license:expat))) + +(define-public go-github-com-gofrs-uuid + (package + (name "go-github-com-gofrs-uuid") + (version "4.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gofrs/uuid") + (commit (go-version->git-ref (string-append "v" version))))) + (file-name (git-file-name name version)) + (sha256 + (base32 "13n5q70sdw39f2j9ya5l6n7475fv5b1vns7skv56yjh04chwl7p3")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/gofrs/uuid")) + (home-page "https://github.com/gofrs/uuid") + (synopsis "UUID") + (description + "Package uuid provides implementations of the Universally Unique Identifier +(UUID), as specified in RFC-4122 and the Peabody RFC Draft (revision 03).") + (license license:expat))) + +(define-public go-jaytaylor-com-html2text + (package + (name "go-jaytaylor-com-html2text") + (version "v0.0.0-20230321000545-74c2419ad056") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jaytaylor/html2text") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14r0ph8w4yxx129kfvj0qbx4cyid65md93qmwlz2cly4iwjnr7w2")))) + (build-system go-build-system) + (arguments + '(#:import-path "jaytaylor.com/html2text")) + (propagated-inputs `(;("go-google-golang-org-appengine" ,go-google-golang-org-appengine) + ("go-golang-org-x-net" ,go-golang-org-x-net) + ("go-github-com-ssor-bom" ,go-github-com-ssor-bom) + ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter) + )) + (home-page "https://github.com/jaytaylor/html2text") + (synopsis "html2text") + (description + "html2text") + (license license:expat))) + +(define-public go-github-com-ssor-bom + (package + (name "go-github-com-ssor-bom") + (version "0.0.0-20170718123548-6386211fdfcf") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ssor/bom") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09g5496ifwqxqclh2iw58plcwcz0sczlnxwqxzwmnl4shdl371ld")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/ssor/bom")) + (home-page "https://github.com/ssor/bom") + (synopsis "bom") + (description "small tools for cleaning bom from byte array or reader") + (license license:expat))) + +(define-public go-github-com-olekukonko-tablewriter + (package + (name "go-github-com-olekukonko-tablewriter") + (version "0.0.5") + (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 "0zhnrih2px6jm8nxzkz8s7va3lj03bzwxim8wjba9zh7i78bp67z")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/olekukonko/tablewriter")) + (propagated-inputs `(("go-github-com-mattn-go-runewidth" ,go-github-com-mattn-go-runewidth))) + (home-page "https://github.com/olekukonko/tablewriter") + (synopsis "ASCII Table Writer") + (description "Create & Generate text based table") + (license license:expat))) + + +;; (define-public go-1.21 +;; (package +;; (inherit go-1.20) +;; (name "go") +;; (version "1.21.5") +;; (source (origin +;; (method git-fetch) +;; (uri (git-reference +;; (url "https://github.com/golang/go") +;; (commit (string-append "go" version)))) +;; (file-name (git-file-name name version)) +;; (sha256 +;; (base32 +;; "0f11kya6rpqfldpw82g0yiknz657i655d3c0yh3qy6f8xa8x7zn2")))) +;; (native-inputs +;; ;; Go 1.20 and later requires Go 1.17 as the bootstrap toolchain. +;; ;; See 'src/cmd/dist/notgo117.go' in the source code distribution, +;; ;; as well as the upstream discussion of this topic: +;; ;; https://go.dev/issue/44505 +;; (alist-replace "go" (list go-1.17) (package-native-inputs go-1.17))))) |