1{ lib
2, buildPythonPackage
3, fetchPypi
4# propagatedBuildInputs
5, aiohttp
6, async-timeout
7# buildInputs
8, pytestrunner
9# checkInputs
10, pytest
11, pytest-asyncio
12, aresponses
13}:
14buildPythonPackage rec {
15 pname = "pyhaversion";
16 version = "3.1.0";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "1d4smpzlaw0sqfgkgvhxsn8h7bmwj8h9gj98sdzvkzhp5vhd96b2";
21 };
22
23 propagatedBuildInputs = [
24 aiohttp
25 async-timeout
26 ];
27
28 buildInputs = [
29 pytestrunner
30 ];
31
32 checkInputs = [
33 pytest
34 pytest-asyncio
35 aresponses
36 ];
37
38 meta = with lib; {
39 description = "A python module to the newest version number of Home Assistant";
40 homepage = https://github.com/ludeeus/pyhaversion;
41 maintainers = [ maintainers.makefu ];
42 };
43}