Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
977 B
Nix
43 lines
977 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
|
|
rustPlatform,
|
|
|
|
pcsclite,
|
|
pkg-config,
|
|
}:
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "age-plugin-openpgp-card";
|
|
version = "0.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wiktor-k";
|
|
repo = "age-plugin-openpgp-card";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-uJmYtc+GxJZtCjLQla/h9vpTzPcsL+zbM2uvAQsfwIY=";
|
|
};
|
|
|
|
cargoHash = "sha256-YZGrEO6SOS0Kir+1d8shf54420cYjvcfKYS+T2NlEug=";
|
|
|
|
buildInputs = [ pcsclite ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
meta = {
|
|
description = "Age plugin for using ed25519 on OpenPGP Card devices (Yubikeys, Nitrokeys)";
|
|
homepage = "https://github.com/wiktor-k/age-plugin-openpgp-card";
|
|
license = with lib.licenses; [
|
|
asl20
|
|
mit
|
|
];
|
|
platforms = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
"x86_64-darwin"
|
|
"aarch64-darwin"
|
|
];
|
|
mainProgram = "age-plugin-openpgp-card";
|
|
maintainers = with lib.maintainers; [ nukdokplex ];
|
|
};
|
|
})
|