diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 0fcd430273a1..4cdfc385cb56 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1226,6 +1226,16 @@ github = "benneti"; githubId = 11725645; }; + bertof = { + name = "Filippo Berto"; + email = "berto.f@protonmail.com"; + github = "bertof"; + githubId = 9915675; + keys = [{ + longkeyid = "rsa4096/0xFE98AE5EC52B1056"; + fingerprint = "17C5 1EF9 C0FE 2EB2 FE56 BB53 FE98 AE5E C52B 1056"; + }]; + }; bennofs = { email = "benno.fuenfstueck@gmail.com"; github = "bennofs"; diff --git a/pkgs/tools/games/joystickwake/default.nix b/pkgs/tools/games/joystickwake/default.nix new file mode 100644 index 000000000000..01800aff8493 --- /dev/null +++ b/pkgs/tools/games/joystickwake/default.nix @@ -0,0 +1,26 @@ +{ lib, python3, fetchFromGitHub }: +python3.pkgs.buildPythonApplication rec { + pname = "joystickwake"; + version = "0.2.4"; + + src = fetchFromGitHub { + owner = "foresto"; + repo = pname; + rev = "v${version}"; + sha256 = "0j8xwfmzzmc9s88zvzc3lv67821r6x28vy6vli3srvx859wprppd"; + }; + + propagatedBuildInputs = with python3.pkgs; [ pyudev xlib ]; + + meta = with lib; { + description = "A joystick-aware screen waker"; + longDescription = '' + Linux gamers often find themselves unexpectedly staring at a blank screen, because their display server fails to recognize game controllers as input devices, allowing the screen blanker to activate during gameplay. + This program works around the problem by temporarily disabling screen blankers when joystick activity is detected. + ''; + homepage = "https://github.com/foresto/joystickwake"; + maintainers = with maintainers; [ bertof ]; + license = licenses.mit; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8bc6e39daa2b..1b8b1b8a8700 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2887,6 +2887,8 @@ in joycond = callPackage ../os-specific/linux/joycond { }; + joystickwake = callPackage ../tools/games/joystickwake {}; + jwt-cli = callPackage ../tools/security/jwt-cli { inherit (darwin.apple_sdk.frameworks) Security; };