Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 44 lines 854 B view raw
1{ lib 2, aiohttp 3, async-timeout 4, buildPythonPackage 5, fetchFromGitHub 6, poetry 7, pytest-aiohttp 8, pytest-asyncio 9, pytest-cov 10, pytestCheckHook 11}: 12 13buildPythonPackage rec { 14 pname = "aioeafm"; 15 version = "1.0.0"; 16 format = "pyproject"; 17 18 src = fetchFromGitHub { 19 owner = "Jc2k"; 20 repo = pname; 21 rev = version; 22 sha256 = "048cxn3fw2hynp27zlizq7k8ps67qq9sib1ddgirnxy5zc87vgkc"; 23 }; 24 25 nativeBuildInputs = [ poetry ]; 26 27 propagatedBuildInputs = [ aiohttp ]; 28 29 checkInputs = [ 30 pytest-aiohttp 31 pytest-asyncio 32 pytest-cov 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "aioeafm" ]; 37 38 meta = with lib; { 39 description = "Python client for access the Real Time flood monitoring API"; 40 homepage = "https://github.com/Jc2k/aioeafm"; 41 license = with licenses; [ asl20 ]; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}