Merge pull request #84812 from f4814/init-razergenie

razergenie: init at 0.8.1
This commit is contained in:
Elis Hirwing 2020-06-02 17:20:57 +02:00 committed by GitHub
commit a823f46be0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 0 deletions

View file

@ -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";

View file

@ -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;
};
}

View file

@ -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 { };