gnu: crates-io: Add rust-pam-sys 0.5.6.

* gnu/packages/crates-io.scm (rust-pam-sys-0.5): New variable

Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org>
This commit is contained in:
muradm 2022-06-15 12:17:36 +03:00 committed by Lars-Dominik Braun
parent 7f7a075c3d
commit 7943f9f170
No known key found for this signature in database
GPG key ID: 421377011A378446

View file

@ -73071,3 +73071,25 @@ (define-public rust-enquote-1
(synopsis "Rust library that quotes, unquotes, and unescapes strings")
(description "A Rust library quotes, unquotes, and unescapes strings")
(license license:unlicense)))
(define-public rust-pam-sys-0.5
(package
(name "rust-pam-sys")
(version "0.5.6")
(home-page "https://github.com/1wilkens/pam-sys")
(source (origin
(method url-fetch)
(uri (crate-uri "pam-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0d14501d5vybjnzxfjf96321xa5wa36x1xvf02h02zq938qmhj6d"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
(inputs `(("linux-pam" ,linux-pam)))
(synopsis
"Rust FFI wrappers for the Linux Pluggable Authentication Modules (PAM)")
(description
"This crate uses bindgen to generate the raw FFI definitions for PAM. For a rustified API consider using pam.")
(license (list license:expat license:asl2.0))))