add gitea-tea-bin

This commit is contained in:
Peter Tillemans 2024-08-26 18:51:37 +02:00
parent d764b13348
commit 4ac26ddd7f

View file

@ -0,0 +1,46 @@
(define-module (snamellit packages tea-bin)
#:use-module (ice-9 string-fun)
#:use-module (gnu packages base)
#:use-module (gnu packages curl)
#:use-module (gnu packages version-control)
#:use-module (gnu packages xorg)
#:use-module (gnu packages tls)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (nonguix build-system binary))
(define libstdc++
;; Libstdc++ matching the default GCC.
(make-libstdc++ gcc))
(define-public tea-bin
(package
(name "gitea-tea-bin")
(version "0.9.2")
(source
(origin
(method url-fetch)
(uri (string-append
"https://gitea.com/gitea/tea/releases/download/v"
version
"/tea-"
version
"-linux-amd64"))
(sha256
(base32
"1vksgxas32n6ic89c9jixjlpy6586fxddzqgc56ip009vjicgqfy"))))
(build-system binary-build-system)
(arguments
`(
#:install-plan
`(("tea*" "/bin/"))))
(synopsis "A simple terminal UI for gitea/forgejo commands")
(description "A command line client to manage repos, issue, merge requests et al on
gitea and forgejo forges.")
(home-page "https://tea.sh/")
(license license:expat)))
tea-bin