{ stdenv, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { name = "keybase-${version}"; version = "1.0.28"; goPackagePath = "github.com/keybase/client"; subPackages = [ "go/keybase" ]; dontRenameImports = true; src = fetchFromGitHub { owner = "keybase"; repo = "client"; rev = "v${version}"; sha256 = "03ldg7r0d9glccbx2xb3g3xyla82j5hkmmwfvzdqg43740l51mci"; }; buildFlags = [ "-tags production" ]; meta = with stdenv.lib; { homepage = https://www.keybase.io/; description = "The Keybase official command-line utility and service."; platforms = platforms.linux; maintainers = with maintainers; [ carlsverre np rvolosatovs ]; }; }