diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 171524980538..6d677218115a 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2534,6 +2534,12 @@ githubId = 2817965; name = "f--t"; }; + f4814n = { + email = "me@f4814n.de"; + github = "f4814"; + githubId = 11909469; + name = "Fabian Geiselhart"; + }; fadenb = { email = "tristan.helmich+nixos@gmail.com"; github = "fadenb"; diff --git a/pkgs/applications/misc/razergenie/default.nix b/pkgs/applications/misc/razergenie/default.nix new file mode 100644 index 000000000000..9042ab38e758 --- /dev/null +++ b/pkgs/applications/misc/razergenie/default.nix @@ -0,0 +1,41 @@ +{ stdenv, fetchFromGitHub, lib, meson, ninja, pkgconfig, qtbase, qttools +, wrapQtAppsHook +, enableExperimental ? false +, includeMatrixDiscovery ? false +}: + +let + version = "0.8.1"; + pname = "razergenie"; + +in stdenv.mkDerivation { + inherit pname version; + + src = fetchFromGitHub { + owner = "z3ntu"; + repo = "RazerGenie"; + rev = "v${version}"; + sha256 = "1ggxnaidxbbpkv1h3zwwyci6886sssgslk5adbikbhz9kc9qg239"; + }; + + nativeBuildInputs = [ + pkgconfig meson ninja wrapQtAppsHook + ]; + + buildInputs = [ + qtbase qttools + ]; + + mesonFlags = [ + "-Denable_experimental=${if enableExperimental then "true" else "false"}" + "-Dinclude_matrix_discovery=${if includeMatrixDiscovery then "true" else "false"}" + ]; + + meta = with lib; { + homepage = "https://github.com/z3ntu/RazerGenie"; + description = "Qt application for configuring your Razer devices under GNU/Linux"; + license = licenses.gpl3; + maintainers = with maintainers; [ f4814n ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1c62d3ed96f4..8777785bff84 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2209,6 +2209,8 @@ in rav1e = callPackage ../tools/video/rav1e { }; + razergenie = libsForQt5.callPackage ../applications/misc/razergenie { }; + ring-daemon = callPackage ../applications/networking/instant-messengers/ring-daemon { }; riot-desktop = callPackage ../applications/networking/instant-messengers/riot/riot-desktop.nix { };