age-plugin-yubikey: 0.2.0 -> 0.3.0
https://github.com/str4d/age-plugin-yubikey/releases/tag/v0.3.0
This commit is contained in:
parent
b610a3cf3f
commit
01b936359a
|
@ -5,24 +5,27 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, pcsclite
|
, pcsclite
|
||||||
, PCSC
|
, PCSC
|
||||||
|
, Foundation
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "age-plugin-yubikey";
|
pname = "age-plugin-yubikey";
|
||||||
version = "0.2.0";
|
version = "0.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "str4d";
|
owner = "str4d";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "51910edfab4006a068864602469ff7db3766bfbe"; # no tag for this release
|
rev = "v${version}";
|
||||||
sha256 = "sha256-mMqvBlGFdwe5BaC0bXZg/27BGNmFTTYbLUHWUciqxQ0=";
|
sha256 = "sha256-KXqicTZ9GZlNj1AH3tMmOrC8zjXoEnqo4JJJTBdiI4E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-OCbVLSmGx51pJ/EPgPfOyVrYWdloNEbexDV1zMsmEJc=";
|
cargoSha256 = "sha256-m/v4E7KHyLIWZHX0TKpqwBVDDwLjhYpOjYMrKEtx6/4=";
|
||||||
|
|
||||||
|
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
if stdenv.isDarwin then [
|
if stdenv.isDarwin then [
|
||||||
|
Foundation
|
||||||
PCSC
|
PCSC
|
||||||
] else [
|
] else [
|
||||||
pcsclite
|
pcsclite
|
||||||
|
|
|
@ -4825,7 +4825,7 @@ with pkgs;
|
||||||
agebox = callPackage ../tools/security/agebox { };
|
agebox = callPackage ../tools/security/agebox { };
|
||||||
|
|
||||||
age-plugin-yubikey = callPackage ../tools/security/age-plugin-yubikey {
|
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 {};
|
artim-dark = callPackage ../data/themes/artim-dark {};
|
||||||
|
|
Loading…
Reference in a new issue