diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 15:49:08 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:29 +0100 |
commit | 07cdb05e99254c003823ad0b46abf90b9a66adda (patch) | |
tree | a904be1d7c4e4d70fb833cfc706a53edc7303bcf /gnu/packages | |
parent | 32f87562cada1c858619a3f7002e4c1170756b24 (diff) | |
download | guix-07cdb05e99254c003823ad0b46abf90b9a66adda.tar guix-07cdb05e99254c003823ad0b46abf90b9a66adda.tar.gz |
gnu: Add rust-pretty-0.5.
* gnu/packages/crates-io.scm (rust-pretty-0.5): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 763e745eb7..3ca2f64575 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27664,6 +27664,30 @@ functions.") (("rust-predicates-core" ,rust-predicates-core-0.9) ("rust-treeline" ,rust-treeline-0.1)))))) +(define-public rust-pretty-0.5 + (package + (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")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-termcolor" ,rust-termcolor-0.3) + ("rust-typed-arena" ,rust-typed-arena-1)))) + (home-page "https://github.com/Marwes/pretty.rs") + (synopsis "Pretty printing combinators for Rust") + (description + "This crate provides functionality for defining pretty printers. It is +particularly useful for printing structured recursive data like trees.") + (license license:expat))) + (define-public rust-pretty-assertions-0.6 (package (name "rust-pretty-assertions") |