11 rustPlatform.buildRustPackage rec {
12 pname = "age-plugin-yubikey";
15 src = fetchFromGitHub {
19 sha256 = "sha256-KXqicTZ9GZlNj1AH3tMmOrC8zjXoEnqo4JJJTBdiI4E=";
22 cargoSha256 = "sha256-m/v4E7KHyLIWZHX0TKpqwBVDDwLjhYpOjYMrKEtx6/4=";
24 nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
27 if stdenv.isDarwin then [
35 description = "YubiKey plugin for age clients";
36 homepage = "https://github.com/str4d/age-plugin-yubikey";
37 license = with licenses; [ asl20 mit ];
38 maintainers = with maintainers; [ vtuan10 ];