Skip to content

Commit 96b18b0

Browse files
committed
age-plugin-sss: init at 0.2.5
remove "with lib" and replace rev with tag
1 parent 6fceb90 commit 96b18b0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
lib,
3+
buildGoModule,
4+
fetchFromGitHub,
5+
}:
6+
7+
buildGoModule rec {
8+
pname = "age-plugin-sss";
9+
version = "0.2.5";
10+
11+
src = fetchFromGitHub {
12+
owner = "olastor";
13+
repo = "age-plugin-sss";
14+
tag = "v${version}";
15+
hash = "sha256-4cLQRG4Al1C3x/D385kb/aYTlQqe/5bS9oMLJmHOJ1I=";
16+
};
17+
18+
vendorHash = "sha256-HQavX6X2k/oABnHXAnOwHNkGpCTr539zRk0xwO8zS9o=";
19+
20+
ldflags = [
21+
"-s"
22+
"-w"
23+
"-X main.version=v${version}"
24+
];
25+
26+
meta = {
27+
description = "Age plugin to split keys and wrap them with different recipients using Shamir's Secret Sharing";
28+
homepage = "https://github.com/olastor/age-plugin-sss/";
29+
license = lib.licenses.mit;
30+
maintainers = with lib.maintainers; [ arbel-arad ];
31+
mainProgram = "age-plugin-sss";
32+
};
33+
}

0 commit comments

Comments
 (0)