openrazer-daemon: init at 2.6.0
This commit is contained in:
parent
bcbadc5ba2
commit
d2c4d4d6b6
45
pkgs/development/python-modules/openrazer/daemon.nix
Normal file
45
pkgs/development/python-modules/openrazer/daemon.nix
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
{ buildPythonApplication
|
||||||
|
, daemonize
|
||||||
|
, dbus-python
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk3
|
||||||
|
, makeWrapper
|
||||||
|
, pygobject3
|
||||||
|
, pyudev
|
||||||
|
, setproctitle
|
||||||
|
, stdenv
|
||||||
|
, wrapGAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
common = import ./common.nix { inherit stdenv fetchFromGitHub; };
|
||||||
|
in
|
||||||
|
buildPythonApplication (common // rec {
|
||||||
|
pname = "openrazer_daemon";
|
||||||
|
|
||||||
|
sourceRoot = "source/daemon";
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper wrapGAppsHook ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
daemonize
|
||||||
|
dbus-python
|
||||||
|
gobject-introspection
|
||||||
|
gtk3
|
||||||
|
pygobject3
|
||||||
|
pyudev
|
||||||
|
setproctitle
|
||||||
|
];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
DESTDIR="$out" PREFIX="" make install manpages
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = common.meta // {
|
||||||
|
description = "An entirely open source user-space daemon that allows you to manage your Razer peripherals on GNU/Linux";
|
||||||
|
};
|
||||||
|
})
|
|
@ -19998,6 +19998,8 @@ in
|
||||||
|
|
||||||
openmpt123 = callPackage ../applications/audio/openmpt123 { };
|
openmpt123 = callPackage ../applications/audio/openmpt123 { };
|
||||||
|
|
||||||
|
openrazer-daemon = with python3Packages; toPythonApplication openrazer-daemon;
|
||||||
|
|
||||||
opusfile = callPackage ../applications/audio/opusfile { };
|
opusfile = callPackage ../applications/audio/opusfile { };
|
||||||
|
|
||||||
opusTools = callPackage ../applications/audio/opus-tools { };
|
opusTools = callPackage ../applications/audio/opus-tools { };
|
||||||
|
|
|
@ -2570,6 +2570,8 @@ in {
|
||||||
odfpy = callPackage ../development/python-modules/odfpy { };
|
odfpy = callPackage ../development/python-modules/odfpy { };
|
||||||
|
|
||||||
openrazer = callPackage ../development/python-modules/openrazer/pylib.nix { };
|
openrazer = callPackage ../development/python-modules/openrazer/pylib.nix { };
|
||||||
|
openrazer-daemon = callPackage ../development/python-modules/openrazer/daemon.nix { };
|
||||||
|
|
||||||
oset = callPackage ../development/python-modules/oset { };
|
oset = callPackage ../development/python-modules/oset { };
|
||||||
|
|
||||||
pamela = callPackage ../development/python-modules/pamela { };
|
pamela = callPackage ../development/python-modules/pamela { };
|
||||||
|
|
Loading…
Reference in a new issue