git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #84812 from f4814/init-razergenie

razergenie: init at 0.8.1

commita823f46be01fe3c88ebb98c1f444d1f85975f4ee authorElis Hirwing <elis@hirwing.se> dateTue 2 Jun 2020, 17:20 (6 years ago) parent9f15e9563045c9
3 files changed+49
maintainers/maintainer-list.nix+6 pkgs/applications/misc/razergenie/default.nix+41 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+6
@@ -2534,6 +2534,12 @@
25342534 githubId = 2817965;
25352535 name = "f--t";
25362536 };
2537+ f4814n = {
2538+ email = "me@f4814n.de";
2539+ github = "f4814";
2540+ githubId = 11909469;
2541+ name = "Fabian Geiselhart";
2542+ };
25372543 fadenb = {
25382544 email = "tristan.helmich+nixos@gmail.com";
25392545 github = "fadenb";
pkgs/applications/misc/razergenie/default.nixnew file+41
@@ -0,0 +1,41 @@
1+{ stdenv, fetchFromGitHub, lib, meson, ninja, pkgconfig, qtbase, qttools
2+, wrapQtAppsHook
3+, enableExperimental ? false
4+, includeMatrixDiscovery ? false
5+}:
6+
7+let
8+ version = "0.8.1";
9+ pname = "razergenie";
10+
11+in stdenv.mkDerivation {
12+ inherit pname version;
13+
14+ src = fetchFromGitHub {
15+ owner = "z3ntu";
16+ repo = "RazerGenie";
17+ rev = "v${version}";
18+ sha256 = "1ggxnaidxbbpkv1h3zwwyci6886sssgslk5adbikbhz9kc9qg239";
19+ };
20+
21+ nativeBuildInputs = [
22+ pkgconfig meson ninja wrapQtAppsHook
23+ ];
24+
25+ buildInputs = [
26+ qtbase qttools
27+ ];
28+
29+ mesonFlags = [
30+ "-Denable_experimental=${if enableExperimental then "true" else "false"}"
31+ "-Dinclude_matrix_discovery=${if includeMatrixDiscovery then "true" else "false"}"
32+ ];
33+
34+ meta = with lib; {
35+ homepage = "https://github.com/z3ntu/RazerGenie";
36+ description = "Qt application for configuring your Razer devices under GNU/Linux";
37+ license = licenses.gpl3;
38+ maintainers = with maintainers; [ f4814n ];
39+ platforms = platforms.linux;
40+ };
41+}
pkgs/top-level/all-packages.nix+2
@@ -2209,6 +2209,8 @@ in
22092209
22102210 rav1e = callPackage ../tools/video/rav1e { };
22112211
2212+ razergenie = libsForQt5.callPackage ../applications/misc/razergenie { };
2213+
22122214 ring-daemon = callPackage ../applications/networking/instant-messengers/ring-daemon { };
22132215
22142216 riot-desktop = callPackage ../applications/networking/instant-messengers/riot/riot-desktop.nix { };