gnu: Add go-github-com-hetznercloud-hcloud-go-v2.

* gnu/packages/golang-web.scm (go-github-com-hetznercloud-hcloud-go-v2):
New variable.

Change-Id: I539fb9435e38e311a9456f0224be02bb99ed75d1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Roman Scherer 2024-12-29 13:14:36 +01:00 committed by Sharlatan Hellseher
parent 7110c68be1
commit e86287c1cb
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -67,6 +67,7 @@ (define-module (gnu packages golang-web)
#:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages ipfs)
#:use-module (gnu packages prometheus)
#:use-module (gnu packages tls)
#:use-module (gnu packages web))
@ -3581,6 +3582,39 @@ (define-public go-github-com-hashicorp-yamux
@end itemize")
(license license:mpl2.0)))
(define-public go-github-com-hetznercloud-hcloud-go-v2
(package
(name "go-github-com-hetznercloud-hcloud-go-v2")
(version "2.17.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hetznercloud/hcloud-go")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0rmrp100clcymz6j741dpvx217d6ljnfqn9qfndlmy9rwi64ih8h"))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "github.com/hetznercloud/hcloud-go/v2"))
(native-inputs
(list go-github-com-google-go-cmp
go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-jmattheis-goverter
go-github-com-prometheus-client-golang
go-github-com-vburenin-ifacemaker
go-golang-org-x-crypto
go-golang-org-x-net))
(home-page "https://github.com/hetznercloud/hcloud-go")
(synopsis "Golang library for the Hetzner Cloud API")
(description
"This package provides a library for the Hetzner Cloud API.")
(license license:expat)))
(define-public go-github-com-hjson-hjson-go-v4
(package
(name "go-github-com-hjson-hjson-go-v4")