3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/otpauth/default.nix

27 lines
584 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "otpauth";
2021-11-03 19:06:45 +00:00
version = "0.4.0";
src = fetchFromGitHub {
owner = "dim13";
repo = "otpauth";
rev = "v${version}";
2021-11-03 19:06:45 +00:00
sha256 = "sha256-LGDeNkCxVLDVpwi5VFFL0DFsf8CexI7Nc5l+l2ASHaw=";
};
vendorSha256 = "sha256-fwO3cmlnmuD682vGB8X06yGHZqBadeltRrsEUjQWazc=";
doCheck = true;
meta = with lib; {
description = "Google Authenticator migration decoder";
homepage = "https://github.com/dim13/otpauth";
license = licenses.isc;
maintainers = with maintainers; [ ereslibre ];
};
}