mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
23 lines
520 B
Nix
23 lines
520 B
Nix
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
version = "1.2.0";
|
|
pname = "2fa";
|
|
|
|
goPackagePath = "rsc.io/2fa";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rsc";
|
|
repo = "2fa";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-cB5iADZwvJQwwK1GockE2uicFlqFMEAY6xyeXF5lnUY=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://rsc.io/2fa";
|
|
description = "Two-factor authentication on the command line";
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|