* [bug#69170] [PATCH rust-team 00/46] Add netavark
@ 2024-02-15 20:25 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 01/46] build-system: cargo: Add #:cargo-native-inputs argument Tomas Volf
` (46 more replies)
0 siblings, 47 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:25 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
This series adds netavark, which will be required for next major version of
podman.
It also adds new #:cargo-native-inputs argument to the build system in order
to support crates that call native tooling during a build (prost-build)
without the need to have (native-inputs) on all user.
Tomas Volf (46):
build-system: cargo: Add #:cargo-native-inputs argument.
gnu: Add rust-pulldown-cmark-to-cmark-10.
gnu: Add rust-sync-wrapper-0.1.
gnu: Add rust-multer-2.
gnu: Add rust-iri-string-0.7.
gnu: Add rust-tower-http-0.4.
gnu: Add rust-axum-macros-0.3.
gnu: Add rust-axum-core-0.3.
gnu: Add rust-axum-0.6.
gnu: rust-async-stream-impl-0.3: Update to 0.3.5.
gnu: rust-async-stream-0.3: Update to 0.3.5.
gnu: Add rust-sysctl-0.5.
gnu: Add rust-prost-derive-0.12.
gnu: Add rust-prost-0.12.
gnu: Add rust-prost-types-0.12.
gnu: Add rust-prost-build-0.12.
gnu: Add rust-tonic-build-0.10.
gnu: Add rust-tonic-0.10.
gnu: Add rust-nftables-0.3.
gnu: Add rust-netlink-sys-0.8.
gnu: Add rust-netlink-packet-utils-0.5.
gnu: Add rust-netlink-packet-core-0.7.
gnu: Add rust-netlink-packet-generic-0.3.
gnu: Add rust-netlink-packet-route-0.18.
gnu: Add rust-netlink-packet-route-0.19.
gnu: Add rust-netlink-proto-0.11.
gnu: Add rust-genetlink-0.2.
gnu: Add rust-mptcp-pm-0.1.
gnu: Add rust-rtnetlink-0.14.
gnu: Add rust-ethtool-0.2.
gnu: Add rust-nispor-1.
gnu: Add rust-etherparse-0.13.
gnu: Add rust-dhcproto-macros-0.1.
gnu: Add rust-dhcproto-0.9.
gnu: Add rust-mozim-0.2.
gnu: Add rust-iptables-0.5.
gnu: Add rust-env-filter-0.1.
gnu: rust-anstyle-1: Update to 1.0.6.
gnu: Add rust-env-logger-0.11.
gnu: rust-rkyv-derive-0.7: Update to 0.7.44.
gnu: rust-rkyv-0.7: Update to 0.7.44.
gnu: Add rust-pure-rust-locales-0.8.
gnu: Add rust-windows-metadata-0.52.
gnu: Add rust-windows-bindgen-0.52.
gnu: rust-chrono-0.4: Update to 0.4.34.
gnu: Add netavark.
doc/guix.texi | 4 +-
gnu/packages/crates-io.scm | 881 +++++++++++++++++++++++++++++++-
gnu/packages/crates-web.scm | 218 ++++++++
gnu/packages/crates-windows.scm | 41 ++
gnu/packages/rust-apps.scm | 57 +++
guix/build-system/cargo.scm | 17 +-
6 files changed, 1194 insertions(+), 24 deletions(-)
base-commit: c5a716a965ca8881a9fb150c2cee8da4c1e62d10
--
2.41.0
^ permalink raw reply [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 01/46] build-system: cargo: Add #:cargo-native-inputs argument.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 02/46] gnu: Add rust-pulldown-cmark-to-cmark-10 Tomas Volf
` (45 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
If crate A used by application B needs some package (for example protobuf in
my case) during a build, there was no way to propagate the information. The
application B would need to explicitly add (native-inputs). And each user of
crate A would need to do that.
I think that is not optimal, therefore this commit adds new
#:cargo-native-inputs argument to the cargo-build-system. It allows
propagating native dependencies to users of the crates.
* guix/build-system/cargo.scm (package-cargo-native-inputs): New procedure.
(lower): New keyword argument cargo-native-inputs.
(lower)[private-keywords]: Add #:cargo-native-inputs.
(lower)[bag]<build-inputs>: Use cargo-native-inputs.
* doc/guix.texi: Document it.
Change-Id: I39c35db4d17842cd7633cf2c1b7d90b74de07679
---
doc/guix.texi | 4 +++-
guix/build-system/cargo.scm | 17 ++++++++++++++++-
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index bb0af26d93..3d43ed6dd5 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9428,7 +9428,9 @@ Build Systems
evaluate to a path to a gzipped tarball which includes a @code{Cargo.toml}
file at its root, or it will be ignored. Similarly, cargo dev-dependencies
should be added to the package definition via the
-@code{#:cargo-development-inputs} parameter.
+@code{#:cargo-development-inputs} parameter. Additionally, if some
+native dependencies are required during a build of a dependent package,
+you can use @code{#:cargo-native-inputs} to specify such packages.
In its @code{configure} phase, this build system will make any source inputs
specified in the @code{#:cargo-inputs} and @code{#:cargo-development-inputs}
diff --git a/guix/build-system/cargo.scm b/guix/build-system/cargo.scm
index c029cc1dda..170a1f70b6 100644
--- a/guix/build-system/cargo.scm
+++ b/guix/build-system/cargo.scm
@@ -207,6 +207,12 @@ (define (package-cargo-development-inputs p)
cargo-development-inputs)
(package-arguments p)))
+(define (package-cargo-native-inputs p)
+ (apply
+ (lambda* (#:key (cargo-native-inputs '()) #:allow-other-keys)
+ cargo-native-inputs)
+ (package-arguments p)))
+
(define (crate-closure inputs)
"Return the closure of INPUTS when considering the 'cargo-inputs' and
'cargod-dev-deps' edges. Omit duplicate inputs, except for those
@@ -308,13 +314,14 @@ (define* (lower name
(rust-sysroot (default-rust-sysroot target))
(cargo-inputs '())
(cargo-development-inputs '())
+ (cargo-native-inputs '())
#:allow-other-keys
#:rest arguments)
"Return a bag for NAME."
(define private-keywords
`(#:rust #:inputs #:native-inputs #:outputs
- #:cargo-inputs #:cargo-development-inputs
+ #:cargo-inputs #:cargo-development-inputs #:cargo-native-inputs
#:rust-sysroot
,@(if target '() '(#:target))))
@@ -338,6 +345,14 @@ (define* (lower name
,@(if target '() inputs)
;,@inputs
+ ,@(apply append
+ cargo-native-inputs
+ (map (match-lambda
+ ((tag pkg)
+ (package-cargo-native-inputs pkg)))
+ (crate-closure (append cargo-inputs
+ cargo-development-inputs))))
+
,@(if target
;; Use the standard cross inputs of
;; 'gnu-build-system'.
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 02/46] gnu: Add rust-pulldown-cmark-to-cmark-10.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 01/46] build-system: cargo: Add #:cargo-native-inputs argument Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 03/46] gnu: Add rust-sync-wrapper-0.1 Tomas Volf
` (44 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-pulldown-cmark-to-cmark-10): New variable.
Change-Id: I23b664947c2c31589f4a80aae89186834987a3b4
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 65a58900ff..8b2d9a6f78 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49821,6 +49821,34 @@ (define-public rust-puffin-0.18
(description "Simple instrumentation profiler for games.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pulldown-cmark-to-cmark-10
+ (package
+ (name "rust-pulldown-cmark-to-cmark")
+ (version "10.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pulldown-cmark-to-cmark" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gc366cmd5jxal9m95l17rvqsm4dn62lywc8v5gwq8vcjvhyd501"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9))))
+ (home-page "https://github.com/Byron/pulldown-cmark-to-cmark")
+ (synopsis
+ "Convert pulldown-cmark Events back to the string they were parsed from")
+ (description
+ "A utility library which translates Event back to markdown. It's the
+prerequisite for writing markdown filters which can work as
+@code{mdbook-preprocessors}.
+
+This library takes great pride in supporting everything that
+@code{pulldown-cmark} supports, including tables and footnotes and codeblocks
+in codeblocks, while assuring quality with a powerful test suite.")
+ (license license:asl2.0)))
+
(define-public rust-pulldown-cmark-0.9
(package
(name "rust-pulldown-cmark")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 03/46] gnu: Add rust-sync-wrapper-0.1.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 01/46] build-system: cargo: Add #:cargo-native-inputs argument Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 02/46] gnu: Add rust-pulldown-cmark-to-cmark-10 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 04/46] gnu: Add rust-multer-2 Tomas Volf
` (43 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-sync-wrapper-0.1): New variable.
Change-Id: I2eb340009dfb303130e421ae9f7bbde97e4286fa
---
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 8b2d9a6f78..6250e1f203 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66059,6 +66059,30 @@ (define-public rust-synchronoise-1
standard library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-sync-wrapper-0.1
+ (package
+ (name "rust-sync-wrapper")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sync_wrapper" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0q01lyj0gr9a93n10nxsn8lwbzq97jqd6b768x17c8f7v7gccir0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3))))
+ (home-page "https://docs.rs/sync_wrapper")
+ (synopsis
+ "A tool for enlisting the compiler's help in proving the absence of
+concurrency")
+ (description
+ "This package provides a tool for enlisting the compiler's help in
+proving the absence of concurrency.")
+ (license license:asl2.0)))
+
(define-public rust-synom-0.11
(package
(name "rust-synom")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 04/46] gnu: Add rust-multer-2.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (2 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 03/46] gnu: Add rust-sync-wrapper-0.1 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 05/46] gnu: Add rust-iri-string-0.7 Tomas Volf
` (42 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-multer-2): New variable.
Change-Id: Ic99671c4452374e7a7f2193c0ce4bb1894b729fb
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6250e1f203..96a78c1542 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38308,6 +38308,44 @@ (define-public rust-mp4-0.9
(description "mp4 is a Rust library to read and write ISO-MP4 files.")
(license license:expat)))
+(define-public rust-multer-2
+ (package
+ (name "rust-multer")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "multer" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hjiphaypj3phqaj5igrzcia9xfmf4rr4ddigbh8zzb96k1bvb01"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-httparse" ,rust-httparse-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-spin" ,rust-spin-0.9)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-version-check" ,rust-version-check-0.9))))
+ (home-page "https://github.com/rousan/multer-rs")
+ (synopsis
+ "An async parser for @code{multipart/form-data} content-type in Rust")
+ (description
+ "An async parser for @code{multipart/form-data} content-type in Rust.
+
+It accepts a Stream of Bytes as a source, so that it can be plugged into any
+async Rust environment e.g. any async server.")
+ (license license:expat)))
+
(define-public rust-muldiv-1
(package
(name "rust-muldiv")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 05/46] gnu: Add rust-iri-string-0.7.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (3 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 04/46] gnu: Add rust-multer-2 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 06/46] gnu: Add rust-tower-http-0.4 Tomas Volf
` (41 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-iri-string-0.7): New variable.
Change-Id: Ia67ae4cf4a4ea7cb1e0264567c4829fdbf5ad89f
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 96a78c1542..6a8ca1e238 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29858,6 +29858,28 @@ (define-public rust-indexmap-1
("rust-rand" ,rust-rand-0.8)
("rust-serde-derive" ,rust-serde-derive-1))))))
+(define-public rust-iri-string-0.7
+ (package
+ (name "rust-iri-string")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "iri-string" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1h07hkfkkjjvgzlaqpr5fia7hrgv7qxqdw4xrpdc3936gmk9p191"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-memchr" ,rust-memchr-2)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/lo48576/iri-string")
+ (synopsis "IRI as string types")
+ (description "String types for IRIs (Internationalized Resource
+Identifiers) and URIs (Uniform Resource Identifiers).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-indexmap-1.8
(package
(inherit rust-indexmap-1)
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 06/46] gnu: Add rust-tower-http-0.4.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (4 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 05/46] gnu: Add rust-iri-string-0.7 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 07/46] gnu: Add rust-axum-macros-0.3 Tomas Volf
` (40 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-web.scm (rust-tower-http-0.4): New variable.
Change-Id: I9bc13f74d5f23f42a271aacf3d3ed1c31f78c362
---
gnu/packages/crates-web.scm | 42 +++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 233ba07ed5..d457839b53 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3535,6 +3535,48 @@ (define-public rust-tonic-0.6
performance, interoperability, and flexibility.")
(license license:expat)))
+(define-public rust-tower-http-0.4
+ (package
+ (name "rust-tower-http")
+ (version "0.4.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tower-http" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0h0i2flrw25zwxv72sifq4v5mwcb030spksy7r2a4xl2d4fvpib1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-compression" ,rust-async-compression-0.4)
+ ("rust-base64" ,rust-base64-0.21)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-http-body" ,rust-http-body-0.4)
+ ("rust-http-range-header" ,rust-http-range-header-0.3)
+ ("rust-httpdate" ,rust-httpdate-1)
+ ("rust-iri-string" ,rust-iri-string-0.7)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-mime-guess" ,rust-mime-guess-2)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tower-layer" ,rust-tower-layer-0.3)
+ ("rust-tower-service" ,rust-tower-service-0.3)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-uuid" ,rust-uuid-1))))
+ (home-page "https://github.com/tower-rs/tower-http")
+ (synopsis "Tower middleware and utilities for HTTP clients and servers")
+ (description "Tower middleware and utilities for HTTP clients and
+servers.")
+ (license license:expat)))
+
(define-public rust-tower-0.4
(package
(name "rust-tower")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 07/46] gnu: Add rust-axum-macros-0.3.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (5 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 06/46] gnu: Add rust-tower-http-0.4 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 08/46] gnu: Add rust-axum-core-0.3 Tomas Volf
` (39 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-web.scm (rust-axum-macros-0.3): New variable.
Change-Id: I193a3a9111a93f9827c2d666300f6039685f6417
---
gnu/packages/crates-web.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index d457839b53..71411c64dd 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -1632,6 +1632,29 @@ (define-public rust-awc-0.2
("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)
("rust-tokio-timer" ,rust-tokio-timer-0.2))))))
+(define-public rust-axum-macros-0.3
+ (package
+ (name "rust-axum-macros")
+ (version "0.3.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "axum-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qkb5cg06bnp8994ay0smk57shd5hpphcmp90kd7p65dxh86mjnd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/tokio-rs/axum")
+ (synopsis "Macros for @code{axum}")
+ (description "Macros for @code{axum}.")
+ (license license:expat)))
+
(define-public rust-chunked-transfer-1
(package
(name "rust-chunked-transfer")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 08/46] gnu: Add rust-axum-core-0.3.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (6 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 07/46] gnu: Add rust-axum-macros-0.3 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 09/46] gnu: Add rust-axum-0.6 Tomas Volf
` (38 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-web.scm (rust-axum-core-0.3): New variable.
Change-Id: I965d002da1bf68a21d56337881a44e8158be31fb
---
gnu/packages/crates-web.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 71411c64dd..1e4c7cf94b 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -1655,6 +1655,36 @@ (define-public rust-axum-macros-0.3
(description "Macros for @code{axum}.")
(license license:expat)))
+(define-public rust-axum-core-0.3
+ (package
+ (name "rust-axum-core")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "axum-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0b1d9nkqb8znaba4qqzxzc968qwj4ybn4vgpyz9lz4a7l9vsb7vm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-http-body" ,rust-http-body-0.4)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-tower-http" ,rust-tower-http-0.4)
+ ("rust-tower-layer" ,rust-tower-layer-0.3)
+ ("rust-tower-service" ,rust-tower-service-0.3)
+ ("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://github.com/tokio-rs/axum")
+ (synopsis "Core types and traits for @code{axum}")
+ (description "Core types and traits for @code{axum}.")
+ (license license:expat)))
+
(define-public rust-chunked-transfer-1
(package
(name "rust-chunked-transfer")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 09/46] gnu: Add rust-axum-0.6.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (7 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 08/46] gnu: Add rust-axum-core-0.3 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 10/46] gnu: rust-async-stream-impl-0.3: Update to 0.3.5 Tomas Volf
` (37 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-web.scm (rust-axum-0.6): New variable.
Change-Id: I0b05ae174308e10aea1ecfc948e1f50f35c905a2
---
gnu/packages/crates-web.scm | 51 +++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 1e4c7cf94b..6f953e7aca 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -1685,6 +1685,57 @@ (define-public rust-axum-core-0.3
(description "Core types and traits for @code{axum}.")
(license license:expat)))
+(define-public rust-axum-0.6
+ (package
+ (name "rust-axum")
+ (version "0.6.20")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "axum" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gynqkg3dcy1zd7il69h8a3zax86v6qq5zpawqyn87mr6979x0iv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-axum-core" ,rust-axum-core-0.3)
+ ("rust-axum-macros" ,rust-axum-macros-0.3)
+ ("rust-base64" ,rust-base64-0.21)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-headers" ,rust-headers-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-http-body" ,rust-http-body-0.4)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-itoa" ,rust-itoa-1)
+ ("rust-matchit" ,rust-matchit-0.7)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-multer" ,rust-multer-2)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+ ("rust-sha1" ,rust-sha1-0.10)
+ ("rust-sync-wrapper" ,rust-sync-wrapper-0.1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.20)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tower-http" ,rust-tower-http-0.4)
+ ("rust-tower-layer" ,rust-tower-layer-0.3)
+ ("rust-tower-service" ,rust-tower-service-0.3)
+ ("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://github.com/tokio-rs/axum")
+ (synopsis "Web framework that focuses on ergonomics and modularity")
+ (description "Web framework that focuses on ergonomics and modularity.")
+ (license license:expat)))
+
(define-public rust-chunked-transfer-1
(package
(name "rust-chunked-transfer")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 10/46] gnu: rust-async-stream-impl-0.3: Update to 0.3.5.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (8 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 09/46] gnu: Add rust-axum-0.6 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 11/46] gnu: rust-async-stream-0.3: " Tomas Volf
` (36 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-async-stream-impl-0.3): Update to 0.3.5.
Change-Id: I0b09a044df28943f5654b3aaafa8d2b7cc64ee12
---
gnu/packages/crates-io.scm | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a8ca1e238..8d75f10b19 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4780,23 +4780,20 @@ (define-public rust-async-stream-0.3
(define-public rust-async-stream-impl-0.3
(package
(name "rust-async-stream-impl")
- (version "0.3.2")
+ (version "0.3.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "async-stream-impl" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "024k57iwmmhzvbzacxlkssh45cqlnb8xjlvlsp60jm6fsb4di3k4"))))
+ (base32 "14q179j4y8p2z1d0ic6aqgy9fhwz8p9cai1ia8kpw4bw7q12mrhn"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-test-flags '("--release" "--"
- "--skip=try_stream"
- "--skip=stream")
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))
+ ("rust-syn" ,rust-syn-2))
#:cargo-development-inputs
(("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 11/46] gnu: rust-async-stream-0.3: Update to 0.3.5.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (9 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 10/46] gnu: rust-async-stream-impl-0.3: Update to 0.3.5 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 12/46] gnu: Add rust-sysctl-0.5 Tomas Volf
` (35 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-async-stream-0.3): Update to 0.3.5.
Change-Id: I037a89b68411da12b2e31f735a879b17cec672ff
---
gnu/packages/crates-io.scm | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8d75f10b19..c063861612 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4750,23 +4750,35 @@ (define-public rust-async-std-0.99
(define-public rust-async-stream-0.3
(package
(name "rust-async-stream")
- (version "0.3.2")
+ (version "0.3.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "async-stream" version))
(file-name (string-append name "-" version ".tar.gz"))
+ ;; I have no idea why tokio-test is missing, I filed:
+ ;; https://github.com/tokio-rs/async-stream/issues/102
+ (modules '((guix build utils)))
+ (snippet
+ '(substitute* "Cargo.toml"
+ (("^\\[dev-dependencies.trybuild]")
+ "[dev-dependencies.tokio-test]
+version = \"0.4\"
+
+[dev-dependencies.trybuild]")))
(sha256
- (base32 "0986b72jksg4lndw76py9glry3snc29bbqrna874wl5jwgkp84qp"))))
+ (base32 "0l8sjq1rylkb1ak0pdyjn83b3k6x36j22myngl4sqqgg7whdsmnd"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--release" "--"
"--skip=test")
#:cargo-inputs
(("rust-async-stream-impl" ,rust-async-stream-impl-0.3)
- ("rust-futures-core" ,rust-futures-core-0.3))
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2))
#:cargo-development-inputs
(("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-rustversion" ,rust-rustversion-1)
("rust-tokio" ,rust-tokio-1)
("rust-tokio-test" ,rust-tokio-test-0.4)
("rust-trybuild" ,rust-trybuild-1))))
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 12/46] gnu: Add rust-sysctl-0.5.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (10 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 11/46] gnu: rust-async-stream-0.3: " Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 13/46] gnu: Add rust-prost-derive-0.12 Tomas Volf
` (34 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-sysctl-0.5): New variable.
Change-Id: I439a9d91a2eca69b46194b0f7f62f86ef54b6cf3
---
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 c063861612..1be35e317e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66501,6 +66501,32 @@ (define-public rust-syscallz-0.16
#:cargo-development-inputs
(("rust-libc" ,rust-libc-0.2))))))
+(define-public rust-sysctl-0.5
+ (package
+ (name "rust-sysctl")
+ (version "0.5.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sysctl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sly34bm4w2vcfqgn7f6255pxwa2wa4vkzdrz2x0drgyy32xszgc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-enum-as-inner" ,rust-enum-as-inner-0.6)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (home-page "https://github.com/johalun/sysctl-rs")
+ (synopsis "Simplified interface to libc::sysctl")
+ (description "This crate provides a safe interface for reading and writing
+information to the kernel using the sysctl interface.")
+ (license license:expat)))
+
(define-public rust-sysctl-0.4
(package
(name "rust-sysctl")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 13/46] gnu: Add rust-prost-derive-0.12.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (11 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 12/46] gnu: Add rust-sysctl-0.5 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 14/46] gnu: Add rust-prost-0.12 Tomas Volf
` (33 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-prost-derive-0.12): New variable.
Change-Id: I730689df44c7d087dda33e7c449b99a502d74517
---
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 1be35e317e..7dd9cc18eb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49508,6 +49508,35 @@ (define-public rust-proptest-derive-0.1
("rust-criterion" ,rust-criterion-0.2)
("rust-proptest" ,rust-proptest-0.9))))))
+(define-public rust-prost-derive-0.12
+ (package
+ (name "rust-prost-derive")
+ (version "0.12.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "prost-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03l4yf6pdjvc4sgbvln2srq1avzm1ai86zni4hhqxvqxvnhwkdpg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/tokio-rs/prost")
+ (synopsis "Handles generating encoding and decoding implementations for
+types with @code{prost} annotation")
+ (description
+ "@code{prost-derive} handles generating encoding and decoding
+implementations for Rust types annotated with @code{prost} annotation. For
+the most part, users of @code{prost} shouldn't need to interact with
+@code{prost-derive} directly.")
+ (license license:asl2.0)))
+
(define-public rust-prost-derive-0.9
(package
(name "rust-prost-derive")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 14/46] gnu: Add rust-prost-0.12.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (12 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 13/46] gnu: Add rust-prost-derive-0.12 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 15/46] gnu: Add rust-prost-types-0.12 Tomas Volf
` (32 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-prost-0.12): New variable.
Change-Id: Ic186fee7eeca265047f713916e84ce0f72756765
---
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 7dd9cc18eb..083cd93616 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49564,6 +49564,29 @@ (define-public rust-prost-derive-0.9
language.")
(license license:asl2.0)))
+(define-public rust-prost-0.12
+ (package
+ (name "rust-prost")
+ (version "0.12.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "prost" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jmrhlb4jkiylz72xb14vlkfbmlq0jwv7j20ini9harhvaf2hv0l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-prost-derive" ,rust-prost-derive-0.12))))
+ (home-page "https://github.com/tokio-rs/prost")
+ (synopsis "A Protocol Buffers implementation for the Rust Language")
+ (description
+ "This package provides a Protocol Buffers implementation for the Rust
+Language.")
+ (license license:asl2.0)))
+
(define-public rust-prost-0.9
(package
(name "rust-prost")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 15/46] gnu: Add rust-prost-types-0.12.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (13 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 14/46] gnu: Add rust-prost-0.12 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 16/46] gnu: Add rust-prost-build-0.12 Tomas Volf
` (31 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-prost-types-0.12): New variable.
Change-Id: Ib6adbb23a6d7fed2c6a8b38754ccb63e7ada909b
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 083cd93616..6465099784 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49564,6 +49564,28 @@ (define-public rust-prost-derive-0.9
language.")
(license license:asl2.0)))
+(define-public rust-prost-types-0.12
+ (package
+ (name "rust-prost-types")
+ (version "0.12.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "prost-types" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03j73llzljdxv9cdxp4m3vb9j3gh4y24rkbx48k3rx6wkvsrhf0r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-prost" ,rust-prost-0.12))))
+ (home-page "https://github.com/tokio-rs/prost")
+ (synopsis "Prost definitions of Protocol Buffers well known types")
+ (description
+ "Prost definitions of Protocol Buffers well known types. See the
+Protobuf reference for more information about well known types.")
+ (license license:asl2.0)))
+
(define-public rust-prost-0.12
(package
(name "rust-prost")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 16/46] gnu: Add rust-prost-build-0.12.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (14 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 15/46] gnu: Add rust-prost-types-0.12 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 17/46] gnu: Add rust-tonic-build-0.10 Tomas Volf
` (30 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-prost-build-0.12): New variable.
Change-Id: I2a44bdae93d7db60cb7705a552f85205e99409a2
---
gnu/packages/crates-io.scm | 59 ++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6465099784..771e9939a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -103,6 +103,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages protobuf)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages rust)
@@ -49609,6 +49610,64 @@ (define-public rust-prost-0.12
Language.")
(license license:asl2.0)))
+(define-public rust-prost-build-0.12
+ (package
+ (name "rust-prost-build")
+ (version "0.12.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "prost-build" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (modules '((ice-9 string-fun)
+ (ice-9 textual-ports)))
+ (snippet
+ #~(let* ((fname "src/lib.rs")
+ (data-old (call-with-input-file fname get-string-all))
+ (data-new (string-replace-substring
+ data-old
+ "env::var_os(\"PROTOC\")
+ .map(PathBuf::from)
+ .or_else(|| which::which(\"protoc\").ok())
+ .expect(&msg)"
+ (string-append
+ "PathBuf::from(\""
+ #$protobuf
+ "/bin/protoc\")"))))
+ (if (string=? data-old data-new)
+ (error "Nothing replaced, phase needs an update."))
+ (call-with-output-file fname
+ (lambda (port)
+ (display data-new port)))))
+ (sha256
+ (base32 "1lp2l1l65l163yggk9nw5mjb2fqwzz12693af5phn1v0abih4pn5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-heck" ,rust-heck-0.4)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-multimap" ,rust-multimap-0.8)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-petgraph" ,rust-petgraph-0.6)
+ ("rust-prettyplease" ,rust-prettyplease-0.2)
+ ("rust-prost" ,rust-prost-0.12)
+ ("rust-prost-types" ,rust-prost-types-0.12)
+ ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9)
+ ("rust-pulldown-cmark-to-cmark" ,rust-pulldown-cmark-to-cmark-10)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-which" ,rust-which-4))
+ #:cargo-native-inputs (("protobuf" ,protobuf))))
+ (home-page "https://github.com/tokio-rs/prost")
+ (synopsis "A Protocol Buffers implementation for the Rust Language")
+ (description
+ "@code{prost-build} makes it easy to generate Rust code from
+@code{.proto} files as part of a Cargo build.")
+ (license license:asl2.0)))
+
(define-public rust-prost-0.9
(package
(name "rust-prost")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 17/46] gnu: Add rust-tonic-build-0.10.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (15 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 16/46] gnu: Add rust-prost-build-0.12 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 18/46] gnu: Add rust-tonic-0.10 Tomas Volf
` (29 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-web.scm (rust-tonic-build-0.10): New variable.
Change-Id: Idc357b29f07d6016fdb690bae74038bc8192b407
---
gnu/packages/crates-web.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 6f953e7aca..60e0d78f8d 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3582,6 +3582,30 @@ (define-public rust-tiny-http-0.6
("rust-openssl" ,rust-openssl-0.10)
("rust-url" ,rust-url-1))))))
+(define-public rust-tonic-build-0.10
+ (package
+ (name "rust-tonic-build")
+ (version "0.10.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tonic-build" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "129qd12ka65h5f1dzi5mrlz6wndi0pfx1320lawq51f18k01y0lx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-prettyplease" ,rust-prettyplease-0.2)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-prost-build" ,rust-prost-build-0.12)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/hyperium/tonic")
+ (synopsis "Codegen module of @code{tonic} gRPC implementation")
+ (description "Codegen module of @code{tonic} @code{gRPC} implementation.")
+ (license license:expat)))
+
(define-public rust-tonic-0.6
(package
(name "rust-tonic")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 18/46] gnu: Add rust-tonic-0.10.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (16 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 17/46] gnu: Add rust-tonic-build-0.10 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 19/46] gnu: Add rust-nftables-0.3 Tomas Volf
` (28 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-web.scm (rust-tonic-0.10): New variable.
Change-Id: I302475ac0af4eeecdd7908a5aa5054dcba35653b
---
gnu/packages/crates-web.scm | 48 +++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 60e0d78f8d..0a1d0cfd09 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3606,6 +3606,54 @@ (define-public rust-tonic-build-0.10
(description "Codegen module of @code{tonic} @code{gRPC} implementation.")
(license license:expat)))
+(define-public rust-tonic-0.10
+ (package
+ (name "rust-tonic")
+ (version "0.10.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tonic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03hx1b2810p4jmsphbql8cn3r22c9n1ar73bj8azf7761lx96q6m"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-stream" ,rust-async-stream-0.3)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-axum" ,rust-axum-0.6)
+ ("rust-base64" ,rust-base64-0.21)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-h2" ,rust-h2-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-http-body" ,rust-http-body-0.4)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-hyper-timeout" ,rust-hyper-timeout-0.4)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-prost" ,rust-prost-0.12)
+ ("rust-rustls" ,rust-rustls-0.21)
+ ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+ ("rust-rustls-pemfile" ,rust-rustls-pemfile-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tower-layer" ,rust-tower-layer-0.3)
+ ("rust-tower-service" ,rust-tower-service-0.3)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.25))))
+ (home-page "https://github.com/hyperium/tonic")
+ (synopsis
+ "A gRPC over HTTP/2 implementation focused on high performance,
+interoperability, and flexibility")
+ (description
+ "This package provides a @code{gRPC} over HTTP/2 implementation focused
+on high performance, interoperability, and flexibility.")
+ (license license:expat)))
+
(define-public rust-tonic-0.6
(package
(name "rust-tonic")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 19/46] gnu: Add rust-nftables-0.3.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (17 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 18/46] gnu: Add rust-tonic-0.10 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 20/46] gnu: Add rust-netlink-sys-0.8 Tomas Volf
` (27 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-nftables-0.3): New variable.
Change-Id: I238e5dc9bb99d03428df3bd9199c10699ec63f28
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 771e9939a7..91fcaf1c5e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40076,6 +40076,34 @@ (define-public rust-newtype-derive-0.1
(license (list license:expat
license:asl2.0))))
+(define-public rust-nftables-0.3
+ (package
+ (name "rust-nftables")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nftables" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lmn2qkd5d24ip963ijj864djmqnm0q2mvgansbkv82fqysiplbi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1)
+ ("rust-strum" ,rust-strum-0.25)
+ ("rust-strum-macros" ,rust-strum-macros-0.25)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://namib.me/")
+ (synopsis
+ "Safe abstraction for nftables JSON API")
+ (description
+ "Safe abstraction for nftables JSON API. It can be used to create
+nftables rulesets in Rust and parse existing nftables rulesets from JSON.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-nibble-vec-0.1
(package
(name "rust-nibble-vec")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 20/46] gnu: Add rust-netlink-sys-0.8.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (18 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 19/46] gnu: Add rust-nftables-0.3 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 21/46] gnu: Add rust-netlink-packet-utils-0.5 Tomas Volf
` (26 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-netlink-sys-0.8): New variable.
Change-Id: I0028e4f9b2c7eb830914abcf9371d24630d3a523
---
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 91fcaf1c5e..6a75d6862d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39900,6 +39900,33 @@ (define-public rust-net2-0.2
(license (list license:asl2.0
license:expat))))
+(define-public rust-netlink-sys-0.8
+ (package
+ (name "rust-netlink-sys")
+ (version "0.8.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "netlink-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04842pp457q7g14d6a61j70k60zg2wrbz0cmda3ka0dcww4bywb4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-io" ,rust-async-io-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mio" ,rust-mio-0.8)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/rust-netlink/netlink-sys")
+ (synopsis "Netlink sockets, with optional integration with tokio")
+ (description "The @code{netlink_sys} crate provides netlink
+sockets. Integration with mio and tokio is optional.")
+ (license license:expat)))
+
(define-public rust-netmap-sys-0.1
(package
(name "rust-netmap-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 21/46] gnu: Add rust-netlink-packet-utils-0.5.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (19 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 20/46] gnu: Add rust-netlink-sys-0.8 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 22/46] gnu: Add rust-netlink-packet-core-0.7 Tomas Volf
` (25 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-netlink-packet-utils-0.5): New variable.
Change-Id: I520429fecfb72cd4e8c267c188081da1f5fdd0dc
---
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 6a75d6862d..10a108761a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39927,6 +39927,29 @@ (define-public rust-netlink-sys-0.8
sockets. Integration with mio and tokio is optional.")
(license license:expat)))
+(define-public rust-netlink-packet-utils-0.5
+ (package
+ (name "rust-netlink-packet-utils")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "netlink-packet-utils" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0d3xfh9zg0x2hbmh8iws0dvhj69prpx54khfvmfakm8sqw48mphf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/rust-netlink/netlink-packet-utils")
+ (synopsis "Macros and helpers for parsing netlink messages")
+ (description "Macros and helpers for parsing netlink messages.")
+ (license license:expat)))
+
(define-public rust-netmap-sys-0.1
(package
(name "rust-netmap-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 22/46] gnu: Add rust-netlink-packet-core-0.7.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (20 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 21/46] gnu: Add rust-netlink-packet-utils-0.5 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 23/46] gnu: Add rust-netlink-packet-generic-0.3 Tomas Volf
` (24 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-netlink-packet-core-0.7): New variable.
Change-Id: I9ca1981a60187241d92855721b40f88039d1ea75
---
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 10a108761a..f1b0ace050 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39950,6 +39950,30 @@ (define-public rust-netlink-packet-utils-0.5
(description "Macros and helpers for parsing netlink messages.")
(license license:expat)))
+(define-public rust-netlink-packet-core-0.7
+ (package
+ (name "rust-netlink-packet-core")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "netlink-packet-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "197dh9c5570135kv5q770n2ih5prhsql58cd71xxcya4f2plywkj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5))))
+ (home-page "https://github.com/rust-netlink/netlink-packet-core")
+ (synopsis "Netlink packet types")
+ (description "The @code{netlink-packet-core} is the glue for all the other
+@code{netlink-packet-*} crates. It provides a @code{NetlinkMessage<T>} type
+that represent any netlink message for any sub-protocol.")
+ (license license:expat)))
+
(define-public rust-netmap-sys-0.1
(package
(name "rust-netmap-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 23/46] gnu: Add rust-netlink-packet-generic-0.3.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (21 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 22/46] gnu: Add rust-netlink-packet-core-0.7 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 24/46] gnu: Add rust-netlink-packet-route-0.18 Tomas Volf
` (23 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-netlink-packet-generic-0.3): New variable.
Change-Id: Iecbcc093e542a74c9ee60f04fcbf8fe6b7b201b1
---
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 f1b0ace050..bc04b1b14b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39927,6 +39927,29 @@ (define-public rust-netlink-sys-0.8
sockets. Integration with mio and tokio is optional.")
(license license:expat)))
+(define-public rust-netlink-packet-generic-0.3
+ (package
+ (name "rust-netlink-packet-generic")
+ (version "0.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "netlink-packet-generic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12rhb95ayx63zb55mz8z5vc5lghk92s8bxmpiimlrj1isf5fpmqw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5))))
+ (home-page "https://github.com/rust-netlink/netlink-packet-generic")
+ (synopsis "Generic netlink packet types")
+ (description "Generic netlink packet types.")
+ (license license:expat)))
+
(define-public rust-netlink-packet-utils-0.5
(package
(name "rust-netlink-packet-utils")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 24/46] gnu: Add rust-netlink-packet-route-0.18.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (22 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 23/46] gnu: Add rust-netlink-packet-generic-0.3 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 25/46] gnu: Add rust-netlink-packet-route-0.19 Tomas Volf
` (22 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-netlink-packet-route-0.18): New variable.
Change-Id: I33dd19fd8bd9376ece7dda55fc585242d464a1e2
---
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 bc04b1b14b..078818d71e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39997,6 +39997,33 @@ (define-public rust-netlink-packet-core-0.7
that represent any netlink message for any sub-protocol.")
(license license:expat)))
+(define-public rust-netlink-packet-route-0.18
+ (package
+ (name "rust-netlink-packet-route")
+ (version "0.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "netlink-packet-route" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1i9z89dy3p2jbs5rclvc6yxly81a4qwynrhyqv3hazj5pgxcv76x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5))))
+ (home-page "https://github.com/rust-netlink/netlink-packet-route")
+ (synopsis "Netlink packet types")
+ (description "The netlink-packet-route crate is designed to abstract
+Netlink route protocol(rtnetlink) packet into Rust data types. The goal of
+this crate is saving netlink user from reading Kernel Netlink codes.")
+ (license license:expat)))
+
(define-public rust-netmap-sys-0.1
(package
(name "rust-netmap-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 25/46] gnu: Add rust-netlink-packet-route-0.19.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (23 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 24/46] gnu: Add rust-netlink-packet-route-0.18 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 26/46] gnu: Add rust-netlink-proto-0.11 Tomas Volf
` (21 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-netlink-packet-route-0.19): New variable.
Change-Id: Id7adc5216b59ce46dda421d2866773fb35b55667
---
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 078818d71e..f88a9dc656 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40024,6 +40024,33 @@ (define-public rust-netlink-packet-route-0.18
this crate is saving netlink user from reading Kernel Netlink codes.")
(license license:expat)))
+(define-public rust-netlink-packet-route-0.19
+ (package
+ (name "rust-netlink-packet-route")
+ (version "0.19.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "netlink-packet-route" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1x4bjc97nq6ckvn25l8qysybf324jbinqx6s11vqrvmlfz6p3hbl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5))))
+ (home-page "https://github.com/rust-netlink/netlink-packet-route")
+ (synopsis "Netlink packet route types")
+ (description "The netlink-packet-route crate is designed to abstract
+Netlink route protocol(rtnetlink) packet into Rust data types. The goal of
+this crate is saving netlink user from reading Kernel Netlink codes.")
+ (license license:expat)))
+
(define-public rust-netmap-sys-0.1
(package
(name "rust-netmap-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 26/46] gnu: Add rust-netlink-proto-0.11.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (24 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 25/46] gnu: Add rust-netlink-packet-route-0.19 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 27/46] gnu: Add rust-genetlink-0.2 Tomas Volf
` (20 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-netlink-proto-0.11): New variable.
Change-Id: I24dc7bcceb49440038acb1c2957c852b9109307e
---
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 f88a9dc656..80acbe7680 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40051,6 +40051,33 @@ (define-public rust-netlink-packet-route-0.19
this crate is saving netlink user from reading Kernel Netlink codes.")
(license license:expat)))
+(define-public rust-netlink-proto-0.11
+ (package
+ (name "rust-netlink-proto")
+ (version "0.11.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "netlink-proto" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "089zwrf5l30cwqgjlcy3k9x97nz6zixl914n6jnvys09vhj3bcw6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+ ("rust-netlink-sys" ,rust-netlink-sys-0.8)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/rust-netlink/netlink-proto")
+ (synopsis "Async netlink protocol")
+ (description "The @code{netlink-proto} crate is an asynchronous
+implementation of the netlink protocol.")
+ (license license:expat)))
+
(define-public rust-netmap-sys-0.1
(package
(name "rust-netmap-sys")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 27/46] gnu: Add rust-genetlink-0.2.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (25 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 26/46] gnu: Add rust-netlink-proto-0.11 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 28/46] gnu: Add rust-mptcp-pm-0.1 Tomas Volf
` (19 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-genetlink-0.2): New variable.
Change-Id: I87e0af6867117463fed777291484cffb564a4f73
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80acbe7680..7ed045f89d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26008,6 +26008,34 @@ (define-public rust-generic-array-0.8
#:cargo-development-inputs
(("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-genetlink-0.2
+ (package
+ (name "rust-genetlink")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "genetlink" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17q7zlmp95fx28zjkzh69g6d5q6rm2a3dkj7yy5jk8gsq5v0128z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+ ("rust-netlink-packet-generic" ,rust-netlink-packet-generic-0.3)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)
+ ("rust-netlink-proto" ,rust-netlink-proto-0.11)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/rust-netlink/genetlink")
+ (synopsis "Communicate with generic netlink")
+ (description "Communicate with generic netlink.")
+ (license license:expat)))
+
(define-public rust-genmesh-0.6
(package
(name "rust-genmesh")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 28/46] gnu: Add rust-mptcp-pm-0.1.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (26 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 27/46] gnu: Add rust-genetlink-0.2 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 29/46] gnu: Add rust-rtnetlink-0.14 Tomas Volf
` (18 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-mptcp-pm-0.1): New variable.
Change-Id: I47eb22e166612b1f8cd63b8daee56eb242dbca4b
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7ed045f89d..a9a00903f1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38368,6 +38368,38 @@ (define-public rust-mp4-0.9
(description "mp4 is a Rust library to read and write ISO-MP4 files.")
(license license:expat)))
+(define-public rust-mptcp-pm-0.1
+ (package
+ (name "rust-mptcp-pm")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mptcp-pm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ma2r9ffp2164s1msfjw78553xccy4i9lvrkbsvhgr6wcgyaibry"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-async-std" ,rust-async-std-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-genetlink" ,rust-genetlink-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+ ("rust-netlink-packet-generic" ,rust-netlink-packet-generic-0.3)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)
+ ("rust-netlink-proto" ,rust-netlink-proto-0.11)
+ ("rust-netlink-sys" ,rust-netlink-sys-0.8)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/rust-netlink/mptcp-pm")
+ (synopsis "Linux kernel MPTCP path manager netlink Library")
+ (description "Linux kernel MPTCP path manager netlink Library.")
+ (license license:expat)))
+
(define-public rust-multer-2
(package
(name "rust-multer")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 29/46] gnu: Add rust-rtnetlink-0.14.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (27 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 28/46] gnu: Add rust-mptcp-pm-0.1 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 30/46] gnu: Add rust-ethtool-0.2 Tomas Volf
` (17 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-rtnetlink-0.14): New variable.
Change-Id: I0127c096062450247a9e40564a809620e92027c6
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a9a00903f1..5d4c5b90b1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16097,6 +16097,38 @@ (define-public rust-rt-format-0.3
character.")
(license license:asl2.0)))
+(define-public rust-rtnetlink-0.14
+ (package
+ (name "rust-rtnetlink")
+ (version "0.14.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rtnetlink" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19dbbky7bcrwk4jhgam148s8ykxc7pfrblxjvmciipyq8i9lg15n"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-async-global-executor" ,rust-async-global-executor-2)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+ ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.19)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)
+ ("rust-netlink-proto" ,rust-netlink-proto-0.11)
+ ("rust-netlink-sys" ,rust-netlink-sys-0.8)
+ ("rust-nix" ,rust-nix-0.27)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/rust-netlink/rtnetlink")
+ (synopsis "Manipulate linux networking resources via netlink")
+ (description "This crate provides methods to manipulate networking
+resources (links, addresses, arp tables, route tables) via the netlink route
+protocol.")
+ (license license:expat)))
+
(define-public rust-rusticata-macros-4
(package
(name "rust-rusticata-macros")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 30/46] gnu: Add rust-ethtool-0.2.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (28 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 29/46] gnu: Add rust-rtnetlink-0.14 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 31/46] gnu: Add rust-nispor-1 Tomas Volf
` (16 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-ethtool-0.2): New variable.
Change-Id: Ifdf2ebb7cfd77412a73e0effeb755b60bb378a2a
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5d4c5b90b1..fb29289aeb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56269,6 +56269,38 @@ (define-public rust-equivalent-1
(description "Traits for key comparison in maps.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-ethtool-0.2
+ (package
+ (name "rust-ethtool")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ethtool" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0nivim6pzfvrnmyb0p7qv39q54vraa0z6jy0ims7gp0panih93hx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-async-std" ,rust-async-std-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-genetlink" ,rust-genetlink-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+ ("rust-netlink-packet-generic" ,rust-netlink-packet-generic-0.3)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)
+ ("rust-netlink-proto" ,rust-netlink-proto-0.11)
+ ("rust-netlink-sys" ,rust-netlink-sys-0.8)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "")
+ (synopsis "Linux Ethtool Communication Library")
+ (description "Linux Ethtool Communication Library.")
+ (license license:expat)))
+
(define-public rust-rust-hawktracer-0.7
(package
(name "rust-rust-hawktracer")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 31/46] gnu: Add rust-nispor-1.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (29 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 30/46] gnu: Add rust-ethtool-0.2 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 32/46] gnu: Add rust-etherparse-0.13 Tomas Volf
` (15 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-nispor-1): New variable.
Change-Id: I6082ba44b5d3e63bbaf194389cd59c2a8a1e0dff
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fb29289aeb..376c80091e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40517,6 +40517,37 @@ (define-public rust-nitrokey-test-state-0.1
nitrokey-test crate.")
(license license:gpl3+)))
+(define-public rust-nispor-1
+ (package
+ (name "rust-nispor")
+ (version "1.2.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nispor" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jp0fs6sy8cpg0gi7jkh215czbx3b8p0kygimpx0abgg6mx2955b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-ethtool" ,rust-ethtool-0.2)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mptcp-pm" ,rust-mptcp-pm-0.1)
+ ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.19)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)
+ ("rust-netlink-sys" ,rust-netlink-sys-0.8)
+ ("rust-rtnetlink" ,rust-rtnetlink-0.14)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/nispor/nispor")
+ (synopsis "Unified interface for Linux network state querying")
+ (description "Unified interface for Linux network state querying.")
+ (license license:asl2.0)))
+
(define-public rust-nix-0.27
(package
(name "rust-nix")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 32/46] gnu: Add rust-etherparse-0.13.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (30 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 31/46] gnu: Add rust-nispor-1 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 33/46] gnu: Add rust-dhcproto-macros-0.1 Tomas Volf
` (14 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-etherparse-0.13): New variable.
Change-Id: I06afa106197f5547d744092ced03d6327bb77315
---
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 376c80091e..c174ec33f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56332,6 +56332,29 @@ (define-public rust-ethtool-0.2
(description "Linux Ethtool Communication Library.")
(license license:expat)))
+(define-public rust-etherparse-0.13
+ (package
+ (name "rust-etherparse")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "etherparse" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "146rcbnhlpcbl6c6csfhvz0227wbiwhk13md6acq8211b7m94wl2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7))))
+ (home-page "https://github.com/JulianSchmid/etherparse")
+ (synopsis
+ "A library for parsing & writing a bunch of packet based protocols")
+ (description
+ "This package provides a library for parsing & writing a bunch of packet
+based protocols (@code{EthernetII}, IPv4, IPv6, UDP, TCP ...).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rust-hawktracer-0.7
(package
(name "rust-rust-hawktracer")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 33/46] gnu: Add rust-dhcproto-macros-0.1.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (31 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 32/46] gnu: Add rust-etherparse-0.13 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 34/46] gnu: Add rust-dhcproto-0.9 Tomas Volf
` (13 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-dhcproto-macros-0.1): New variable.
Change-Id: Ifb07383e9d08fd4911d4de641e3847b7025f3424
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c174ec33f6..82caf5b1c6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18951,6 +18951,27 @@ (define-public rust-devise-core-0.2
("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.15))))))
+(define-public rust-dhcproto-macros-0.1
+ (package
+ (name "rust-dhcproto-macros")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dhcproto-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0w61gvnm17frkm6mk8q4xkwd1iji946lj5f175w585h4hvxkx6d7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/bluecatengineering/dhcproto")
+ (synopsis "A macro library for generating option types for dhcproto")
+ (description
+ "This package provides a macro library for generating option types for
+dhcproto.")
+ (license license:expat)))
+
(define-public rust-dhcp4r-0.2
(package
(name "rust-dhcp4r")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 34/46] gnu: Add rust-dhcproto-0.9.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (32 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 33/46] gnu: Add rust-dhcproto-macros-0.1 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 35/46] gnu: Add rust-mozim-0.2 Tomas Volf
` (12 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-dhcproto-0.9): New variable.
Change-Id: Iac0f123908885695d14a71bcf32cc2658af2d013
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 82caf5b1c6..f967f96224 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18972,6 +18972,36 @@ (define-public rust-dhcproto-macros-0.1
dhcproto.")
(license license:expat)))
+(define-public rust-dhcproto-0.9
+ (package
+ (name "rust-dhcproto")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dhcproto" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hsbl77lxvxa94ihn2vna1sx2icrkch427w24a883xymhm9h9vnw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-dhcproto-macros" ,rust-dhcproto-macros-0.1)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-ipnet" ,rust-ipnet-2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.22)
+ ("rust-url" ,rust-url-2))))
+ (home-page "https://github.com/bluecatengineering/dhcproto")
+ (synopsis
+ "A DHCP parser and encoder for DHCPv4/DHCPv6")
+ (description
+ "This package provides a DHCP parser and encoder for DHCPv4/DHCPv6.
+@code{dhcproto} aims to be a functionally complete DHCP implementation.")
+ (license license:expat)))
+
(define-public rust-dhcp4r-0.2
(package
(name "rust-dhcp4r")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 35/46] gnu: Add rust-mozim-0.2.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (33 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 34/46] gnu: Add rust-dhcproto-0.9 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 36/46] gnu: Add rust-iptables-0.5 Tomas Volf
` (11 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-mozim-0.2): New variable.
Change-Id: Ia9e33d111adc2e735011dba43f91b99f88eb0833
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f967f96224..7f4e01b4b1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38424,6 +38424,34 @@ (define-public rust-more-asserts-0.3
debug_assert_* macros.")
(license (list license:unlicense license:expat license:asl2.0 license:cc0))))
+(define-public rust-mozim-0.2
+ (package
+ (name "rust-mozim")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mozim" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14f4k92zfr1mm2qhq6j3bq277j4wfdlj24lb96py0jrivz81a70c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-dhcproto" ,rust-dhcproto-0.9)
+ ("rust-etherparse" ,rust-etherparse-0.13)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nispor" ,rust-nispor-1)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/nispor/mozim")
+ (synopsis "DHCP Client Library")
+ (description "DHCP Client Library.")
+ (license license:asl2.0)))
+
(define-public rust-mp4-0.9
(package
(name "rust-mp4")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 36/46] gnu: Add rust-iptables-0.5.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (34 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 35/46] gnu: Add rust-mozim-0.2 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 37/46] gnu: Add rust-env-filter-0.1 Tomas Volf
` (10 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-iptables-0.5): New variable.
Change-Id: I8f164dd9af75fbafdc12a71169afaca01677c253
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7f4e01b4b1..c5c561805a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31153,6 +31153,28 @@ (define-public rust-ipnetwork-0.17
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-iptables-0.5
+ (package
+ (name "rust-iptables")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "iptables" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0a96p8fq70v3z2rjf4c461pqhad6nkibs7sfgydkrf7ys1r0v7yk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-nix" ,rust-nix-0.27)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/yaa110/rust-iptables")
+ (synopsis "Rust bindings for iptables")
+ (description "Rust bindings for iptables.")
+ (license license:expat)))
+
(define-public rust-is-debug-1
(package
(name "rust-is-debug")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 37/46] gnu: Add rust-env-filter-0.1.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (35 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 36/46] gnu: Add rust-iptables-0.5 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 38/46] gnu: rust-anstyle-1: Update to 1.0.6 Tomas Volf
` (9 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-env-filter-0.1): New variable.
Change-Id: I48aad5543b65e6a790336d3e08d35eae0a1de622
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c5c561805a..c85d5ac932 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21778,6 +21778,27 @@ (define-public rust-env-logger-0.3
(("rust-regex" ,rust-regex-0.1)
("rust-log" ,rust-log-0.3))))))
+(define-public rust-env-filter-0.1
+ (package
+ (name "rust-env-filter")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "env_filter" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1spp4jx0fissi0bg00d8nn4vnjwf6y3hr7d0vmcq65gb214al2d0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-log" ,rust-log-0.4)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/rust-cli/env_logger")
+ (synopsis "Filter log events using environment variables")
+ (description "Filter log events using environment variables.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-env-proxy-0.4
(package
(name "rust-env-proxy")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 38/46] gnu: rust-anstyle-1: Update to 1.0.6.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (36 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 37/46] gnu: Add rust-env-filter-0.1 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 39/46] gnu: Add rust-env-logger-0.11 Tomas Volf
` (8 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-anstyle-1): Update to 1.0.6.
Change-Id: I3c9dbefd8b09abc9b060f0af44be6942e1f11a30
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c85d5ac932..3d05484ba9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1624,14 +1624,14 @@ (define-public rust-anstream-0.3
(define-public rust-anstyle-1
(package
(name "rust-anstyle")
- (version "1.0.4")
+ (version "1.0.6")
(source (origin
(method url-fetch)
(uri (crate-uri "anstyle" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "11yxw02b6parn29s757z96rgiqbn8qy0fk9a3p3bhczm85dhfybh"))))
+ "1g1ngvxrz9d6xsymxzzzg581jzyz1sn8d0jpjcwxks07cff2c0c9"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 39/46] gnu: Add rust-env-logger-0.11.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (37 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 38/46] gnu: rust-anstyle-1: Update to 1.0.6 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 40/46] gnu: rust-rkyv-derive-0.7: Update to 0.7.44 Tomas Volf
` (7 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-env-logger-0.11): New variable.
Change-Id: I728e7d3814d39b95eaa13003bd62c8f7911162bc
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3d05484ba9..b7ebfceb2b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21605,6 +21605,34 @@ (define-public rust-enumset-derive-0.5
@code{rust-enumset}. It is not public API.")
(license (list license:expat license:asl2.0))))
+(define-public rust-env-logger-0.11
+ (package
+ (name "rust-env-logger")
+ (version "0.11.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "env_logger" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07932957jds3h7vh2bddhvfffax78dw6jlyx4k2fy1gnlwk2l0bc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anstream" ,rust-anstream-0.6)
+ ("rust-anstyle" ,rust-anstyle-1)
+ ("rust-env-filter" ,rust-env-filter-0.1)
+ ("rust-humantime" ,rust-humantime-2)
+ ("rust-log" ,rust-log-0.4))))
+ (home-page "https://github.com/rust-cli/env_logger")
+ (synopsis
+ "A logging implementation for @code{log} configured via an environment
+variable")
+ (description
+ "This package provides a logging implementation for @code{log} which is
+configured via an environment variable.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-env-logger-0.10
(package
(name "rust-env-logger")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 40/46] gnu: rust-rkyv-derive-0.7: Update to 0.7.44.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (38 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 39/46] gnu: Add rust-env-logger-0.11 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 41/46] gnu: rust-rkyv-0.7: " Tomas Volf
` (6 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-rkyv-derive-0.7): Update to 0.7.44.
Change-Id: I357f3de5bf7716ecff3a28e81dfafc47ca6442fa
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b7ebfceb2b..7a5c03a6c4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57976,14 +57976,14 @@ (define-public rust-rkyv-0.6
(define-public rust-rkyv-derive-0.7
(package
(name "rust-rkyv-derive")
- (version "0.7.42")
+ (version "0.7.44")
(source (origin
(method url-fetch)
(uri (crate-uri "rkyv_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "07alynj16yqlyprlwqd8av157rrywvid2dm7swbhl8swbf8npq5j"))))
+ "0rbwvbxka171bvhj60yjaxn77ipi5d1nwknnp5i6ypp2ipzxzpd7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 41/46] gnu: rust-rkyv-0.7: Update to 0.7.44.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (39 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 40/46] gnu: rust-rkyv-derive-0.7: Update to 0.7.44 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 42/46] gnu: Add rust-pure-rust-locales-0.8 Tomas Volf
` (5 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-rkyv-0.7): Update to 0.7.44.
Change-Id: Ifbc9b88c743f968400713d562c651085c567a9dc
---
gnu/packages/crates-io.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7a5c03a6c4..48290ab13e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57923,20 +57923,21 @@ (define-public rust-ruzstd-0.4
(define-public rust-rkyv-0.7
(package
(name "rust-rkyv")
- (version "0.7.42")
+ (version "0.7.44")
(source (origin
(method url-fetch)
(uri (crate-uri "rkyv" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0n2wzwnghkr2ny16c08f5szbkljfqrp3s8fnnb096f011ciwh002"))))
+ "1h4rpjn15bfldwb2j3zlmv3zaksvizzl1yf6vg24yfdk5534dfjw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-arrayvec" ,rust-arrayvec-0.7)
("rust-bitvec" ,rust-bitvec-1)
("rust-bytecheck" ,rust-bytecheck-0.6)
+ ("rust-bytes" ,rust-bytes-1)
("rust-hashbrown" ,rust-hashbrown-0.12)
("rust-indexmap" ,rust-indexmap-1)
("rust-ptr-meta" ,rust-ptr-meta-0.1)
@@ -57944,6 +57945,7 @@ (define-public rust-rkyv-0.7
("rust-rkyv-derive" ,rust-rkyv-derive-0.7)
("rust-seahash" ,rust-seahash-4)
("rust-smallvec" ,rust-smallvec-1)
+ ("rust-smol-str" ,rust-smol-str-0.2)
("rust-tinyvec" ,rust-tinyvec-1)
("rust-uuid" ,rust-uuid-1))))
(home-page "https://github.com/rkyv/rkyv")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 42/46] gnu: Add rust-pure-rust-locales-0.8.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (40 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 41/46] gnu: rust-rkyv-0.7: " Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 43/46] gnu: Add rust-windows-metadata-0.52 Tomas Volf
` (4 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-pure-rust-locales-0.8): New variable.
Change-Id: I6a426cc2cbffd9d3b3ef40abf423d7a28c8c9469
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 48290ab13e..58687645d4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50720,6 +50720,28 @@ (define-public rust-pulse-0.5
(description "This package provides a library for async wake signals.")
(license license:asl2.0)))
+(define-public rust-pure-rust-locales-0.8
+ (package
+ (name "rust-pure-rust-locales")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pure-rust-locales" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fkkwggiq2053rmiah2h06dz6w3yhy9pa82g30vy3sbcmqcgv40i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/cecton/pure-rust-locales")
+ (synopsis
+ "Pure Rust locales imported directly from the GNU C Library")
+ (description
+ "Pure Rust locales imported directly from the GNU C
+Library. @code{LC_COLLATE} and @code{LC_CTYPE} are not yet supported.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pure-rust-locales-0.7
(package
(name "rust-pure-rust-locales")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 43/46] gnu: Add rust-windows-metadata-0.52.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (41 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 42/46] gnu: Add rust-pure-rust-locales-0.8 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 44/46] gnu: Add rust-windows-bindgen-0.52 Tomas Volf
` (3 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-windows.scm (rust-windows-metadata-0.52): New variable.
Change-Id: Ic8c951050bec955b05d2c9fe25da186e23b16f9a
---
gnu/packages/crates-windows.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 79a8674454..f88770089c 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1936,6 +1936,25 @@ (define-public rust-windows-interface-0.39
(sha256
(base32 "00h56znmak3p8bh28y3s48m5zv6q7dn40vnvf3dzf0sz5rszrym2"))))))
+(define-public rust-windows-metadata-0.52
+ (package
+ (name "rust-windows-metadata")
+ (version "0.52.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-metadata" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vz49s2mm74fmjabh3kxxhzbz16ys41b78jgi6xwssp2069db3r1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Windows metadata reader")
+ (description "Windows metadata reader")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-metadata-0.51
(package
(name "rust-windows-metadata")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 44/46] gnu: Add rust-windows-bindgen-0.52.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (42 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 43/46] gnu: Add rust-windows-metadata-0.52 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 45/46] gnu: rust-chrono-0.4: Update to 0.4.34 Tomas Volf
` (2 subsequent siblings)
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-windows.scm (rust-windows-bindgen-0.52): New variable.
Change-Id: Ib84ff26569bc34d94c1a69062d70960eac58152d
---
gnu/packages/crates-windows.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index f88770089c..2de13f63a1 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1526,6 +1526,28 @@ (define-public rust-windows-aarch64-msvc-0.28
(base32
"1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj"))))))
+(define-public rust-windows-bindgen-0.52
+ (package
+ (name "rust-windows-bindgen")
+ (version "0.52.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-bindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "071lrbhbvh0l8m1wf5000xxmcry1gjpqdxcqm23qmss9d05zn3lp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-windows-metadata" ,rust-windows-metadata-0.52))))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Windows metadata compiler")
+ (description "Windows metadata compiler")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-bindgen-0.51
(package
(name "rust-windows-bindgen")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 45/46] gnu: rust-chrono-0.4: Update to 0.4.34.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (43 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 44/46] gnu: Add rust-windows-bindgen-0.52 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 46/46] gnu: Add netavark Tomas Volf
2024-02-18 12:39 ` [bug#69169] [bug#69170] [PATCH rust-team 00/46] " Efraim Flashner
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/crates-io.scm (rust-chrono-0.4): Update to 0.4.34.
Change-Id: I06649d305451b00f3d278304d6c14d7cfc90b1e2
---
gnu/packages/crates-io.scm | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 58687645d4..23af108295 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10704,14 +10704,14 @@ (define-public rust-charset-0.1
(define-public rust-chrono-0.4
(package
(name "rust-chrono")
- (version "0.4.31")
+ (version "0.4.34")
(source
(origin
(method url-fetch)
(uri (crate-uri "chrono" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0f6vg67pipm8cziad2yms6a639pssnvysk1m05dd9crymmdnhb3z"))))
+ (base32 "12zk0ja924f55va2fs0qj34xaygq46fy92blmc7qkmcj9dj1bh2v"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -10720,18 +10720,17 @@ (define-public rust-chrono-0.4
("rust-iana-time-zone" ,rust-iana-time-zone-0.1)
("rust-js-sys" ,rust-js-sys-0.3)
("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-pure-rust-locales" ,rust-pure-rust-locales-0.7)
+ ("rust-pure-rust-locales" ,rust-pure-rust-locales-0.8)
("rust-rkyv" ,rust-rkyv-0.7)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-serde" ,rust-serde-1)
- ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
- ("rust-windows-targets" ,rust-windows-targets-0.48))
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
- ("rust-windows-bindgen" ,rust-windows-bindgen-0.51))
+ ("rust-windows-bindgen" ,rust-windows-bindgen-0.52))
#:features '("unstable-locales")
#:tests? #f))
(home-page "https://github.com/chronotope/chrono")
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69170] [PATCH rust-team 46/46] gnu: Add netavark.
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (44 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 45/46] gnu: rust-chrono-0.4: Update to 0.4.34 Tomas Volf
@ 2024-02-15 20:26 ` Tomas Volf
2024-02-18 12:39 ` [bug#69169] [bug#69170] [PATCH rust-team 00/46] " Efraim Flashner
46 siblings, 0 replies; 50+ messages in thread
From: Tomas Volf @ 2024-02-15 20:26 UTC (permalink / raw)
To: 69170; +Cc: Tomas Volf, Efraim Flashner
* gnu/packages/rust-apps.scm (netavark): New variable.
Change-Id: I0febde1f419fe16154e55b7a72dd29554e939fba
---
gnu/packages/rust-apps.scm | 57 ++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 93eb4ca68b..71ef962eb3 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -2987,3 +2987,60 @@ (define-public htmlq
(synopsis "Like jq, but for HTML")
(description "Extract content from HTML files using CSS selectors.")
(license license:expat)))
+
+(define-public netavark
+ (package
+ (name "netavark")
+ (version "1.10.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "netavark" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1viyj9xqq9hkcsghrfx7wjmky3hkxfr96952f9favd4zg9ih64yw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-env-logger" ,rust-env-logger-0.11)
+ ("rust-fs2" ,rust-fs2-0.4)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-ipnet" ,rust-ipnet-2)
+ ("rust-iptables" ,rust-iptables-0.5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mozim" ,rust-mozim-0.2)
+ ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7)
+ ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.18)
+ ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)
+ ("rust-netlink-sys" ,rust-netlink-sys-0.8)
+ ("rust-nftables" ,rust-nftables-0.3)
+ ("rust-nispor" ,rust-nispor-1)
+ ("rust-nix" ,rust-nix-0.27)
+ ("rust-prost" ,rust-prost-0.12)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-value" ,rust-serde-value-0.7)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-sysctl" ,rust-sysctl-0.5)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tonic" ,rust-tonic-0.10)
+ ("rust-tonic-build" ,rust-tonic-build-0.10)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-url" ,rust-url-2)
+ ("rust-zbus" ,rust-zbus-3))
+ #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/containers/netavark")
+ (synopsis "A container network stack")
+ (description "Netavark is a rust based network stack for containers. It
+is being designed to work with Podman but is also applicable for other OCI
+container management applications.")
+ (license license:asl2.0)))
--
2.41.0
^ permalink raw reply related [flat|nested] 50+ messages in thread
* [bug#69169] [bug#69170] [PATCH rust-team 00/46] Add netavark
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
` (45 preceding siblings ...)
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 46/46] gnu: Add netavark Tomas Volf
@ 2024-02-18 12:39 ` Efraim Flashner
2024-02-18 14:04 ` Tomas Volf
46 siblings, 1 reply; 50+ messages in thread
From: Efraim Flashner @ 2024-02-18 12:39 UTC (permalink / raw)
To: Tomas Volf; +Cc: 69170-done, 69169-done
[-- Attachment #1: Type: text/plain, Size: 3023 bytes --]
I pushed the patches to the rust-team branch without the change for
cargo-native-inputs and without the snippet for prost-build. I also
adjusted some of the patches so that the packages built.
On Thu, Feb 15, 2024 at 09:25:48PM +0100, Tomas Volf wrote:
> This series adds netavark, which will be required for next major version of
> podman.
>
> It also adds new #:cargo-native-inputs argument to the build system in order
> to support crates that call native tooling during a build (prost-build)
> without the need to have (native-inputs) on all user.
>
> Tomas Volf (46):
> build-system: cargo: Add #:cargo-native-inputs argument.
> gnu: Add rust-pulldown-cmark-to-cmark-10.
> gnu: Add rust-sync-wrapper-0.1.
> gnu: Add rust-multer-2.
> gnu: Add rust-iri-string-0.7.
> gnu: Add rust-tower-http-0.4.
> gnu: Add rust-axum-macros-0.3.
> gnu: Add rust-axum-core-0.3.
> gnu: Add rust-axum-0.6.
> gnu: rust-async-stream-impl-0.3: Update to 0.3.5.
> gnu: rust-async-stream-0.3: Update to 0.3.5.
> gnu: Add rust-sysctl-0.5.
> gnu: Add rust-prost-derive-0.12.
> gnu: Add rust-prost-0.12.
> gnu: Add rust-prost-types-0.12.
> gnu: Add rust-prost-build-0.12.
> gnu: Add rust-tonic-build-0.10.
> gnu: Add rust-tonic-0.10.
> gnu: Add rust-nftables-0.3.
> gnu: Add rust-netlink-sys-0.8.
> gnu: Add rust-netlink-packet-utils-0.5.
> gnu: Add rust-netlink-packet-core-0.7.
> gnu: Add rust-netlink-packet-generic-0.3.
> gnu: Add rust-netlink-packet-route-0.18.
> gnu: Add rust-netlink-packet-route-0.19.
> gnu: Add rust-netlink-proto-0.11.
> gnu: Add rust-genetlink-0.2.
> gnu: Add rust-mptcp-pm-0.1.
> gnu: Add rust-rtnetlink-0.14.
> gnu: Add rust-ethtool-0.2.
> gnu: Add rust-nispor-1.
> gnu: Add rust-etherparse-0.13.
> gnu: Add rust-dhcproto-macros-0.1.
> gnu: Add rust-dhcproto-0.9.
> gnu: Add rust-mozim-0.2.
> gnu: Add rust-iptables-0.5.
> gnu: Add rust-env-filter-0.1.
> gnu: rust-anstyle-1: Update to 1.0.6.
> gnu: Add rust-env-logger-0.11.
> gnu: rust-rkyv-derive-0.7: Update to 0.7.44.
> gnu: rust-rkyv-0.7: Update to 0.7.44.
> gnu: Add rust-pure-rust-locales-0.8.
> gnu: Add rust-windows-metadata-0.52.
> gnu: Add rust-windows-bindgen-0.52.
> gnu: rust-chrono-0.4: Update to 0.4.34.
> gnu: Add netavark.
>
> doc/guix.texi | 4 +-
> gnu/packages/crates-io.scm | 881 +++++++++++++++++++++++++++++++-
> gnu/packages/crates-web.scm | 218 ++++++++
> gnu/packages/crates-windows.scm | 41 ++
> gnu/packages/rust-apps.scm | 57 +++
> guix/build-system/cargo.scm | 17 +-
> 6 files changed, 1194 insertions(+), 24 deletions(-)
>
>
> base-commit: c5a716a965ca8881a9fb150c2cee8da4c1e62d10
> --
> 2.41.0
>
>
--
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] 50+ messages in thread
* [bug#69170] [PATCH rust-team 00/46] Add netavark
2024-02-18 12:39 ` [bug#69169] [bug#69170] [PATCH rust-team 00/46] " Efraim Flashner
@ 2024-02-18 14:04 ` Tomas Volf
2024-02-20 7:50 ` [bug#69169] " Efraim Flashner
0 siblings, 1 reply; 50+ messages in thread
From: Tomas Volf @ 2024-02-18 14:04 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 69170, 69169
[-- Attachment #1: Type: text/plain, Size: 834 bytes --]
On 2024-02-18 14:39:23 +0200, Efraim Flashner wrote:
> I pushed the patches to the rust-team branch without the change for
> cargo-native-inputs and without the snippet for prost-build. I also
> adjusted some of the patches so that the packages built.
Well I am just happy it was merged, so no complains here, but I have to admit I
am curious. Is it really expected that every user of prost-build will need to
add protobuf into native-inputs?
What if, in some new version, it starts requiring some-other-package instead of
protobuf? All the downstream users will need to be adjusted as well. That
seems somewhat sub-optimal. So I am trying to understand the reasoning here.
Thanks and have a nice day,
Tomas Volf
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 50+ messages in thread
* [bug#69169] [bug#69170] [PATCH rust-team 00/46] Add netavark
2024-02-18 14:04 ` Tomas Volf
@ 2024-02-20 7:50 ` Efraim Flashner
0 siblings, 0 replies; 50+ messages in thread
From: Efraim Flashner @ 2024-02-20 7:50 UTC (permalink / raw)
To: Tomas Volf; +Cc: 69170, 69169
[-- Attachment #1: Type: text/plain, Size: 2272 bytes --]
On Sun, Feb 18, 2024 at 03:04:12PM +0100, Tomas Volf wrote:
> On 2024-02-18 14:39:23 +0200, Efraim Flashner wrote:
> > I pushed the patches to the rust-team branch without the change for
> > cargo-native-inputs and without the snippet for prost-build. I also
> > adjusted some of the patches so that the packages built.
>
> Well I am just happy it was merged, so no complains here, but I have to admit I
> am curious. Is it really expected that every user of prost-build will need to
> add protobuf into native-inputs?
Only in situations where it is needed. In actuality we only needed it
in prost-build itself and in netavark.
> What if, in some new version, it starts requiring some-other-package instead of
> protobuf? All the downstream users will need to be adjusted as well. That
> seems somewhat sub-optimal. So I am trying to understand the reasoning here.
The patch you sent hardcoded the path to protobuf into the source of
prost-build, which we try not to do. Also, using something like
cargo-native-inputs is (to me) a little "too magical" to make sure that
we have the required native-inputs in future builds. However! Don't let
me nay-say it, if you feel strongly about it then do continue to push
for it. Ideally we'd have a true graph of the dependencies among the
rust packages rather than cargo-inputs and cargo-development-inputs, but
we still don't have anything like the antioxidant-build-system yet.
Another package which had to have an included perl dependency everywhere
was the rust-ring packages. In the end I ended up going and rebuilding
nearly all the pre-generated files in the sources so that we would have
a ready-to-use source tarball without the need for perl everywhere.
Seeing that protobuf was only needed in these two packages I don't think
prost-build needs that currently, but it's also an option.
> Thanks and have a nice day,
> Tomas Volf
>
> --
> There are only two hard things in Computer Science:
> cache invalidation, naming things and off-by-one errors.
--
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] 50+ messages in thread
end of thread, other threads:[~2024-02-20 7:52 UTC | newest]
Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 01/46] build-system: cargo: Add #:cargo-native-inputs argument Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 02/46] gnu: Add rust-pulldown-cmark-to-cmark-10 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 03/46] gnu: Add rust-sync-wrapper-0.1 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 04/46] gnu: Add rust-multer-2 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 05/46] gnu: Add rust-iri-string-0.7 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 06/46] gnu: Add rust-tower-http-0.4 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 07/46] gnu: Add rust-axum-macros-0.3 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 08/46] gnu: Add rust-axum-core-0.3 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 09/46] gnu: Add rust-axum-0.6 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 10/46] gnu: rust-async-stream-impl-0.3: Update to 0.3.5 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 11/46] gnu: rust-async-stream-0.3: " Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 12/46] gnu: Add rust-sysctl-0.5 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 13/46] gnu: Add rust-prost-derive-0.12 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 14/46] gnu: Add rust-prost-0.12 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 15/46] gnu: Add rust-prost-types-0.12 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 16/46] gnu: Add rust-prost-build-0.12 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 17/46] gnu: Add rust-tonic-build-0.10 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 18/46] gnu: Add rust-tonic-0.10 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 19/46] gnu: Add rust-nftables-0.3 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 20/46] gnu: Add rust-netlink-sys-0.8 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 21/46] gnu: Add rust-netlink-packet-utils-0.5 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 22/46] gnu: Add rust-netlink-packet-core-0.7 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 23/46] gnu: Add rust-netlink-packet-generic-0.3 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 24/46] gnu: Add rust-netlink-packet-route-0.18 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 25/46] gnu: Add rust-netlink-packet-route-0.19 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 26/46] gnu: Add rust-netlink-proto-0.11 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 27/46] gnu: Add rust-genetlink-0.2 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 28/46] gnu: Add rust-mptcp-pm-0.1 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 29/46] gnu: Add rust-rtnetlink-0.14 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 30/46] gnu: Add rust-ethtool-0.2 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 31/46] gnu: Add rust-nispor-1 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 32/46] gnu: Add rust-etherparse-0.13 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 33/46] gnu: Add rust-dhcproto-macros-0.1 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 34/46] gnu: Add rust-dhcproto-0.9 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 35/46] gnu: Add rust-mozim-0.2 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 36/46] gnu: Add rust-iptables-0.5 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 37/46] gnu: Add rust-env-filter-0.1 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 38/46] gnu: rust-anstyle-1: Update to 1.0.6 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 39/46] gnu: Add rust-env-logger-0.11 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 40/46] gnu: rust-rkyv-derive-0.7: Update to 0.7.44 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 41/46] gnu: rust-rkyv-0.7: " Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 42/46] gnu: Add rust-pure-rust-locales-0.8 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 43/46] gnu: Add rust-windows-metadata-0.52 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 44/46] gnu: Add rust-windows-bindgen-0.52 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 45/46] gnu: rust-chrono-0.4: Update to 0.4.34 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 46/46] gnu: Add netavark Tomas Volf
2024-02-18 12:39 ` [bug#69169] [bug#69170] [PATCH rust-team 00/46] " Efraim Flashner
2024-02-18 14:04 ` Tomas Volf
2024-02-20 7:50 ` [bug#69169] " 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).