at 25.11-pre 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytest-asyncio, 7 pytest-cov-stub, 8 pytest-timeout, 9 pytestCheckHook, 10 pythonOlder, 11 typer, 12}: 13 14buildPythonPackage rec { 15 pname = "aiovlc"; 16 version = "0.6.6"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.11"; 20 21 src = fetchFromGitHub { 22 owner = "MartinHjelmare"; 23 repo = "aiovlc"; 24 tag = "v${version}"; 25 hash = "sha256-HnMzr6yKEtPFJlaKbvKYTXXjlz1wDLdOw65IPZJkWB0="; 26 }; 27 28 build-system = [ poetry-core ]; 29 30 optional-dependencies = { 31 cli = [ typer ]; 32 }; 33 34 nativeCheckInputs = [ 35 pytest-asyncio 36 pytest-cov-stub 37 pytest-timeout 38 pytestCheckHook 39 ] ++ lib.flatten (builtins.attrValues optional-dependencies); 40 41 pythonImportsCheck = [ "aiovlc" ]; 42 43 meta = with lib; { 44 description = "Python module to control VLC"; 45 homepage = "https://github.com/MartinHjelmare/aiovlc"; 46 changelog = "https://github.com/MartinHjelmare/aiovlc/blob/v${version}/CHANGELOG.md"; 47 license = licenses.asl20; 48 maintainers = with maintainers; [ fab ]; 49 }; 50}