lol
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6buildGoModule rec {
7 pname = "gokey";
8 version = "0.1.3";
9
10 patches = [ ./version.patch ];
11
12 src = fetchFromGitHub {
13 owner = "cloudflare";
14 repo = "gokey";
15 tag = "v${version}";
16 hash = "sha256-pvtRSWq/vXlyUShb61aiDlis9AiQnrA2PWycr1Zw0og=";
17 };
18
19 vendorHash = "sha256-qlP2tI6QQMjxP59zaXgx4mX9IWSrOKWmme717wDaUEc=";
20
21 meta = with lib; {
22 homepage = "https://github.com/cloudflare/gokey";
23 description = "Vault-less password store";
24 license = licenses.bsd3;
25 maintainers = [ maintainers.confus ];
26 mainProgram = "gokey";
27 };
28}