Merge pull request #334321 from fabaff/aiovlc-bump

python312Packages.aiovlc: 0.3.2 -> 0.4.0
This commit is contained in:
Fabian Affolter 2024-08-14 15:12:35 +02:00 committed by GitHub
commit 6afe4bdb56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,37 +1,41 @@
{
lib,
buildPythonPackage,
click,
fetchFromGitHub,
poetry-core,
pytest-asyncio,
pytest-cov-stub,
pytest-timeout,
pytestCheckHook,
pythonOlder,
rich,
typer,
}:
buildPythonPackage rec {
pname = "aiovlc";
version = "0.3.2";
format = "setuptools";
version = "0.4.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "MartinHjelmare";
repo = pname;
repo = "aiovlc";
rev = "refs/tags/v${version}";
hash = "sha256-+IpWX661Axl2Ke1NGN6W9CMMQMEu7EQ/2PeRkkByAxI=";
hash = "sha256-wUtoL3e22ufyzB7MJH0EuxE4WyxKQXEgThAOw23AwLM=";
};
postPatch = ''
substituteInPlace pyproject.toml --replace \
" --cov=aiovlc --cov-report=term-missing:skip-covered" ""
'';
build-system = [ poetry-core ];
propagatedBuildInputs = [ click ];
dependencies = [
rich
typer
];
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytest-timeout
pytestCheckHook
];