[PATCH rust-team 00/43] gnu: Add procs.

  • Open
  • quality assurance status badge
Details
One participant
  • normalmente
Owner
unassigned
Submitted by
normalmente
Severity
normal
N
N
normalmente wrote on 19 Mar 04:08 +0100
(address . guix-patches@gnu.org)(name . normalmente)(address . normally_js@posteo.net)
cover.1710817679.git.normally_js@posteo.net
procs is a rust implementation of the `ps' command.

normalmente (43):
gnu: rust-libc-0.2: Update to 0.2.153.
gnu: rust-rustix-0.38: Update to 0.38.31.
gnu: rust-home-0.5: Update to 0.5.9.
gnu: Add rust-which-6.
gnu: Add rust-mio-aio-0.8.
gnu: rust-tokio-1: Update to 1.36.0.
gnu: Add rust-termbg-0.5.
gnu: Add rust-nix-0.28.
gnu: Add rust-minus-5.
gnu: Add rust-nom-2.
gnu: Add rust-procinfo-0.4.
gnu: Add rust-procfs-core-0.16.
gnu: Add rust-procfs-0.16.
gnu: Add rust-libproc-0.14.
gnu: rust-termios-0.3: Update to 0.3.3.
gnu: Add rust-getch-0.3.
gnu: rust-pin-project-internal-1: Update to 1.1.5.
gnu: rust-pin-project-1: Update to 1.1.5.
gnu: Add rust-wasm-streams-0.4.
gnu: rust-reqwest-0.11: Update to 0.11.26.
gnu: Add rust-named-pipe-0.4.
gnu: Add rust-hyperlocal-0.8.
gnu: Add rust-dockworker-0.5.
gnu: rust-console-0.15: Update to 0.15.8.
gnu: Add rust-windows-metadata-0.54.
gnu: rust-indexmap-2: Update to 2.2.5.
gnu: rust-serde-json-1: Update to 1.0.114.
gnu: rust-serde-1: Update to 1.0.197.
gnu: Add rust-windows-bindgen-0.54.
gnu: rust-chrono-0.4: Update to 0.4.35.
gnu: Add rust-state-0.6.
gnu: Add rust-stable-pattern-0.1.
gnu: Add rust-inlinable-string-0.1.
gnu: Add rust-pear-0.2.
gnu: Add rust-rocket-http-0.5.
gnu: Add rust-rocket-codegen-0.5.
gnu: Add rust-figment-0.10.
gnu: Add rust-rocket-0.5.
gnu: Add rust-byte-unit-5.
gnu: Add rust-bindgen-0.65.
gnu: Add rust-bsd-kvm-sys-0.2.
gnu: Add rust-bsd-kvm-0.1.
gnu: Add procs.

gnu/packages/crates-io.scm | 798 ++++++++++++++++++++++++++++----
gnu/packages/crates-web.scm | 196 +++++++-
gnu/packages/crates-windows.scm | 77 ++-
gnu/packages/rust-apps.scm | 62 +++
4 files changed, 1008 insertions(+), 125 deletions(-)


base-commit: aec00d246ecc12846560d15eae2c9fc9c6e6cc74
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 01/43] gnu: rust-libc-0.2: Update to 0.2.153.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
1c08cc077d9c9dd7c1dc8af314a2d02d327d4538.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-libc-0.2): Update to 0.2.153.

Change-Id: I62154f8d205629c626db12d40c7759223956800f
---
gnu/packages/crates-io.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e99f0f991b..68f5171d76 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42,6 +42,7 @@
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
+;;; Copyright © 2024 normally_js <normally_js@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -33509,18 +33510,19 @@ (define-public rust-lexopt-0.3
(define-public rust-libc-0.2
(package
(name "rust-libc")
- (version "0.2.151")
+ (version "0.2.153")
(source
(origin
(method url-fetch)
(uri (crate-uri "libc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1x28f0zgp4zcwr891p8n9ag9w371sbib30vp4y6hi2052frplb9h"))))
+ (base32 "1gg7m1ils5dms5miq9fyllrcp0jxnbpgkx71chd2i0lafa8qy6cw"))))
(build-system cargo-build-system)
(arguments
- (list #:cargo-inputs
- `(("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
+ (list
+ #:cargo-inputs
+ `(("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
(home-page "https://github.com/rust-lang/libc")
(synopsis "Raw FFI bindings to platform libraries like libc")
(description
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 07/43] gnu: Add rust-termbg-0.5.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
d203641cf936d63e042f60ca21eedc0524bfdcd8.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-termbg-0.5): New variable.

Change-Id: Ib0683af91da00335aef95e4b0ae91a8470207ecf
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 55870fb750..aa090607b8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69461,6 +69461,30 @@ (define-public rust-term-0.2
(("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
("rust-winapi" ,rust-winapi-0.2))))))
+(define-public rust-termbg-0.5
+ (package
+ (name "rust-termbg")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "termbg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pidjkz38z13iz8xchrz1nidxny5zjmxvbl1fs4arilvpzhfc4ic"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-crossterm" ,rust-crossterm-0.27)
+ ("rust-is-terminal" ,rust-is-terminal-0.4)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/dalance/termbg")
+ (synopsis "Terminal background color detection")
+ (description
+ "This package provides terminal background color detection.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-term-size-1
(package
(name "rust-term-size")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 16/43] gnu: Add rust-getch-0.3.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
7e3181020388f05d96bf43e2e79b61df01d370ba.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-getch-0.3): New variable.

Change-Id: Ic1fa7af7a982d513a8a98016e68c48d406746c5e
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index be7e14e57f..cd61924335 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26280,6 +26280,30 @@ (define-public rust-geo-types-0.6
#:cargo-development-inputs
(("rust-approx" ,rust-approx-0.3))))))
+(define-public rust-getch-0.3
+ (package
+ (name "rust-getch")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "getch" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a0v3ck9w65zcgg055laiyyvkb6lxaph1h3zvw6pgq99bcnhx68k"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-termios" ,rust-termios-0.3))))
+ (home-page "https://nest.pijul.com/pmeunier/getch")
+ (synopsis
+ "Portable implementation of getch, using @code{_getch} on Windows, and
+@code{termios} on Unix")
+ (description
+ "This package provides a portable implementation of getch, using
+@code{_getch} on Windows, and @code{termios} on Unix.")
+ (license license:asl2.0)))
+
(define-public rust-gethostname-0.4
(package
(name "rust-gethostname")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 17/43] gnu: rust-pin-project-internal-1: Update to 1.1.5.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
47c82b53351288b9f6f4b6b7feb5e59ac18cac1c.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-pin-project-internal-1): Update to 1.1.5.

Change-Id: I4215174f6244da415893f4a2c281eca63f51a45d
---
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cd61924335..bf8000336a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47911,21 +47911,21 @@ (define-public rust-pin-project-0.4
(define-public rust-pin-project-internal-1
(package
(name "rust-pin-project-internal")
- (version "1.0.12")
+ (version "1.1.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "pin-project-internal" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0maa6icn7rdfy4xvgfaq7m7bwpw9f19wg76f1ncsiixd0lgdp6q6"))))
+ (base32 "0r9r4ivwiyqf45sv6b30l1dx282lxaax2f6gl84jwa3q590s8f1g"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #false
+ `(#:tests? #f
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
+ ("rust-syn" ,rust-syn-2))))
(home-page "https://github.com/taiki-e/pin-project")
(synopsis "Implementation detail of the @code{pin-project} crate")
(description
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 18/43] gnu: rust-pin-project-1: Update to 1.1.5.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
3220a57f5fcecdf11a901938de9d4e24a3b2edb8.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-pin-project-1): Update to 1.1.5.

Change-Id: Ibb6cdb0b4faca443333f8305c09bcb96f17a9b54
---
gnu/packages/crates-io.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bf8000336a..246b99dc92 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47835,23 +47835,24 @@ (define-public rust-pikchr-0.1
(define-public rust-pin-project-1
(package
(name "rust-pin-project")
- (version "1.0.12")
+ (version "1.1.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "pin-project" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1k3f9jkia3idxl2pqxamszwnl89dk52fa4jqj3p7zmmwnq4scadd"))))
+ (base32 "1cxl146x0q7lawp0m1826wsgj8mmmfs6ja8q7m6f7ff5j6vl7gxn"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:tests? #f ; XXX: Unable to fix tests due to unresolved imports.
+ #:cargo-inputs
(("rust-pin-project-internal" ,rust-pin-project-internal-1))
#:cargo-development-inputs
(("rust-macrotest" ,rust-macrotest-1)
+ ("rust-trybuild" ,rust-trybuild-1)
("rust-rustversion" ,rust-rustversion-1)
- ("rust-static-assertions" ,rust-static-assertions-1)
- ("rust-trybuild" ,rust-trybuild-1))))
+ ("rust-static-assertions" ,rust-static-assertions-1))))
(home-page "https://github.com/taiki-e/pin-project")
(synopsis "Crate for safe and ergonomic pin-projection")
(description
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 23/43] gnu: Add rust-dockworker-0.5.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
84a2168f0d967ceba1442610c7e5abb120d213e9.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-dockworker-0.5): New variable.

Change-Id: Id4db8d834e45d047b6c136376aa94faa6c40c9a4
---
gnu/packages/crates-io.scm | 62 ++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)

