14 buildPythonPackage rec {
15 pname = "python-smarttub";
17 format = "setuptools";
19 disabled = pythonOlder "3.8";
21 src = fetchFromGitHub {
24 rev = "refs/tags/v${version}";
25 sha256 = "sha256-BGG5SQfVxhp6ID2Ob+afm75cInVixSPD5012K4HwthU=";
28 propagatedBuildInputs = [
42 "--asyncio-mode=legacy"
46 substituteInPlace setup.py \
47 --replace "pyjwt~=2.1.0" "pyjwt>=2.1.0"
50 pythonImportsCheck = [
55 description = "Python API for SmartTub enabled hot tubs";
56 homepage = "https://github.com/mdz/python-smarttub";
57 license = with licenses; [ mit ];
58 maintainers = with maintainers; [ fab ];