at 23.05-pre 56 lines 962 B view raw
1{ lib 2, aenum 3, aiohttp 4, asynctest 5, buildPythonPackage 6, fetchFromGitHub 7, pydantic 8, pytest-mock 9, pytestCheckHook 10, pythonOlder 11, requests 12}: 13 14buildPythonPackage rec { 15 pname = "intellifire4py"; 16 version = "2.2.1"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchFromGitHub { 22 owner = "jeeftor"; 23 repo = pname; 24 rev = version; 25 hash = "sha256-dn5814eRZ9456Fn7blf1UzXPii4dXu3sjoXBV7CmwSs="; 26 }; 27 28 propagatedBuildInputs = [ 29 aenum 30 aiohttp 31 pydantic 32 requests 33 ]; 34 35 checkInputs = [ 36 asynctest 37 pytest-mock 38 pytestCheckHook 39 ]; 40 41 disabledTests = [ 42 # Test file is missing 43 "test_json_files" 44 ]; 45 46 pythonImportsCheck = [ 47 "intellifire4py" 48 ]; 49 50 meta = with lib; { 51 description = "Module to read Intellifire fireplace status data"; 52 homepage = "https://github.com/jeeftor/intellifire4py"; 53 license = with licenses; [ mit ]; 54 maintainers = with maintainers; [ fab ]; 55 }; 56}