depot/third_party/nixpkgs/pkgs/tools/security/2fa/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

22 lines
523 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
version = "1.1.0";
pname = "2fa";
goPackagePath = "rsc.io/2fa";
src = fetchFromGitHub {
owner = "rsc";
repo = "2fa";
rev = "v${version}";
sha256 = "0827vl2bxd6m2rbj00x7857cs7cic3mlg5nlhqzd0n73dm5vk2za";
};
meta = with stdenv.lib; {
homepage = "https://rsc.io/2fa";
description = "Two-factor authentication on the command line";
maintainers = with maintainers; [ rvolosatovs ];
license = licenses.bsd3;
};
}