diff options
Diffstat (limited to 'pkgs/tools/security/age-plugin-yubikey/default.nix')
-rw-r--r-- | pkgs/tools/security/age-plugin-yubikey/default.nix | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/pkgs/tools/security/age-plugin-yubikey/default.nix b/pkgs/tools/security/age-plugin-yubikey/default.nix deleted file mode 100644 index e69d4dc789fb..000000000000 --- a/pkgs/tools/security/age-plugin-yubikey/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ lib -, stdenv -, rustPlatform -, fetchFromGitHub -, pkg-config -, openssl -, pcsclite -, PCSC -, Foundation -, IOKit -}: - -rustPlatform.buildRustPackage rec { - pname = "age-plugin-yubikey"; - version = "0.5.0"; - - src = fetchFromGitHub { - owner = "str4d"; - repo = pname; - rev = "v${version}"; - hash = "sha256-9ghnPe83K+qixaFKCdM2FCPoENTNJnZA+OmmpD0E5LE="; - }; - - cargoHash = "sha256-8petNuCJ1qS6XKt+24Lg/bZh96yj9oO6fu/z65Xhi4k="; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - openssl - ] - ++ lib.optional stdenv.isLinux pcsclite - ++ lib.optionals stdenv.isDarwin [ - IOKit - Foundation - PCSC - ]; - - meta = with lib; { - description = "YubiKey plugin for age"; - mainProgram = "age-plugin-yubikey"; - 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 ]; - }; -} |