18 buildPythonPackage rec {
23 disabled = pythonOlder "3.11";
25 src = fetchFromGitHub {
27 repo = "python-plugwise";
28 rev = "refs/tags/v${version}";
29 hash = "sha256-WcoHK8UZ7qOVoUBCSoTDZ+6fC568AyXFCBys/7sjJx8=";
33 # setuptools and wheel
34 sed -i -e "s/~=[0-9.]*//g" pyproject.toml
37 build-system = [ setuptools ];
54 pythonImportsCheck = [ "plugwise" ];
56 __darwinAllowLocalNetworking = true;
59 description = "Python module for Plugwise Smiles, Stretch and USB stick";
60 homepage = "https://github.com/plugwise/python-plugwise";
61 changelog = "https://github.com/plugwise/python-plugwise/releases/tag/v${version}";
62 license = with licenses; [ mit ];
63 maintainers = with maintainers; [ fab ];