mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
27 lines
491 B
Nix
27 lines
491 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, dbus-python
|
|
, fetchFromGitHub
|
|
, numpy
|
|
, openrazer-daemon
|
|
}:
|
|
|
|
let
|
|
common = import ./common.nix { inherit 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";
|
|
};
|
|
})
|