{ lib, 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 lib; { homepage = "https://keybase.io/docs/kbfs"; description = "The Keybase filesystem"; platforms = platforms.unix; maintainers = with maintainers; [ avaq rvolosatovs bennofs np ]; license = licenses.bsd3; }; }