1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 aiohttp, 6 backoff, 7 yarl, 8 aresponses, 9 pytest-asyncio, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "aiomodernforms"; 15 version = "0.1.8"; 16 format = "setuptools"; 17 18 src = fetchFromGitHub { 19 owner = "wonderslug"; 20 repo = "aiomodernforms"; 21 rev = "v${version}"; 22 hash = "sha256-Vx51WBjjNPIfLlwMnAuwHnGNljhnjKkU0tWB9M9rjsw="; 23 }; 24 25 propagatedBuildInputs = [ 26 aiohttp 27 backoff 28 yarl 29 ]; 30 31 nativeCheckInputs = [ 32 aresponses 33 pytest-asyncio 34 pytestCheckHook 35 ]; 36 37 pythonImportsCheck = [ "aiomodernforms" ]; 38 39 meta = with lib; { 40 description = "Asynchronous Python client for Modern Forms fans"; 41 homepage = "https://github.com/wonderslug/aiomodernforms"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ dotlambda ]; 44 }; 45}