1{ 2 aiofiles, 3 aiohttp, 4 aioresponses, 5 buildPythonPackage, 6 fetchFromGitHub, 7 freezegun, 8 lib, 9 orjson, 10 pytest-asyncio, 11 pytestCheckHook, 12 setuptools, 13 syrupy, 14}: 15 16buildPythonPackage rec { 17 pname = "imgw-pib"; 18 version = "1.5.6"; 19 pyproject = true; 20 21 src = fetchFromGitHub { 22 owner = "bieniu"; 23 repo = "imgw-pib"; 24 tag = version; 25 hash = "sha256-U1kC8+614U00LZbomx4bqf5pR/ZZDGx3u3bmUHZaDJ4="; 26 }; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ 31 aiofiles 32 aiohttp 33 orjson 34 ]; 35 36 pythonImportsCheck = [ "imgw_pib" ]; 37 38 nativeCheckInputs = [ 39 aioresponses 40 freezegun 41 pytest-asyncio 42 pytestCheckHook 43 syrupy 44 ]; 45 46 meta = { 47 changelog = "https://github.com/bieniu/imgw-pib/releases/tag/${src.tag}"; 48 description = "Python async wrapper for IMGW-PIB API"; 49 homepage = "https://github.com/bieniu/imgw-pib"; 50 license = lib.licenses.asl20; 51 maintainers = with lib.maintainers; [ dotlambda ]; 52 }; 53}