Merge pull request #270083 from fabaff/aiortm-bump

python311Packages.aiortm: 0.6.4 -> 0.8.5
This commit is contained in:
Fabian Affolter 2023-11-26 14:20:54 +01:00 committed by GitHub
commit 69947abdc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,10 +2,12 @@
, aiohttp
, aioresponses
, buildPythonPackage
, ciso8601
, click
, fetchFromGitHub
, pydantic
, mashumaro
, poetry-core
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, yarl
@ -13,39 +15,41 @@
buildPythonPackage rec {
pname = "aiortm";
version = "0.6.4";
format = "pyproject";
version = "0.8.5";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "MartinHjelmare";
repo = pname;
repo = "aiortm";
rev = "refs/tags/v${version}";
hash = "sha256-PFZ8B2Wtjg3xUFYcnthTW5QXLk//lFH25jwpF7hygxQ=";
hash = "sha256-qFjMNU/sUFtCzBNG7vauz2p1BSr9ra81kyUtaz5vSTg=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=aiortm --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
ciso8601
click
pydantic
mashumaro
yarl
];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=aiortm --cov-report=term-missing:skip-covered" ""
'';
pythonImportsCheck = [
"aiortm"
];