2021-01-15 22:18:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2020-04-24 23:36:52 +00:00
|
|
|
, dbus-python
|
|
|
|
, fetchFromGitHub
|
|
|
|
, numpy
|
|
|
|
, stdenv
|
|
|
|
, openrazer-daemon
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2021-01-15 22:18:51 +00:00
|
|
|
common = import ./common.nix { inherit stdenv lib fetchFromGitHub; };
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
})
|