2019-10-08 10:28:23 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
# propagatedBuildInputs
|
|
|
|
, aiohttp
|
|
|
|
, async-timeout
|
|
|
|
# buildInputs
|
|
|
|
, pytestrunner
|
|
|
|
# checkInputs
|
|
|
|
, pytest
|
|
|
|
, pytest-asyncio
|
|
|
|
, aresponses
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyhaversion";
|
2020-06-06 08:47:24 +02:00
|
|
|
version = "3.3.0";
|
2019-10-08 10:28:23 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 08:47:24 +02:00
|
|
|
sha256 = "376a1b232a26035bc82d64affa1c4f312d782234fe5453e8d0f9e1350a97be5b";
|
2019-10-08 10:28:23 +02: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 03:11:51 +02:00
|
|
|
homepage = "https://github.com/ludeeus/pyhaversion";
|
2019-10-08 10:28:23 +02:00
|
|
|
maintainers = [ maintainers.makefu ];
|
|
|
|
};
|
|
|
|
}
|