1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 hatch-vcs, 7 aiohttp, 8}: 9 10buildPythonPackage rec { 11 pname = "aiodocker"; 12 version = "0.24.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "aio-libs"; 17 repo = "aiodocker"; 18 tag = "v${version}"; 19 hash = "sha256-qCOAM4ZyJoLc91FjQpBO97Nyfo1ZOEi0nhXZ7nwLsHk="; 20 }; 21 22 build-system = [ 23 hatchling 24 hatch-vcs 25 ]; 26 27 dependencies = [ 28 aiohttp 29 ]; 30 31 # tests require docker daemon 32 doCheck = false; 33 34 pythonImportsCheck = [ "aiodocker" ]; 35 36 meta = with lib; { 37 changelog = "https://github.com/aio-libs/aiodocker/releases/tag/${src.tag}"; 38 description = "Docker API client for asyncio"; 39 homepage = "https://github.com/aio-libs/aiodocker"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ emilytrau ]; 42 }; 43}