aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm39
1 files changed, 32 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1ffce53949..6d86b60bba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44364,23 +44364,30 @@ functions.")
(("rust-predicates-core" ,rust-predicates-core-0.9)
("rust-treeline" ,rust-treeline-0.1))))))
-(define-public rust-pretty-0.5
+(define-public rust-pretty-0.11
(package
(name "rust-pretty")
- (version "0.5.2")
+ (version "0.11.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "pretty" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1lzn7d60l79vsdwcfgrh6jmk193nzwh1j36r8p9cv3n8dyghs37n"))))
+ (base32 "1282l4pa9hhamvbnd5mjrwhdgcsjy1l1lj44i0m4pczsf1cd3br9"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-termcolor" ,rust-termcolor-0.3)
- ("rust-typed-arena" ,rust-typed-arena-1))))
+ `(#:cargo-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-termcolor" ,rust-termcolor-1)
+ ("rust-typed-arena" ,rust-typed-arena-2)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-difference" ,rust-difference-2)
+ ("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/Marwes/pretty.rs")
(synopsis "Pretty printing combinators for Rust")
(description
@@ -44388,6 +44395,24 @@ functions.")
particularly useful for printing structured recursive data like trees.")
(license license:expat)))
+(define-public rust-pretty-0.5
+ (package
+ (inherit rust-pretty-0.11)
+ (name "rust-pretty")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pretty" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lzn7d60l79vsdwcfgrh6jmk193nzwh1j36r8p9cv3n8dyghs37n"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-termcolor" ,rust-termcolor-0.3)
+ ("rust-typed-arena" ,rust-typed-arena-1))))))
+
(define-public rust-pretty-assertions-0.7
(package
(name "rust-pretty-assertions")