1{ lib 2, buildPythonPackage 3, fetchPypi 4, oauthlib 5, requests 6, requests-oauthlib 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "lmnotify"; 12 version = "0.0.6"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-cCP7BU2f7QJe9gAI298cvkp3OGijvBv8G1RN7qfZ5PE="; 20 }; 21 22 propagatedBuildInputs = [ 23 oauthlib 24 requests 25 requests-oauthlib 26 ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "lmnotify" 33 ]; 34 35 meta = with lib; { 36 description = "Python package for sending notifications to LaMetric Time"; 37 homepage = "https://github.com/keans/lmnotify"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ rhoriguchi ]; 40 }; 41}