GNU bug report logs -
#48956
[PATCH] Add rust-analyzer
Previous Next
Reported by: Z572 <873216071 <at> qq.com>
Date: Fri, 11 Jun 2021 11:42:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #113 received at 48956 <at> debbugs.gnu.org (full text, mbox):
From: Zheng junjie <873216071 <at> qq.com>
* gnu/packages/crates-io.scm (rust-perf-event-open-sys-1): 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 e48f3fe1bc..8718d37a49 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30451,6 +30451,33 @@ runtime support for rust-peg grammars. To use rust-peg, see the peg crate.")
"This package provides a simple and simplistic string parsing library.")
(license license:expat)))
+(define-public rust-perf-event-open-sys-1
+ (package
+ (name "rust-perf-event-open-sys")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "perf-event-open-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06jnb2jkwjinpj4hc41kbwsqbxdb1ywy5vci4ggly8rcvbsyv6yf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))))
+ (home-page
+ "https://github.com/jimblandy/perf-event-open-sys.git")
+ (synopsis
+ "Unsafe, direct bindings for Linux's perf_event_open system call")
+ (description
+ "This package provides a unsafe, direct bindings for Linux's
+perf_event_open system call, with associated types and constants.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-permutohedron-0.2
(package
(name "rust-permutohedron")
--
2.32.0
This bug report was last modified 3 years and 346 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.