aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-06-26 23:03:31 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-06-27 00:34:28 +0100
commit1bf7ed71b2de67f9c5b095fae081cb607ddd7187 (patch)
tree47a5aecdb043f6bd9693944b5c11c4f7a5653186
parent0aad1bf8b189a0fe42ba489ad2dbfda3a99a4d77 (diff)
downloadguix-1bf7ed71b2de67f9c5b095fae081cb607ddd7187.tar.gz
guix-1bf7ed71b2de67f9c5b095fae081cb607ddd7187.zip
gnu: go-github-com-audriusbutkevicius-pfilter: Update to 0.0.11.
* gnu/packages/golang-web.scm (go-github-com-audriusbutkevicius-pfilter): Update to 0.0.11. Change-Id: Ieb720b9b392ca02dba7b30cfc47886da072dfcde
-rw-r--r--gnu/packages/golang-web.scm22
1 files changed, 18 insertions, 4 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 3ea81c7f06..eba37e3baf 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -193,20 +193,34 @@ the parse trees produced by the html package.")
(define-public go-github-com-audriusbutkevicius-pfilter
(package
(name "go-github-com-audriusbutkevicius-pfilter")
- (version "0.0.5")
+ (version "0.0.11")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/AudriusButkevicius/pfilter")
- (commit version)))
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0xzhwyd0w21bhvzl5pinn22hp0y6h44rh3s2ppql69rafc6zd3c6"))))
+ (base32 "03kwi1hnhcz9qdblmhpaqg2063k2ch29hc5dr8cl2z7q5rp81m9i"))))
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/AudriusButkevicius/pfilter"))
+ #:go go-1.21
+ #:import-path "github.com/AudriusButkevicius/pfilter"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-failing-tests
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (for-each delete-file
+ ;; Remove tests requiring setting up local
+ ;; connection.
+ (list "quic_test.go"))))))))
+ (propagated-inputs
+ (list go-github-com-pkg-errors
+ go-github-com-quic-go-quic-go
+ go-golang-org-x-net))
(home-page "https://github.com/AudriusButkevicius/pfilter")
(synopsis "Filter packets into multiple virtual connections")
(description