Unverified Commit 58340aec authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.caio: 0.9.22 -> 0.9.25 (python 3.14 support) (#478233)

parents 79cdb0b8 149da6f1
Loading
Loading
Loading
Loading
+10 −13
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  aiomisc,
  aiomisc-pytest,
  buildPythonPackage,
  fetchFromGitHub,
  pytest-aiohttp,
  pytest-asyncio_0,
  pytest8_3CheckHook,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "caio";
  version = "0.9.22";
  version = "0.9.25";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "mosquito";
    repo = "caio";
    tag = version;
    hash = "sha256-O86SLZ+8bzPYtvLnmY5gLPYLWvNaktQwIEQckJR15LI=";
    tag = finalAttrs.version;
    hash = "sha256-uKQJWGYtBdpcfFD6yDKjIz0H0FEq4dmCP50sbVGYRGU=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [
    aiomisc
    (pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; })
    pytest8_3CheckHook
    aiomisc-pytest
    pytestCheckHook
  ];

  env.NIX_CFLAGS_COMPILE = toString (
@@ -39,8 +36,8 @@ buildPythonPackage rec {
  meta = {
    description = "File operations with asyncio support";
    homepage = "https://github.com/mosquito/caio";
    changelog = "https://github.com/mosquito/caio/releases/tag/${version}";
    changelog = "https://github.com/mosquito/caio/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})