11 buildPythonPackage rec {
14 format = "setuptools";
16 src = fetchFromGitHub {
18 repo = "python-airly";
20 hash = "sha256-weliT/FYnRX+pzVAyRWFly7lfj2z7P+hpq5SIhyIgmI=";
23 propagatedBuildInputs = [ aiohttp ];
25 # aiounittest is not supported on 3.12
26 doCheck = pythonOlder "3.12";
39 "InstallationsLoaderTestCase"
40 "MeasurementsSessionTestCase"
43 pythonImportsCheck = [ "airly" ];
46 description = "Python module for getting air quality data from Airly sensors";
47 homepage = "https://github.com/ak-ambi/python-airly";
48 license = with licenses; [ mit ];
49 maintainers = with maintainers; [ fab ];