587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
32 lines
588 B
Nix
32 lines
588 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, dbus-python
|
|
, fetchFromGitHub
|
|
, numpy
|
|
, openrazer-daemon
|
|
, setuptools
|
|
}:
|
|
|
|
let
|
|
common = import ./common.nix { inherit lib fetchFromGitHub; };
|
|
in
|
|
buildPythonPackage (common // {
|
|
pname = "openrazer";
|
|
|
|
sourceRoot = "${common.src.name}/pylib";
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
dbus-python
|
|
numpy
|
|
openrazer-daemon
|
|
];
|
|
|
|
# no tests run
|
|
doCheck = false;
|
|
|
|
meta = common.meta // {
|
|
description = "An entirely open source Python library that allows you to manage your Razer peripherals on GNU/Linux";
|
|
};
|
|
})
|