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