mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 21:57:52 +03:00
Merge pull request #303734 from fabaff/pytest-aio-bump
python312Packages.pytest-aio: 1.5.0 -> 1.8.1
This commit is contained in:
commit
5497d564c2
@ -1,21 +1,23 @@
|
||||
{ lib
|
||||
, anyio
|
||||
, buildPythonPackage
|
||||
, curio
|
||||
, fetchFromGitHub
|
||||
, hypothesis
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, sniffio
|
||||
, trio
|
||||
, trio-asyncio
|
||||
{
|
||||
lib,
|
||||
anyio,
|
||||
buildPythonPackage,
|
||||
curio,
|
||||
fetchFromGitHub,
|
||||
hypothesis,
|
||||
pytest,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
poetry-core,
|
||||
sniffio,
|
||||
trio,
|
||||
trio-asyncio,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-aio";
|
||||
version = "1.5.0";
|
||||
format = "setuptools";
|
||||
version = "1.8.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -23,34 +25,30 @@ buildPythonPackage rec {
|
||||
owner = "klen";
|
||||
repo = "pytest-aio";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-BIVorMRWyboKFZCiELoBh/1oxSpdV263zfLce1fNVhU=";
|
||||
hash = "sha256-MexIL9yFTzhkJ/61GgYoT54MWV8B0c1/CWkN5FVTvnw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/addopts/d' setup.cfg
|
||||
'';
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
buildInputs = [
|
||||
pytest
|
||||
];
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
dependencies = [
|
||||
anyio
|
||||
curio
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
sniffio
|
||||
trio
|
||||
trio-asyncio
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pytest_aio"
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "pytest_aio" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/klen/pytest-aio";
|
||||
description = "Pytest plugin for aiohttp support";
|
||||
homepage = "https://github.com/klen/pytest-aio";
|
||||
changelog = "https://github.com/klen/pytest-aio/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user