1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchPypi, 6 pythonOlder, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "fivem-api"; 12 version = "0.1.2"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-6llrMGWbDRmysEw+B6B115hLS5xlktQEXiSHzPLbV5s="; 20 }; 21 22 nativeBuildInputs = [ setuptools-scm ]; 23 24 propagatedBuildInputs = [ aiohttp ]; 25 26 # Module has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ "fivem" ]; 30 31 meta = with lib; { 32 description = "Module for interacting with FiveM servers"; 33 homepage = "https://github.com/Sander0542/fivem-api"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}