Loading pkgs/development/python-modules/curio-compat/default.nix 0 → 100644 +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 ]; }; } pkgs/development/python-modules/pytest-aio/default.nix +12 −10 Original line number Diff line number Diff line Loading @@ -2,16 +2,16 @@ lib, anyio, buildPythonPackage, curio, curio-compat, fetchFromGitHub, hypothesis, pytest, pytestCheckHook, pythonOlder, poetry-core, sniffio, trio, trio-asyncio, uvloop, }: buildPythonPackage rec { Loading @@ -19,7 +19,7 @@ buildPythonPackage rec { version = "1.9.0"; pyproject = true; disabled = pythonOlder "3.7"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "klen"; Loading @@ -32,16 +32,18 @@ buildPythonPackage rec { buildInputs = [ pytest ]; dependencies = [ optional-dependencies = { curio = [ curio-compat ]; trio = [ trio ]; uvloop = [ uvloop ]; }; nativeCheckInputs = [ anyio curio hypothesis sniffio trio pytestCheckHook trio-asyncio ]; nativeCheckInputs = [ pytestCheckHook ]; ] ++ lib.flatten (lib.attrValues optional-dependencies); pythonImportsCheck = [ "pytest_aio" ]; Loading pkgs/development/python-modules/solarlog-cli/default.nix +17 −5 Original line number Diff line number Diff line Loading @@ -5,11 +5,16 @@ fetchFromGitHub, hatchling, aiohttp, mashumaro, aioresponses, pytest-aio, pytestCheckHook, syrupy, }: buildPythonPackage rec { pname = "solarlog-cli"; version = "0.1.6"; version = "0.2.0"; pyproject = true; disabled = pythonOlder "3.12"; Loading @@ -18,17 +23,24 @@ buildPythonPackage rec { owner = "dontinelli"; repo = "solarlog_cli"; rev = "refs/tags/v${version}"; hash = "sha256-Bliq1n6xH0cZQHueiGDyalIo0zms8zCSpUGq2KH5xZY="; hash = "sha256-x9MovIKFImu60Ns2sJTy71S22cR9Az/yNMWzGM50y7Y="; }; build-system = [ hatchling ]; dependencies = [ aiohttp ]; dependencies = [ aiohttp mashumaro ]; pythonImportsCheck = [ "solarlog_cli" ]; # upstream has no tests doCheck = false; nativeCheckInputs = [ aioresponses pytest-aio pytestCheckHook syrupy ]; meta = { changelog = "https://github.com/dontinelli/solarlog_cli/releases/tag/v${version}"; Loading pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { }; Loading Loading
pkgs/development/python-modules/curio-compat/default.nix 0 → 100644 +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 ]; }; }
pkgs/development/python-modules/pytest-aio/default.nix +12 −10 Original line number Diff line number Diff line Loading @@ -2,16 +2,16 @@ lib, anyio, buildPythonPackage, curio, curio-compat, fetchFromGitHub, hypothesis, pytest, pytestCheckHook, pythonOlder, poetry-core, sniffio, trio, trio-asyncio, uvloop, }: buildPythonPackage rec { Loading @@ -19,7 +19,7 @@ buildPythonPackage rec { version = "1.9.0"; pyproject = true; disabled = pythonOlder "3.7"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "klen"; Loading @@ -32,16 +32,18 @@ buildPythonPackage rec { buildInputs = [ pytest ]; dependencies = [ optional-dependencies = { curio = [ curio-compat ]; trio = [ trio ]; uvloop = [ uvloop ]; }; nativeCheckInputs = [ anyio curio hypothesis sniffio trio pytestCheckHook trio-asyncio ]; nativeCheckInputs = [ pytestCheckHook ]; ] ++ lib.flatten (lib.attrValues optional-dependencies); pythonImportsCheck = [ "pytest_aio" ]; Loading
pkgs/development/python-modules/solarlog-cli/default.nix +17 −5 Original line number Diff line number Diff line Loading @@ -5,11 +5,16 @@ fetchFromGitHub, hatchling, aiohttp, mashumaro, aioresponses, pytest-aio, pytestCheckHook, syrupy, }: buildPythonPackage rec { pname = "solarlog-cli"; version = "0.1.6"; version = "0.2.0"; pyproject = true; disabled = pythonOlder "3.12"; Loading @@ -18,17 +23,24 @@ buildPythonPackage rec { owner = "dontinelli"; repo = "solarlog_cli"; rev = "refs/tags/v${version}"; hash = "sha256-Bliq1n6xH0cZQHueiGDyalIo0zms8zCSpUGq2KH5xZY="; hash = "sha256-x9MovIKFImu60Ns2sJTy71S22cR9Az/yNMWzGM50y7Y="; }; build-system = [ hatchling ]; dependencies = [ aiohttp ]; dependencies = [ aiohttp mashumaro ]; pythonImportsCheck = [ "solarlog_cli" ]; # upstream has no tests doCheck = false; nativeCheckInputs = [ aioresponses pytest-aio pytestCheckHook syrupy ]; meta = { changelog = "https://github.com/dontinelli/solarlog_cli/releases/tag/v${version}"; Loading
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { }; Loading