1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, aiohttp 6, requests 7}: 8 9buildPythonPackage rec { 10 pname = "starline"; 11 version = "0.1.5"; 12 13 disabled = pythonOlder "3.5"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "1753f5fcd2a6976aed775afb03f8392159f040c673917cc0c634510d95c13cb9"; 18 }; 19 20 propagatedBuildInputs = [ 21 aiohttp 22 requests 23 ]; 24 25 # no tests implemented 26 doCheck = false; 27 28 pythonImportsCheck = [ "starline" ]; 29 30 meta = with lib; { 31 description = "Unofficial python library for StarLine API"; 32 homepage = "https://github.com/Anonym-tsk/starline"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ dotlambda ]; 35 }; 36}