3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/keybase/kbfs.nix
Vadim-Valdis Yudaev 3894ec0a50 keybase, keybase-gui, kbfs: 4.6.0 -> 4.7.2, added dependencies
all: update from 4.6.0 to 4.7.2

keybase:
- added gnupg as a dependency and patch fix-patch-keybase.patch

kbfs:
- added fuse as a dependency and patch fix-patch-kbfs.patch
2019-11-03 13:09:39 -05:00

30 lines
729 B
Nix

{ stdenv, substituteAll, buildGoPackage, fetchFromGitHub, fuse, osxfuse, keybase }:
buildGoPackage {
pname = "kbfs";
inherit (keybase) src version;
goPackagePath = "github.com/keybase/client";
subPackages = [ "go/kbfs/kbfsfuse" "go/kbfs/kbfsgit/git-remote-keybase" ];
dontRenameImports = true;
patches = [
(substituteAll {
src = ./fix-paths-kbfs.patch;
fusermount = "${fuse}/bin/fusermount";
})
];
buildFlags = [ "-tags production" ];
meta = with stdenv.lib; {
homepage = "https://keybase.io/docs/kbfs";
description = "The Keybase filesystem";
platforms = platforms.unix;
maintainers = with maintainers; [ rvolosatovs bennofs np ];
license = licenses.bsd3;
};
}