nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 55 lines 1.0 kB view raw
1{ 2 lib, 3 aenum, 4 buildPythonPackage, 5 fetchFromGitHub, 6 aiohttp, 7 aioresponses, 8 hatchling, 9 pydantic, 10 pytest-asyncio, 11 pytest-httpx, 12 pytestCheckHook, 13 rich, 14}: 15 16buildPythonPackage rec { 17 pname = "intellifire4py"; 18 version = "4.2.1"; 19 pyproject = true; 20 21 src = fetchFromGitHub { 22 owner = "jeeftor"; 23 repo = "intellifire4py"; 24 tag = "v${version}"; 25 hash = "sha256-kCZkIR8SmrLTm86M87juV7oQ+O01AA4pzkBMnKCnbNA="; 26 }; 27 28 build-system = [ hatchling ]; 29 30 dependencies = [ 31 aiohttp 32 aenum 33 pydantic 34 rich 35 ]; 36 37 nativeCheckInputs = [ 38 aioresponses 39 pytest-asyncio 40 pytest-httpx 41 pytestCheckHook 42 ]; 43 44 pythonImportsCheck = [ "intellifire4py" ]; 45 46 meta = { 47 description = "Module to read Intellifire fireplace status data"; 48 homepage = "https://github.com/jeeftor/intellifire4py"; 49 changelog = "https://github.com/jeeftor/intellifire4py/releases/tag/v${src.tag}"; 50 license = lib.licenses.mit; 51 maintainers = with lib.maintainers; [ fab ]; 52 mainProgram = "intellifire4py"; 53 54 }; 55}