python3Packages.aiodocker: unstable-2022-01-20 -> 0.24.0

https://github.com/aio-libs/aiodocker/releases/tag/v0.24.0

Changed files
+15 -9
pkgs
development
python-modules
aiodocker
+15 -9
pkgs/development/python-modules/aiodocker/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
+
hatchling,
+
hatch-vcs,
aiohttp,
-
typing-extensions,
}:
-
buildPythonPackage {
+
buildPythonPackage rec {
pname = "aiodocker";
-
# unstable includes support for python 3.10+
-
version = "unstable-2022-01-20";
-
format = "setuptools";
+
version = "0.24.0";
+
pyproject = true;
src = fetchFromGitHub {
owner = "aio-libs";
repo = "aiodocker";
-
rev = "f1dbdc3d42147f4c2ab5e6802acf6f7d0f885be4";
-
sha256 = "RL5Ck4wsBZO88afmoojeFKbdIeCjDo/SwNqUcERH6Ls=";
+
tag = "v${version}";
+
hash = "sha256-qCOAM4ZyJoLc91FjQpBO97Nyfo1ZOEi0nhXZ7nwLsHk=";
};
-
propagatedBuildInputs = [
+
build-system = [
+
hatchling
+
hatch-vcs
+
];
+
+
dependencies = [
aiohttp
-
typing-extensions
];
# tests require docker daemon
doCheck = false;
+
pythonImportsCheck = [ "aiodocker" ];
meta = with lib; {
+
changelog = "https://github.com/aio-libs/aiodocker/releases/tag/${src.tag}";
description = "Docker API client for asyncio";
homepage = "https://github.com/aio-libs/aiodocker";
license = licenses.asl20;