age-plugin-yubikey: 0.3.3 -> 0.4.0
Diff: https://github.com/str4d/age-plugin-yubikey/compare/v0.3.3...v0.4.0
This commit is contained in:
parent
cf5f63aa55
commit
9be0c651cd
|
@ -3,38 +3,45 @@
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, openssl
|
||||||
, pcsclite
|
, pcsclite
|
||||||
, PCSC
|
, PCSC
|
||||||
, Foundation
|
, Foundation
|
||||||
|
, IOKit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "age-plugin-yubikey";
|
pname = "age-plugin-yubikey";
|
||||||
version = "0.3.3";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "str4d";
|
owner = "str4d";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-b7/65mfUr4p8tP4uU/BFonW0DqTTMIhEgB2xIwIxQVg=";
|
hash = "sha256-V3NzZyCfslUBsARO5UC8N+cuptLxg2euM87DGqtLpPk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-LnHpinNZZHrIEWrVW0t1ja5WN57/fmiSmZlB0ylau8Y=";
|
cargoHash = "sha256-5qmwCcrhDkJlyeTS+waMiTxro1HjMHiQE5Ds/4sVpx4=";
|
||||||
|
|
||||||
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs = [
|
||||||
if stdenv.isDarwin then [
|
openssl
|
||||||
Foundation
|
]
|
||||||
PCSC
|
++ lib.optional stdenv.isLinux pcsclite
|
||||||
] else [
|
++ lib.optionals stdenv.isDarwin [
|
||||||
pcsclite
|
IOKit
|
||||||
];
|
Foundation
|
||||||
|
PCSC
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "YubiKey plugin for age clients";
|
description = "YubiKey plugin for age";
|
||||||
homepage = "https://github.com/str4d/age-plugin-yubikey";
|
homepage = "https://github.com/str4d/age-plugin-yubikey";
|
||||||
license = with licenses; [ asl20 mit ];
|
changelog = "https://github.com/str4d/age-plugin-yubikey/blob/${src.rev}/CHANGELOG.md";
|
||||||
maintainers = with maintainers; [ vtuan10 ];
|
license = with licenses; [ mit asl20 ];
|
||||||
|
maintainers = with maintainers; [ kranzes vtuan10 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6345,8 +6345,8 @@ with pkgs;
|
||||||
|
|
||||||
agebox = callPackage ../tools/security/agebox { };
|
agebox = callPackage ../tools/security/agebox { };
|
||||||
|
|
||||||
age-plugin-yubikey = callPackage ../tools/security/age-plugin-yubikey {
|
age-plugin-yubikey = darwin.apple_sdk_11_0.callPackage ../tools/security/age-plugin-yubikey {
|
||||||
inherit (pkgs.darwin.apple_sdk.frameworks) Foundation PCSC;
|
inherit (darwin.apple_sdk_11_0.frameworks) Foundation PCSC IOKit;
|
||||||
};
|
};
|
||||||
|
|
||||||
artim-dark = callPackage ../data/themes/artim-dark { };
|
artim-dark = callPackage ../data/themes/artim-dark { };
|
||||||
|
|
Loading…
Reference in a new issue