17 buildPythonPackage rec {
18 pname = "python-bsblan";
22 disabled = pythonOlder "3.9";
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 hash = "sha256-SJUIJhsVn4LZiUx9h3Q2uWoeaQiKoIRrijTfPgCHnAA=";
32 substituteInPlace pyproject.toml \
33 --replace 'version = "0.0.0"' 'version = "${version}"' \
35 sed -i "/covdefaults/d" pyproject.toml
36 sed -i "/ruff/d" pyproject.toml
43 propagatedBuildInputs = [
58 disabledTests = lib.optionals (lib.versionAtLeast aiohttp.version "3.9.0") [
59 # https://github.com/liudger/python-bsblan/issues/808
61 "test_not_authorized_401_response"
64 pythonImportsCheck = [
69 description = "Module to control and monitor an BSBLan device programmatically";
70 homepage = "https://github.com/liudger/python-bsblan";
71 changelog = "https://github.com/liudger/python-bsblan/releases/tag/v${version}";
72 license = with licenses; [ mit ];
73 maintainers = with maintainers; [ fab ];