mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
44 lines
753 B
Nix
44 lines
753 B
Nix
{ 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";
|
|
homepage = "https://github.com/ludeeus/pyhaversion";
|
|
maintainers = [ maintainers.makefu ];
|
|
};
|
|
}
|