Loading pkgs/by-name/ag/age-plugin-yubikey/Cargo.lock 0 → 100644 +3064 −0 File added.Preview size limit exceeded, changes collapsed. Show changes pkgs/tools/security/age-plugin-yubikey/default.nix→pkgs/by-name/ag/age-plugin-yubikey/package.nix +11 −14 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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"; Loading @@ -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 ]; }; } pkgs/top-level/all-packages.nix +0 −4 Original line number Diff line number Diff line Loading @@ -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 { }; Loading
pkgs/by-name/ag/age-plugin-yubikey/Cargo.lock 0 → 100644 +3064 −0 File added.Preview size limit exceeded, changes collapsed. Show changes
pkgs/tools/security/age-plugin-yubikey/default.nix→pkgs/by-name/ag/age-plugin-yubikey/package.nix +11 −14 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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"; Loading @@ -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 ]; }; }
pkgs/top-level/all-packages.nix +0 −4 Original line number Diff line number Diff line Loading @@ -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 { };