Files
Michael Daniels 075e8c2c4f treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

50 lines
963 B
Nix

{
lib,
aiohttp,
bleak,
bleak-retry-connector,
buildPythonPackage,
certifi,
fetchFromGitHub,
hatchling,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage {
pname = "govee-led-wez";
version = "0.0.15";
pyproject = true;
src = fetchFromGitHub {
owner = "wez";
repo = "govee-py";
# https://github.com/wez/govee-py/issues/2
rev = "931273e3689838613d63bc1bcc65ee744fa999f4";
hash = "sha256-VMH7sot9e2SYMyBNutyW6oCCjp2N+EKukxn1Dla3AlY=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [
aiohttp
bleak
bleak-retry-connector
certifi
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "govee_led_wez" ];
meta = {
description = "Control Govee Lights from Python";
homepage = "https://github.com/wez/govee-py";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ SuperSandro2000 ];
};
}