diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-23 14:41:52 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-23 14:41:52 +0100 |
commit | 8d7b41b43d3a2aa3012266345c24b0dd5d9adf11 (patch) | |
tree | c0b4672e4f025fe6181d75339c6951f359f598d7 /pkgs/development/python-modules/aioeafm | |
parent | 4affc40a50dbabf2216176307a507b9225e01be7 (diff) | |
download | nixlib-8d7b41b43d3a2aa3012266345c24b0dd5d9adf11.tar nixlib-8d7b41b43d3a2aa3012266345c24b0dd5d9adf11.tar.gz nixlib-8d7b41b43d3a2aa3012266345c24b0dd5d9adf11.tar.bz2 nixlib-8d7b41b43d3a2aa3012266345c24b0dd5d9adf11.tar.lz nixlib-8d7b41b43d3a2aa3012266345c24b0dd5d9adf11.tar.xz nixlib-8d7b41b43d3a2aa3012266345c24b0dd5d9adf11.tar.zst nixlib-8d7b41b43d3a2aa3012266345c24b0dd5d9adf11.zip |
python3Packages.aioeafm: init at 1.0.0
Diffstat (limited to 'pkgs/development/python-modules/aioeafm')
-rw-r--r-- | pkgs/development/python-modules/aioeafm/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aioeafm/default.nix b/pkgs/development/python-modules/aioeafm/default.nix new file mode 100644 index 000000000000..be91e0e95575 --- /dev/null +++ b/pkgs/development/python-modules/aioeafm/default.nix @@ -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 ]; + }; +} |