diff options
author | Milkey Mouse <milkeymouse@meme.institute> | 2021-08-31 20:54:15 -0700 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-07 22:01:14 +0200 |
commit | 67de1fc87be8bb68c1d4e5211cb3e36a8acb9113 (patch) | |
tree | 9b9fe355054fa9f0df65e39aa75440ef3529af69 /gnu/packages/crates-io.scm | |
parent | d7981a16d1da20c42de468b65398c4d9bedc0e5a (diff) |
gnu: Add rust-syscallz-0.15.
* gnu/packages/crates-io.scm (rust-syscallz-0.15): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9cee97dd2a..9246a85e4e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -47196,6 +47196,33 @@ system or application with the relevant platform APIs. The library is also no_std compatible by default, only relying on alloc.") (license (list license:expat license:asl2.0)))) +(define-public rust-syscallz-0.15 + (package + (name "rust-syscallz") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "syscallz" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0z5yfgb6086gdvbrm8lm0i745j6d8qw653xxy3mlrzdcjk3j1skz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-seccomp-sys" ,rust-seccomp-sys-0.1) + ("rust-strum" ,rust-strum-0.19) + ("rust-strum-macros" ,rust-strum-macros-0.19)))) + (inputs `(("libseccomp" ,libseccomp))) + (home-page "https://github.com/kpcyrd/syscallz-rs") + (synopsis "Simple seccomp library for rust") + (description "Simple seccomp library for rust") + (license (list license:expat license:asl2.0)))) + (define-public rust-sysctl-0.4 (package (name "rust-sysctl") |