From d120a0cdfab0be94d49721dedeab676321bd45af Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 28 Oct 2023 10:00:14 +0300 Subject: [PATCH] gnu: Add rust-ui-test-0.7. * gnu/packages/crates-io.scm (rust-ui-test-0.7): New variable. Change-Id: I3f8a2aff5f781cd42bc807a6636d226505c6c817 --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5158a725ac..4bd00d8dcb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -82383,6 +82383,40 @@ panic-free alternative to @code{core::fmt}.") (description "This package provides @code{μfmt}'s @code{uWrite} trait.") (license (list license:expat license:asl2.0)))) +(define-public rust-ui-test-0.7 + (package + (name "rust-ui-test") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ui-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jzlccdw15psgjx4albqnrznl9ypgvfwcjr2x99lvdxrqsm4nnrb")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-cargo-platform" ,rust-cargo-platform-0.1) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.15) + ("rust-color-eyre" ,rust-color-eyre-0.6) + ("rust-colored" ,rust-colored-2) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-diff" ,rust-diff-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-rustfix" ,rust-rustfix-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/oli-obk/ui_test") + (synopsis "Test framework for testing rustc diagnostics output") + (description + "This package provides a test framework for testing rustc diagnostics output.") + (license (list license:expat license:asl2.0)))) + (define-public rust-uint-0.9 (package (name "rust-uint")