age-plugin-yubikey: 0.5.0 -> 0.5.0-unstable-2024-11-02 (#354043)

This commit is contained in:
Adam C. Stephens 2024-11-06 16:25:07 -05:00 committed by GitHub
commit ac8f1ff681
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3075 additions and 18 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,23 +5,25 @@
, pkg-config
, openssl
, pcsclite
, PCSC
, Foundation
, IOKit
}:
rustPlatform.buildRustPackage rec {
pname = "age-plugin-yubikey";
version = "0.5.0";
version = "0.5.0-unstable-2024-11-02";
src = fetchFromGitHub {
owner = "str4d";
repo = pname;
rev = "v${version}";
hash = "sha256-9ghnPe83K+qixaFKCdM2FCPoENTNJnZA+OmmpD0E5LE=";
rev = "36290c74ebd2723832aae684d43b927c9104f744";
hash = "sha256-vfemYGQnn3IzG7Y6iVKHZlYN+55/+A+N/GMG3TLs1h0=";
};
cargoHash = "sha256-8petNuCJ1qS6XKt+24Lg/bZh96yj9oO6fu/z65Xhi4k=";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"age-core-0.10.0" = "sha256-Iw1KPYhUwfAvLGpYAGuSRhynrRJhD3EqOIS4UY6qC6c=";
};
};
nativeBuildInputs = [
pkg-config
@ -30,12 +32,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
openssl
]
++ lib.optional stdenv.hostPlatform.isLinux pcsclite
++ lib.optionals stdenv.hostPlatform.isDarwin [
IOKit
Foundation
PCSC
];
++ lib.optionals stdenv.hostPlatform.isLinux [ pcsclite ];
meta = with lib; {
description = "YubiKey plugin for age";
@ -43,6 +40,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/str4d/age-plugin-yubikey";
changelog = "https://github.com/str4d/age-plugin-yubikey/blob/${src.rev}/CHANGELOG.md";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ kranzes vtuan10 ];
maintainers = with maintainers; [ kranzes vtuan10 adamcstephens ];
};
}

View File

@ -6468,10 +6468,6 @@ with pkgs;
age-plugin-tpm = callPackage ../tools/security/age-plugin-tpm { };
age-plugin-yubikey = darwin.apple_sdk_11_0.callPackage ../tools/security/age-plugin-yubikey {
inherit (darwin.apple_sdk_11_0.frameworks) Foundation PCSC IOKit;
};
artim-dark = callPackage ../data/themes/artim-dark { };
bbin = callPackage ../development/tools/bbin { };