sharlatan pushed a commit to branch go-team
in repository guix.
commit 5aab361c0abf6ea4738d9c5d0701f8eea71fd02b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 29 19:17:46 2024 +0000
gnu: Add go-github-com-levigross-grequests.
* gnu/packages/golang-web.scm (go-github-com-levigross-grequests): New
variable.
Change-Id: I0ada84dde4199f6ad395ab593da3a033e049ef80
---
gnu/packages/golang-web.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d93f870670..b59f215019 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -3914,6 +3914,35 @@ router.")
@acronym{Simple Service Discovery Protocol, SSDP}} library for Golang.")
(license license:expat)))
+(define-public go-github-com-levigross-grequests
+ (package
+ (name "go-github-com-levigross-grequests")
+ (version "0.0.0-20231203190023-9c307ef1f48d")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/levigross/grequests")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13r24vrcgfkps8r09crjlhsywpxs8bnnmlgn5qhbhqiqag754xdc"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:tests? #f ; most of them need network access
+ #:embed-files #~(list "children" "nodes" "text")
+ #:import-path "github.com/levigross/grequests"))
+ (propagated-inputs
+ (list go-github-com-google-go-querystring
+ go-golang-org-x-net))
+ (home-page "https://github.com/levigross/grequests")
+ (synopsis "Requests library for Golang")
+ (description
+ "Package grequests implements a friendly API over Go's existing
+@code{net/http} library.")
+ (license license:asl2.0)))
+
(define-public go-github-com-libdns-libdns
(package
(name "go-github-com-libdns-libdns")