diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-06-29 12:56:17 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-18 20:56:14 +0300 |
commit | f65a4b8cf49a310e82da54da81299df46dbb4b86 (patch) | |
tree | 070e1fe49df40fd16fa07be5e1d22d686629e74e | |
parent | d775618c460f1a88edb6b2999eeef19600eb01bf (diff) | |
download | guix-f65a4b8cf49a310e82da54da81299df46dbb4b86.tar.gz |
gnu: Add rust-flamer-0.4.
* gnu/packages/crates-io.scm (rust-flamer-0.4): New variable. (rust-flamer-0.3): Inherit from rust-flamer-0.4.
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 26a3401c60..d910e164c7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23564,8 +23564,32 @@ enumeration-based bit flags in rust.") (description "A profiling and flamegraph library.") (license (list license:asl2.0 license:expat)))) +(define-public rust-flamer-0.4 + (package + (name "rust-flamer") + (version "0.4.0") + (source (origin + (method url-fetch) + (uri (crate-uri "flamer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1avszq3fn4ix7p6wjfdkli6fjyxccks1qhzja92a6kpxakd35drn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-flame" ,rust-flame-0.2) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/llogiq/flamer") + (synopsis "Macro to insert @code{flame::start_guard(_)}") + (description + "A procedural macro to insert @code{flame::start_guard(_)} calls.") + (license license:asl2.0))) + (define-public rust-flamer-0.3 (package + (inherit rust-flamer-0.4) (name "rust-flamer") (version "0.3.0") (source @@ -23577,18 +23601,12 @@ enumeration-based bit flags in rust.") (sha256 (base32 "1b2d7jx80f3p7hqpgdi7wksaiq18k9w23p0cs2sxf7jbx2jx3bgj")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Uses features not available in stable Rust release #:cargo-inputs (("rust-flame" ,rust-flame-0.2) ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15)))) - (home-page "https://github.com/llogiq/flamer") - (synopsis "Macro to insert @code{flame::start_guard(_)}") - (description - "A procedural macro to insert @code{flame::start_guard(_)} calls.") - (license license:asl2.0))) + ("rust-syn" ,rust-syn-0.15)))))) (define-public rust-flatbuffers-2 (package |