Unverified Commit f60a814a authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

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

parents cf590b7e de1d5812
Loading
Loading
Loading
Loading
+15 −9
Original line number Diff line number Diff line
@@ -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;
+3 −3
Original line number Diff line number Diff line
@@ -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
  ];