[PATCH 0/6] gnu: Add rust-mdns-0.3.

DoneSubmitted by Vinicius Monego.
Details
2 participants
  • Efraim Flashner
  • Vinicius Monego
Owner
unassigned
Severity
normal
V
V
Vinicius Monego wrote on 8 Jul 06:07 +0200
(address . guix-patches@gnu.org)(name . Vinicius Monego)(address . monego@posteo.net)
20210708040707.22105-1-monego@posteo.net
Vinicius Monego (6): gnu: Add rust-c-linked-list-1. gnu: Add rust-get-if-addrs-sys-0.1. gnu: Add rust-unwrap-1. gnu: Add rust-get-if-addrs-0.5. gnu: Add rust-dns-parser-0.8. gnu: Add rust-mdns-0.3.
gnu/packages/crates-io.scm | 148 +++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+)
-- 2.32.0
V
V
Vinicius Monego wrote on 8 Jul 06:08 +0200
[PATCH 1/6] gnu: Add rust-c-linked-list-1.
(address . 49462@debbugs.gnu.org)(name . Vinicius Monego)(address . monego@posteo.net)
20210708040836.22307-1-monego@posteo.net
* gnu/packages/crates-io.scm (rust-c-linked-list-1): New variable.--- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
Toggle diff (32 lines)diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scmindex 7b3fea5859..67c8960848 100644--- a/gnu/packages/crates-io.scm+++ b/gnu/packages/crates-io.scm@@ -6588,6 +6588,25 @@ representation, with support for both SI and binary units.") exposed as Reader/Writer streams.") (license (list license:expat license:asl2.0)))) +(define-public rust-c-linked-list-1+ (package+ (name "rust-c-linked-list")+ (version "1.1.1")+ (source+ (origin+ (method url-fetch)+ (uri (crate-uri "c_linked_list" version))+ (file-name+ (string-append name "-" version ".tar.gz"))+ (sha256+ (base32 "0jvjr3233wqgx6li65kciqpg354pvb0cv1i8hc71ka5lsf5m2r29"))))+ (build-system cargo-build-system)+ (home-page "https://canndrew.org/rust-doc/c_linked_list/")+ (synopsis "Utilities for handling NULL-terminated C linked lists")+ (description "This package provides utilities for handling+NULL-terminated C linked lists.")+ (license (list license:expat license:bsd-3))))+ (define-public rust-c2-chacha-0.2 (package (name "rust-c2-chacha")-- 2.32.0
V
V
Vinicius Monego wrote on 8 Jul 06:08 +0200
[PATCH 2/6] gnu: Add rust-get-if-addrs-sys-0.1.
(address . 49462@debbugs.gnu.org)(name . Vinicius Monego)(address . monego@posteo.net)
20210708040836.22307-2-monego@posteo.net
* gnu/packages/crates-io.scm (rust-get-if-addrs-sys-0.1): New variable.--- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
Toggle diff (36 lines)diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scmindex 67c8960848..2bbfba39c4 100644--- a/gnu/packages/crates-io.scm+++ b/gnu/packages/crates-io.scm@@ -17851,6 +17851,29 @@ API library @code{gdi32}.") "This package provides geospatial primitives and algorithms.") (license (list license:expat license:asl2.0)))) +(define-public rust-get-if-addrs-sys-0.1+ (package+ (name "rust-get-if-addrs-sys")+ (version "0.1.1")+ (source+ (origin+ (method url-fetch)+ (uri (crate-uri "get_if_addrs-sys" version))+ (file-name+ (string-append name "-" version ".tar.gz"))+ (sha256+ (base32 "0j5bypizbk59jhkaw1abkx7ydj79pplfvwq03hcnpwvcfkxzj10d"))))+ (build-system cargo-build-system)+ (arguments+ `(#:cargo-inputs+ (("rust-gcc" ,rust-gcc-0.3)+ ("rust-libc" ,rust-libc-0.2))))+ (home-page "https://github.com/maidsafe/get_if_addrs")+ (synopsis "Retrieve IP addresses for all interfaces")+ (description "This library retrieves network interface info for all+interfaces on the system.")+ (license (list license:expat license:bsd-3))))+ (define-public rust-getch-0.2 (package (name "rust-getch")-- 2.32.0
V
V
Vinicius Monego wrote on 8 Jul 06:08 +0200
[PATCH 3/6] gnu: Add rust-unwrap-1.
(address . 49462@debbugs.gnu.org)(name . Vinicius Monego)(address . monego@posteo.net)
20210708040836.22307-3-monego@posteo.net
* gnu/packages/crates-io.scm (rust-unwrap-1): New variable.--- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
Toggle diff (37 lines)diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scmindex 2bbfba39c4..bfe51a0fc7 100644--- a/gnu/packages/crates-io.scm+++ b/gnu/packages/crates-io.scm@@ -51708,6 +51708,30 @@ untrusted inputs in Rust.") (sha256 (base32 "0byf88b7ca1kb5aap8f6npp6xncvg95dnma8ipmnmd4n9r5izkam")))))) +(define-public rust-unwrap-1+ (package+ (name "rust-unwrap")+ (version "1.1.0")+ (source+ (origin+ (method url-fetch)+ (uri (crate-uri "unwrap" version))+ (file-name+ (string-append name "-" version ".tar.gz"))+ (sha256+ (base32 "0wm4zzm684d5d1lnjvvzzwazlzq7zs7j76x36842zb398bsn34wr"))))+ (build-system cargo-build-system)+ (home-page "https://github.com/canndrew/unwrap")+ (synopsis "unwrap! and unwrap_err! macros")+ (description+ "This crate provides two macros, @code{unwrap!} and @code{unwrap_err!}.+The former can be used to unwrap values of type @code{Result} or @code{Option}+(or any type that implements VerboseUnwrap) and is comparable to calling+@code{unwrap()}. The latter can be used to unwrap an error from a+@code{Result} (or any type that implements @code{VerboseUnwrapErr}) and is+comparable to calling @code{unwrap_err()}.")+ (license (list license:expat license:bsd-3))))+ (define-public rust-uom-0.31 (package (name "rust-uom")-- 2.32.0
V
V
Vinicius Monego wrote on 8 Jul 06:08 +0200
[PATCH 4/6] gnu: Add rust-get-if-addrs-0.5.
(address . 49462@debbugs.gnu.org)(name . Vinicius Monego)(address . monego@posteo.net)
20210708040836.22307-4-monego@posteo.net
* gnu/packages/crates-io.scm (rust-get-if-addrs-0.5): New variable.--- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)
Toggle diff (42 lines)diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scmindex bfe51a0fc7..b694501af1 100644--- a/gnu/packages/crates-io.scm+++ b/gnu/packages/crates-io.scm@@ -17851,6 +17851,35 @@ API library @code{gdi32}.") "This package provides geospatial primitives and algorithms.") (license (list license:expat license:asl2.0)))) +(define-public rust-get-if-addrs-0.5+ (package+ (name "rust-get-if-addrs")+ (version "0.5.3")+ (source+ (origin+ (method url-fetch)+ (uri (crate-uri "get_if_addrs" version))+ (file-name+ (string-append name "-" version ".tar.gz"))+ (sha256+ (base32 "1xsfxq3ga63vllw5k6pxpdlfp3m6fh8jiga865gr4cldi5dbbpdb"))))+ (build-system cargo-build-system)+ (arguments+ `(#:tests? #f ;tests use the network+ #:cargo-inputs+ (("rust-c-linked-list" ,rust-c-linked-list-1)+ ("rust-clippy" ,rust-clippy-0.0)+ ("rust-get-if-addrs-sys"+ ,rust-get-if-addrs-sys-0.1)+ ("rust-libc" ,rust-libc-0.2)+ ("rust-winapi" ,rust-winapi-0.2))+ #:cargo-development-inputs+ (("rust-unwrap" ,rust-unwrap-1))))+ (home-page "https://maidsafe.net")+ (synopsis "Return interface IP addresses")+ (description "This library returns interface IP addresses.")+ (license (list license:expat license:bsd-3))))+ (define-public rust-get-if-addrs-sys-0.1 (package (name "rust-get-if-addrs-sys")-- 2.32.0
V
V
Vinicius Monego wrote on 8 Jul 06:08 +0200
[PATCH 5/6] gnu: Add rust-dns-parser-0.8.
(address . 49462@debbugs.gnu.org)(name . Vinicius Monego)(address . monego@posteo.net)
20210708040836.22307-5-monego@posteo.net
* gnu/packages/crates-io.scm (rust-dns-parser-0.8): New variable.--- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
Toggle diff (40 lines)diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scmindex b694501af1..a891ac8dba 100644--- a/gnu/packages/crates-io.scm+++ b/gnu/packages/crates-io.scm@@ -13516,6 +13516,33 @@ Google's diff-match-patch.") system libraries.") (license license:expat))) +(define-public rust-dns-parser-0.8+ (package+ (name "rust-dns-parser")+ (version "0.8.0")+ (source+ (origin+ (method url-fetch)+ (uri (crate-uri "dns-parser" version))+ (file-name+ (string-append name "-" version ".tar.gz"))+ (sha256+ (base32 "1spv0psvxc31qg9xnqf0gmjclyiim7vp23r2b1gzf1ix8zlkply4"))))+ (build-system cargo-build-system)+ (arguments+ `(#:cargo-inputs+ (("rust-byteorder" ,rust-byteorder-1)+ ("rust-quick-error" ,rust-quick-error-1)+ ("rust-serde" ,rust-serde-1)+ ("rust-serde-derive" ,rust-serde-derive-1))+ #:cargo-development-inputs+ (("rust-matches" ,rust-matches-0.1))))+ (home-page "https://github.com/tailhook/dns-parser")+ (synopsis "DNS protocol parser library")+ (description "This package provide a DNS protocol parser library. It does+not support network, only raw protocol parser.")+ (license (list license:expat license:asl2.0))))+ (define-public rust-doc-comment-0.3 (package (name "rust-doc-comment")-- 2.32.0
V
V
Vinicius Monego wrote on 8 Jul 06:08 +0200
[PATCH 6/6] gnu: Add rust-mdns-0.3.
(address . 49462@debbugs.gnu.org)(name . Vinicius Monego)(address . monego@posteo.net)
20210708040836.22307-6-monego@posteo.net
* gnu/packages/crates-io.scm (rust-mdns-0.3): New variable.--- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
Toggle diff (39 lines)diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scmindex a891ac8dba..92f43cbdee 100644--- a/gnu/packages/crates-io.scm+++ b/gnu/packages/crates-io.scm@@ -25486,6 +25486,32 @@ compression function.") (supported-systems '("x86_64-linux" "i686-linux")) (license license:expat))) +(define-public rust-mdns-0.3+ (package+ (name "rust-mdns")+ (version "0.3.2")+ (source+ (origin+ (method url-fetch)+ (uri (crate-uri "mdns" version))+ (file-name+ (string-append name "-" version ".tar.gz"))+ (sha256+ (base32 "0a96id6nzpbqhdiv90fdmaji0nlmfsdcbk1nvrmapv5xw6fiaclw"))))+ (build-system cargo-build-system)+ (arguments+ `(#:cargo-inputs+ (("rust-dns-parser" ,rust-dns-parser-0.8)+ ("rust-error-chain" ,rust-error-chain-0.12)+ ("rust-get-if-addrs" ,rust-get-if-addrs-0.5)+ ("rust-mio" ,rust-mio-0.6)+ ("rust-net2" ,rust-net2-0.2))))+ (home-page "https://github.com/dylanmckay/mdns")+ (synopsis "Multicast DNS client library")+ (description "This package provides a multicast DNS client library. It+supports discovery of any mDNS device on a LAN.")+ (license license:expat)))+ (define-public rust-measureme-0.7 (package (name "rust-measureme")-- 2.32.0
E
E
Efraim Flashner wrote on 15 Jul 14:58 +0200
Re: [bug#49462] [PATCH 0/6] gnu: Add rust-mdns-0.3.
(name . Vinicius Monego)(address . monego@posteo.net)(address . 49462-done@debbugs.gnu.org)
YPAw3wUQInMDyXNg@3900XT
I managed to upgrade rust-unwrap-1 and modified rust-get-if-addrs-0.5 tomake that work.
Patches pushed! Thanks.
-- Efraim Flashner <efraim@flashner.co.il> אפרים פלשנרGPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmDwMN8ACgkQQarn3Mo9g1GQSw//aLJV3MyAnvCHNvru1GPyWohPzeZDjgWLKQ2ezwbFlDUo2VQwdobxNyEeNpHRVanorTE0MiL+2Up1YxJogmfNn6oo7JnHWPeC29/yGcTU663Xr+TZXgu12P3Fl527eykNa1V3Ppas0j/PcnJXK5iCyYHg1ahTkT4v5VNcRhP05FeKIhVPg3vzI2jf7t7XzLQgFYSOJYQXWtHTixXddfdy2ijwzeulM35dKEWu/sahVjYlkN/bY/GsxzliCuThQBMo4/lZs6/RLBdkkKog+alvRXs1hmq8pmHV9D4FUtSxvEoF62lvzfppy/XFYJ6eo2WTZ0aE2YKAcmvyqSviOxc2RPvMxvMKqudw8YuLP/ZyrBeclt9smo3CEU3j1EzETPP2w74UHzxNsQUfVk1jruxuWiu+8xqpiPqO6XtSVvgcMceGfzoS4AdzTi0jJcs/V0vi4LDVZ88/dotTYv+bbIXfb7kg3a3z1ivYifJ8Rxrd7vFxdXC7q3qELHOuaSvZc+01GxqKrw5oellRAimAkB4yEF4z9c6/qI6A4DIQFvY4B5KBgow6kIJqCefy9aAhnsOJpU0d5fTlJSBM5ANPHGlof0h68lgm74mmUsYpQ4+lmOtF4IdyYy5AialSpIs1kiJUwKjTwKfrvgqIHhqRYK4l9HXo9H/FeAXCvb+9ncllUS4==8Gla-----END PGP SIGNATURE-----

Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 49462@debbugs.gnu.org