1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "pyhomeworks";
10 version = "0.0.6";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "Eqbm8274B2hBuF+mREe8lqGhpzZExPJ29jzvwB5RNR8=";
18 };
19
20 # Project has no real tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "pyhomeworks" ];
24
25 meta = with lib; {
26 description = "Python interface to Lutron Homeworks Series 4/8";
27 homepage = "https://github.com/dubnom/pyhomeworks";
28 license = licenses.mit;
29 maintainers = with maintainers; [ fab ];
30 };
31}