From 612a9b562d3cbc78442752f507c3f46dc87faa8c Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Mon, 24 Nov 2025 14:25:16 -0500 Subject: [PATCH] gnu: Add go-github-com-files-com-files-sdk-go-v3. * gnu/packages/golang-web.scm (go-github-com-files-com-files-sdk-go-v3): New variable. Change-Id: I46381582b586b3148f58c5953f3bd76e1ee50d01 Co-authored-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-web.scm | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 6b6ad635b0b1d4f0fe3eeeb1925d9cf2e851d0ce..1986adb06e258dba469457bfd36d9bf6f6bba626 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -4406,6 +4406,54 @@ metrics (i.e. response time, bytes written, and http status code) from your application's http.Handlers.") (license license:expat))) +(define-public go-github-com-files-com-files-sdk-go-v3 + (package + (name "go-github-com-files-com-files-sdk-go-v3") + (version "3.3.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Files-com/files-sdk-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1syx75vbamwrx5x5glf4542ml8myj9kqqkig8hmy97lhzq4d4n7a")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/Files-com/files-sdk-go/v3" + #:embed-files + #~(list "Linux.gitignore") + #:test-flags + #~(list "-vet=off"))) ;Go@1.24 forces vet, but tests are not ready yet. + (native-inputs + (list go-github-com-gin-gonic-gin + go-github-com-dnaeon-go-vcr + go-github-com-snabb-httpreaderat + go-github-com-stretchr-testify)) + (propagated-inputs + (list go-github-com-appscode-go-querystring + go-github-com-bradfitz-iter + go-github-com-chilts-sid + go-github-com-dustin-go-humanize + go-github-com-hashicorp-go-retryablehttp + go-github-com-hashicorp-golang-lru-v2 + go-github-com-lpar-date + go-github-com-panjf2000-ants-v2 + go-github-com-sabhiram-go-gitignore + go-github-com-samber-lo + go-github-com-winfsp-cgofuse + go-golang-org-x-sys + go-golang-org-x-text + go-moul-io-http2curl-v2)) + (home-page "https://github.com/Files-com/files-sdk-go") + (synopsis "Files.com Go Client") + (description + "The Files.com Go SDK provides a direct, high performance integration to +Files.com from applications written in Go.") + (license license:expat))) + (define-public go-github-com-flosch-pongo2-v6 (package (name "go-github-com-flosch-pongo2-v6")