2021-01-11 07:54:33 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2019-08-29 02:06:30 +01:00
|
|
|
, dbus-python
|
|
|
|
, fetchFromGitHub
|
|
|
|
, numpy
|
|
|
|
, openrazer-daemon
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2021-01-25 08:26:54 +00:00
|
|
|
common = import ./common.nix { inherit lib fetchFromGitHub; };
|
2019-08-29 02:06:30 +01:00
|
|
|
in
|
|
|
|
buildPythonPackage (common // rec {
|
|
|
|
pname = "openrazer";
|
|
|
|
|
|
|
|
sourceRoot = "source/pylib";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dbus-python
|
|
|
|
numpy
|
|
|
|
openrazer-daemon
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = common.meta // {
|
|
|
|
description = "An entirely open source Python library that allows you to manage your Razer peripherals on GNU/Linux";
|
|
|
|
};
|
|
|
|
})
|