2019-07-10 08:30:43 +00:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub
|
2018-11-07 18:56:56 +00:00
|
|
|
, AVFoundation, AudioToolbox, ImageIO, CoreMedia
|
|
|
|
, Foundation, CoreGraphics, MediaToolbox
|
|
|
|
}:
|
2016-07-19 10:34:51 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "keybase";
|
2019-10-10 22:15:53 +00:00
|
|
|
version = "4.6.0";
|
2016-07-19 10:34:51 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/keybase/client";
|
|
|
|
subPackages = [ "go/keybase" ];
|
|
|
|
|
|
|
|
dontRenameImports = true;
|
|
|
|
|
2019-07-04 01:32:05 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "keybase";
|
|
|
|
repo = "client";
|
|
|
|
rev = "v${version}";
|
2019-10-10 22:15:53 +00:00
|
|
|
sha256 = "1aqj5s3vfji1zl7xdzphnsw3b8pnbg22n9rzdxkcdjf7via5wz2k";
|
2016-07-19 10:34:51 +00:00
|
|
|
};
|
|
|
|
|
2019-06-19 17:52:00 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ AVFoundation AudioToolbox ImageIO CoreMedia Foundation CoreGraphics MediaToolbox ];
|
2016-07-19 10:34:51 +00:00
|
|
|
buildFlags = [ "-tags production" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://www.keybase.io/;
|
|
|
|
description = "The Keybase official command-line utility and service.";
|
2017-09-24 16:41:32 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2017-08-19 19:32:54 +00:00
|
|
|
maintainers = with maintainers; [ carlsverre np rvolosatovs ];
|
2016-07-19 10:34:51 +00:00
|
|
|
};
|
|
|
|
}
|