summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng junjie <873216071@qq.com>2021-06-11 21:11:49 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-13 19:14:11 +0200
commit6ec682f543ab44a7b74fa3b0736a3f01e89e1c82 (patch)
treef37f575d2ee38b9a0abac49b72220eb07785826d /gnu/packages
parent594137c14f106ba1484ec1482f88f93cf9bf9981 (diff)
gnu: Add rust-perf-event-0.4.
* gnu/packages/crates-io.scm (rust-perf-event-0.4): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4e1ae1c704..1052a4389a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30512,6 +30512,33 @@ runtime support for rust-peg grammars. To use rust-peg, see the peg crate.")
perf_event_open system call, with associated types and constants.")
(license (list license:expat license:asl2.0))))
+(define-public rust-perf-event-0.4
+ (package
+ (name "rust-perf-event")
+ (version "0.4.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "perf-event" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rlxmyscr38wynknqqpy82fypq8ywa52ad3dbm22ia7as8n5d5jk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-perf-event-open-sys"
+ ,rust-perf-event-open-sys-1))))
+ (home-page
+ "https://github.com/jimblandy/perf-event.git")
+ (synopsis
+ "Rust interface to Linux performance monitoring")
+ (description
+ "This package provides a Rust interface to Linux performance monitoring.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-permutohedron-0.2
(package
(name "rust-permutohedron")