aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-31 14:33:32 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:45:30 +0300
commite8e4c9be01533957c5d2952da9ed9ff9048379f6 (patch)
treed8192edeb984191067b62021fbccfbe067d53ed1 /gnu/packages
parentcaf88120d23d37d5238089385bb11ac810b58e13 (diff)
downloadguix-e8e4c9be01533957c5d2952da9ed9ff9048379f6.tar
guix-e8e4c9be01533957c5d2952da9ed9ff9048379f6.tar.gz
gnu: Add rust-selinux-sys-0.6.
* gnu/packages/crates-io.scm (rust-selinux-sys-0.6): New variable. Change-Id: I2094a3a02111c134dac854747ae1b20ae505c5c4
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 70095daea7..62752832b4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -112,6 +112,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages rust)
#:use-module (gnu packages rust-apps)
+ #:use-module (gnu packages selinux)
#:use-module (gnu packages sequoia)
#:use-module (gnu packages serialization)
#:use-module (gnu packages shells)
@@ -66590,6 +66591,29 @@ statistical guarantees.")
in stable Rust.")
(license license:asl2.0)))
+(define-public rust-selinux-sys-0.6
+ (package
+ (name "rust-selinux-sys")
+ (version "0.6.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "selinux-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v2z4002x3k7vzfq3z2p05xn85f0439iybmpxg47xh9x6yc59m49"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-dunce" ,rust-dunce-1)
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (inputs (list clang libselinux))
+ (home-page "https://codeberg.org/koutheir/selinux-sys.git")
+ (synopsis "Flexible Mandatory Access Control (MAC) for Linux")
+ (description "Flexible Mandatory Access Control (MAC) for Linux.")
+ (license license:expat)))
+
(define-public rust-semver-1
(package
(name "rust-semver")