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";
|
2020-06-06 07:47:24 +01:00
|
|
|
version = "3.3.0";
|
2019-10-08 09:28:23 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:24 +01:00
|
|
|
sha256 = "376a1b232a26035bc82d64affa1c4f312d782234fe5453e8d0f9e1350a97be5b";
|
2019-10-08 09:28:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|