mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
37 lines
628 B
Nix
37 lines
628 B
Nix
{
|
|
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 = "Entirely open source Python library that allows you to manage your Razer peripherals on GNU/Linux";
|
|
};
|
|
}
|
|
)
|