razergenie: init at 0.8.1

This commit is contained in:
Fabian Geiselhart 2020-04-09 16:52:44 +02:00
parent ba179d7442
commit 63045c989c
2 changed files with 44 additions and 1 deletions

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

@ -2153,6 +2153,8 @@ in
rav1e = callPackage ../tools/video/rav1e { }; rav1e = callPackage ../tools/video/rav1e { };
razergenie = libsForQt5.callPackage ../applications/misc/razergenie { };
ring-daemon = callPackage ../applications/networking/instant-messengers/ring-daemon { }; ring-daemon = callPackage ../applications/networking/instant-messengers/ring-daemon { };
riot-desktop = callPackage ../applications/networking/instant-messengers/riot/riot-desktop.nix { }; riot-desktop = callPackage ../applications/networking/instant-messengers/riot/riot-desktop.nix { };
@ -5707,7 +5709,7 @@ in
padthv1 = libsForQt5.callPackage ../applications/audio/padthv1 { }; padthv1 = libsForQt5.callPackage ../applications/audio/padthv1 { };
page = callPackage ../tools/misc/page { }; page = callPackage ../tools/misc/page { };
pagmo2 = callPackage ../development/libraries/pagmo2 { }; pagmo2 = callPackage ../development/libraries/pagmo2 { };
pakcs = callPackage ../development/compilers/pakcs { }; pakcs = callPackage ../development/compilers/pakcs { };