age-plugin-openpgp-card: init at 0.1.1 (#417923)

authored by Azat Bahawi and committed by GitHub a20f7cff 3d6c0a8f

+42
+42
pkgs/by-name/ag/age-plugin-openpgp-card/package.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + 5 + rustPlatform, 6 + 7 + pcsclite, 8 + pkg-config, 9 + }: 10 + rustPlatform.buildRustPackage (finalAttrs: { 11 + pname = "age-plugin-openpgp-card"; 12 + version = "0.1.1"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "wiktor-k"; 16 + repo = "age-plugin-openpgp-card"; 17 + rev = "v${finalAttrs.version}"; 18 + hash = "sha256-uJmYtc+GxJZtCjLQla/h9vpTzPcsL+zbM2uvAQsfwIY="; 19 + }; 20 + 21 + cargoHash = "sha256-YZGrEO6SOS0Kir+1d8shf54420cYjvcfKYS+T2NlEug="; 22 + 23 + buildInputs = [ pcsclite ]; 24 + nativeBuildInputs = [ pkg-config ]; 25 + 26 + meta = { 27 + description = "Age plugin for using ed25519 on OpenPGP Card devices (Yubikeys, Nitrokeys)"; 28 + homepage = "https://github.com/wiktor-k/age-plugin-openpgp-card"; 29 + license = with lib.licenses; [ 30 + asl20 31 + mit 32 + ]; 33 + platforms = [ 34 + "x86_64-linux" 35 + "aarch64-linux" 36 + "x86_64-darwin" 37 + "aarch64-darwin" 38 + ]; 39 + mainProgram = "age-plugin-openpgp-card"; 40 + maintainers = with lib.maintainers; [ nukdokplex ]; 41 + }; 42 + })