blob: 0053edce69e953be4daa99d80b674e96ff35b2ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
replaceVars,
lib,
buildGoModule,
fetchFromGitHub,
gnupg,
}:
buildGoModule rec {
pname = "keybase";
version = "6.5.1";
modRoot = "go";
subPackages = [
"kbnm"
"keybase"
];
dontRenameImports = true;
src = fetchFromGitHub {
owner = "keybase";
repo = "client";
rev = "v${version}";
hash = "sha256-B3vedsxQM4FDZVpkMKR67DF7FtaTPhGIJ1e2lViKYzg=";
};
vendorHash = "sha256-uw1tiaYoMpMXCYt5bPL5OBbK09PJmAQYQDrDwuPShxU=";
patches = [
(replaceVars ./fix-paths-keybase.patch {
gpg = "${gnupg}/bin/gpg";
gpg2 = "${gnupg}/bin/gpg2";
})
];
tags = [ "production" ];
ldflags = [
"-s"
"-w"
];
meta = {
homepage = "https://www.keybase.io/";
description = "Keybase official command-line utility and service";
mainProgram = "keybase";
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [
avaq
np
rvolosatovs
shofius
ryand56
];
license = lib.licenses.bsd3;
};
}
|