python310Packages.aiobiketrax: init at 0.2.0

This commit is contained in:
Fabian Affolter 2022-08-11 03:08:58 +02:00
parent c548468651
commit 4739c04a1c
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,53 @@
{ lib
, aiohttp
, auth0-python
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pyjwt
, pytest-aiohttp
, pytestCheckHook
, python-dateutil
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiobiketrax";
version = "0.2.0";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "basilfx";
repo = pname;
rev = "v${version}";
hash = "sha256-zaHetU0ZG3xkYrO6qA4o+NX8V5td/E08tPEohEwMjh0=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
auth0-python
python-dateutil
pyjwt
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"aiobiketrax"
];
meta = with lib; {
description = "Library for interacting with the PowUnity BikeTrax GPS tracker";
homepage = "https://github.com/basilfx/aiobiketrax";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -329,6 +329,8 @@ in {
aioitertools = callPackage ../development/python-modules/aioitertools { };
aiobiketrax = callPackage ../development/python-modules/aiobiketrax { };
aiobotocore = callPackage ../development/python-modules/aiobotocore { };
aiobroadlink = callPackage ../development/python-modules/aiobroadlink { };