at master 889 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 mashumaro, 7 poetry-core, 8 pytest-asyncio, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "huum"; 14 version = "0.8.1"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "frwickst"; 19 repo = "pyhuum"; 20 tag = version; 21 hash = "sha256-8wldXJAdo1PK4bKX0rKJjNwwTS5FSgr9RcwiyVhESb8="; 22 }; 23 24 build-system = [ poetry-core ]; 25 26 dependencies = [ 27 aiohttp 28 mashumaro 29 ] 30 ++ aiohttp.optional-dependencies.speedups; 31 32 nativeCheckInputs = [ 33 pytest-asyncio 34 pytestCheckHook 35 ]; 36 37 pythonImportsCheck = [ "huum" ]; 38 39 meta = with lib; { 40 description = "Library for Huum saunas"; 41 homepage = "https://github.com/frwickst/pyhuum"; 42 changelog = "https://github.com/frwickst/pyhuum/releases/tag/${src.tag}"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}