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