me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-selinux-0.4.

* gnu/packages/crates-io.scm (rust-selinux-0.4): New variable.

Change-Id: I7d16445654337a9501833441db2da331d7be3e1c
master
Efraim Flashner 2024-03-31 14:57:56 +03:00
parent 58ec99dc48
commit d805bf2598
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 32 additions and 0 deletions

View File

@ -66591,6 +66591,38 @@ statistical guarantees.")
in stable Rust.")
(license license:asl2.0)))
(define-public rust-selinux-0.4
(package
(name "rust-selinux")
(version "0.4.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "selinux" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "02vy0n6rrhh8idxadi5xjmv5phvfg1f8jg5cwmjzvzxvkcg1ndsk"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-2)
("rust-libc" ,rust-libc-0.2)
("rust-once-cell" ,rust-once-cell-1)
("rust-reference-counted-singleton" ,rust-reference-counted-singleton-0.1)
("rust-selinux-sys" ,rust-selinux-sys-0.6)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)
("rust-serial-test" ,rust-serial-test-3)
("rust-socketpair" ,rust-socketpair-0.19)
("rust-tempfile" ,rust-tempfile-3))))
(inputs (list clang libselinux))
(home-page "https://codeberg.org/koutheir/selinux.git")
(synopsis "Flexible Mandatory Access Control for Linux")
(description "This package provides a Rust interface to the flexible
Mandatory Access Control for Linux.")
(license license:expat)))
(define-public rust-selinux-sys-0.6
(package
(name "rust-selinux-sys")