about summary refs log tree commit diff
path: root/pkgs/development/python-modules/openrazer/pylib.nix
blob: d4da892c30583ee84df489daf1a9fb68bc30d900 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ 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";
  };
})