* [bug#61727] [PATCH 2/6] gnu: Add rust-dns-sd.
2023-02-23 8:42 ` [bug#61727] [PATCH 1/6] gnu: Update rust-base64 Steve George
@ 2023-02-23 8:42 ` Steve George
2023-02-23 8:42 ` [bug#61727] [PATCH 3/6] gnu: Add rust-if-addrs-sys Steve George
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Steve George @ 2023-02-23 8:42 UTC (permalink / raw)
To: 61727; +Cc: Efraim Flashner, Steve George
* gnu/packages/crates-io.scm (rust-dns-sd): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa1fc169c4..db18d62870 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57,6 +57,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages avahi)
#:use-module (gnu packages bash)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
@@ -17616,6 +17617,30 @@ (define-public rust-dns-parser-0.8
not support network, only raw protocol parser.")
(license (list license:expat license:asl2.0))))
+(define-public rust-dns-sd-0.1
+ (package
+ (name "rust-dns-sd")
+ (version "0.1.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "dns-sd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11r0jymjshfnn3sh2nqjhrikk4r5rr1g36sip9iqy8i0xafm0j6p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (inputs (list avahi))
+ (native-inputs (list pkg-config))
+ (home-page "https://github.com/plietar/rust-dns-sd")
+ (synopsis "Rust binding for DNS-SD")
+ (description "Rust bindings for DNS Service Discovery (DNS-SD)")
+ (license license:expat)))
+
(define-public rust-doc-comment-0.3
(package
(name "rust-doc-comment")
--
2.39.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#61727] [PATCH 3/6] gnu: Add rust-if-addrs-sys.
2023-02-23 8:42 ` [bug#61727] [PATCH 1/6] gnu: Update rust-base64 Steve George
2023-02-23 8:42 ` [bug#61727] [PATCH 2/6] gnu: Add rust-dns-sd Steve George
@ 2023-02-23 8:42 ` Steve George
2023-02-23 8:42 ` [bug#61727] [PATCH 4/6] gnu: Add rust-if-addrs Steve George
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Steve George @ 2023-02-23 8:42 UTC (permalink / raw)
To: 61727; +Cc: Efraim Flashner, Steve George
* gnu/packages/crates-io.scm (rust-if-addrs-sys): 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 db18d62870..c79d2d15d5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27015,6 +27015,29 @@ (define-public rust-ieee754-0.2
floating-point numbers.")
(license (list license:expat license:asl2.0))))
+(define-public rust-if-addrs-sys-0.3
+ (package
+ (name "rust-if-addrs-sys")
+ (version "0.3.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "if-addrs-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1skrzs79rafv185064p44r0k1va9ig4bfnpbwlvyhxh4g3fvjx6y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-cc", rust-cc-1))))
+ (home-page "https://github.com/messense/if-addrs")
+ (synopsis "Retrieve the IP addresses for all network interfaces")
+ (description "Retrieve the IP addresses for all network interfaces.
+Works on POSIX and Windows hosts.")
+ (license (list license:expat license:bsd-3))))
+
(define-public rust-if-chain-1
(package
(name "rust-if-chain")
--
2.39.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#61727] [PATCH 4/6] gnu: Add rust-if-addrs
2023-02-23 8:42 ` [bug#61727] [PATCH 1/6] gnu: Update rust-base64 Steve George
2023-02-23 8:42 ` [bug#61727] [PATCH 2/6] gnu: Add rust-dns-sd Steve George
2023-02-23 8:42 ` [bug#61727] [PATCH 3/6] gnu: Add rust-if-addrs-sys Steve George
@ 2023-02-23 8:42 ` Steve George
2023-02-23 8:42 ` [bug#61727] [PATCH 5/6] gnu: Add rust-libmdns Steve George
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Steve George @ 2023-02-23 8:42 UTC (permalink / raw)
To: 61727; +Cc: Efraim Flashner, Steve George
* gnu/packages/crates-io.scm (rust-if-addrs): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c79d2d15d5..26b607753b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27015,6 +27015,31 @@ (define-public rust-ieee754-0.2
floating-point numbers.")
(license (list license:expat license:asl2.0))))
+(define-public rust-if-addrs-0.6
+ (package
+ (name "rust-if-addrs")
+ (version "0.6.7")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "if-addrs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pkkkwm9znn07xq9s6glf8lxzn2rdxvy8kwkw6czrw64ywhy8wr2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:cargo-inputs
+ (("rust-if-addrs-sys" ,rust-if-addrs-sys-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-cc" ,rust-cc-1))))
+ (native-inputs (list iproute))
+ (home-page "https://github.com/messense/if-addrs")
+ (synopsis "Return interface IP addresses on POSIX and Windows systems")
+ (description "Returns the IP addresses for all network interfaces,
+on both POSIX and Microsoft Windows hosts.")
+ (license (list license:expat license:bsd-3))))
+
(define-public rust-if-addrs-sys-0.3
(package
(name "rust-if-addrs-sys")
--
2.39.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#61727] [PATCH 5/6] gnu: Add rust-libmdns.
2023-02-23 8:42 ` [bug#61727] [PATCH 1/6] gnu: Update rust-base64 Steve George
` (2 preceding siblings ...)
2023-02-23 8:42 ` [bug#61727] [PATCH 4/6] gnu: Add rust-if-addrs Steve George
@ 2023-02-23 8:42 ` Steve George
2023-02-23 8:42 ` [bug#61727] [PATCH 6/6] gnu: Add rust-aes-ctr Steve George
2023-03-13 13:01 ` bug#61727: [PATCH 1/6] gnu: Update rust-base64 Efraim Flashner
5 siblings, 0 replies; 8+ messages in thread
From: Steve George @ 2023-02-23 8:42 UTC (permalink / raw)
To: 61727; +Cc: Efraim Flashner, Steve George
* gnu/packages/crates-io.scm (rust-libmdns): New variable.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26b607753b..a18247c65f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30387,6 +30387,40 @@ (define-public rust-libmimalloc-sys-0.1
allocator.")
(license license:expat)))
+(define-public rust-libmdns-0.6
+ (package
+ (name "rust-libmdns")
+ (version "0.6.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "libmdns" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0n1ymkv5246c5yj2m70ql07z38hrz6b2l16lg3wpb98vz7mbqd59"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-hostname" ,rust-hostname-0.3)
+ ("rust-if-addrs" ,rust-if-addrs-0.6)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-multimap" ,rust-multimap-0.8)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-socket2" ,rust-socket2-0.4)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.8))))
+ (home-page "https://github.com/librespot-org/libmdns")
+ (synopsis "DNS-SD and mDNS library for building discoverable LAN services")
+ (description "A Multi-Cast DNS (RFC 6762) and DNS Service Discovery
+(RFC 6763) library. Used for resolution of hostnames to IP addresses on
+networks that do not have a local name server. Network services can be
+advertised and discovered using this mechanism.")
+ (license license:expat)))
+
(define-public rust-libnghttp2-sys-0.1
(package
(name "rust-libnghttp2-sys")
--
2.39.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#61727] [PATCH 6/6] gnu: Add rust-aes-ctr.
2023-02-23 8:42 ` [bug#61727] [PATCH 1/6] gnu: Update rust-base64 Steve George
` (3 preceding siblings ...)
2023-02-23 8:42 ` [bug#61727] [PATCH 5/6] gnu: Add rust-libmdns Steve George
@ 2023-02-23 8:42 ` Steve George
2023-03-13 13:01 ` bug#61727: [PATCH 1/6] gnu: Update rust-base64 Efraim Flashner
5 siblings, 0 replies; 8+ messages in thread
From: Steve George @ 2023-02-23 8:42 UTC (permalink / raw)
To: 61727; +Cc: Efraim Flashner, Steve George
* gnu/packages/crates-io.scm (rust-aes-ctr): 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 a18247c65f..310cec113f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1923,6 +1923,35 @@ (define-public rust-aes-0.3
("rust-aesni" ,rust-aesni-0.6)
("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6))))))
+(define-public rust-aes-ctr-0.6
+ (package
+ (name "rust-aes-ctr")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aes-ctr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qspjxzrclnb83501595y01dhc0km1ssrbjnwlxhcrsdwp6w6abp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:cargo-inputs
+ (("rust-aesni" ,rust-aesni-0.10)
+ ("rust-aes-soft" ,rust-aes-soft-0.6)
+ ("rust-cipher" ,rust-cipher-0.2)
+ ("rust-ctr", rust-ctr-0.6))
+ #:cargo-development-inputs
+ (("rust-cipher" ,rust-cipher-0.2))))
+ (home-page
+ "https://github.com/RustCrypto/block-ciphers/tree/master/aes")
+ (synopsis "Pure Rust implementation of AES")
+ (description "A pure Rust implementation of the Advanced Encryption
+Standard (AES). Use the aes crate if possible, as the aes-ctr has been
+deprecated.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-aes-gcm-0.8
(package
(name "rust-aes-gcm")
--
2.39.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* bug#61727: [PATCH 1/6] gnu: Update rust-base64.
2023-02-23 8:42 ` [bug#61727] [PATCH 1/6] gnu: Update rust-base64 Steve George
` (4 preceding siblings ...)
2023-02-23 8:42 ` [bug#61727] [PATCH 6/6] gnu: Add rust-aes-ctr Steve George
@ 2023-03-13 13:01 ` Efraim Flashner
5 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2023-03-13 13:01 UTC (permalink / raw)
To: Steve George; +Cc: 61727-done
[-- Attachment #1: Type: text/plain, Size: 587 bytes --]
Thanks for the patches. The first one was already taken care of in the
rust-team branch (which I hope to merge soon). The others I had to make
a few changes on. On some of them the cargo-inputs weren't correct, or
were split between cargo-inputs and cargo-development-inputs. I fixed
them up and pushed the patches.
Thanks! I've pushed them to the rust-team branch.
--
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