1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "pyflexit"; 9 version = "0.3"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.6"; 13 14 src = fetchFromGitHub { 15 owner = "Sabesto"; 16 repo = pname; 17 rev = version; 18 sha256 = "1ajlqr3z6zj4fyslqzpwpfkvh8xjx94wsznzij0vx0q7jp43bqig"; 19 }; 20 21 # Project has no tests 22 doCheck = false; 23 24 pythonImportsCheck = [ "pyflexit" ]; 25 26 meta = with lib; { 27 description = "Python library for Flexit A/C units"; 28 homepage = "https://github.com/Sabesto/pyflexit"; 29 license = with licenses; [ mit ]; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}