94 lines
3.3 KiB
Scheme
94 lines
3.3 KiB
Scheme
(define-module (yagix librespeed-cli)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix download)
|
|
#:use-module (guix git-download)
|
|
#:use-module (guix build-system go)
|
|
#:use-module (guix licenses)
|
|
#:use-module (guix gexp)
|
|
#:use-module (gnu packages golang)
|
|
#:use-module (gnu packages golang-build)
|
|
#:use-module (gnu packages golang-xyz)
|
|
#:use-module ((guix licenses) #:prefix license:))
|
|
|
|
(define-public go-github-com-go-ping-ping
|
|
(package
|
|
(name "go-github-com-go-ping-ping")
|
|
(version "1.1.0")
|
|
(source
|
|
(origin
|
|
(method git-fetch)
|
|
(uri (git-reference
|
|
(url "https://github.com/go-ping/ping")
|
|
(commit (string-append "v" version))))
|
|
(file-name (git-file-name name version))
|
|
(sha256
|
|
(base32 "0qqgdwaiv2793ikfnpzi9dvsilfvpxizsgnzf0wkb13d7jw6cf9q"))))
|
|
(build-system go-build-system)
|
|
(arguments
|
|
(list
|
|
#:tests? #f
|
|
#:import-path "github.com/go-ping/ping"))
|
|
(propagated-inputs (list go-golang-org-x-sync go-golang-org-x-net
|
|
go-github-com-google-uuid))
|
|
(home-page "https://github.com/go-ping/ping")
|
|
(synopsis "go-ping")
|
|
(description
|
|
"Package ping is a simple but powerful ICMP echo (ping) library.")
|
|
(license license:expat)))
|
|
|
|
(define-public go-github-com-gocarina-gocsv
|
|
(package
|
|
(name "go-github-com-gocarina-gocsv")
|
|
(version "0.0.0-20240520201108-78e41c74b4b1")
|
|
(source
|
|
(origin
|
|
(method git-fetch)
|
|
(uri (git-reference
|
|
(url "https://github.com/gocarina/gocsv")
|
|
(commit (go-version->git-ref version))))
|
|
(file-name (git-file-name name version))
|
|
(sha256
|
|
(base32 "16scxa7cydlaqbygw9sbss6c2wpgs0d2dy5x7rkjfghf7kg88f02"))))
|
|
(build-system go-build-system)
|
|
(arguments
|
|
(list
|
|
#:import-path "github.com/gocarina/gocsv"))
|
|
(home-page "https://github.com/gocarina/gocsv")
|
|
(synopsis "Go CSV")
|
|
(description
|
|
"The @code{GoCSV} package aims to provide easy serialization and deserialization
|
|
functions to use CSV in Golang.")
|
|
(license license:expat)))
|
|
|
|
(define-public go-github-com-librespeed-speedtest-cli
|
|
(package
|
|
(name "go-github-com-librespeed-speedtest-cli")
|
|
(version "1.0.11")
|
|
(source
|
|
(origin
|
|
(method git-fetch)
|
|
(uri (git-reference
|
|
(url "https://github.com/librespeed/speedtest-cli")
|
|
(commit (string-append "v" version))))
|
|
(file-name (git-file-name name version))
|
|
(sha256
|
|
(base32 "1wlfjbryivvavdbmbl1ihvjl7k7a07p5fm4ds2npjml9h9scd1b3"))))
|
|
(build-system go-build-system)
|
|
(arguments
|
|
(list
|
|
#:import-path "github.com/librespeed/speedtest-cli"))
|
|
(propagated-inputs (list go-golang-org-x-sys
|
|
go-github-com-urfave-cli-v2
|
|
go-github-com-sirupsen-logrus
|
|
go-github-com-gocarina-gocsv
|
|
go-github-com-go-ping-ping
|
|
go-github-com-briandowns-spinner))
|
|
(home-page "https://github.com/librespeed/speedtest-cli")
|
|
(synopsis "LibreSpeed command line tool")
|
|
(description
|
|
"Don't have a GUI but want to use @code{LibreSpeed} servers to test your Internet
|
|
speed? 🚀.")
|
|
(license license:lgpl3)))
|
|
|
|
go-github-com-librespeed-speedtest-cli
|