nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 44 lines 979 B view raw
1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 buildPythonPackage, 6 fetchFromGitHub, 7 pytest-asyncio, 8 pytestCheckHook, 9 poetry-core, 10 setuptools, 11}: 12 13buildPythonPackage (finalAttrs: { 14 pname = "incomfort-client"; 15 version = "0.6.12"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "zxdavb"; 20 repo = "incomfort-client"; 21 tag = "v${finalAttrs.version}"; 22 hash = "sha256-5IP0R7NI+TXBOPwDZ26inVC6YxhYozo4ZM/V7w73EvQ="; 23 }; 24 25 build-system = [ poetry-core ]; 26 27 dependencies = [ aiohttp ]; 28 29 nativeCheckInputs = [ 30 aioresponses 31 pytest-asyncio 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "incomfortclient" ]; 36 37 meta = { 38 description = "Python module to poll Intergas boilers via a Lan2RF gateway"; 39 homepage = "https://github.com/zxdavb/incomfort-client"; 40 changelog = "https://github.com/jbouwh/incomfort-client/releases/tag/${finalAttrs.src.tag}"; 41 license = lib.licenses.mit; 42 maintainers = with lib.maintainers; [ fab ]; 43 }; 44})