python310Packages.aiobiketrax: init at 0.2.0
This commit is contained in:
parent
c548468651
commit
4739c04a1c
53
pkgs/development/python-modules/aiobiketrax/default.nix
Normal file
53
pkgs/development/python-modules/aiobiketrax/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user