mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-04 19:48:34 +03:00
python312Packages.solarlog-cli: 0.1.6 -> 0.2.0 (#337971)
This commit is contained in:
commit
1831ed2e7e
38
pkgs/development/python-modules/curio-compat/default.nix
Normal file
38
pkgs/development/python-modules/curio-compat/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
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,16 +2,16 @@
|
||||
lib,
|
||||
anyio,
|
||||
buildPythonPackage,
|
||||
curio,
|
||||
curio-compat,
|
||||
fetchFromGitHub,
|
||||
hypothesis,
|
||||
pytest,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
poetry-core,
|
||||
sniffio,
|
||||
trio,
|
||||
trio-asyncio,
|
||||
uvloop,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
version = "1.9.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "klen";
|
||||
@ -32,16 +32,18 @@ buildPythonPackage rec {
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
dependencies = [
|
||||
anyio
|
||||
curio
|
||||
hypothesis
|
||||
sniffio
|
||||
trio
|
||||
trio-asyncio
|
||||
];
|
||||
optional-dependencies = {
|
||||
curio = [ curio-compat ];
|
||||
trio = [ trio ];
|
||||
uvloop = [ uvloop ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
anyio
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
trio-asyncio
|
||||
] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [ "pytest_aio" ];
|
||||
|
||||
|
@ -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";
|
||||
@ -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}";
|
||||
|
@ -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…
Reference in New Issue
Block a user