Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 51 lines 992 B view raw
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 disabledTests = [ 38 # https://github.com/wonderslug/aiomodernforms/issues/273 39 "test_connection_error" 40 "test_empty_response" 41 ]; 42 43 pythonImportsCheck = [ "aiomodernforms" ]; 44 45 meta = with lib; { 46 description = "Asynchronous Python client for Modern Forms fans"; 47 homepage = "https://github.com/wonderslug/aiomodernforms"; 48 license = licenses.mit; 49 maintainers = with maintainers; [ dotlambda ]; 50 }; 51}