mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-06 23:31:34 +00:00
otpauth: init at 0.3.4
Signed-off-by: Rafael Fernández López <ereslibre@ereslibre.es>
This commit is contained in:
parent
a9a09e6178
commit
1c654ee011
pkgs
27
pkgs/tools/security/otpauth/default.nix
Normal file
27
pkgs/tools/security/otpauth/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -7974,6 +7974,8 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||
};
|
||||
|
||||
otpauth = callPackage ../tools/security/otpauth { };
|
||||
|
||||
pcsclite = callPackage ../tools/security/pcsclite {
|
||||
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue