587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
38 lines
742 B
Nix
38 lines
742 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "openrgb-python";
|
|
version = "0.3.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-2eeb2XHYvBaHkHHs9KxZKDGXtcLaT28c/aLC9pxrRmM=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|