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