Toggle diff (75 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4d41e9719e..f7583e09b4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19776,6 +19776,68 @@ (define-public rust-doc-comment-0.3
from macros.")
(license license:expat)))
+(define-public rust-dockworker-0.5
+ (package
+ (name "rust-dockworker")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dockworker" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gqy78yw5fhzg672idfkdikavhyff73spbpp5nqaax0h4pqzy1mz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--" ; Tests require network access.
+ "--skip=docker::tests::test_api"
+ "--skip=docker::tests::test_events"
+ "--skip=docker::tests::test_networks"
+ "--skip=docker::tests::test_ping"
+ "--skip=docker::tests::test_system_info"
+ "--skip=docker::tests::test_version")
+ #:cargo-inputs
+ (("rust-async-stream" ,rust-async-stream-0.3)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-base64" ,rust-base64-0.21)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-dirs" ,rust-dirs-5)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-hyper-rustls" ,rust-hyper-rustls-0.24)
+ ("rust-hyper-tls" ,rust-hyper-tls-0.5)
+ ("rust-hyperlocal" ,rust-hyperlocal-0.8)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-named-pipe" ,rust-named-pipe-0.4)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-rustls" ,rust-rustls-0.21)
+ ("rust-rustls-pemfile" ,rust-rustls-pemfile-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tar" ,rust-tar-0.4)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-url" ,rust-url-2))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.8)
+ ("rust-reqwest" ,rust-reqwest-0.11))))
+ (native-inputs (list pkg-config))
+ (inputs (list openssl))
+ (home-page "https://github.com/Idein/dockworker")
+ (synopsis "Docker daemon API client (a fork of Faraday's boondock)")
+ (description
+ "This package provides a Rust library for talking to the Docker daemon.
+This project is a fork of Faraday's boondock.")
+ (license license:asl2.0)))
+
(define-public rust-docmatic-0.1
(package
(name "rust-docmatic")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 21/43] gnu: Add rust-named-pipe-0.4.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
fdef8873e9979a9ddafa87bcff809a0de8b63432.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-windows.scm (rust-named-pipe-0.4): New variable.

Change-Id: Ibf1baf32e0245e55c3213ff64bd8e0af67e7d8ff
---
gnu/packages/crates-windows.scm | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)

Toggle diff (49 lines)
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 14129b1ec4..eeb78f3d9a 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2023 Daniel Ziltener <dziltener@lyrion.ch>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
+;;; Copyright © 2024 normally_js <normally_js@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -495,6 +496,29 @@ (define-public rust-miow-0.2
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-named-pipe-0.4
+ (package
+ (name "rust-named-pipe")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "named_pipe" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0azby10wzmsrf66m1bysbil0sjfybnvhsa8py093xz4irqy4975d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/blackbeam/named_pipe")
+ (synopsis
+ "Wrapper for overlapped (asyncronous) IO of Windows's named pipes")
+ (description
+ "This package provides a wrapper for overlapped (asyncronous) IO of
+Windows's named pipes.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-output-vt100-0.1
(package
(name "rust-output-vt100")
@@ -2520,4 +2544,3 @@ (define-public rust-windows-x86-64-msvc-0.28
(sha256
(base32
"17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz"))))))
-
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 28/43] gnu: rust-serde-1: Update to 1.0.197.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
7ff854317daa4a0d77fd05a90931bd2162f07d6b.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-serde-1): Update to 1.0.197.
* gnu/packages/crates-io.scm (rust-serde-derive-1): Update to 1.0.197.

