5 bluetooth-sensor-state-data,
10 home-assistant-bluetooth,
19 buildPythonPackage rec {
24 disabled = pythonOlder "3.9";
26 src = fetchFromGitHub {
27 owner = "AustinBrunkhorst";
29 rev = "refs/tags/v${version}";
30 hash = "sha256-jOXmaJprU35sdNRrBBx/YUyiDyyaE1qodWksXkTSEe0=";
34 substituteInPlace pyproject.toml \
35 --replace 'transitions = "^0.8.11"' 'transitions = ">=0.8.11"' \
36 --replace 'Events = "^0.4"' 'Events = ">=0.4"' \
37 --replace " --cov=pysnooz --cov-report=term-missing:skip-covered" ""
40 nativeBuildInputs = [ poetry-core ];
42 propagatedBuildInputs = [
45 bluetooth-sensor-state-data
47 home-assistant-bluetooth
58 pythonImportsCheck = [ "pysnooz" ];
61 description = "Library to control SNOOZ white noise machines";
62 homepage = "https://github.com/AustinBrunkhorst/pysnooz";
63 changelog = "https://github.com/AustinBrunkhorst/pysnooz/blob/v${version}/CHANGELOG.md";
64 license = with licenses; [ mit ];
65 maintainers = with maintainers; [ fab ];