1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, aiohttp 5}: 6 7buildPythonPackage rec { 8 pname = "aiodocker"; 9 # unstable includes support for python 3.10+ 10 version = "unstable-2022-01-20"; 11 12 src = fetchFromGitHub { 13 owner = "aio-libs"; 14 repo = pname; 15 rev = "f1dbdc3d42147f4c2ab5e6802acf6f7d0f885be4"; 16 sha256 = "RL5Ck4wsBZO88afmoojeFKbdIeCjDo/SwNqUcERH6Ls="; 17 }; 18 19 propagatedBuildInputs = [ 20 aiohttp 21 ]; 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}