2023-02-03 12:27:08 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
aiohttp,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiodocker";
|
|
|
|
# unstable includes support for python 3.10+
|
|
|
|
version = "unstable-2022-01-20";
|
2023-12-07 03:53:02 +00:00
|
|
|
format = "setuptools";
|
2023-02-03 12:27:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aio-libs";
|
|
|
|
repo = pname;
|
|
|
|
rev = "f1dbdc3d42147f4c2ab5e6802acf6f7d0f885be4";
|
|
|
|
sha256 = "RL5Ck4wsBZO88afmoojeFKbdIeCjDo/SwNqUcERH6Ls=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
|
|
|
|
# tests require docker daemon
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aiodocker" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Docker API client for asyncio";
|
|
|
|
homepage = "https://github.com/aio-libs/aiodocker";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ emilytrau ];
|
|
|
|
};
|
|
|
|
}
|