depot/third_party/nixpkgs/pkgs/development/python-modules/openrazer/pylib.nix

30 lines
536 B
Nix
Raw Normal View History

{ 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";
};
})