1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 aiohttp, 6}: 7 8buildPythonPackage rec { 9 pname = "aiodocker"; 10 # unstable includes support for python 3.10+ 11 version = "unstable-2022-01-20"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "aio-libs"; 16 repo = pname; 17 rev = "f1dbdc3d42147f4c2ab5e6802acf6f7d0f885be4"; 18 sha256 = "RL5Ck4wsBZO88afmoojeFKbdIeCjDo/SwNqUcERH6Ls="; 19 }; 20 21 propagatedBuildInputs = [ aiohttp ]; 22 23 # tests require docker daemon 24 doCheck = false; 25 pythonImportsCheck = [ "aiodocker" ]; 26 27 meta = with lib; { 28 description = "Docker API client for asyncio"; 29 homepage = "https://github.com/aio-libs/aiodocker"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ emilytrau ]; 32 }; 33}