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