3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/keybase/kbfs.nix

30 lines
729 B
Nix
Raw Normal View History

{ stdenv, substituteAll, buildGoPackage, fetchFromGitHub, fuse, osxfuse, keybase }:
2019-08-13 22:52:01 +01:00
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; {
2019-07-06 11:35:35 +01:00
homepage = "https://keybase.io/docs/kbfs";
description = "The Keybase filesystem";
platforms = platforms.unix;
maintainers = with maintainers; [ rvolosatovs bennofs np ];
license = licenses.bsd3;
};
}