1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 19:40:46 +02:00

gnu: Add hetznercloud-cli.

* gnu/packages/admin.scm (hetznercloud-cli): New variable.

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

View file

@ -147,7 +147,9 @@
#:use-module (gnu packages gnupg) #:use-module (gnu packages gnupg)
#:use-module (gnu packages golang) #:use-module (gnu packages golang)
#:use-module (gnu packages golang-build) #:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-compression) #:use-module (gnu packages golang-compression)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-xyz) #:use-module (gnu packages golang-xyz)
#:use-module (gnu packages groff) #:use-module (gnu packages groff)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
@ -284,6 +286,53 @@ usual file attributes can be checked for inconsistencies.")
(home-page "https://aide.github.io/") (home-page "https://aide.github.io/")
(license license:gpl2+))) (license license:gpl2+)))
(define-public hetznercloud-cli
(package
(name "hetznercloud-cli")
(version "1.49.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hetznercloud/cli")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0mgd1rv0i18h7jbzl034ffpfxvnjirp60qwxsjpfy42jh1d8xbjm"))))
(build-system go-build-system)
(arguments
(list
#:tests? #f ; XXX: figure out hot to enable them
#:install-source? #f
#:import-path "github.com/hetznercloud/cli/cmd/hcloud"
#:unpack-path "github.com/hetznercloud/cli"))
(native-inputs
(list go-github-com-burntsushi-toml
go-github-com-cheggaaa-pb-v3
go-github-com-dustin-go-humanize
go-github-com-fatih-color
go-github-com-fatih-structs
go-github-com-goccy-go-yaml
go-github-com-guptarohit-asciigraph
go-github-com-hetznercloud-hcloud-go-v2
go-github-com-jedib0t-go-pretty-v6
go-github-com-spf13-cast
go-github-com-spf13-cobra
go-github-com-spf13-pflag
go-github-com-spf13-viper
go-github-com-stretchr-testify
go-github-com-swaggest-assertjson
go-go-uber-org-mock
go-golang-org-x-crypto
go-golang-org-x-term))
(home-page "https://github.com/hetznercloud/cli")
(synopsis "Command-line interface for the Hetzner Cloud service")
(description
"This package provides the @code{hcloud} binary, a command-line interface
for interacting with the @url{https://www.hetzner.com/,Hetzner Cloud}
service.")
(license license:expat)))
(define-public progress (define-public progress
(package (package
(name "progress") (name "progress")