2019-10-08 09:28:23 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
# propagatedBuildInputs
|
|
|
|
, aiohttp
|
|
|
|
, async-timeout
|
|
|
|
# buildInputs
|
|
|
|
, pytestrunner
|
|
|
|
# checkInputs
|
|
|
|
, pytest
|
|
|
|
, pytest-asyncio
|
|
|
|
, aresponses
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyhaversion";
|
|
|
|
version = "3.1.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1d4smpzlaw0sqfgkgvhxsn8h7bmwj8h9gj98sdzvkzhp5vhd96b2";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
async-timeout
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pytestrunner
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
pytest-asyncio
|
|
|
|
aresponses
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A python module to the newest version number of Home Assistant";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ludeeus/pyhaversion";
|
2019-10-08 09:28:23 +01:00
|
|
|
maintainers = [ maintainers.makefu ];
|
|
|
|
};
|
|
|
|
}
|