summary refs log tree commit diff
path: root/pkgs/tools/security/keybase/kbfs.nix
blob: e9284e7230fb28a9d7a31d2c066b07829d387b29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, buildGoPackage, fetchFromGitHub, keybase }:

buildGoPackage {
  pname = "kbfs";

  inherit (keybase) src version;

  goPackagePath = "github.com/keybase/client";
  subPackages = [ "go/kbfs/kbfsfuse" "go/kbfs/redirector" "go/kbfs/kbfsgit/git-remote-keybase" ];

  dontRenameImports = true;

  buildFlags = [ "-tags production" ];

  meta = with stdenv.lib; {
    homepage = "https://keybase.io/docs/kbfs";
    description = "The Keybase filesystem";
    platforms = platforms.unix;
    maintainers = with maintainers; [ avaq rvolosatovs bennofs np ];
    license = licenses.bsd3;
  };
}