619d6dcc77
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
27 lines
604 B
Nix
27 lines
604 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildGoModule
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "otpauth";
|
|
version = "0.3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dim13";
|
|
repo = "otpauth";
|
|
rev = "v${version}";
|
|
sha256 = "199kh544kx4cbsczc9anmciczi738gdc5g518ybb05h49vlb51dp";
|
|
};
|
|
|
|
runVend = true;
|
|
vendorSha256 = "1762cchqydgsf94y05dwxcrajvjr64ayi5xk1svn1xissyc7vgpv";
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Google Authenticator migration decoder";
|
|
homepage = "https://github.com/dim13/otpauth";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ ereslibre ];
|
|
};
|
|
}
|