1{ stdenv, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage rec {
4 name = "keybase-${version}";
5 version = "1.0.44";
6
7 goPackagePath = "github.com/keybase/client";
8 subPackages = [ "go/keybase" ];
9
10 dontRenameImports = true;
11
12 src = fetchFromGitHub {
13 owner = "keybase";
14 repo = "client";
15 rev = "v${version}";
16 sha256 = "1np8fk15wwqkswzcyygga52r74dp101ny63i3m1wypgfky4hvsbb";
17 };
18
19 buildFlags = [ "-tags production" ];
20
21 meta = with stdenv.lib; {
22 homepage = https://www.keybase.io/;
23 description = "The Keybase official command-line utility and service.";
24 platforms = platforms.linux ++ platforms.darwin;
25 maintainers = with maintainers; [ carlsverre np rvolosatovs ];
26 };
27}