(address . guix-patches@gnu.org)
* gnu/packages/crates-io.scm (rust-pbr-1): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Toggle diff (51 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1bfd8fb143..1144d36878 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35,6 +35,7 @@
;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2023 Steve George <steve@futurile.net>
+;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -53949,6 +53950,34 @@ (define-public rust-pbkdf2-0.4
("rust-sha-1" ,rust-sha-1-0.9)
("rust-sha2" ,rust-sha2-0.9))))))
+(define-public rust-pbr-1
+ (package
+ (name "rust-pbr")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pbr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "056mqvw168ziig1dgl2kq4vmkamv6gk3hv1x9696r6ynl3gjfn7d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ ;; This test requires /dev/stderr
+ "--skip=tty::unix::compare_with_stty")
+ #:cargo-inputs
+ (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/a8m/pb")
+ (synopsis "Console progress bar for Rust")
+ (description "This package provides a console progress bar for Rust.")
+ (license license:expat)))
+
(define-public rust-pcap-sys-0.1
(package
(name "rust-pcap-sys")
base-commit: 5f8a993aa85554ca09bd27139230d7664107e1b6
--
2.42.0