1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-25 18:46:32 +03:00
nixpkgs/pkgs/development/python-modules/openrgb-python/default.nix

36 lines
737 B
Nix
Raw Normal View History

2024-05-22 16:01:06 +02:00
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "openrgb-python";
version = "0.3.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-euWcot6OfGOSzueA3B4L3h+G2Gv97ZZUiSTABQh8kSc=";
};
2024-05-22 16:01:06 +02:00
build-system = [ setuptools ];
# Module has no tests
doCheck = false;
2024-05-22 16:01:06 +02:00
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 ];
};
}