depot/third_party/nixpkgs/pkgs/development/python-modules/openrazer/pylib.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

29 lines
536 B
Nix

{ lib
, buildPythonPackage
, dbus-python
, fetchFromGitHub
, numpy
, openrazer-daemon
}:
let
common = import ./common.nix { inherit lib fetchFromGitHub; };
in
buildPythonPackage (common // {
pname = "openrazer";
sourceRoot = "${common.src.name}/pylib";
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";
};
})