From f8cb1c0a137c80fc13645dbdd827730e2f04d7dd Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 30 Nov 2024 19:58:40 +0300 Subject: gnu: go-github-com-arceliar-ironwood: Move to golang-web. * gnu/packages/golang.scm (go-github-com-arceliar-ironwood): Move from here... * gnu/packages/golang-web.scm: ...to here. Change-Id: I6ae9084a88ffe0b7cb2d21234c246399e3e0f088 --- gnu/packages/golang-web.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++ gnu/packages/golang.scm | 48 --------------------------------------------- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 852ea31427..dbbdb427fd 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -210,6 +210,54 @@ required dependencies. The HTTP response contains the aggregated health result and details about the health status of each component.") (license license:expat))) +(define-public go-github-com-arceliar-ironwood + (package + (name "go-github-com-arceliar-ironwood") + (version "v0.0.0-20241122002527-75a6e82fa380") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Arceliar/ironwood") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1xrdy5yn2y8q147n6fafc8cqjf6my06wzlhghv0c5ra9rqg1dii7")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/Arceliar/ironwood" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-examples + (lambda* (#:key import-path #:allow-other-keys) + (delete-file-recursively + (string-append "src/" import-path "/cmd/ironwood-example")))) + ;; XXX: Replace when go-build-system supports nested path. + (delete 'build) + (replace 'check + (lambda* (#:key import-path tests? #:allow-other-keys) + (when tests? + (with-directory-excursion (string-append "src/" import-path) + (invoke "go" "test" "-v" "./...")))))))) + (propagated-inputs + (list go-github-com-arceliar-phony + go-github-com-bits-and-blooms-bitset + go-github-com-bits-and-blooms-bloom-v3 + go-golang-org-x-crypto)) + (home-page "https://github.com/Arceliar/ironwood") + (synopsis "Experimental network routing library") + (description + "Ironwood is a routing library with a @code{net.PacketConn}-compatible +interface using @code{ed25519.PublicKey}s as addresses. Basically, you use it +when you want to communicate with some other nodes in a network, but you can't +guarantee that you can directly connect to every node in that network. It was +written to test improvements to / replace the routing logic in +@url{https://github.com/yggdrasil-network/yggdrasil-go,Yggdrasil}, but it may +be useful for other network applications.") + (license license:mpl2.0))) + (define-public go-github-com-anaskhan96-soup (package (name "go-github-com-anaskhan96-soup") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 1011d1df10..7f79f511a7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7086,54 +7086,6 @@ full-window, or a mix of both.") dependencies and a simple API.") (license license:asl2.0))) -(define-public go-github-com-arceliar-ironwood - (package - (name "go-github-com-arceliar-ironwood") - (version "v0.0.0-20241122002527-75a6e82fa380") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/Arceliar/ironwood") - (commit (go-version->git-ref version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1xrdy5yn2y8q147n6fafc8cqjf6my06wzlhghv0c5ra9rqg1dii7")))) - (build-system go-build-system) - (arguments - (list - #:import-path "github.com/Arceliar/ironwood" - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-examples - (lambda* (#:key import-path #:allow-other-keys) - (delete-file-recursively - (string-append "src/" import-path "/cmd/ironwood-example")))) - ;; XXX: Replace when go-build-system supports nested path. - (delete 'build) - (replace 'check - (lambda* (#:key import-path tests? #:allow-other-keys) - (when tests? - (with-directory-excursion (string-append "src/" import-path) - (invoke "go" "test" "-v" "./...")))))))) - (propagated-inputs - (list go-github-com-arceliar-phony - go-github-com-bits-and-blooms-bitset - go-github-com-bits-and-blooms-bloom-v3 - go-golang-org-x-crypto)) - (home-page "https://github.com/Arceliar/ironwood") - (synopsis "Experimental network routing library") - (description - "Ironwood is a routing library with a @code{net.PacketConn}-compatible -interface using @code{ed25519.PublicKey}s as addresses. Basically, you use it -when you want to communicate with some other nodes in a network, but you can't -guarantee that you can directly connect to every node in that network. It was -written to test improvements to / replace the routing logic in -@url{https://github.com/yggdrasil-network/yggdrasil-go,Yggdrasil}, but it may -be useful for other network applications.") - (license license:mpl2.0))) - (define-public go-github-com-mtibben-percent (package (name "go-github-com-mtibben-percent") -- cgit v1.2.3