python3Packages.aiodocker: unstable-2022-01-20 -> 0.24.0 (#410830)

This commit is contained in:
Martin Weinelt
2025-05-25 18:08:14 +02:00
committed by GitHub
2 changed files with 18 additions and 12 deletions
@@ -2,33 +2,39 @@
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;
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "hatch-vcs";
version = "0.4.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -22,9 +22,9 @@ buildPythonPackage rec {
hash = "sha256-CTgQdI/gHbDUUfq88sGsJojK79Iy1O3pZwkLHBsH2fc=";
};
nativeBuildInputs = [ hatchling ];
build-system = [ hatchling ];
propagatedBuildInputs = [
dependencies = [
hatchling
setuptools-scm
];