Merge pull request #172690 from marsam/update-age-plugin-yubikey

age-plugin-yubikey: 0.2.0 -> 0.3.0
main
Mario Rodas 2 years ago committed by GitHub
commit d002de0a09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      pkgs/tools/security/age-plugin-yubikey/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -5,24 +5,27 @@
, pkg-config
, pcsclite
, PCSC
, Foundation
}:
rustPlatform.buildRustPackage rec {
pname = "age-plugin-yubikey";
version = "0.2.0";
version = "0.3.0";
src = fetchFromGitHub {
owner = "str4d";
repo = pname;
rev = "51910edfab4006a068864602469ff7db3766bfbe"; # no tag for this release
sha256 = "sha256-mMqvBlGFdwe5BaC0bXZg/27BGNmFTTYbLUHWUciqxQ0=";
rev = "v${version}";
sha256 = "sha256-KXqicTZ9GZlNj1AH3tMmOrC8zjXoEnqo4JJJTBdiI4E=";
};
cargoSha256 = "sha256-OCbVLSmGx51pJ/EPgPfOyVrYWdloNEbexDV1zMsmEJc=";
cargoSha256 = "sha256-m/v4E7KHyLIWZHX0TKpqwBVDDwLjhYpOjYMrKEtx6/4=";
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
nativeBuildInputs = [ pkg-config ];
buildInputs =
if stdenv.isDarwin then [
Foundation
PCSC
] else [
pcsclite

@ -4827,7 +4827,7 @@ with pkgs;
agebox = callPackage ../tools/security/agebox { };
age-plugin-yubikey = callPackage ../tools/security/age-plugin-yubikey {
inherit (pkgs.darwin.apple_sdk.frameworks) PCSC;
inherit (pkgs.darwin.apple_sdk.frameworks) Foundation PCSC;
};
artim-dark = callPackage ../data/themes/artim-dark {};

Loading…
Cancel
Save