diff options
author | Sumner Evans <me@sumnerevans.com> | 2021-09-17 10:56:37 -0400 |
---|---|---|
committer | Sumner Evans <me@sumnerevans.com> | 2021-09-17 12:11:10 -0400 |
commit | c6f9779a2da881181b7eabda2da868bf8cc91e21 (patch) | |
tree | 4c6dc6bc0150b9772f6f580d859872b70ac7a1ec | |
parent | 4ad9704bc1d4ff63f48d3c19f51ef71040e10672 (diff) |
yubikey-touch-detector: init at 1.9.1
-rw-r--r-- | pkgs/tools/security/yubikey-touch-detector/default.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/security/yubikey-touch-detector/default.nix b/pkgs/tools/security/yubikey-touch-detector/default.nix new file mode 100644 index 0000000000000..93531d3a2b679 --- /dev/null +++ b/pkgs/tools/security/yubikey-touch-detector/default.nix @@ -0,0 +1,26 @@ +{ lib, libnotify, buildGoModule, fetchFromGitHub, pkg-config }: + +buildGoModule rec { + pname = "yubikey-touch-detector"; + version = "1.9.1"; + + src = fetchFromGitHub { + owner = "maximbaz"; + repo = "yubikey-touch-detector"; + rev = version; + sha256 = "sha256-I9dRCQhbXd8K1zp291z9XVwHI9DcxgvrzYaHICZH5v0="; + }; + vendorSha256 = "sha256-UeDLGwYrXwLOtQt/8fEmficc/1j0x+zr/JLa6lLF5cs="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ libnotify ]; + + meta = with lib; { + description = "A tool to detect when your YubiKey is waiting for a touch (to send notification or display a visual indicator on the screen)."; + homepage = "https://github.com/maximbaz/yubikey-touch-detector"; + maintainers = with maintainers; [ sumnerevans ]; + license = licenses.isc; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e7fbd36538637..aa1d52a77280d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19522,6 +19522,8 @@ with pkgs; yubikey-agent = callPackage ../tools/security/yubikey-agent { }; + yubikey-touch-detector = callPackage ../tools/security/yubikey-touch-detector { }; + zchunk = callPackage ../development/libraries/zchunk { }; zeitgeist = callPackage ../development/libraries/zeitgeist { }; |