43 lines
765 B
Nix
43 lines
765 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
# propagatedBuildInputs
|
|
, aiohttp
|
|
, async-timeout
|
|
# buildInputs
|
|
, pytestrunner
|
|
# checkInputs
|
|
, pytest
|
|
, pytest-asyncio
|
|
, aresponses
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "pyhaversion";
|
|
version = "3.3.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "376a1b232a26035bc82d64affa1c4f312d782234fe5453e8d0f9e1350a97be5b";
|
|
};
|
|
|
|
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";
|
|
homepage = "https://github.com/ludeeus/pyhaversion";
|
|
maintainers = [ maintainers.makefu ];
|
|
};
|
|
}
|