at master 935 B view raw
1{ 2 lib, 3 aenum, 4 aiohttp-retry, 5 aiohttp, 6 buildPythonPackage, 7 fetchFromGitHub, 8 pydantic, 9 python-dateutil, 10 setuptools, 11 urllib3, 12}: 13 14buildPythonPackage rec { 15 pname = "weheat"; 16 version = "2025.6.10"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "wefabricate"; 21 repo = "wh-python"; 22 tag = version; 23 hash = "sha256-CBW+LehZPZCHZ2zFeCOWwNAVlGcGdKQ5XgmCOv8jr5Q="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 aenum 30 aiohttp 31 aiohttp-retry 32 pydantic 33 python-dateutil 34 urllib3 35 ]; 36 37 # Module has no tests 38 doCheck = false; 39 40 pythonImportsCheck = [ "weheat" ]; 41 42 meta = { 43 description = "Library to interact with the weheat API"; 44 homepage = "https://github.com/wefabricate/wh-python"; 45 changelog = "https://github.com/wefabricate/wh-python/releases/tag/${src.tag}"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ fab ]; 48 }; 49}