Merge pull request #240979 from fabaff/openrgb-python
python311Packages.openrgb-python: init at 0.2.15
This commit is contained in:
commit
e59d0ed541
@ -15,7 +15,6 @@ python3.pkgs.buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace '"openrgb-python~=0.2.10",' "" \
|
||||
--replace "'rpi-ws281x>=4.3.0; platform_system == \"Linux\"'," "" \
|
||||
--replace '"sentry-sdk==1.14.0",' "" \
|
||||
--replace "~=" ">="
|
||||
@ -31,7 +30,7 @@ python3.pkgs.buildPythonPackage rec {
|
||||
icmplib
|
||||
multidict
|
||||
numpy
|
||||
# openrgb-python # not packaged
|
||||
openrgb-python
|
||||
paho-mqtt
|
||||
pillow
|
||||
psutil
|
||||
|
33
pkgs/development/python-modules/openrgb-python/default.nix
Normal file
33
pkgs/development/python-modules/openrgb-python/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openrgb-python";
|
||||
version = "0.2.15";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-rTfpqMM+IUd8rMmw/r15sICLoPHL6KLaRrmUjWTfUkA=";
|
||||
};
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"openrgb"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for the OpenRGB SDK";
|
||||
homepage = "https://openrgb-python.readthedocs.io/";
|
||||
changelog = "https://github.com/jath03/openrgb-python/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -7207,6 +7207,8 @@ self: super: with self; {
|
||||
|
||||
openrazer-daemon = callPackage ../development/python-modules/openrazer/daemon.nix { };
|
||||
|
||||
openrgb-python = callPackage ../development/python-modules/openrgb-python { };
|
||||
|
||||
openrouteservice = callPackage ../development/python-modules/openrouteservice { };
|
||||
|
||||
opensearch-py = callPackage ../development/python-modules/opensearch-py { };
|
||||
|
Loading…
Reference in New Issue
Block a user