gnu: Add rust-perf-event-open-sys-1.

* gnu/packages/crates-io.scm (rust-perf-event-open-sys-1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Zheng junjie 2021-06-11 21:11:46 +08:00 committed by Nicolas Goaziou
parent dfce19156c
commit ce246feb5b
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -30453,6 +30453,33 @@ (define-public rust-peresil-0.3
"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")