From 16ddb8dedc9c05e14c47b1642e88578aa113532f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 14 May 2021 17:16:23 +0200 Subject: gnu: Add rust-bugreport-0.4. * gnu/packages/crates-io.scm (rust-bugreport-0.4): New variable. (rust-bugreport-0.3): Inherit from above. --- gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 12f023b108..58bc5c4cec 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5537,23 +5537,24 @@ (define-public rust-buffered-reader-0.9 with data in place, which avoids another copy.") (license license:gpl3))) -(define-public rust-bugreport-0.3 +(define-public rust-bugreport-0.4 (package (name "rust-bugreport") - (version "0.3.0") + (version "0.4.0") (source (origin (method url-fetch) (uri (crate-uri "bugreport" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1n5f1nkqbc5yf9bckjap49pwnqnvdczm6x9y23caaghpgw0n4rqi")))) + (base32 "0gday6f2brqgzl12a0vf7fx1hh1mim6gdjxc6dfwk9v4i19pxsd0")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-snailquote" ,rust-snailquote-0.3) - ("rust-sys-info" ,rust-sys-info-0.7)))) + (("rust-git-version" ,rust-git-version-0.3) + ("rust-shell-escape" ,rust-shell-escape-0.1) + ("rust-sys-info" ,rust-sys-info-0.9)))) (home-page "https://github.com/sharkdp/bugreport") (synopsis "Collect system and environment information for bug reports") (description @@ -5562,6 +5563,24 @@ (define-public rust-bugreport-0.3 users can send along with a bug report.") (license (list license:expat license:asl2.0)))) +(define-public rust-bugreport-0.3 + (package + (inherit rust-bugreport-0.4) + (name "rust-bugreport") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bugreport" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n5f1nkqbc5yf9bckjap49pwnqnvdczm6x9y23caaghpgw0n4rqi")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-snailquote" ,rust-snailquote-0.3) + ("rust-sys-info" ,rust-sys-info-0.7)))))) + (define-public rust-build-const-0.2 (package (name "rust-build-const") -- cgit v1.2.3