3 , bleak-retry-connector
4 , bluetooth-sensor-state-data
9 , home-assistant-bluetooth
18 buildPythonPackage rec {
23 disabled = pythonOlder "3.9";
25 src = fetchFromGitHub {
26 owner = "AustinBrunkhorst";
28 rev = "refs/tags/v${version}";
29 hash = "sha256-jOXmaJprU35sdNRrBBx/YUyiDyyaE1qodWksXkTSEe0=";
33 substituteInPlace pyproject.toml \
34 --replace 'transitions = "^0.8.11"' 'transitions = ">=0.8.11"' \
35 --replace 'Events = "^0.4"' 'Events = ">=0.4"' \
36 --replace " --cov=pysnooz --cov-report=term-missing:skip-covered" ""
43 propagatedBuildInputs = [
46 bluetooth-sensor-state-data
48 home-assistant-bluetooth
59 pythonImportsCheck = [
64 description = "Library to control SNOOZ white noise machines";
65 homepage = "https://github.com/AustinBrunkhorst/pysnooz";
66 changelog = "https://github.com/AustinBrunkhorst/pysnooz/blob/v${version}/CHANGELOG.md";
67 license = with licenses; [ mit ];
68 maintainers = with maintainers; [ fab ];