Unverified Commit ac8f1ff6 authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

age-plugin-yubikey: 0.5.0 -> 0.5.0-unstable-2024-11-02 (#354043)

parents 4a7b05c9 ceb52df3
Loading
Loading
Loading
Loading
+3064 −0

File added.

Preview size limit exceeded, changes collapsed.

+11 −14
Original line number Diff line number Diff line
@@ -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
@@ -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";
@@ -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 ];
  };
}
+0 −4
Original line number Diff line number Diff line
@@ -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 { };