2021-01-15 22:18:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2020-04-24 23:36:52 +00:00
|
|
|
, dbus-python
|
|
|
|
, fetchFromGitHub
|
|
|
|
, numpy
|
|
|
|
, openrazer-daemon
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2021-02-05 17:12:51 +00:00
|
|
|
common = import ./common.nix { inherit lib fetchFromGitHub; };
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
2022-12-17 10:02:37 +00:00
|
|
|
buildPythonPackage (common // {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "openrazer";
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
sourceRoot = "${common.src.name}/pylib";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dbus-python
|
|
|
|
numpy
|
|
|
|
openrazer-daemon
|
|
|
|
];
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
# no tests run
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = common.meta // {
|
|
|
|
description = "An entirely open source Python library that allows you to manage your Razer peripherals on GNU/Linux";
|
|
|
|
};
|
|
|
|
})
|