at 24.11-pre 934 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 mashumaro, 7 poetry-core, 8 pytest-asyncio, 9 pytestCheckHook, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "huum"; 15 version = "0.7.10"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.11"; 19 20 src = fetchFromGitHub { 21 owner = "frwickst"; 22 repo = "pyhuum"; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-INW6d/Zc5UZZOgN6wW+Xbm/wH1K/V6bviu3mID1R+BY="; 25 }; 26 27 nativeBuildInputs = [ poetry-core ]; 28 29 propagatedBuildInputs = [ 30 aiohttp 31 mashumaro 32 ]; 33 34 nativeCheckInputs = [ 35 pytest-asyncio 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ "huum" ]; 40 41 meta = with lib; { 42 description = "Library for Huum saunas"; 43 homepage = "https://github.com/frwickst/pyhuum"; 44 changelog = "https://github.com/frwickst/pyhuum/releases/tag/${version}"; 45 license = with licenses; [ mit ]; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}