nixpkgs/pkgs/tools/security/keybase/default.nix
2016-11-17 22:55:15 +01:00

29 lines
693 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "keybase-${version}";
version = "1.0.18";
rev = "v${version}";
goPackagePath = "github.com/keybase/client";
subPackages = [ "go/keybase" ];
dontRenameImports = true;
src = fetchFromGitHub {
owner = "keybase";
repo = "client";
inherit rev;
sha256 = "16n9fwx8v3jradp1l2564872akq6npib794jadfl5d122cll0n7h";
};
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 ];
};
}