2021-01-13 17:08:46 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "poolsense";
|
2021-09-11 07:10:24 +00:00
|
|
|
version = "0.1.0";
|
2021-01-13 17:08:46 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-11 07:10:24 +00:00
|
|
|
sha256 = "sha256-WCyuhk77QNJAiuzccrb2u0mfc81LYrYSSq9atgO0LdE=";
|
2021-01-13 17:08:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "poolsense" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module to access PoolSense device";
|
|
|
|
homepage = "https://github.com/haemishkyd/poolsense";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|