1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pyecowitt"; 12 version = "0.21"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "garbled1"; 19 repo = "pyecowitt"; 20 tag = version; 21 hash = "sha256-5VdVo6j2HZXSCWU4NvfWzyS/KJfVb7N1KSMeu8TvWaQ="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ aiohttp ]; 27 28 # Project thas no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "pyecowitt" ]; 32 33 meta = with lib; { 34 description = "Python module for the EcoWitt Protocol"; 35 homepage = "https://github.com/garbled1/pyecowitt"; 36 changelog = "https://github.com/garbled1/pyecowitt/releases/tag/${version}"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}