From 55d193da3740ffabfcfe7987fe6e8d8886ad2309 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 16 Jun 2021 20:31:29 +0200 Subject: ma pkgs.otpauth: init at 0.3.2 --- makefu/5pkgs/otpauth/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 makefu/5pkgs/otpauth/default.nix (limited to 'makefu/5pkgs') diff --git a/makefu/5pkgs/otpauth/default.nix b/makefu/5pkgs/otpauth/default.nix new file mode 100644 index 000000000..2d96b315d --- /dev/null +++ b/makefu/5pkgs/otpauth/default.nix @@ -0,0 +1,24 @@ +{ lib, fetchFromGitHub, buildGoModule, ... }: + buildGoModule rec { + pname = "otpauth"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "dim13"; + repo = "otpauth"; + rev = "v${version}"; + sha256 = "1q6byb87cyvm4prildfcr8qc283ikvz5zazm92jk19qhav6ywj65"; + }; + + vendorSha256 = "0lhxc855lr0mzq35i0s2xkcd4qa74yks6ypi80ij9ia0x1hdf1dq"; + + runVend = false; + + meta = with lib; { + description = "Google Authenticator migration decoder"; + homepage = "https://github.com/dim13/otpauth"; + license = licenses.isc; + maintainers = with maintainers; [ makefu ]; + platforms = platforms.linux ++ platforms.darwin; + }; +} -- cgit v1.2.3