Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 57 lines 1.1 kB 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.2"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchFromGitHub { 22 owner = "jeeftor"; 23 repo = pname; 24 rev = "refs/tags/${version}"; 25 hash = "sha256-iqlKfpnETLqQwy5sNcK2x/TgmuN2hCfYoHEFK2WWVXI="; 26 }; 27 28 propagatedBuildInputs = [ 29 aenum 30 aiohttp 31 pydantic 32 requests 33 ]; 34 35 nativeCheckInputs = [ 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 changelog = "https://github.com/jeeftor/intellifire4py/blob/${version}/CHANGELOG"; 54 license = with licenses; [ mit ]; 55 maintainers = with maintainers; [ fab ]; 56 }; 57}