1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-cB5iADZwvJQwwK1GockE2uicFlqFMEAY6xyeXF5lnUY=";
15 vendorHash = "sha256-4h/+ZNxlJPYY0Kyu2vDE1pDXxC/kGE5JdnagWVOGzAE=";
17 ldflags = [ "-s" "-w" ];
20 homepage = "https://rsc.io/2fa";
21 description = "Two-factor authentication on the command line";
23 license = licenses.bsd3;
24 maintainers = with maintainers; [ rvolosatovs ];