mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
go-2fa: Init at 1.1.0
This commit is contained in:
parent
0e5e4aed06
commit
eb7b217182
23
pkgs/tools/security/2fa/default.nix
Normal file
23
pkgs/tools/security/2fa/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
version = "1.1.0";
|
||||
name = "2fa-${version}";
|
||||
|
||||
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";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ rvolosatovs ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
@ -1338,6 +1338,8 @@ with pkgs;
|
||||
|
||||
gdrive = callPackage ../applications/networking/gdrive { };
|
||||
|
||||
go-2fa = callPackage ../tools/security/2fa {};
|
||||
|
||||
go-dependency-manager = callPackage ../development/tools/gdm { };
|
||||
|
||||
geckodriver = callPackage ../development/tools/geckodriver { };
|
||||
|
Loading…
Reference in New Issue
Block a user