python3Packages.aioeafm: init at 1.0.0

This commit is contained in:
Fabian Affolter 2021-01-23 14:41:52 +01:00
parent 4affc40a50
commit 8d7b41b43d
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, poetry
, pytest-aiohttp
, pytest-asyncio
, pytest-cov
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aioeafm";
version = "1.0.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "Jc2k";
repo = pname;
rev = version;
sha256 = "048cxn3fw2hynp27zlizq7k8ps67qq9sib1ddgirnxy5zc87vgkc";
};
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [ aiohttp ];
checkInputs = [
pytest-aiohttp
pytest-asyncio
pytest-cov
pytestCheckHook
];
pythonImportsCheck = [ "aioeafm" ];
meta = with lib; {
description = "Python client for access the Real Time flood monitoring API";
homepage = "https://github.com/Jc2k/aioeafm";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -206,6 +206,8 @@ in {
aiodns = callPackage ../development/python-modules/aiodns { };
aioeafm = callPackage ../development/python-modules/aioeafm { };
aioesphomeapi = callPackage ../development/python-modules/aioesphomeapi { };
aioeventlet = callPackage ../development/python-modules/aioeventlet { };