depot/third_party/nixpkgs/pkgs/development/python-modules/aiodocker/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

34 lines
758 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
}:
buildPythonPackage rec {
pname = "aiodocker";
# unstable includes support for python 3.10+
version = "unstable-2022-01-20";
format = "setuptools";
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 ];
};
}