1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 requests, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "py-schluter"; 11 version = "0.1.7"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-FS6aflpRDoIHsE4XIf93Q6MsO9ApRbU+efm7zWpw/dY="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 dependencies = [ requests ]; 22 23 # Package has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "schluter" ]; 27 28 meta = { 29 description = "Python API for Schluter DITRA-HEAT thermostat"; 30 homepage = "https://github.com/prairieapps/py-schluter"; 31 license = lib.licenses.mit; 32 maintainers = [ lib.maintainers.jamiemagee ]; 33 }; 34}