1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, pytestCheckHook 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 = [ 24 "pyhomeworks" 25 ]; 26 27 meta = with lib; { 28 description = "Python interface to Lutron Homeworks Series 4/8"; 29 homepage = "https://github.com/dubnom/pyhomeworks"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ fab ]; 32 }; 33}