From 37bdcaa7d3196c48edc912f2c3a975c848714057 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 17 Dec 2021 22:37:51 +0100 Subject: gnu: Add rust-ptree-0.4. * gnu/packages/crates-io.scm (rust-ptree-0.4): New variable. (rust-ptree-0.3): Inherit from above. --- gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8e17e7f88a..a866c8a31e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -64426,28 +64426,28 @@ pointers: ") (license license:expat))) -(define-public rust-ptree-0.3 +(define-public rust-ptree-0.4 (package (name "rust-ptree") - (version "0.3.1") + (version "0.4.0") (source (origin (method url-fetch) (uri (crate-uri "ptree" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bp6r88hcw0ygmdfdf1gwsj6krcah2qhwp3kw284wvni080l1zcm")))) + (base32 "0w72k0svlj8ihbf7m7ivay7rpv38xz9ad5a06isyqsiiddwq1pm0")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) ("rust-atty" ,rust-atty-0.2) - ("rust-config" ,rust-config-0.10) - ("rust-directories" ,rust-directories-2) - ("rust-petgraph" ,rust-petgraph-0.5) + ("rust-config" ,rust-config-0.11) + ("rust-directories" ,rust-directories-4) + ("rust-petgraph" ,rust-petgraph-0.6) ("rust-serde" ,rust-serde-1) - ("rust-serde-value" ,rust-serde-value-0.6) + ("rust-serde-value" ,rust-serde-value-0.7) ("rust-tint" ,rust-tint-1)))) (home-page "https://gitlab.com/Noughmad/ptree") (synopsis "Pretty-print tree-like structures") @@ -64456,6 +64456,30 @@ pointers: configuration file and/or environment variables.") (license (list license:expat license:asl2.0)))) +(define-public rust-ptree-0.3 + (package + (inherit rust-ptree-0.4) + (name "rust-ptree") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ptree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bp6r88hcw0ygmdfdf1gwsj6krcah2qhwp3kw284wvni080l1zcm")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-atty" ,rust-atty-0.2) + ("rust-config" ,rust-config-0.10) + ("rust-directories" ,rust-directories-2) + ("rust-petgraph" ,rust-petgraph-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-serde-value" ,rust-serde-value-0.6) + ("rust-tint" ,rust-tint-1)))))) + (define-public rust-xmltree-0.10 (package (name "rust-xmltree") -- cgit 1.4.1