summary refs log tree commit diff
path: root/pkgs/development/python-modules/openrazer/pylib.nix
blob: 52fe63318a3e99100af52e28b16f9323fc922b8a (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
{ lib
, buildPythonPackage
, dbus-python
, fetchFromGitHub
, numpy
, stdenv
, openrazer-daemon
}:

let
  common = import ./common.nix { inherit stdenv lib fetchFromGitHub; };
in
buildPythonPackage (common // rec {
  pname = "openrazer";

  sourceRoot = "source/pylib";

  propagatedBuildInputs = [
    dbus-python
    numpy
    openrazer-daemon
  ];

  meta = common.meta // {
    description = "An entirely open source Python library that allows you to manage your Razer peripherals on GNU/Linux";
  };
})