tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
age-plugin-1p: init at 0.1.0
Michael Hoang
8 months ago
29078634
5461b7fa
+41
-6
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
ag
age
package.nix
age-plugin-1p
package.nix
+33
pkgs/by-name/ag/age-plugin-1p/package.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
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
buildGoModule,
4
fetchFromGitHub,
5
installShellFiles,
6
-
age-plugin-tpm,
0
7
age-plugin-se,
8
age-plugin-sss,
9
-
age-plugin-ledger,
10
age-plugin-yubikey,
11
-
age-plugin-fido2-hmac,
12
makeWrapper,
13
runCommand,
14
}:
···
59
# group age plugins together
60
passthru.plugins = {
61
inherit
62
-
age-plugin-tpm
0
63
age-plugin-se
64
age-plugin-sss
65
-
age-plugin-ledger
66
age-plugin-yubikey
67
-
age-plugin-fido2-hmac
68
;
69
};
70
···
3
buildGoModule,
4
fetchFromGitHub,
5
installShellFiles,
6
+
age-plugin-fido2-hmac,
7
+
age-plugin-ledger,
8
age-plugin-se,
9
age-plugin-sss,
10
+
age-plugin-tpm,
11
age-plugin-yubikey,
12
+
age-plugin-1p,
13
makeWrapper,
14
runCommand,
15
}:
···
60
# group age plugins together
61
passthru.plugins = {
62
inherit
63
+
age-plugin-fido2-hmac
64
+
age-plugin-ledger
65
age-plugin-se
66
age-plugin-sss
67
+
age-plugin-tpm
68
age-plugin-yubikey
69
+
age-plugin-1p
70
;
71
};
72