python3Packages.fivem-api: init at 0.1.2
This commit is contained in:
parent
c8c2bbb27f
commit
6c89269afc
2 changed files with 44 additions and 0 deletions
42
pkgs/development/python-modules/fivem-api/default.nix
Normal file
42
pkgs/development/python-modules/fivem-api/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fivem-api";
|
||||
version = "0.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-6llrMGWbDRmysEw+B6B115hLS5xlktQEXiSHzPLbV5s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fivem"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for interacting with FiveM servers";
|
||||
homepage = "https://github.com/Sander0542/fivem-api";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -2930,6 +2930,8 @@ in {
|
|||
|
||||
fitbit = callPackage ../development/python-modules/fitbit { };
|
||||
|
||||
fivem-api = callPackage ../development/python-modules/fivem-api { };
|
||||
|
||||
fixerio = callPackage ../development/python-modules/fixerio { };
|
||||
|
||||
fixtures = callPackage ../development/python-modules/fixtures { };
|
||||
|
|
Loading…
Reference in a new issue