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

28 lines
719 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "keybase-${version}";
2017-10-04 21:24:19 +00:00
version = "1.0.33";
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}";
2017-10-04 21:24:19 +00:00
sha256 = "1zgvriyir2ga0p4ah9ia1sbl9ydnrnw5ggq4c1ya8gcfgn8vzdsf";
};
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 ];
};
}