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