Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 47 lines 920 B view raw
1{ 2 aiohttp, 3 aioresponses, 4 buildPythonPackage, 5 fetchFromGitHub, 6 freezegun, 7 lib, 8 pytest-asyncio, 9 pytestCheckHook, 10 setuptools, 11 syrupy, 12}: 13 14buildPythonPackage rec { 15 pname = "imgw-pib"; 16 version = "1.0.10"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "bieniu"; 21 repo = "imgw-pib"; 22 tag = version; 23 hash = "sha256-Jp7ValBP/upUWUIyIHeHd6l3awBdv+Mgf458eUICNko="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ aiohttp ]; 29 30 pythonImportsCheck = [ "imgw_pib" ]; 31 32 nativeCheckInputs = [ 33 aioresponses 34 freezegun 35 pytest-asyncio 36 pytestCheckHook 37 syrupy 38 ]; 39 40 meta = { 41 changelog = "https://github.com/bieniu/imgw-pib/releases/tag/${version}"; 42 description = "Python async wrapper for IMGW-PIB API"; 43 homepage = "https://github.com/bieniu/imgw-pib"; 44 license = lib.licenses.asl20; 45 maintainers = with lib.maintainers; [ dotlambda ]; 46 }; 47}