11 buildPythonPackage rec {
12 pname = "pyswitchbee";
16 disabled = pythonOlder "3.9";
18 src = fetchFromGitHub {
19 owner = "jafar-atili";
21 rev = "refs/tags/${version}";
22 hash = "sha256-bMxWrapFX689yvC6+9NUunEtTe79+QNauFa1ZjG9ON4=";
29 propagatedBuildInputs = [
35 # Module doesn't have tests
38 pythonImportsCheck = [
43 description = "Library to control SwitchBee smart home device";
44 homepage = "https://github.com/jafar-atili/pySwitchbee/";
45 changelog = "https://github.com/jafar-atili/pySwitchbee/releases/tag/${version}";
46 license = with licenses; [ asl20 ];
47 maintainers = with maintainers; [ fab ];