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

32 lines
939 B
Nix
Raw Normal View History

2019-07-10 08:30:43 +00:00
{ stdenv, lib, buildGoPackage, fetchFromGitHub
, AVFoundation, AudioToolbox, ImageIO, CoreMedia
, Foundation, CoreGraphics, MediaToolbox
}:
buildGoPackage rec {
name = "keybase-${version}";
2019-08-20 04:24:39 +00:00
version = "4.3.1";
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-08-20 04:24:39 +00:00
sha256 = "1743d7a7ix882yxz9pk230vdvdj46sbscqv4wqyhb0la2pl9jqdp";
};
2019-06-19 17:52:00 +00:00
buildInputs = lib.optionals stdenv.isDarwin [ AVFoundation AudioToolbox ImageIO CoreMedia Foundation CoreGraphics MediaToolbox ];
buildFlags = [ "-tags production" ];
meta = with stdenv.lib; {
homepage = https://www.keybase.io/;
description = "The Keybase official command-line utility and service.";
platforms = platforms.linux ++ platforms.darwin;
2017-08-19 19:32:54 +00:00
maintainers = with maintainers; [ carlsverre np rvolosatovs ];
};
}