diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-31 14:21:43 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:45:22 +0300 |
commit | a5a8d36b30e54425231dac0f938bbd4d492e8f0e (patch) | |
tree | f929918957ea56dba560aaf1c74f704d3a9ef2a2 /gnu | |
parent | 71df3f2a893ee7e6a25486848a7c06a9b06e6af1 (diff) | |
download | guix-a5a8d36b30e54425231dac0f938bbd4d492e8f0e.tar guix-a5a8d36b30e54425231dac0f938bbd4d492e8f0e.tar.gz |
gnu: Add rust-shadow-rs-0.26.
* gnu/packages/crates-io.scm (rust-shadow-rs-0.26): New variable.
(rust-shadow-rs-0.9): Inherit from rust-shadow-rs-0.26.
Change-Id: I428d75bedcd57c402c61c543c9c6e95649526d20
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 44 |
1 files changed, 36 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4892a64e76..7ca8b7d0e1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -68499,24 +68499,34 @@ functionality and without weak references.") "This package provides a Rust-friendly interface to lm-sensors.") (license license:miros))) -(define-public rust-shadow-rs-0.8 +(define-public rust-shadow-rs-0.26 (package (name "rust-shadow-rs") - (version "0.8.1") + (version "0.26.1") (source (origin (method url-fetch) (uri (crate-uri "shadow-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0iy4f6yzag52qr93hjhm2l8crxhjblr91nffbdd8zzw0xchfjdc9")))) + (base32 "15xrlf66f10773k9kwpvz8909akfjspyy0yy9ss665wrfs15qp1y")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-git2" ,rust-git2-0.13) - ("rust-is-debug" ,rust-is-debug-1)))) + `(#:cargo-test-flags + '("--release" "--" + "--skip=date_time::tests::test_local_now_human_format" + "--skip=git::tests::test_command_last_tag" + "--skip=git::tests::test_current_branch" + "--skip=git::tests::test_git") + #:cargo-inputs (("rust-const-format" ,rust-const-format-0.2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-git2" ,rust-git2-0.18) + ("rust-is-debug" ,rust-is-debug-1) + ("rust-time" ,rust-time-0.3) + ("rust-tzdb" ,rust-tzdb-0.6)) + #:cargo-development-inputs (("rust-winnow" ,rust-winnow-0.5)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.7 zlib)) (home-page "https://github.com/baoyachi/shadow-rs") (synopsis "Recall properties of the build process at run time") (description @@ -68525,6 +68535,24 @@ and environment at run time. You can use this tool to check in production exactly where a binary came from and how it was built.") (license (list license:expat license:asl2.0)))) +(define-public rust-shadow-rs-0.8 + (package + (inherit rust-shadow-rs-0.26) + (name "rust-shadow-rs") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "shadow-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0iy4f6yzag52qr93hjhm2l8crxhjblr91nffbdd8zzw0xchfjdc9")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-git2" ,rust-git2-0.13) + ("rust-is-debug" ,rust-is-debug-1)))))) + (define-public rust-shannon-0.2 (package (name "rust-shannon") |