1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchPypi,
6}:
7
8buildPythonPackage rec {
9 pname = "poolsense";
10 version = "0.1.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-WCyuhk77QNJAiuzccrb2u0mfc81LYrYSSq9atgO0LdE=";
16 };
17
18 propagatedBuildInputs = [ aiohttp ];
19
20 # Project has no tests
21 doCheck = false;
22 pythonImportsCheck = [ "poolsense" ];
23
24 meta = with lib; {
25 description = "Python module to access PoolSense device";
26 homepage = "https://github.com/haemishkyd/poolsense";
27 license = with licenses; [ mit ];
28 maintainers = with maintainers; [ fab ];
29 };
30}