1{ 2 lib, 3 buildPythonPackage, 4 docopt, 5 fetchFromGitHub, 6 requests, 7 requests-oauthlib, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "tellduslive"; 14 version = "0.10.12"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "molobrakos"; 21 repo = "tellduslive"; 22 tag = "v${version}"; 23 sha256 = "sha256-fWL+VSvoT+dT0jzD8DZEMxzTlqj4TYGCJPLpeui5q64="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 docopt 30 requests 31 requests-oauthlib 32 ]; 33 34 # Module has no tests 35 doCheck = false; 36 37 pythonImportsCheck = [ "tellduslive" ]; 38 39 meta = with lib; { 40 description = "Python module to communicate with Telldus Live"; 41 homepage = "https://github.com/molobrakos/tellduslive"; 42 license = licenses.unlicense; 43 maintainers = with maintainers; [ fab ]; 44 mainProgram = "tellduslive"; 45 }; 46}