2016-07-19 11:34:51 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "keybase-${version}";
|
2017-03-16 01:59:08 +00:00
|
|
|
version = "1.0.20";
|
2016-07-19 11:34:51 +01:00
|
|
|
|
|
|
|
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";
|
2016-07-19 11:34:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|