nixpkg
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
shimun 2020-04-04 16:10:06 +02:00
parent 96f64fff11
commit f49e7162e3
Signed by: shimun
GPG Key ID: E81D8382DC2F971B

25
default.nix Normal file
View File

@ -0,0 +1,25 @@
{ stdenv, fetchgit, pkgconfig, libu2f-host, pam, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "pam_fido2";
version = "0.2.4";
src = fetchgit {
url = "https://git.shimun.net/shimun/fido2pam.git";
rev = "${version}";
sha256 = "0i1x0axhdnbza9sx8nyh8dqmc2hacjqya54415kixfm9ddx519q0";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ pam ];
cargoSha256 = "0qjw3hrjdldqbv57i1sx3vmr5rhvmjf5axc2ypn9rzkb1sa500rz";
meta = with stdenv.lib; {
homepage = "https://git.shimun.net/shimun/fido2pam";
description = "A PAM module for allowing authentication with a FIDO2 device";
license = licenses.lgpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ shimun ];
};
}