2018-09-26 08:33:51 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
version = "1.1.0";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "2fa";
|
2018-09-26 08:33:51 +02:00
|
|
|
|
|
|
|
goPackagePath = "rsc.io/2fa";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rsc";
|
|
|
|
repo = "2fa";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0827vl2bxd6m2rbj00x7857cs7cic3mlg5nlhqzd0n73dm5vk2za";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://rsc.io/2fa";
|
2018-09-26 08:33:51 +02:00
|
|
|
description = "Two-factor authentication on the command line";
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|