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>
This commit is contained in:
Tomas Volf 2024-02-15 21:26:32 +01:00 committed by Efraim Flashner
parent 7a36fac1e6
commit 1ea1a9e81b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -40100,6 +40100,32 @@ (define-public rust-newtype-derive-0.1
(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")