adding gshare

This commit is contained in:
Jean-François GUILLAUME 2025-04-25 16:49:16 +02:00
parent 7c0d8ea1ed
commit c2f557466a

View file

@ -3,7 +3,11 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages))
#:use-module (guix packages)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-xyz)
)
(define-public go-github-com-fatih-color-1.9.0
(package
@ -197,3 +201,109 @@
that the TimescaleDB extension is appropriately installed and provides
recommendations for memory, parallelism, WAL, and other settings.")
(license license:asl2.0)))
(define-public go-github-com-alexflint-go-arg
(package
(name "go-github-com-alexflint-go-arg")
(version "1.5.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/alexflint/go-arg")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ip899829v9n0aqq1z30x8lnb60lirfgwqr4y2mckg8md8w31911"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/alexflint/go-arg"
#:tests? #f))
(propagated-inputs (list go-github-com-stretchr-testify
go-github-com-alexflint-go-scalar))
(home-page "https://github.com/alexflint/go-arg")
(synopsis "Installation")
(description
"Package arg parses command line arguments using the fields from a struct.")
(license license:bsd-2)))
(define-public go-github-com-studio-b12-gowebdav
(package
(name "go-github-com-studio-b12-gowebdav")
(version "0.10.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/studio-b12/gowebdav")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "10nzkrziz15n2a7ca3qfvbm1zrmlyg5aznwrar3ydgx7lnmd6dpf"))))
(build-system go-build-system)
(propagated-inputs (list go-golang-org-x-net))
(arguments
(list
#:import-path "github.com/studio-b12/gowebdav"))
(home-page "https://github.com/studio-b12/gowebdav")
(synopsis "GoWebDAV")
(description
"Package gowebdav is a @code{WebDAV} client library with a command line tool
included.")
(license license:bsd-3)))
(define-public go-github-com-alexflint-go-scalar
(package
(name "go-github-com-alexflint-go-scalar")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/alexflint/go-scalar")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1c78yd7w5sxdfmnhqk8c4cyb2by0cp9qh3ab19sz5b5avbpwcary"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/alexflint/go-scalar"
#:tests? #f))
(propagated-inputs (list go-github-com-stretchr-testify))
(home-page "https://github.com/alexflint/go-scalar")
(synopsis "Scalar parsing library")
(description
"Scalar is a library for parsing strings into arbitrary scalars (integers,
floats, strings, booleans, etc). It is helpful for tasks such as parsing
strings passed as environment variables or command line arguments.")
(license license:bsd-2)))
(define-public gshare
(package
(name "gshare")
(version "1.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://forgejo.glicid.fr/GLiCID/gshare.git")
(commit "main")))
(file-name (git-file-name name version))
(sha256 (base32 "14j6sd9rxdyk5hg8xgzm90cbbkr5l71mydd7w69nbbqmm894b4y0"))))
(build-system go-build-system)
(arguments (list
#:import-path "glicid/gshare"
#:tests? #f))
(propagated-inputs (list go-github-com-alexflint-go-arg
go-github-com-dustin-go-humanize
go-github-com-sirupsen-logrus
go-github-com-studio-b12-gowebdav
go-gopkg-in-yaml-v3
go-github-com-alexflint-go-scalar
go-golang-org-x-sys))
(home-page "https://forgejo.glicid.fr/GLiCID/gshare.git")
(synopsis "gshare is a basic client for nextcloud webdav in go")
(description "gshare is a basic client for nextcloud webdav in go")
(license license:expat)))