|
|
|
;; SPDX-FileCopyrightText: 2022 Hilton Chain <hako@ultrarare.space>
|
|
|
|
;;
|
|
|
|
;; SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
(define-module (rosenthal packages golang)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (guix build-system go)
|
|
|
|
#:use-module (guix git-download)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (gnu packages golang))
|
|
|
|
|
|
|
|
(define-public go-github-com-gin-contrib-sse
|
|
|
|
(package
|
|
|
|
(name "go-github-com-gin-contrib-sse")
|
|
|
|
(version "0.1.0")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/gin-contrib/sse")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"072nq91a65n5xvwslqjyvydfd0mfpnvb3vwjyfvmzm1ym96wr1nd"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/gin-contrib/sse"))
|
|
|
|
(native-inputs
|
|
|
|
(list go-github-com-stretchr-testify))
|
|
|
|
(home-page "https://github.com/gin-contrib/sse")
|
|
|
|
(synopsis "Server-Sent Events implementation in Go")
|
|
|
|
(description
|
|
|
|
"This package provides a Server-Sent Events implementation in Go.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public go-github-com-gin-gonic-gin
|
|
|
|
(package
|
|
|
|
(name "go-github-com-gin-gonic-gin")
|
|
|
|
(version "1.8.2")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/gin-gonic/gin")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1wijl9f65pmdl1lwlp8lm2fl3znwzarr1v0khz5zpp4jrrchnq9b"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/gin-gonic/gin"))
|
|
|
|
(propagated-inputs
|
|
|
|
(list go-github-com-gin-contrib-sse
|
|
|
|
go-github-com-go-playground-validator-v10
|
|
|
|
go-github-com-mattn-go-isatty
|
|
|
|
go-github-com-pelletier-go-toml-v2
|
|
|
|
go-github-com-ugorji-go-codec
|
|
|
|
go-golang-org-x-net
|
|
|
|
go-google-golang-org-protobuf
|
|
|
|
go-gopkg-in-yaml-v2))
|
|
|
|
(native-inputs
|
|
|
|
(list go-github-com-stretchr-testify))
|
|
|
|
(home-page "https://gin-gonic.com/")
|
|
|
|
(synopsis "HTTP web framework written in Go")
|
|
|
|
(description "Gin is a HTTP web framework written in Go.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public go-github-com-go-playground-assert-v2
|
|
|
|
(package
|
|
|
|
(name "go-github-com-go-playground-assert-v2")
|
|
|
|
(version "2.0.1")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/go-playground/assert")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1cl9c4s405zddzrj36hhs0a18g02zscdl46fyipp6k91mhvai8wz"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/go-playground/assert/v2"))
|
|
|
|
(home-page "https://github.com/go-playground/assert")
|
|
|
|
(synopsis "Basic assertion library used along side native Go testing")
|
|
|
|
(description
|
|
|
|
"This package provides a basic assertion library used along side native
|
|
|
|
Go testing, with building blocks for custom assertions.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public go-github-com-go-playground-validator-v10
|
|
|
|
(package
|
|
|
|
(name "go-github-com-go-playground-validator-v10")
|
|
|
|
(version "10.11.1")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/go-playground/validator")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"03sd3gd3pl2bv07ivrixp3h5hrw1d1llrpjdalh9jbgby0x2f8ig"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/go-playground/validator/v10"))
|
|
|
|
(propagated-inputs
|
|
|
|
(list go-github-com-go-playground-universal-translator
|
|
|
|
go-github-com-leodido-go-urn
|
|
|
|
go-golang-org-x-crypto
|
|
|
|
go-golang-org-x-text))
|
|
|
|
(native-inputs
|
|
|
|
(list go-github-com-go-playground-assert-v2))
|
|
|
|
(home-page "https://github.com/go-playground/validator")
|
|
|
|
(synopsis "Go Struct and Field validator")
|
|
|
|
(description
|
|
|
|
"This package provides a Go validator which implements value validations
|
|
|
|
for structs and individual fields based on tags.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public go-github-com-google-gopacket
|
|
|
|
(package
|
|
|
|
(name "go-github-com-google-gopacket")
|
|
|
|
(version "1.1.19")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/google/gopacket")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"048qwm2n0wrpql4qqgd7jyynn3gk069yvqbxnshlayzmbhf87ls4"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/google/gopacket"))
|
|
|
|
(home-page "https://github.com/google/gopacket")
|
|
|
|
(synopsis "Packet processing capabilities library")
|
|
|
|
(description
|
|
|
|
"This package provides packet processing capabilities for Go.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public go-github-com-macronut-go-tproxy
|
|
|
|
(package
|
|
|
|
(name "go-github-com-macronut-go-tproxy")
|
|
|
|
(version "0.0.0-20190726054950-ef7efd7f24ed")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/FutureProtocolLab/go-tproxy")
|
|
|
|
(commit (go-version->git-ref version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0jibsg0xhsn0h1jq4g9qd4nr58w43y8majlwfri9ffk2cbfrwqdr"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/macronut/go-tproxy"))
|
|
|
|
(home-page "https://github.com/FutureProtocolLab/go-tproxy")
|
|
|
|
(synopsis "Linux Transparent Proxy library")
|
|
|
|
(description
|
|
|
|
"Golang TProxy provides an easy to use wrapper for the Linux Transparent
|
|
|
|
Proxy functionality.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public go-github-com-pelletier-go-toml-v2
|
|
|
|
(package
|
|
|
|
(inherit go-github-com-pelletier-go-toml)
|
|
|
|
(name "go-github-com-pelletier-go-toml-v2")
|
|
|
|
(version "2.0.6")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/pelletier/go-toml")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"157159ybra60qacbphi8cdcc5aw4s9c900738n9h9bwiqwk8jwj5"))))
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/pelletier/go-toml/v2"))
|
|
|
|
(native-inputs
|
|
|
|
(list go-github-com-stretchr-testify))))
|
|
|
|
|
|
|
|
(define-public go-github-com-ugorji-go-codec
|
|
|
|
(package
|
|
|
|
(name "go-github-com-ugorji-go-codec")
|
|
|
|
(version "1.2.7")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/ugorji/go")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0h4mbxp8zyhash342l00fd5726yhfmgrlk6v7sl6k8fd6mkb10l4"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/ugorji/go/codec"
|
|
|
|
#:unpack-path "github.com/ugorji/go"))
|
|
|
|
(home-page "https://github.com/ugorji/go")
|
|
|
|
(synopsis "Go 1.4+ codec/encoding library for binary and text formats")
|
|
|
|
(description
|
|
|
|
"This package provides a Go 1.4+ codec/encoding library for binary and
|
|
|
|
text formats: @code{binc}, @code{msgpack}, @code{cbor}, @code{json} and
|
|
|
|
@code{simple}.")
|
|
|
|
(license license:expat)))
|