File tree Expand file tree Collapse file tree 2 files changed +41
-6
lines changed Expand file tree Collapse file tree 2 files changed +41
-6
lines changed Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 33 buildGoModule ,
44 fetchFromGitHub ,
55 installShellFiles ,
6- age-plugin-tpm ,
6+ age-plugin-fido2-hmac ,
7+ age-plugin-ledger ,
78 age-plugin-se ,
89 age-plugin-sss ,
9- age-plugin-ledger ,
10+ age-plugin-tpm ,
1011 age-plugin-yubikey ,
11- age-plugin-fido2-hmac ,
12+ age-plugin-1p ,
1213 makeWrapper ,
1314 runCommand ,
1415} :
@@ -59,12 +60,13 @@ buildGoModule (final: {
5960 # group age plugins together
6061 passthru . plugins = {
6162 inherit
62- age-plugin-tpm
63+ age-plugin-fido2-hmac
64+ age-plugin-ledger
6365 age-plugin-se
6466 age-plugin-sss
65- age-plugin-ledger
67+ age-plugin-tpm
6668 age-plugin-yubikey
67- age-plugin-fido2-hmac
69+ age-plugin-1p
6870 ;
6971 } ;
7072
You can’t perform that action at this time.
0 commit comments