python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / 2fa / default.nix
blob6de513ec92b438272f8a28e5a93c14ed67d499c8
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "2fa";
5   version = "1.2.0";
7   src = fetchFromGitHub {
8     owner = "rsc";
9     repo = "2fa";
10     rev = "v${version}";
11     sha256 = "sha256-cB5iADZwvJQwwK1GockE2uicFlqFMEAY6xyeXF5lnUY=";
12   };
14   deleteVendor = true;
15   vendorSha256 = "sha256-4h/+ZNxlJPYY0Kyu2vDE1pDXxC/kGE5JdnagWVOGzAE=";
17   ldflags = [ "-s" "-w" ];
19   meta = with lib; {
20     homepage = "https://rsc.io/2fa";
21     description = "Two-factor authentication on the command line";
22     license = licenses.bsd3;
23     maintainers = with maintainers; [ rvolosatovs ];
24   };