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