2019-10-17 14:53:45 +01:00
|
|
|
{ stdenv, substituteAll, buildGoPackage, fetchFromGitHub, fuse, osxfuse, keybase }:
|
2019-07-06 11:31:43 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildGoPackage {
|
2019-07-06 11:31:43 +01:00
|
|
|
pname = "kbfs";
|
|
|
|
|
|
|
|
inherit (keybase) src version;
|
|
|
|
|
|
|
|
goPackagePath = "github.com/keybase/client";
|
|
|
|
subPackages = [ "go/kbfs/kbfsfuse" "go/kbfs/kbfsgit/git-remote-keybase" ];
|
|
|
|
|
|
|
|
dontRenameImports = true;
|
|
|
|
|
2019-10-17 14:53:45 +01:00
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-paths-kbfs.patch;
|
|
|
|
fusermount = "${fuse}/bin/fusermount";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2019-07-06 11:31:43 +01:00
|
|
|
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";
|
2019-07-06 11:31:43 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ rvolosatovs bennofs np ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|