diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-07 12:02:25 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:32 +0200 |
commit | abb0fc15606c3fd1c74a78cccbccda1cc2dad6a6 (patch) | |
tree | 3153354f4213d78fd7813ef6b78d6d2913f85a6e /gnu/packages/crates-io.scm | |
parent | 14e4a1c8a6684f581dbdfd0fab749a5b81119682 (diff) | |
download | guix-abb0fc15606c3fd1c74a78cccbccda1cc2dad6a6.tar.gz guix-abb0fc15606c3fd1c74a78cccbccda1cc2dad6a6.zip |
gnu: Add rust-profiling-1.
* gnu/packages/crates-io.scm (rust-profiling-1): New variable.
Change-Id: I7b1f2cf34ec4796ad44a1041ba78dfd7a148a2c9
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cbdfaa41a8..ebb66e2660 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -52243,6 +52243,39 @@ and possibly blocking tasks.") ("rust-once-cell" ,rust-once-cell-1) ("rust-rand" ,rust-rand-0.8)))))) +(define-public rust-profiling-1 + (package + (name "rust-profiling") + (version "1.0.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "profiling" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03nwj6y7v4dfjz14vs8sq64bg40n3s84hhd6nxp3gxhwhblfsdfi")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-optick" ,rust-optick-1) + ("rust-profiling-procmacros" ,rust-profiling-procmacros-1) + ("rust-puffin" ,rust-puffin-0.18) + ("rust-superluminal-perf" ,rust-superluminal-perf-0.1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracy-client" ,rust-tracy-client-0.16)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2) + ("rust-tracing-tracy" ,rust-tracing-tracy-0.4)))) + (home-page "https://github.com/aclysma/profiling") + (synopsis "Abstraction over other profiler crates") + (description + "This crate provides a very thin abstraction over other profiler crates.") + (license (list license:expat license:asl2.0)))) + (define-public rust-profiling-procmacros-1 (package (name "rust-profiling-procmacros") |