diff options
author | Milkey Mouse <milkeymouse@meme.institute> | 2021-08-31 20:54:14 -0700 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-07 22:01:14 +0200 |
commit | d7981a16d1da20c42de468b65398c4d9bedc0e5a (patch) | |
tree | 041705f43635dabb2a27b69b170be38133eced8d | |
parent | f604fe11f66015ea9f373188ae3de8b9d17a38fa (diff) | |
download | guix-d7981a16d1da20c42de468b65398c4d9bedc0e5a.tar.gz guix-d7981a16d1da20c42de468b65398c4d9bedc0e5a.zip |
gnu: Add rust-seccomp-sys-0.1.
* gnu/packages/crates-io.scm (rust-seccomp-sys-0.1): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a78d5bc94e..9cee97dd2a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -54,6 +54,7 @@ #:use-module (gnu packages glib) #:use-module (gnu packages image) #:use-module (gnu packages jemalloc) + #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages multiprecision) #:use-module (gnu packages nettle) @@ -41535,6 +41536,28 @@ Pwrite traits from the scroll crate.") proven statistical guarantees.") (license license:expat))) +(define-public rust-seccomp-sys-0.1 + (package + (name "rust-seccomp-sys") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "seccomp-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rkbiq1vd5d3cc4w5ql05pj1vbjqfi7zir02szwfm2khl15zgg75")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (inputs `(("libseccomp" ,libseccomp))) + (home-page "https://github.com/polachok/seccomp-sys") + (synopsis "Low-level bindings to libseccomp") + (description "This package provides low-level bindings to libseccomp.") + (license license:lgpl2.1))) + (define-public rust-section-testing-0.0 (package (name "rust-section-testing") |