nixpkgs/pkgs/tools/security/otpauth/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
564 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "otpauth";
2023-12-26 23:15:26 +01:00
version = "0.5.2";
src = fetchFromGitHub {
owner = "dim13";
repo = "otpauth";
rev = "v${version}";
2023-12-26 23:15:26 +01:00
sha256 = "sha256-1+A1oXY5sKMr9dVa/4vB+ZkfZSDdhag5y5LfM7OJmKo=";
};
2023-12-26 23:15:26 +01:00
vendorHash = "sha256-ZRCwZGlWzlWh+E3KUH83639Tfck7bwE36wXVnG7EQIE=";
meta = with lib; {
description = "Google Authenticator migration decoder";
homepage = "https://github.com/dim13/otpauth";
license = licenses.isc;
maintainers = with maintainers; [ ereslibre ];
};
}