pythonPackages.pyhaversion: init at 3.1.0

This commit is contained in:
makefu 2019-10-08 10:28:23 +02:00
parent 9b62190190
commit 1dfe851229
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ 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 ];
};
}

View file

@ -6161,6 +6161,8 @@ in {
pyhamcrest = callPackage ../development/python-modules/pyhamcrest { };
pyhaversion = callPackage ../development/python-modules/pyhaversion { };
parse = callPackage ../development/python-modules/parse { };
parse-type = callPackage ../development/python-modules/parse-type { };