diff options
author | Tomas Volf <~@wolfsden.cz> | 2024-02-15 21:26:32 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:56 +0200 |
commit | 1ea1a9e81b1225485706eeb55011c288e54266ab (patch) | |
tree | cc4f897c091763b81ddbfb7e18c0f54ccb400482 /gnu | |
parent | 7a36fac1e636c7af74e4e7199675c42985a8ed26 (diff) |
gnu: Add rust-nftables-0.3.
* gnu/packages/crates-io.scm (rust-nftables-0.3): New variable.
Change-Id: I238e5dc9bb99d03428df3bd9199c10699ec63f28
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6c4739fb9e..028505b2f3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -40100,6 +40100,32 @@ structures.") (license (list license:expat license:asl2.0)))) +(define-public rust-nftables-0.3 + (package + (name "rust-nftables") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nftables" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lmn2qkd5d24ip963ijj864djmqnm0q2mvgansbkv82fqysiplbi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1) + ("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.25) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://namib.me/") + (synopsis "Safe abstraction for nftables JSON API") + (description + "Safe abstraction for nftables JSON API. It can be used to create nftables +rulesets in Rust and parse existing nftables rulesets from JSON.") + (license (list license:expat license:asl2.0)))) + (define-public rust-nibble-vec-0.1 (package (name "rust-nibble-vec") |