depot/third_party/nixpkgs/pkgs/development/python-modules/openrazer/pylib.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
631 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";
};
}
)