1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchFromGitHub
5, pycryptodome
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "aioairq";
11 version = "0.3.1";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.9";
15
16 src = fetchFromGitHub {
17 owner = "CorantGmbH";
18 repo = pname;
19 rev = "refs/tags/v${version}";
20 hash = "sha256-SRsDSHTZkkygaQZjHENKNLx3ZWMi/PubS1m/MonEKNk=";
21 };
22
23 propagatedBuildInputs = [
24 aiohttp
25 pycryptodome
26 ];
27
28 # Module has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [
32 "aioairq"
33 ];
34
35 meta = with lib; {
36 description = "Library to retrieve data from air-Q devices";
37 homepage = "https://github.com/CorantGmbH/aioairq";
38 license = licenses.asl20;
39 maintainers = with maintainers; [ fab ];
40 };
41}