From 7c1f680c96faee1090dda9a251eefb908dfbdc07 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 07:57:32 -0800 Subject: [PATCH 159/263] gnu: Add rust-flame-0.2. * gnu/packages/crates-io.scm (rust-flame-0.2): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d50e29d93e..f091ad1a51 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2473,6 +2473,33 @@ cross platform API.") (license (list license:asl2.0 license:expat)))) +(define-public rust-flame-0.2 + (package + (name "rust-flame") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "flame" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c5bmhyimzxch3pmh0w3z9n57saasgix4bmbbksr9vp1c5j71hhz")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-derive" ,rust-serde-derive-1.0) + ("rust-serde-json" ,rust-serde-json-1.0) + ("rust-thread-id" ,rust-thread-id-3.3)))) + (home-page "https://github.com/TyOverby/flame") + (synopsis "Profiling and flamegraph library") + (description "A profiling and flamegraph library.") + (license `(,license:asl2.0 ,license:expat)))) + (define-public rust-flate2-1.0 (package (name "rust-flate2") -- 2.24.1