Change-Id: Ic06553b184844af132f654922474a4563dff06b7
---
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 85e98693dc..aa7575c32c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60492,7 +60492,7 @@ (define-public rust-seq-io-0.3
(define-public rust-serde-1
(package
(name "rust-serde")
- (version "1.0.194")
+ (version "1.0.197")
(source
(origin
(method url-fetch)
@@ -60500,7 +60500,7 @@ (define-public rust-serde-1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0wxplk1ayrsb81bdwh8zmkldw1b0xigs3qc90r5ck6374nc4848b"))))
+ "1qjcxqd3p4yh5cmmax9q4ics1zy34j5ij32cvjj5dc5rw5rwic9z"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -60929,7 +60929,7 @@ (define-public rust-serdeconv-0.4
(define-public rust-serde-derive-1
(package
(name "rust-serde-derive")
- (version "1.0.194")
+ (version "1.0.197")
(source
(origin
(method url-fetch)
@@ -60937,7 +60937,7 @@ (define-public rust-serde-derive-1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1q6l0ycrykdg960c350fgnac6d653q1v608g84qrk3rf692mwf53"))))
+ "02v1x0sdv8qy06lpr6by4ar1n3jz3hmab15cgimpzhgd895v7c3y"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 24/43] gnu: rust-console-0.15: Update to 0.15.8.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
f9d6b8cee2a9098887e02881dc070e88bdc2b7f2.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-console-0.15): Update to 0.15.8.

Change-Id: I4b8199e7d8f9be43e2d93aaf5733a113fdaa6509
---
gnu/packages/crates-io.scm | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f7583e09b4..69b95f54f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13370,22 +13370,25 @@ (define-public rust-configparser-2
(define-public rust-console-0.15
(package
(name "rust-console")
- (version "0.15.5")
+ (version "0.15.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "console" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0q5dwppyn1zsj5h9zjxfzah8l91y7cyw270m6hz7x9vhi6z9zmy3"))))
+ (base32 "1sz4nl9nz8pkmapqni6py7jxzi7nzqjxzb3ya4kxvmkb0zy867qf"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
+ ;; XXX: Requires a version of rust-proptest-1 compiled with
+ ;; `break-dead-code' as a feature.
(("rust-encode-unicode" ,rust-encode-unicode-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-unicode-width" ,rust-unicode-width-0.1)
- ("rust-windows-sys" ,rust-windows-sys-0.42))
+ ("rust-windows-sys" ,rust-windows-sys-0.52))
#:cargo-development-inputs
(("rust-proptest" ,rust-proptest-1)
("rust-regex" ,rust-regex-1))))
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 29/43] gnu: Add rust-windows-bindgen-0.54.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
0693d8f8421e1edb3c49f76bc4f9147025cf9385.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-windows.scm (rust-windows-bindgen-0.54): New variable.

Change-Id: If155c0d55b33a4defe899f8cbdf32cbce17624e3
---
gnu/packages/crates-windows.scm | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)

Toggle diff (59 lines)
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 42097bbc39..66eea3b145 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1551,8 +1551,34 @@ (define-public rust-windows-aarch64-msvc-0.28
(base32
"1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj"))))))
+(define-public rust-windows-bindgen-0.54
+ (package
+ (name "rust-windows-bindgen")
+ (version "0.54.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-bindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hid039rnygimc2kxkzfc892j6hcdjpza2490ggz35r8fjs7csfq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-windows-metadata" ,rust-windows-metadata-0.54))))
+ (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.52
(package
+ (inherit rust-windows-bindgen-0.54)
(name "rust-windows-bindgen")
(version "0.52.0")
(source
@@ -1562,16 +1588,11 @@ (define-public rust-windows-bindgen-0.52
(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))))
+ ("rust-windows-metadata" ,rust-windows-metadata-0.52))))))
(define-public rust-windows-bindgen-0.51
(package
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 25/43] gnu: Add rust-windows-metadata-0.54.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
a76fa5990bde6fb22d494a165d0dec99f4fa83bb.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-windows.scm (rust-windows-metadata-0.54): New variable.

Change-Id: I7c0a905ea64ec06741d598ff0c2cd827839dbcf6
---
gnu/packages/crates-windows.scm | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)

Toggle diff (46 lines)
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index eeb78f3d9a..42097bbc39 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1979,23 +1979,36 @@ (define-public rust-windows-interface-0.39
(sha256
(base32 "00h56znmak3p8bh28y3s48m5zv6q7dn40vnvf3dzf0sz5rszrym2"))))))
-(define-public rust-windows-metadata-0.52
+(define-public rust-windows-metadata-0.54
(package
(name "rust-windows-metadata")
- (version "0.52.0")
+ (version "0.54.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-metadata" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1vz49s2mm74fmjabh3kxxhzbz16ys41b78jgi6xwssp2069db3r1"))))
+ (base32 "1hh4bpima19p18kr5a2ss46hgmgafjkqzyfzhm0dazvx6sw70hz4"))))
(build-system cargo-build-system)
(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.52
+ (package
+ (inherit rust-windows-metadata-0.54)
+ (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"))))))
+
(define-public rust-windows-metadata-0.51
(package
(inherit rust-windows-metadata-0.52)
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 31/43] gnu: Add rust-state-0.6.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
e515fe6c35514d1cdfee324e42fd66461a401190.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-state-0.6): New variable.

Change-Id: I5276160671061b649a496b7f32462627d4db0fde
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++---------
1 file changed, 22 insertions(+), 9 deletions(-)

Toggle diff (53 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index de48829c03..de1d2beec5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65293,17 +65293,17 @@ (define-public rust-standback-0.2
(description "New standard library, old compiler.")
(license (list license:expat license:asl2.0))))
-(define-public rust-state-0.5
+(define-public rust-state-0.6
(package
(name "rust-state")
- (version "0.5.3")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "state" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0fzji31ijbkimbzdy4dln9mp5xp7lm1a0dnqxv4n10hywphnds6v"))))
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "state" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1n3n2h324h1y5zhaajh6kplvzfvg1l6hsr8siggmf4yq8m24m31b"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -65317,6 +65317,19 @@ (define-public rust-state-0.5
management.")
(license (list license:expat license:asl2.0))))
+(define-public rust-state-0.5
+ (package
+ (inherit rust-state-0.6)
+ (name "rust-state")
+ (version "0.5.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "state" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fzji31ijbkimbzdy4dln9mp5xp7lm1a0dnqxv4n10hywphnds6v"))))))
+
(define-public rust-state-0.4
(package
(inherit rust-state-0.5)
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 32/43] gnu: Add rust-stable-pattern-0.1.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
aad7a401d2cd9cacd0ec87dafcb006ce453e1972.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-stable-pattern-0.1): New variable.

Change-Id: I0afa0826c9c52718871640356e593218fea9d201
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index de1d2beec5..dc1b407431 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65244,6 +65244,28 @@ (define-public rust-stable-deref-trait-1
(license (list license:asl2.0
license:expat))))
+(define-public rust-stable-pattern-0.1
+ (package
+ (name "rust-stable-pattern")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "stable-pattern" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0i8hq82vm82mqj02qqcsd7caibrih7x5w3a1xpm8hpv30261cr25"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Unresolved imports.
+ #:cargo-inputs (("rust-memchr" ,rust-memchr-2))))
+ (home-page "https://github.com/SergioBenitez/stable-pattern")
+ (synopsis "Stable port of @code{std::str::Pattern} and friends")
+ (description
+ "This package provides a stable port of @code{std::str::Pattern} and
+friends.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-stacker-0.1
(package
(name "rust-stacker")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 27/43] gnu: rust-serde-json-1: Update to 1.0.114.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
208f6baefdf43a35714fd4543c58263bf2553ff8.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-serde-json-1): Update to 1.0.114.

Change-Id: I8823246a9b55438c5d6c7ed624a5a28f0a14f854
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e01d89f860..85e98693dc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61050,14 +61050,14 @@ (define-public rust-serde-ignored-0.1
(define-public rust-serde-json-1
(package
(name "rust-serde-json")
- (version "1.0.111")
+ (version "1.0.114")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde_json" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1x441azvvdy6x8am4bvkxhswhzw5cr8ml0cqspnihvri8bx4cvhp"))))
+ (base32 "1q4saigxwkf8bw4y5kp6k33dnavlvvwa2q4zmag59vrjsqdrpw65"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; could not find `RandomState` in `hash`
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 33/43] gnu: Add rust-inlinable-string-0.1.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
bb38b4b75d3f3d80424040b33969d77bd5c5bf38.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-inlinable-string-0.1): New variable.

Change-Id: I5958abb88527c1fc5e9fcc8dabed14420688e2f7
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dc1b407431..da9cc94f50 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30542,6 +30542,33 @@ (define-public rust-inflector-0.11
as both traits and pure functions acting on String types.")
(license license:bsd-2)))
+(define-public rust-inlinable-string-0.1
+ (package
+ (name "rust-inlinable-string")
+ (version "0.1.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "inlinable_string" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ysjci8yfvxgf51z0ny2nnwhxrclhmb3vbngin8v4bznhr3ybyn8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-serde-test" ,rust-serde-test-1))))
+ (home-page "https://github.com/fitzgen/inlinable_string")
+ (synopsis "Provides the @code{InlinableString} type")
+ (description
+ "The @code{inlinable_string} crate provides the @code{InlinableString}
+type. It is an owned, grow-able UTF-8 string that stores small strings inline
+and avoids heap-allocation. It also provides the @code{StringExt} trait which
+abstracts string operations over both @code{std::string::String} and
+@code{InlinableString} (or even your own custom string type).")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-inline-c-0.1
(package
(name "rust-inline-c")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 26/43] gnu: rust-indexmap-2: Update to 2.2.5.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
2f5e571811ab5f3401b3c9f6a5af2bcf661fb30e.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-indexmap-2): Update to 2.2.5.

Change-Id: Id0bb654d665ae859b747e67dec615f35b9ee613b
---
gnu/packages/crates-io.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 69b95f54f6..e01d89f860 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30159,18 +30159,19 @@ (define-public rust-indenter-0.3
(define-public rust-indexmap-2
(package
(name "rust-indexmap")
- (version "2.1.0")
+ (version "2.2.5")
(source (origin
(method url-fetch)
(uri (crate-uri "indexmap" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "07rxrqmryr1xfnmhrjlz8ic6jw28v6h5cig3ws2c9d0wifhy2c6m"))))
+ "1x4x9zdqvlkfks3y84dsynh1p8na3nn48nn454s26rqla6fr42vv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-borsh" ,rust-borsh-1)
("rust-equivalent" ,rust-equivalent-1)
("rust-hashbrown" ,rust-hashbrown-0.14)
("rust-quickcheck" ,rust-quickcheck-1)
@@ -30180,7 +30181,7 @@ (define-public rust-indexmap-2
#:cargo-development-inputs
(("rust-fnv" ,rust-fnv-1)
("rust-fxhash" ,rust-fxhash-0.2)
- ("rust-itertools" ,rust-itertools-0.11)
+ ("rust-itertools" ,rust-itertools-0.12)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-quickcheck" ,rust-quickcheck-1)
("rust-rand" ,rust-rand-0.8)
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 30/43] gnu: rust-chrono-0.4: Update to 0.4.35.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
81447cd344d378976b5c63af249e554ffc0e1cfc.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-chrono-0.4): Update to 0.4.35.

Change-Id: I8e3e198db3e21fecac6baaceedeebbb6f74b1431
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa7575c32c..de48829c03 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10794,14 +10794,14 @@ (define-public rust-charset-0.1
(define-public rust-chrono-0.4
(package
(name "rust-chrono")
- (version "0.4.34")
+ (version "0.4.35")
(source
(origin
(method url-fetch)
(uri (crate-uri "chrono" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "12zk0ja924f55va2fs0qj34xaygq46fy92blmc7qkmcj9dj1bh2v"))))
+ (base32 "16k3caxzip1ql827pz5rj7aqfqy7yhpxyxzb5wqkj2mwvh1mkbwf"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -10821,7 +10821,7 @@ (define-public rust-chrono-0.4
("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.52))
+ ("rust-windows-bindgen" ,rust-windows-bindgen-0.54))
#:features '("unstable-locales")
#:tests? #f))
(home-page "https://github.com/chronotope/chrono")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 34/43] gnu: Add rust-pear-0.2.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
b06f79b17eade5833116492368791129ad6eb307.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-pear-0.2): New variable.

Change-Id: I49a36b71dffc8aaec868bd98b229ddfda7b9d8ff
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
1 file changed, 24 insertions(+), 6 deletions(-)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index da9cc94f50..5609684808 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46648,27 +46648,45 @@ (define-public rust-pdqselect-0.1
pdqsort.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-pear-0.1
+(define-public rust-pear-0.2
(package
(name "rust-pear")
- (version "0.1.5")
+ (version "0.2.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "pear" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "02lnp8c414z5ds0lskd4zxlalrjljzpkg8g6kizszij4h52sgprj"))))
+ (base32 "1j03s6m80iqldnm6jzh3k1fbyk0lxirx8bi4ivgq3k3sq7va1k2c"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-pear-codegen" ,rust-pear-codegen-0.1))))
+ `(#:cargo-inputs
+ (("rust-inlinable-string" ,rust-inlinable-string-0.1)
+ ("rust-pear-codegen" ,rust-pear-codegen-0.2)
+ ("rust-yansi" ,rust-yansi-1))))
(home-page "https://crates.io/crates/pear")
(synopsis "Pear is a fruit")
(description "This package provides a pear is a fruit.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pear-0.1
+ (package
+ (inherit rust-pear-0.2)
+ (name "rust-pear")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pear" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02lnp8c414z5ds0lskd4zxlalrjljzpkg8g6kizszij4h52sgprj"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-pear-codegen" ,rust-pear-codegen-0.1))))))
+
(define-public rust-pear-codegen-0.2
(package
(name "rust-pear-codegen")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 35/43] gnu: Add rust-rocket-http-0.5.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
71892f91b20067da2b76d8ddd78ea3ebd3546a2f.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-web.scm (rust-rocket-http-0.5): New variable.

Change-Id: I56154ddf506c3ecc57dfbb72b032b6de043aeb30
---
gnu/packages/crates-web.scm | 55 +++++++++++++++++++++++++++++++------
1 file changed, 47 insertions(+), 8 deletions(-)

Toggle diff (84 lines)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 00839914a7..c95c228d23 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3749,8 +3749,54 @@ (define-public rust-rocket-codegen-0.4
"This package provides procedural macros for the Rocket web framework.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rocket-http-0.5
+ (package
+ (name "rust-rocket-http")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rocket_http" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17iq208zf9rfxdnx8hfjxnn51074cc9li99yjigzwnfhjhv6d89p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs (("rust-cookie" ,rust-cookie-0.18)
+ ("rust-either" ,rust-either-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-pear" ,rust-pear-0.2)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-ref-cast" ,rust-ref-cast-1)
+ ("rust-rustls" ,rust-rustls-0.21)
+ ("rust-rustls-pemfile" ,rust-rustls-pemfile-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-stable-pattern" ,rust-stable-pattern-0.1)
+ ("rust-state" ,rust-state-0.6)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+ ("rust-uncased" ,rust-uncased-0.9)
+ ("rust-uuid" ,rust-uuid-1)
+ ("rust-x509-parser" ,rust-x509-parser-0.13))))
+ (home-page "https://rocket.rs")
+ (synopsis "HTTP requests, responses and headers tooling for Rocket")
+ (description
+ "This package provides types, traits, and parsers for HTTP requests,
+responses, and headers for the Rocket web framework.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rocket-http-0.4
(package
+ (inherit rust-rocket-http-0.5)
(name "rust-rocket-http")
(version "0.4.7")
(source
@@ -3760,7 +3806,6 @@ (define-public rust-rocket-http-0.4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ga98nbcga8amg4xhrfkn1wljnqx9h0vv7mnay9g66vsxl042dnf"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -3774,13 +3819,7 @@ (define-public rust-rocket-http-0.4
("rust-smallvec" ,rust-smallvec-1)
("rust-state" ,rust-state-0.4)
("rust-time" ,rust-time-0.1)
- ("rust-unicode-xid" ,rust-unicode-xid-0.1))))
- (home-page "https://rocket.rs")
- (synopsis "HTTP requests, responses and headers tooling for Rocket")
- (description
- "This package provides types, traits, and parsers for HTTP requests,
-responses, and headers for the Rocket web framework.")
- (license (list license:expat license:asl2.0))))
+ ("rust-unicode-xid" ,rust-unicode-xid-0.1))))))
(define-public rust-stdweb-0.4
(package
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 43/43] gnu: Add procs.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
4ea5011f328a0c5fe53e6902ada196ddf5001c3e.1710817682.git.normally_js@posteo.net
* gnu/packages/rust-apps.scm (procs): New variable.

Change-Id: Ib30f481debae7f700d2fdf0848b210e579a79fe9
---
gnu/packages/rust-apps.scm | 62 ++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)

Toggle diff (82 lines)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 8eca82f40c..38b7951511 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -31,6 +31,7 @@
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
+;;; Copyright © 2024 normally_js <normally_js@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2808,6 +2809,67 @@ (define-public swayr
daemon which executes them.")
(license license:gpl3+)))
+(define-public procs
+ (package
+ (name "procs")
+ (version "0.14.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "procs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ixl4912md5spanasf4kj0js35j6ff2rpwxbj9q15699cj5di8x4"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:install-source? #f
+ #:cargo-inputs
+ `(("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bsd-kvm" ,rust-bsd-kvm-0.1)
+ ("rust-bsd-kvm-sys" ,rust-bsd-kvm-sys-0.2)
+ ("rust-byte-unit" ,rust-byte-unit-5)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-clap-complete" ,rust-clap-complete-4)
+ ("rust-console" ,rust-console-0.15)
+ ("rust-directories" ,rust-directories-5)
+ ("rust-dockworker" ,rust-dockworker-0.5)
+ ("rust-errno" ,rust-errno-0.3)
+ ("rust-getch" ,rust-getch-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libproc" ,rust-libproc-0.14)
+ ("rust-minus" ,rust-minus-5)
+ ("rust-nix" ,rust-nix-0.28)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pager" ,rust-pager-0.16)
+ ("rust-pager" ,rust-pager-0.16)
+ ("rust-procfs" ,rust-procfs-0.16)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-termbg" ,rust-termbg-0.5)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-toml" ,rust-toml-0.8)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-uzers" ,rust-uzers-0.11)
+ ("rust-which" ,rust-which-6)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-manual-page
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (man (string-append out "/share/man/man1")))
+ (with-directory-excursion "man"
+ (invoke "a2x" "-L" "-d" "manpage" "-f" "manpage" "procs.1.adoc"))
+ (install-file "man/procs.1" man)))))))
+ (native-inputs (list asciidoc))
+ (home-page "https://github.com/dalance/procs")
+ (synopsis "Modern replacement for @command{ps}")
+ (description "This package provides a modern replacement for @command{ps}")
+ (license license:expat)))
+
(define-public tealdeer
(package
(name "tealdeer")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 02/43] gnu: rust-rustix-0.38: Update to 0.38.31.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
7df89511678b23f4b3f6d638336531dbd4a2fc1e.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-rustix-0.38): Update to 0.38.31.

Change-Id: If72e72b5a62ca7e9e09253bb558aebbd6f00f682
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 68f5171d76..337c7720aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57915,14 +57915,14 @@ (define-public rust-rusticata-macros-4
(define-public rust-rustix-0.38
(package
(name "rust-rustix")
- (version "0.38.28")
+ (version "0.38.31")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "05m3vacvbqbg6r6ksmx9k5afpi0lppjdv712crrpsrfax2jp5rbj"))
+ (base32 "0jg9yj3i6qnzk1y82hng7rb1bwhslfbh57507dxcs9mgcakf38vf"))
(snippet
#~(begin (use-modules (guix build utils))
(for-each delete-file (find-files "." "\\.a$"))
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 05/43] gnu: Add rust-mio-aio-0.8.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
3169c5868eae1a0e492fa7b981b28c73f0d4c245.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-mio-aio-0.8): New variable.

Change-Id: Ibdaa64f75f193bf4692831446a04e2d4f81d8deb
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++------
1 file changed, 31 insertions(+), 6 deletions(-)

Toggle diff (73 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f70e756037..ded8bfb056 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38356,28 +38356,28 @@ (define-public rust-mio-0.6
("rust-env-logger" ,rust-env-logger-0.4)
("rust-tempdir" ,rust-tempdir-0.3))))))
-(define-public rust-mio-aio-0.7
+(define-public rust-mio-aio-0.8
(package
(name "rust-mio-aio")
- (version "0.7.0")
+ (version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "mio-aio" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "07y7wnkd4xvj48fyxgnfm9jqjldgqfd39k3ydfmaqc76mw36pagq"))))
+ (base32 "1ynga39vd3r7i3bjqsiv8b6b9z8ympby88l7vkk5cvhp6kn3livj"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; no variant named `SigevKevent` found for enum `SigevNotify`
#:cargo-inputs
(("rust-mio" ,rust-mio-0.8)
- ("rust-nix" ,rust-nix-0.24))
+ ("rust-nix" ,rust-nix-0.27)
+ ("rust-pin-utils" ,rust-pin-utils-0.1))
#:cargo-development-inputs
(("rust-assert-impl" ,rust-assert-impl-0.1)
- ("rust-log" ,rust-log-0.3)
("rust-mio" ,rust-mio-0.8)
- ("rust-nix" ,rust-nix-0.24)
+ ("rust-nix" ,rust-nix-0.27)
("rust-sysctl" ,rust-sysctl-0.1)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/asomers/mio-aio")
@@ -38385,6 +38385,31 @@ (define-public rust-mio-aio-0.7
(description "This package provides POSIX AIO bindings for mio.")
(license (list license:expat license:asl2.0))))
+(define-public rust-mio-aio-0.7
+ (package
+ (inherit rust-mio-aio-0.8)
+ (name "rust-mio-aio")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mio-aio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07y7wnkd4xvj48fyxgnfm9jqjldgqfd39k3ydfmaqc76mw36pagq"))))
+ (arguments
+ `(#:skip-build? #t ; no variant named `SigevKevent` found for enum `SigevNotify`
+ #:cargo-inputs
+ (("rust-mio" ,rust-mio-0.8)
+ ("rust-nix" ,rust-nix-0.24))
+ #:cargo-development-inputs
+ (("rust-assert-impl" ,rust-assert-impl-0.1)
+ ("rust-log" ,rust-log-0.3)
+ ("rust-mio" ,rust-mio-0.8)
+ ("rust-nix" ,rust-nix-0.24)
+ ("rust-sysctl" ,rust-sysctl-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-mio-anonymous-pipes-0.2
(package
(name "rust-mio-anonymous-pipes")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 14/43] gnu: Add rust-libproc-0.14.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
bac155d6fbe3b0f6062c9c506d7e554583432185.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-libproc-0.14): New variable.

Change-Id: If90b783e6fcc82ba0fff8a8ffc5e4f4a09d8db42
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 51efb522b8..4618a19911 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34121,6 +34121,33 @@ (define-public rust-libnghttp2-sys-0.1
(license (list license:asl2.0
license:expat))))
+(define-public rust-libproc-0.14
+ (package
+ (name "rust-libproc")
+ (version "0.14.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libproc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0va3jzmgfj57lf0zfq59acfkid3frs6nvx9xlsnc5jd4g1q4kdlf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bindgen" ,rust-bindgen-0.69)
+ ("rust-errno" ,rust-errno-0.3)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-procfs" ,rust-procfs-0.16)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/andrewdavidmackenzie/libproc-rs")
+ (synopsis "Library to get information about running processes")
+ (description
+ "This package provides a library to get information about running
+processes for both MacOS and Linux.")
+ (license license:expat)))
+
(define-public rust-libpulse-binding-2
(package
(name "rust-libpulse-binding")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 09/43] gnu: Add rust-minus-5.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
b490f772b8b54cb698ee58a35fc1f2e322c4c792.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-minus-5): New variable.

Change-Id: Iedc2c79bafaa74ff74bc28b902e57ef0878784fd
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

Toggle diff (48 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 993f50d862..f4e37b61fc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38250,6 +38250,41 @@ (define-public rust-miniz-oxide-0.3
(arguments
`(#:cargo-inputs (("rust-adler32" ,rust-adler32-1))))))
+(define-public rust-minus-5
+ (package
+ (name "rust-minus")
+ (version "5.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "minus" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19cwjr8ikqpngxj6c4xbbvylkjkp19cs4k2dnnav5ngzz4nywv6p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--" ; unresolved imports
+ "--skip=src/lib.rs - (line 174)"
+ "--skip=src/lib.rs - (line 200)"
+ "--skip=src/lib.rs - (line 233)")
+ #:cargo-inputs
+ (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+ ("rust-crossterm" ,rust-crossterm-0.27)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-textwrap" ,rust-textwrap-0.16)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/arijit79/minus")
+ (synopsis "Asynchronous data feedable terminal paging library for Rust")
+ (description
+ "This package provides a asynchronous data feedable terminal paging
+library for Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-mint-0.5
(package
(name "rust-mint")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 15/43] gnu: rust-termios-0.3: Update to 0.3.3.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
ff5f32ed33cd122af8bdf00b6500ee9f398c0478.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-termios-0.3): Update to 0.3.3.

Change-Id: Ifa730872d4fe21da7a578fc872e37cf41d5db2ed
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4618a19911..be7e14e57f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69963,7 +69963,7 @@ (define-public rust-termion-1
(define-public rust-termios-0.3
(package
(name "rust-termios")
- (version "0.3.1")
+ (version "0.3.3")
(source
(origin
(method url-fetch)
@@ -69971,7 +69971,7 @@ (define-public rust-termios-0.3
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj"))))
+ "0sxcs0g00538jqh5xbdqakkzijadr8nj7zmip0c7jz3k83vmn721"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 10/43] gnu: Add rust-nom-2.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
54f24a905256f609d0250836b23d8a4b81ccba08.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-nom-2): New variable.

Change-Id: I9a2518c67145f601de9d525d9bab252ea48d91f2
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f4e37b61fc..b9e65eafef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41628,6 +41628,27 @@ (define-public rust-nom-3
("rust-memchr" ,rust-memchr-1)
("rust-regex" ,rust-regex-0.2))))))
+(define-public rust-nom-2
+ (package
+ (inherit rust-nom-4)
+ (name "rust-nom")
+ (version "2.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nom" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zv6ig7nw532rl4p35jsahglfhyyznjkblwa6si6c0plxhlsflfg"))))
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--" ; Cannot find file for tests.
+ "--skip=stream::tests::seeking_consumer"
+ "--skip=big_bunny_test"
+ "--skip=small_test")
+ #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-0.2)
+ ("rust-regex" ,rust-regex-0.2))))))
+
(define-public rust-nom-1
(package
(inherit rust-nom-4)
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 11/43] gnu: Add rust-procinfo-0.4.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
759c40da760e3ceb45c1e4e957974a5af70ec03f.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-procinfo-0.4): New variable.

Change-Id: Ie70a5f2db8defc0d642a69c200e4f3d3596d1f7e
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b9e65eafef..ab644aaf4c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49616,6 +49616,34 @@ (define-public rust-priority-queue-1
priority of an object.")
(license license:expat)))
+(define-public rust-procinfo-0.4
+ (package
+ (name "rust-procinfo")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "procinfo" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "175l4cprsb56jrkycpz0743clgc8fyhxv4i8hhgqjd967mzl5cba"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--" ; thread panic on bad unwrap.
+ "--skip=pid::status::tests::test_status")
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-nom" ,rust-nom-2)
+ ("rust-rustc-version" ,rust-rustc-version-0.2))))
+ (home-page "https://github.com/danburkert/procinfo-rs")
+ (synopsis "Library for accessing Linux processes and system information")
+ (description
+ "This package provides a library for accessing Linux processes and system
+information.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-proc-macro-crate-3
(package
(name "rust-proc-macro-crate")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 37/43] gnu: Add rust-figment-0.10.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
c0cf1ed18c84e5faa6860bf7cba080c85827e1d4.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-figment-0.10): New variable.

Change-Id: I34ff4032b473a3ce8e13406f3d1f131b2c5309fd
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)

Toggle diff (50 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5609684808..a5ce9579c6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23677,6 +23677,43 @@ (define-public rust-field-offset-0.3
implementation.")
(license (list license:expat license:asl2.0))))
+(define-public rust-figment-0.10
+ (package
+ (name "rust-figment")
+ (version "0.10.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "figment" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dnfri2371wzmk7lcxfd121z35b1b2251d93yc23w8b7f1z6fw3j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; unresolved import for `toml' provider.
+ #:cargo-inputs
+ (("rust-atomic" ,rust-atomic-0.6)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-pear" ,rust-pear-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-yaml" ,rust-serde-yaml-0.9)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-toml" ,rust-toml-0.8)
+ ("rust-uncased" ,rust-uncased-0.9)
+ ("rust-version-check" ,rust-version-check-0.9))
+ #:cargo-development-inputs
+ (("rust-clap" ,rust-clap-4)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/SergioBenitez/Figment")
+ (synopsis "Configuration library so con-free, it's unreal")
+ (description
+ "Figment is a semi-hierarchical configuration library for Rust so
+con-free, it's unreal.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-find-crate-0.6
(package
(name "rust-find-crate")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 36/43] gnu: Add rust-rocket-codegen-0.5.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
312eeb535618b6a303a88a5ab153d37483b16ae0.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-web.scm (rust-rocket-codegen-0.5): New variable.

Change-Id: I903560fe919bc02024dc0ee8762bae7ac38df525
---
gnu/packages/crates-web.scm | 44 +++++++++++++++++++++++++++++++------
1 file changed, 37 insertions(+), 7 deletions(-)

Toggle diff (73 lines)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index c95c228d23..8f4549c469 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3721,8 +3721,44 @@ (define-public rust-rocket-0.4
and speed.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rocket-codegen-0.5
+ (package
+ (name "rust-rocket-codegen")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rocket_codegen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0k6hdf9s9y73kzj89qs688gnfjj1sl4imp6pdjz22pzpmdk808x2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; phase `check' could not compile.
+ #:cargo-inputs
+ (("rust-devise" ,rust-devise-0.4)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-rocket-http" ,rust-rocket-http-0.5)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.2)
+ ("rust-version-check" ,rust-version-check-0.9))
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-version-check" ,rust-version-check-0.9))))
+ (home-page "https://rocket.rs")
+ (synopsis "Procedural macros for the Rocket web framework")
+ (description
+ "This package provides procedural macros for the Rocket web framework.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rocket-codegen-0.4
(package
+ (inherit rust-rocket-codegen-0.5)
(name "rust-rocket-codegen")
(version "0.4.7")
(source
@@ -3732,7 +3768,6 @@ (define-public rust-rocket-codegen-0.4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "18s2dll8c4sd26s8cfr6cizj5z55xwnk6r6x7b2wvcf8n9ajrb6f"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -3742,12 +3777,7 @@ (define-public rust-rocket-codegen-0.4
("rust-quote" ,rust-quote-0.6)
("rust-rocket-http" ,rust-rocket-http-0.4)
("rust-version-check" ,rust-version-check-0.9)
- ("rust-yansi" ,rust-yansi-0.5))))
- (home-page "https://rocket.rs")
- (synopsis "Procedural macros for the Rocket web framework")
- (description
- "This package provides procedural macros for the Rocket web framework.")
- (license (list license:expat license:asl2.0))))
+ ("rust-yansi" ,rust-yansi-0.5))))))
(define-public rust-rocket-http-0.5
(package
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 38/43] gnu: Add rust-rocket-0.5.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
aaebec98c77c0ce8365312254609213c5df3b63c.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-web.scm (rust-rocket-0.5): New variable.

Change-Id: I773a28d57da2398d4da05d829ecb5d9c3f0d1f45
---
gnu/packages/crates-web.scm | 69 +++++++++++++++++++++++++++++++------
1 file changed, 59 insertions(+), 10 deletions(-)

Toggle diff (98 lines)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 8f4549c469..2d097b96c3 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3684,8 +3684,66 @@ (define-public rust-reqwest-0.10
(inputs
(list openssl))))
+(define-public rust-rocket-0.5
+ (package
+ (name "rust-rocket")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rocket" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l4i93dai7pyzlkvdjkqg2g7ni1r6749cwx4nrrhsrr6rdybaywy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-async-stream" ,rust-async-stream-0.3)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-atomic" ,rust-atomic-0.5)
+ ("rust-binascii" ,rust-binascii-0.1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-either" ,rust-either-1)
+ ("rust-figment" ,rust-figment-0.10)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-multer" ,rust-multer-2)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-ref-cast" ,rust-ref-cast-1)
+ ("rust-rmp-serde" ,rust-rmp-serde-1)
+ ("rust-rocket-codegen" ,rust-rocket-codegen-0.5)
+ ("rust-rocket-http" ,rust-rocket-http-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-state" ,rust-state-0.6)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+ ("rust-tokio-util" ,rust-tokio-util-0.7)
+ ("rust-ubyte" ,rust-ubyte-0.10)
+ ("rust-uuid" ,rust-uuid-1)
+ ("rust-version-check" ,rust-version-check-0.9)
+ ("rust-yansi" ,rust-yansi-1))
+ #:cargo-development-inputs
+ (("rust-figment" ,rust-figment-0.10)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1))))
+ (home-page "https://rocket.rs")
+ (synopsis
+ "Web framework with focus on ease-of-use, expressibility, and speed")
+ (description
+ "Rocket is a web framework with a focus on ease-of-use, expressibility,
+and speed.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rocket-0.4
(package
+ (inherit rust-rocket-0.5)
(name "rust-rocket")
(version "0.4.7")
(source
@@ -3695,7 +3753,6 @@ (define-public rust-rocket-0.4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "04ybnhjw92zaan92lsmx6mkhqc9cpsg3885svb3wzyj39pyzvsvz"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -3711,15 +3768,7 @@ (define-public rust-rocket-0.4
("rust-time" ,rust-time-0.1)
("rust-toml" ,rust-toml-0.4)
("rust-version-check" ,rust-version-check-0.9)
- ("rust-yansi" ,rust-yansi-0.5)
- ("rust-yansi" ,rust-yansi-0.5))))
- (home-page "https://rocket.rs")
- (synopsis
- "Web framework with focus on ease-of-use, expressibility, and speed")
- (description
- "Rocket is a web framework with a focus on ease-of-use, expressibility,
-and speed.")
- (license (list license:expat license:asl2.0))))
+ ("rust-yansi" ,rust-yansi-0.5))))))
(define-public rust-rocket-codegen-0.5
(package
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 39/43] gnu: Add rust-byte-unit-5.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
155d35e7e997cb3de2387211a1c9cd3b1f18475b.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-byte-unit-5): New variable.

Change-Id: I5ec5803355ec978b39bd41e995a55cd7d8b6ce0f
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 5 deletions(-)

Toggle diff (61 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a5ce9579c6..cf8c957b2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8685,28 +8685,49 @@ (define-public rust-byte-tools-0.3
(description "Bytes related utility functions.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-byte-unit-4
+(define-public rust-byte-unit-5
(package
(name "rust-byte-unit")
- (version "4.0.9")
+ (version "5.1.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "byte-unit" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0lxi11qf6h1rqr0yhsh7i6755l325qrkv9r4bgismyik531mi1qw"))))
+ (base32 "0gnnl92szl7d6bxz028n03ifflg96z4xp0lxqc3m8rmjy2yikb1k"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-serde" ,rust-serde-1)
- ("rust-utf8-width" ,rust-utf8-width-0.1))))
+ (("rust-rocket" ,rust-rocket-0.5)
+ ("rust-rust-decimal" ,rust-rust-decimal-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-utf8-width" ,rust-utf8-width-0.1))
+ #:cargo-development-inputs
+ (("rust-serde-json" ,rust-serde-json-1))))
(home-page "https://magiclen.org/byte-unit")
(synopsis "Library for interaction with units of bytes")
(description
"This package provides a library for interaction with units of bytes.")
(license license:expat)))
+(define-public rust-byte-unit-4
+ (package
+ (inherit rust-byte-unit-5)
+ (name "rust-byte-unit")
+ (version "4.0.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "byte-unit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lxi11qf6h1rqr0yhsh7i6755l325qrkv9r4bgismyik531mi1qw"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-utf8-width" ,rust-utf8-width-0.1))))))
+
(define-public rust-bytecheck-0.6
(package
(name "rust-bytecheck")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 42/43] gnu: Add rust-bsd-kvm-0.1.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
4865280065232e405a0a32c17689fc440fb2b42e.1710817682.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-bsd-kvm-0.1): New variable.

Change-Id: I7df832174963b7dfbf4824610d75b4b607bc2a78
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a449d1b717..91ff4d9bbd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8141,6 +8141,28 @@ (define-public rust-bs58-0.2
alphabet.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-bsd-kvm-0.1
+ (package
+ (name "rust-bsd-kvm")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bsd-kvm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gncwfwlx6mq47qc1siwaiqlsaccy7vsc1v39ybs4xvvn4lfpd4l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bsd-kvm-sys" ,rust-bsd-kvm-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/dalance/bsd-kvm")
+ (synopsis "BSD Kernel Data Access Library (libkvm) binding")
+ (description "BSD Kernel Data Access Library (libkvm) binding")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-bsd-kvm-sys-0.2
(package
(name "rust-bsd-kvm-sys")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 40/43] gnu: Add rust-bindgen-0.65.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
679827dd8caf3f2826649722d0fe9e717751d224.1710817682.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-bindgen-0.65): New variable.

Change-Id: I053b014ccae3974b49f4f9ae1404c39e4a732286
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cf8c957b2e..fc9e999e1a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6289,6 +6289,36 @@ (define-public rust-bindgen-0.66
("rust-syn" ,rust-syn-2)
("rust-which" ,rust-which-4))))))
+(define-public rust-bindgen-0.65
+ (package
+ (inherit rust-bindgen-0.66)
+ (name "rust-bindgen")
+ (version "0.65.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1i9wci1h3xnk8hi7cf06capgifnmpk9dd59zqznh6jcsdx37ppyg"))))
+ (arguments
+ `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.9)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cexpr" ,rust-cexpr-0.6)
+ ("rust-clang-sys" ,rust-clang-sys-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-lazycell" ,rust-lazycell-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-peeking-take-while" ,rust-peeking-take-while-0.1)
+ ("rust-prettyplease" ,rust-prettyplease-0.2)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-rustc-hash" ,rust-rustc-hash-1)
+ ("rust-shlex" ,rust-shlex-1)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-which" ,rust-which-4))))))
+
(define-public rust-bindgen-0.64
(package
(inherit rust-bindgen-0.66)
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 03/43] gnu: rust-home-0.5: Update to 0.5.9.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
45d497daed6c8d6e0d795d556d6f428d56a2466f.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-home-0.5): Update to 0.5.9.

Change-Id: I673f0dddeb29fb0ceddf356cf623c7a539a1df3c
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (27 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 337c7720aa..a50417eb89 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27804,17 +27804,17 @@ (define-public rust-half-1
(define-public rust-home-0.5
(package
(name "rust-home")
- (version "0.5.5")
+ (version "0.5.9")
(source
(origin
(method url-fetch)
(uri (crate-uri "home" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1nqx1krijvpd03d96avsdyknd12h8hs3xhxwgqghf8v9xxzc4i2l"))))
+ (base32 "19grxyg35rqfd802pcc9ys1q3lafzlcjcv2pl2s5q8xpyr5kblg3"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.48))))
+ `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.52))))
(home-page "https://github.com/rust-lang/cargo")
(synopsis "Shared definitions of home directories")
(description "This package provides the definition of @code{home_dir}
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:51 +0100
[PATCH 41/43] gnu: Add rust-bsd-kvm-sys-0.2.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
791480b28107de4054320ce7a22fefa216d38d68.1710817682.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-bsd-kvm-sys-0.2): New variable.

Change-Id: I711f1a91a030ebc72990a67df1eadb7f6ef40a4f
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc9e999e1a..a449d1b717 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8141,6 +8141,28 @@ (define-public rust-bs58-0.2
alphabet.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-bsd-kvm-sys-0.2
+ (package
+ (name "rust-bsd-kvm-sys")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bsd-kvm-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cn90d0kkfcs36v3sq3lpckyy0pdpdq0m7ihjlancripdn98yh35"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; Missing kvm.h.
+ #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.65))))
+ (inputs (list clang))
+ (home-page "https://github.com/dalance/bsd-kvm-sys")
+ (synopsis "BSD Kernel Data Access Library (libkvm) binding")
+ (description
+ "This package provies BSD Kernel Data Access Library (libkvm) bindings.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-bson-2
(package
(name "rust-bson")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 13/43] gnu: Add rust-procfs-0.16.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
82fdf583e9253ea0bd85ab660fd38292e114136c.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-procfs-0.16): New variable.

Change-Id: Idf3a09292180d7945bd18123dd10f962fa926a47
---
gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)

Toggle diff (55 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b045efccc5..51efb522b8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49616,6 +49616,48 @@ (define-public rust-priority-queue-1
priority of an object.")
(license license:expat)))
+(define-public rust-procfs-0.16
+ (package
+ (name "rust-procfs")
+ (version "0.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "procfs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1d4k8ai16b5cv05dpz7b87qn5dap3jdyfnrvycb5zhmhas9hs7kk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ "--skip=net::tests::test_snmp"
+ "--skip=process::task::tests::test_task_runsinglethread"
+ "--skip=process::tests::test_proc_status_for_kthreadd"
+ "--skip=tests::test_meminfo"
+ "--skip=process::tests::test_proc_fd_count_runsinglethread")
+ #:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-procfs-core" ,rust-procfs-core-0.16)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-procinfo" ,rust-procinfo-0.4))))
+ (home-page "https://github.com/eminence/procfs")
+ (synopsis "Interface to the linux procfs pseudo-filesystem")
+ (description
+ "This package provides an interface to the linux procfs
+pseudo-filesystem.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-procfs-core-0.16
(package
(name "rust-procfs-core")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 19/43] gnu: Add rust-wasm-streams-0.4.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
3e89fc3a7eb953ee45842afdc5d421ed4a554a85.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-wasm-streams-0.4): New variable.

Change-Id: Iff584b0b266041938bcfeac1d8a685ae9eb0a8e5
---
gnu/packages/crates-io.scm | 51 +++++++++++++++++++++++++++++---------
1 file changed, 39 insertions(+), 12 deletions(-)

Toggle diff (80 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 246b99dc92..4d41e9719e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78431,34 +78431,61 @@ (define-public rust-wasm-bindgen-test-macro-0.2
(("rust-proc-macro2" ,rust-proc-macro2-0.4)
("rust-quote" ,rust-quote-0.6))))))
-(define-public rust-wasm-streams-0.3
+(define-public rust-wasm-streams-0.4
(package
(name "rust-wasm-streams")
- (version "0.3.0")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "wasm-streams" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1iqa4kmhbsjj8k4q15i1x0x4p3xda0dhbg7zw51mydr4g129sq5l"))))
+ (base32 "0ad17c59xb8fffsnbrqbyqz93hb66nzxhizpii31icb31g4w8pdn"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-js-sys" ,rust-js-sys-0.3)
- ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
- ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
- ("rust-web-sys" ,rust-web-sys-0.3))
- #:cargo-development-inputs (("rust-pin-project" ,rust-pin-project-1)
- ("rust-tokio" ,rust-tokio-1)
- ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
- ("rust-web-sys" ,rust-web-sys-0.3))))
+ `(#:cargo-inputs
+ (("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+ ("rust-web-sys" ,rust-web-sys-0.3))
+ #:cargo-development-inputs
+ (("rust-pin-project" ,rust-pin-project-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
+ ("rust-web-sys" ,rust-web-sys-0.3))))
(home-page "https://github.com/MattiasBuelens/wasm-streams/")
(synopsis "Bridge between web streams and Rust streams using WebAssembly")
(description
"Bridging between web streams and Rust streams using WebAssembly.")
(license (list license:expat license:asl2.0))))
+(define-public rust-wasm-streams-0.3
+ (package
+ (inherit rust-wasm-streams-0.4)
+ (name "rust-wasm-streams")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-streams" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1iqa4kmhbsjj8k4q15i1x0x4p3xda0dhbg7zw51mydr4g129sq5l"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+ ("rust-web-sys" ,rust-web-sys-0.3))
+ #:cargo-development-inputs
+ (("rust-pin-project" ,rust-pin-project-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
+ ("rust-web-sys" ,rust-web-sys-0.3))))))
+
(define-public rust-wasm-streams-0.2
(package
(inherit rust-wasm-streams-0.3)
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 04/43] gnu: Add rust-which-6.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
440ea92d5f450aa18e306519d442685cd380749d.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-which-6): New variable.

Change-Id: Ib45002331c9ab06ed2d4584028ad9254cce99208
---
gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++--------
1 file changed, 37 insertions(+), 9 deletions(-)

Toggle diff (75 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a50417eb89..f70e756037 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78498,8 +78498,43 @@ (define-public rust-wepoll-sys-stjepang-1
using @code{bindgen}.")
(license license:mpl2.0)))
+(define-public rust-which-6
+ (package
+ (name "rust-which")
+ (version "6.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "which" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "070hbvl3hjxywychmz7nj5gbsprdm38rir3kqnm48zzp1g0y19bz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ ;; Not all files included.
+ "--skip=it_works")
+ #:cargo-inputs
+ (("rust-either" ,rust-either-1)
+ ("rust-home" ,rust-home-0.5)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/harryfei/which-rs.git")
+ (synopsis "Rust equivalent of @command{which}")
+ (description
+ "This package provides a cross-platform Rust equivalent of the
+Unix @command{which} command. It returns the full path of an installed
+executable.")
+ (license license:expat)))
+
(define-public rust-which-5
(package
+ (inherit rust-which-6)
(name "rust-which")
(version "5.0.0")
(source
@@ -78514,7 +78549,6 @@ (define-public rust-which-5
'(begin (substitute* "Cargo.toml"
(("\"= *([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@@ -78526,14 +78560,8 @@ (define-public rust-which-5
("rust-regex" ,rust-regex-1)
("rust-rustix" ,rust-rustix-0.38)
("rust-windows-sys" ,rust-windows-sys-0.48))
- #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))
- (home-page "https://github.com/harryfei/which-rs.git")
- (synopsis "Rust equivalent of @command{which}")
- (description
- "This package provides a cross-platform Rust equivalent of the
-Unix @command{which} command. It returns the full path of an installed
-executable.")
- (license license:expat)))
+ #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-which-4
(package
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 20/43] gnu: rust-reqwest-0.11: Update to 0.11.26.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
2b01fcce0539ffb6386b561ae979029bb504eb03.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-web.scm (rust-reqwest-0.11): Update to 0.11.26.

Change-Id: I243b47bdc352092161fcf0ad08ca09591774a85b
---
gnu/packages/crates-web.scm | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)

Toggle diff (68 lines)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 60c735efa7..94003bb5d8 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2023 VÖRÖSK?I András <voroskoi@gmail.com>
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
+;;; Copyright © 2024 normally_js <normally_js@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3494,14 +3495,14 @@ (define-public rust-nickel-0.11
(define-public rust-reqwest-0.11
(package
(name "rust-reqwest")
- (version "0.11.23")
+ (version "0.11.26")
(source
(origin
(method url-fetch)
(uri (crate-uri "reqwest" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0hgvzb7r46656r9vqhl5qk1kbr2xzjb91yr2cb321160ka6sxc9p"))))
+ (base32 "1chhmkfdk0ji5dacwsjix05g2vrmjzkyn76mg7cbg2vsmz297gvq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
@@ -3517,8 +3518,8 @@ (define-public rust-reqwest-0.11
(("rust-async-compression" ,rust-async-compression-0.4)
("rust-base64" ,rust-base64-0.21)
("rust-bytes" ,rust-bytes-1)
- ("rust-cookie" ,rust-cookie-0.16)
- ("rust-cookie-store" ,rust-cookie-store-0.16)
+ ("rust-cookie" ,rust-cookie-0.17)
+ ("rust-cookie-store" ,rust-cookie-store-0.20)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-futures-channel" ,rust-futures-channel-0.3)
("rust-futures-core" ,rust-futures-core-0.3)
@@ -3547,6 +3548,7 @@ (define-public rust-reqwest-0.11
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+ ("rust-sync-wrapper" ,rust-sync-wrapper-0.1)
("rust-system-configuration" ,rust-system-configuration-0.5)
("rust-tokio" ,rust-tokio-1)
("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
@@ -3558,14 +3560,15 @@ (define-public rust-reqwest-0.11
("rust-url" ,rust-url-2)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
- ("rust-wasm-streams" ,rust-wasm-streams-0.3)
+ ("rust-wasm-streams" ,rust-wasm-streams-0.4)
("rust-web-sys" ,rust-web-sys-0.3)
("rust-webpki-roots" ,rust-webpki-roots-0.25)
("rust-winreg" ,rust-winreg-0.50))
#:cargo-development-inputs
(("rust-brotli" ,rust-brotli-3)
("rust-doc-comment" ,rust-doc-comment-0.3)
- ("rust-env-logger" ,rust-env-logger-0.8)
+ ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-futures-util" ,rust-futures-util-0.3)
("rust-hyper" ,rust-hyper-0.14)
("rust-libflate" ,rust-libflate-1)
("rust-serde" ,rust-serde-1)
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 06/43] gnu: rust-tokio-1: Update to 1.36.0.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
1075f8eed3c97352ca33f2c718716d5379a0afda.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-tokio-1): Update to 1.36.0.

Change-Id: I9479f712dd91ade023d62bf436c958b00ef1712e
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ded8bfb056..55870fb750 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71424,14 +71424,14 @@ (define-public rust-tobj-2
(define-public rust-tokio-1
(package
(name "rust-tokio")
- (version "1.35.1")
+ (version "1.36.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tokio" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "01613rkziqp812a288ga65aqygs254wgajdi57v8brivjkx4x6y8"))))
+ (base32 "0c89p36zbd4abr1z3l5mipp43x7z4c9b4vp4s6r8y0gs2mjmya31"))))
(build-system cargo-build-system)
(arguments
(list #:tests? #f ; unresolved imports `crate::runtime::task`
@@ -71453,7 +71453,7 @@ (define-public rust-tokio-1
("rust-futures" ,rust-futures-0.3)
("rust-libc" ,rust-libc-0.2)
("rust-loom" ,rust-loom-0.7)
- ("rust-mio-aio" ,rust-mio-aio-0.7)
+ ("rust-mio-aio" ,rust-mio-aio-0.8)
("rust-mockall" ,rust-mockall-0.11)
("rust-nix" ,rust-nix-0.27)
("rust-rand" ,rust-rand-0.8)
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 22/43] gnu: Add rust-hyperlocal-0.8.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
11cf78e16a606aed6ac644ad0f4c4a143c9dbff7.1710817681.git.normally_js@posteo.net
* gnu/packages/crates-web.scm (rust-hyperlocal-0.8): New variable.

Change-Id: I69030d37554f58b83d71c989dc15478cce9831e3
---
gnu/packages/crates-web.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 94003bb5d8..00839914a7 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2992,6 +2992,31 @@ (define-public rust-hyper-0.10
("rust-unicase" ,rust-unicase-1)
("rust-url" ,rust-url-1))))))
+(define-public rust-hyperlocal-0.8
+ (package
+ (name "rust-hyperlocal")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hyperlocal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "136978rsp0wr6x28cxivxhbq2np66l4jrq3n9xwckrrd5dxxzbqg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/softprops/hyperlocal")
+ (synopsis "Hyper bindings for Unix domain sockets")
+ (description
+ "This package provides Hyper bindings for Unix domain sockets.")
+ (license license:expat)))
+
(define-public rust-hyper-native-tls-0.3
(package
(name "rust-hyper-native-tls")
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 08/43] gnu: Add rust-nix-0.28.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
e1de34ddb19839e7f8a95bfd90a04e75fda12099.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-nix-0.28): New variable.

Change-Id: Ibb1c75b3c83e9fccfce1b58e10294111723b5fec
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++----
1 file changed, 34 insertions(+), 4 deletions(-)

Toggle diff (71 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa090607b8..993f50d862 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40930,23 +40930,24 @@ (define-public rust-nispor-1
(description "Unified interface for Linux network state querying.")
(license license:asl2.0)))
-(define-public rust-nix-0.27
+(define-public rust-nix-0.28
(package
(name "rust-nix")
- (version "0.27.1")
+ (version "0.28.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ly0kkmij5f0sqz35lx9czlbk6zpihb7yh1bsy4irzwfd2f4xc1f"))))
+ (base32 "1r0rylax4ycx3iqakwjvaa178jrrwiiwghcw95ndzy72zk25c8db"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; unresolved import `nix::sys::aio`
+ `(#:tests? #f
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-2)
("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cfg-aliases" ,rust-cfg-aliases-0.1)
("rust-libc" ,rust-libc-0.2)
("rust-memoffset" ,rust-memoffset-0.9)
("rust-pin-utils" ,rust-pin-utils-0.1))
@@ -40966,6 +40967,35 @@ (define-public rust-nix-0.27
while still providing platform specific APIs.")
(license license:expat)))
+(define-public rust-nix-0.27
+ (package
+ (inherit rust-nix-0.28)
+ (name "rust-nix")
+ (version "0.27.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nix" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ly0kkmij5f0sqz35lx9czlbk6zpihb7yh1bsy4irzwfd2f4xc1f"))))
+ (arguments
+ `(#:tests? #f ; unresolved import `nix::sys::aio`
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memoffset" ,rust-memoffset-0.9)
+ ("rust-pin-utils" ,rust-pin-utils-0.1))
+ #:cargo-development-inputs
+ (("rust-assert-impl" ,rust-assert-impl-0.1)
+ ("rust-caps" ,rust-caps-0.5)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-semver" ,rust-semver-1)
+ ("rust-sysctl" ,rust-sysctl-0.4)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-nix-0.26
(package
(inherit rust-nix-0.27)
--
2.41.0
N
N
normalmente wrote on 19 Mar 04:50 +0100
[PATCH 12/43] gnu: Add rust-procfs-core-0.16.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
e1ff1c47114a66c59ace47d99a9bb391e9c8ea39.1710817680.git.normally_js@posteo.net
* gnu/packages/crates-io.scm (rust-procfs-core-0.16): New variable.

Change-Id: I54a9d6a2d511942109c8f9a42ab65629bc0d6425
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ab644aaf4c..b045efccc5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49616,6 +49616,32 @@ (define-public rust-priority-queue-1
priority of an object.")
(license license:expat)))
+(define-public rust-procfs-core-0.16
+ (package
+ (name "rust-procfs-core")
+ (version "0.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "procfs-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0acs0p19yfcs0h787ls24vi5ql4g6c62cm57qh2cxx397a958d9d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/eminence/procfs")
+ (synopsis
+ "Data structures and parsing for the linux procfs pseudo-filesystem")
+ (description
+ "This package provides data structures and parsing for the linux procfs
+pseudo-filesystem.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-procinfo-0.4
(package
(name "rust-procinfo")
--
2.41.0
N
N
normalmente wrote on 20 Mar 19:35 +0100
[PATCH v2REVISION 43/43] gnu: Add procs.
(address . 69890@debbugs.gnu.org)(name . normalmente)(address . normally_js@posteo.net)
44b58d4e8816d79dad2d019231997e34fd72fdf4.1710959729.git.normally_js@posteo.net
Made more compliant with the Guix coding style.

* gnu/packages/rust-apps.scm (procs): New variable.

Change-Id: Ib30f481debae7f700d2fdf0848b210e579a79fe9
---
gnu/packages/rust-apps.scm | 69 ++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)

Toggle diff (131 lines)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 8eca82f40c..4a5c396ee8 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -31,6 +31,7 @@
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
+;;; Copyright © 2024 normally_js <normally_js@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2808,6 +2809,74 @@ (define-public swayr
daemon which executes them.")
(license license:gpl3+)))

+(define-public procs
+ (package
+ (name "procs")
+ (version "0.14.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "procs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ixl4912md5spanasf4kj0js35j6ff2rpwxbj9q15699cj5di8x4"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:install-source? #f
+ #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bsd-kvm" ,rust-bsd-kvm-0.1)
+ ("rust-bsd-kvm-sys" ,rust-bsd-kvm-sys-0.2)
+ ("rust-byte-unit" ,rust-byte-unit-5)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-clap-complete" ,rust-clap-complete-4)
+ ("rust-console" ,rust-console-0.15)
+ ("rust-directories" ,rust-directories-5)
+ ("rust-dockworker" ,rust-dockworker-0.5)
+ ("rust-errno" ,rust-errno-0.3)
+ ("rust-getch" ,rust-getch-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libproc" ,rust-libproc-0.14)
+ ("rust-minus" ,rust-minus-5)
+ ("rust-nix" ,rust-nix-0.28)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pager" ,rust-pager-0.16)
+ ("rust-pager" ,rust-pager-0.16)
+ ("rust-procfs" ,rust-procfs-0.16)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-termbg" ,rust-termbg-0.5)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-toml" ,rust-toml-0.8)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-uzers" ,rust-uzers-0.11)
+ ("rust-which" ,rust-which-6)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'install 'install-manual-page
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (man (string-append out "/share/man/man1")))
+ (with-directory-excursion "man"
+ (invoke "a2x"
+ "-L"
+ "-d"
+ "manpage"
+ "-f"
+ "manpage"
+ "procs.1.adoc"))
+ (install-file "man/procs.1" man)))))))
+ (native-inputs (list asciidoc))
+ (home-page "https://github.com/dalance/procs")
+ (synopsis "Modern replacement for @command{ps}")
+ (description
+ "A modern replacement for @command{ps} with colored output,
+multi-column keyword search, additional information, pager support, watch
+support (like @command{top}) and a tree view.")
+ (license license:expat)))
+
(define-public tealdeer
(package
(name "tealdeer")

base-commit: aec00d246ecc12846560d15eae2c9fc9c6e6cc74
prerequisite-patch-id: 484040c16e1f3fec4c0e063959971360cd081d2b
prerequisite-patch-id: fba712849afb533e723f02c0f707aaaad4f96b5e
prerequisite-patch-id: 8f6b4de09dce7abbe70be8f8309132ca70241383
prerequisite-patch-id: c4eeda1c3312b8bdd7c8569622002a1688654825
prerequisite-patch-id: 49d2febf2143f5d0af3f50305cef0d6209218238
prerequisite-patch-id: 70ce83005fa68899f8fc5e59e2eb61d51eb4a0db
prerequisite-patch-id: fd6cb1319d9ec76f9ec1bfd9c2c8ec39f8d23614
prerequisite-patch-id: 4e95f026383f8437afed261f04f324ed986946e9
prerequisite-patch-id: 24663db5c74615c0663b6a81f898d2e152b670a6
prerequisite-patch-id: 76a0be3a16a985e77bac8b6e727ae2886dc36d45
prerequisite-patch-id: 92dcbd5360193a30e04f16613b7672c2b90931b5
prerequisite-patch-id: 16a75150632a8703019d384bfb414f76ddb642b4
prerequisite-patch-id: a4a315e944cea7b2b4417c3890f9a6c5c34ce289
prerequisite-patch-id: 1594dc98a02225ed81b9012151028e9e6b9039bf
prerequisite-patch-id: 4275f1976601eb09ece36e523d7f4b2b73b06c58
prerequisite-patch-id: 9be4b1232bfa52eba93ea4b7784ab5fb1a1fdd0d
prerequisite-patch-id: 104c7951cabfaa95f3a99cdb0149158334835118
prerequisite-patch-id: ee1c3dcacf73b94720d9e248fd8a4e94958bf0b4
prerequisite-patch-id: 2ebd7100eab3d79c8a3672a7dc1142d88ba6f64d
prerequisite-patch-id: 225858a6dbefee7b00f7cbaf8eec09c6732b0140
prerequisite-patch-id: ece3d0cb9da430739f9c4d5202716a51a69499ec
prerequisite-patch-id: e5a37fb436559aca11b74bf76f344123b05f21b5
prerequisite-patch-id: de83a7e002f2b6621b5b011f902e8770e9983b42
prerequisite-patch-id: a7af41677deb6baf775ebd29c6225cc5c87e7b0d
prerequisite-patch-id: f9cb7693fd50c91d45cfeb43dd60257c4a59679b
prerequisite-patch-id: 6ccad1d4cc22c5232e70f0180c88e467ebd15086
prerequisite-patch-id: e892282191afb19e0a28b5f132a66cbcdeedcf92
prerequisite-patch-id: 2e8cbe8d3f492190afafdf424d0f832d119842ad
prerequisite-patch-id: fc7d51828e20ac623c2088c7c2e40c77a6be307d
prerequisite-patch-id: 5498361d6b7cffd73b9a3e3b860ea7961fc74952
prerequisite-patch-id: 753ba88b5a3e90957c8586254a251decd44bd418
prerequisite-patch-id: d6fad01da9e5f620391e4573092fb84dffdd6b60
prerequisite-patch-id: ff1f55ac29cb9ddc4c0c83ce8a475467e7726c99
prerequisite-patch-id: a5e332f31b8869b376abe5a9b1f9323767347904
prerequisite-patch-id: a3b5847d8ed027bd58bc119e7a111755236341fb
prerequisite-patch-id: 111640a81c62263f9e88672e3332593119d63701
prerequisite-patch-id: fceb02e6cca9c6160e61e5b22e29f794b48ece88
prerequisite-patch-id: d2007de88f9840398dec5824429ffe0308767674
prerequisite-patch-id: c643e5b555d728b6aedea8b8ecd8e5f917986657
prerequisite-patch-id: 9f279125b0e3034ffa23bce3620e1b3d1479dcaf
prerequisite-patch-id: fbd361f5c79202dffceed41f212cd93655cad61f
prerequisite-patch-id: 30a0763c25bfbcea425c0228441089d2071d0dfb
--
2.41.0
?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 69890
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch