Commit f61300e2 authored by Robert Schütz's avatar Robert Schütz
Browse files

python312Packages.curio-compat: init at 1.6.7

parent 74c9f065
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "curio-compat";
  version = "1.6.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "klen";
    repo = "curio";
    rev = "refs/tags/${version}";
    hash = "sha256-Crd9r4Icwga85wvtXaePbE56R192o+FXU9Zn+Lc7trI=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "curio" ];

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = [
    # contacts google.com
    "test_ssl_outgoing"
  ];

  meta = {
    description = "Coroutine-based library for concurrent systems programming";
    homepage = "https://github.com/klen/curio";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -2719,6 +2719,8 @@ self: super: with self; {
  curio = callPackage ../development/python-modules/curio { };
  curio-compat = callPackage ../development/python-modules/curio-compat { };
  curlify = callPackage ../development/python-modules/curlify { };
  curl-cffi = callPackage ../development/python-modules/curl-cffi { };