nixpkgs/pkgs/development/python-modules/pyhaversion/default.nix

44 lines
765 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
# propagatedBuildInputs
, aiohttp
, async-timeout
# buildInputs
, pytestrunner
# checkInputs
, pytest
, pytest-asyncio
, aresponses
}:
buildPythonPackage rec {
pname = "pyhaversion";
2020-06-06 07:47:24 +01:00
version = "3.3.0";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:24 +01:00
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 ];
};
}