Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

age-plugin-1p: init at 0.1.0

+41 -6
+33
pkgs/by-name/ag/age-plugin-1p/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "age-plugin-1p"; 9 + version = "0.1.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "Enzime"; 13 + repo = "age-plugin-1p"; 14 + tag = "v${version}"; 15 + hash = "sha256-QYHHD7wOgRxRVkUOjwMz5DV8oxlb9mmb2K4HPoISguU="; 16 + }; 17 + 18 + vendorHash = "sha256-WrdwhlaqciVEB2L+Dh/LEeSE7I3+PsOTW4c+0yOKzKY="; 19 + 20 + ldflags = [ 21 + "-s" 22 + "-w" 23 + ]; 24 + 25 + meta = with lib; { 26 + description = "Use SSH keys from 1Password with age"; 27 + mainProgram = "age-plugin-1p"; 28 + homepage = "https://github.com/Enzime/age-plugin-1p"; 29 + license = licenses.mit; 30 + platforms = platforms.all; 31 + maintainers = with maintainers; [ Enzime ]; 32 + }; 33 + }
+8 -6
pkgs/by-name/ag/age/package.nix
··· 3 3 buildGoModule, 4 4 fetchFromGitHub, 5 5 installShellFiles, 6 - age-plugin-tpm, 6 + age-plugin-fido2-hmac, 7 + age-plugin-ledger, 7 8 age-plugin-se, 8 9 age-plugin-sss, 9 - age-plugin-ledger, 10 + age-plugin-tpm, 10 11 age-plugin-yubikey, 11 - age-plugin-fido2-hmac, 12 + age-plugin-1p, 12 13 makeWrapper, 13 14 runCommand, 14 15 }: ··· 59 60 # group age plugins together 60 61 passthru.plugins = { 61 62 inherit 62 - age-plugin-tpm 63 + age-plugin-fido2-hmac 64 + age-plugin-ledger 63 65 age-plugin-se 64 66 age-plugin-sss 65 - age-plugin-ledger 67 + age-plugin-tpm 66 68 age-plugin-yubikey 67 - age-plugin-fido2-hmac 69 + age-plugin-1p 68 70 ; 69 71 }; 70 72