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