nixpkgs/pkgs/tools/security/keybase/default.nix

28 lines
684 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "keybase-${version}";
2017-03-16 01:59:08 +00:00
version = "1.0.20";
goPackagePath = "github.com/keybase/client";
subPackages = [ "go/keybase" ];
dontRenameImports = true;
src = fetchFromGitHub {
2017-03-16 01:59:08 +00:00
owner = "keybase";
repo = "client";
rev = "v${version}";
sha256 = "1418x2z1j4bzq29qab8pmqrvg8piycqcabdjmq2inkvlll3s5n3v";
};
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 ];
};
}