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
This commit is contained in:
parent
71df3f2a89
commit
a5a8d36b30
1 changed files with 40 additions and 12 deletions
|
@ -68499,8 +68499,45 @@ functionality and without weak references.")
|
|||
"This package provides a Rust-friendly interface to lm-sensors.")
|
||||
(license license:miros)))
|
||||
|
||||
(define-public rust-shadow-rs-0.26
|
||||
(package
|
||||
(name "rust-shadow-rs")
|
||||
(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 "15xrlf66f10773k9kwpvz8909akfjspyy0yy9ss665wrfs15qp1y"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#: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
|
||||
"@code{shadow-rs} allows you to recall properties of the build process
|
||||
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
|
||||
|
@ -68510,20 +68547,11 @@ functionality and without weak references.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0iy4f6yzag52qr93hjhm2l8crxhjblr91nffbdd8zzw0xchfjdc9"))))
|
||||
(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))))
|
||||
(home-page "https://github.com/baoyachi/shadow-rs")
|
||||
(synopsis "Recall properties of the build process at run time")
|
||||
(description
|
||||
"@code{shadow-rs} allows you to recall properties of the build process
|
||||
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))))
|
||||
#: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
|
||||
|
|
Reference in a new issue