From 07cdb05e99254c003823ad0b46abf90b9a66adda Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 10 Feb 2021 15:49:08 +0100 Subject: gnu: Add rust-pretty-0.5. * gnu/packages/crates-io.scm (rust-pretty-0.5): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages') 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 @@ (define-public rust-predicates-tree-0.9 (("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") -- cgit v1.2.3