Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 53 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 aiohttp, 7 pydantic, 8 yarl, 9 aresponses, 10 pytest-asyncio, 11 pytest-cov-stub, 12 pytestCheckHook, 13 syrupy, 14}: 15 16buildPythonPackage rec { 17 pname = "youtubeaio"; 18 version = "2.1.1"; 19 pyproject = true; 20 21 src = fetchFromGitHub { 22 owner = "joostlek"; 23 repo = "python-youtube"; 24 tag = "v${version}"; 25 hash = "sha256-2PqVFZ5816g8Ilc0Mhlm+Gzw/eOSaC1JYPY/t2yzxCU="; 26 }; 27 28 build-system = [ poetry-core ]; 29 30 dependencies = [ 31 aiohttp 32 pydantic 33 yarl 34 ]; 35 36 pythonImportsCheck = [ "youtubeaio" ]; 37 38 nativeCheckInputs = [ 39 aresponses 40 pytest-asyncio 41 pytest-cov-stub 42 pytestCheckHook 43 syrupy 44 ]; 45 46 meta = { 47 changelog = "https://github.com/joostlek/python-youtube/releases/tag/${src.tag}"; 48 description = "Asynchronous Python client for the YouTube V3 API"; 49 homepage = "https://github.com/joostlek/python-youtube"; 50 license = lib.licenses.mit; 51 maintainers = with lib.maintainers; [ dotlambda ]; 52 }; 53}