* [bug#49462] [PATCH 0/6] gnu: Add rust-mdns-0.3.
@ 2021-07-08 4:07 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 1/6] gnu: Add rust-c-linked-list-1 Vinicius Monego
2021-07-15 12:58 ` bug#49462: [PATCH 0/6] " Efraim Flashner
0 siblings, 2 replies; 8+ messages in thread
From: Vinicius Monego @ 2021-07-08 4:07 UTC (permalink / raw)
To: 49462; +Cc: Vinicius Monego
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#49462] [PATCH 1/6] gnu: Add rust-c-linked-list-1.
2021-07-08 4:07 [bug#49462] [PATCH 0/6] gnu: Add rust-mdns-0.3 Vinicius Monego
@ 2021-07-08 4:08 ` Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 2/6] gnu: Add rust-get-if-addrs-sys-0.1 Vinicius Monego
` (4 more replies)
2021-07-15 12:58 ` bug#49462: [PATCH 0/6] " Efraim Flashner
1 sibling, 5 replies; 8+ messages in thread
From: Vinicius Monego @ 2021-07-08 4:08 UTC (permalink / raw)
To: 49462; +Cc: Vinicius Monego
* gnu/packages/crates-io.scm (rust-c-linked-list-1): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#49462] [PATCH 2/6] gnu: Add rust-get-if-addrs-sys-0.1.
2021-07-08 4:08 ` [bug#49462] [PATCH 1/6] gnu: Add rust-c-linked-list-1 Vinicius Monego
@ 2021-07-08 4:08 ` Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 3/6] gnu: Add rust-unwrap-1 Vinicius Monego
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Vinicius Monego @ 2021-07-08 4:08 UTC (permalink / raw)
To: 49462; +Cc: Vinicius Monego
* 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(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#49462] [PATCH 3/6] gnu: Add rust-unwrap-1.
2021-07-08 4:08 ` [bug#49462] [PATCH 1/6] gnu: Add rust-c-linked-list-1 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 2/6] gnu: Add rust-get-if-addrs-sys-0.1 Vinicius Monego
@ 2021-07-08 4:08 ` Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 4/6] gnu: Add rust-get-if-addrs-0.5 Vinicius Monego
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Vinicius Monego @ 2021-07-08 4:08 UTC (permalink / raw)
To: 49462; +Cc: Vinicius Monego
* gnu/packages/crates-io.scm (rust-unwrap-1): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#49462] [PATCH 4/6] gnu: Add rust-get-if-addrs-0.5.
2021-07-08 4:08 ` [bug#49462] [PATCH 1/6] gnu: Add rust-c-linked-list-1 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 2/6] gnu: Add rust-get-if-addrs-sys-0.1 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 3/6] gnu: Add rust-unwrap-1 Vinicius Monego
@ 2021-07-08 4:08 ` Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 5/6] gnu: Add rust-dns-parser-0.8 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 6/6] gnu: Add rust-mdns-0.3 Vinicius Monego
4 siblings, 0 replies; 8+ messages in thread
From: Vinicius Monego @ 2021-07-08 4:08 UTC (permalink / raw)
To: 49462; +Cc: Vinicius Monego
* gnu/packages/crates-io.scm (rust-get-if-addrs-0.5): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#49462] [PATCH 5/6] gnu: Add rust-dns-parser-0.8.
2021-07-08 4:08 ` [bug#49462] [PATCH 1/6] gnu: Add rust-c-linked-list-1 Vinicius Monego
` (2 preceding siblings ...)
2021-07-08 4:08 ` [bug#49462] [PATCH 4/6] gnu: Add rust-get-if-addrs-0.5 Vinicius Monego
@ 2021-07-08 4:08 ` Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 6/6] gnu: Add rust-mdns-0.3 Vinicius Monego
4 siblings, 0 replies; 8+ messages in thread
From: Vinicius Monego @ 2021-07-08 4:08 UTC (permalink / raw)
To: 49462; +Cc: Vinicius Monego
* gnu/packages/crates-io.scm (rust-dns-parser-0.8): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#49462] [PATCH 6/6] gnu: Add rust-mdns-0.3.
2021-07-08 4:08 ` [bug#49462] [PATCH 1/6] gnu: Add rust-c-linked-list-1 Vinicius Monego
` (3 preceding siblings ...)
2021-07-08 4:08 ` [bug#49462] [PATCH 5/6] gnu: Add rust-dns-parser-0.8 Vinicius Monego
@ 2021-07-08 4:08 ` Vinicius Monego
4 siblings, 0 replies; 8+ messages in thread
From: Vinicius Monego @ 2021-07-08 4:08 UTC (permalink / raw)
To: 49462; +Cc: Vinicius Monego
* gnu/packages/crates-io.scm (rust-mdns-0.3): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* bug#49462: [PATCH 0/6] gnu: Add rust-mdns-0.3.
2021-07-08 4:07 [bug#49462] [PATCH 0/6] gnu: Add rust-mdns-0.3 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 1/6] gnu: Add rust-c-linked-list-1 Vinicius Monego
@ 2021-07-15 12:58 ` Efraim Flashner
1 sibling, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2021-07-15 12:58 UTC (permalink / raw)
To: Vinicius Monego; +Cc: 49462-done
[-- Attachment #1: Type: text/plain, Size: 331 bytes --]
I managed to upgrade rust-unwrap-1 and modified rust-get-if-addrs-0.5 to
make that work.
Patches pushed! Thanks.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-07-15 13:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-08 4:07 [bug#49462] [PATCH 0/6] gnu: Add rust-mdns-0.3 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 1/6] gnu: Add rust-c-linked-list-1 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 2/6] gnu: Add rust-get-if-addrs-sys-0.1 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 3/6] gnu: Add rust-unwrap-1 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 4/6] gnu: Add rust-get-if-addrs-0.5 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 5/6] gnu: Add rust-dns-parser-0.8 Vinicius Monego
2021-07-08 4:08 ` [bug#49462] [PATCH 6/6] gnu: Add rust-mdns-0.3 Vinicius Monego
2021-07-15 12:58 ` bug#49462: [PATCH 0/6] " Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).