python3Packages.aioruuvigateway: init at 0.0.2

This commit is contained in:
Martin Weinelt 2023-02-02 00:10:34 +01:00
parent 44122ce292
commit 75d8cecf14
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
, bluetooth-data-tools
, httpx
, pytest-asyncio
, pytest-httpx
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aioruuvigateway";
version = "0.0.2";
format = "pyproject";
src = fetchFromGitHub {
owner = "akx";
repo = "aioruuvigateway";
rev = "refs/tags/v${version}";
hash = "sha256-oT5Tlmi9bevOkcVZqg/xvCckIpN7TjbPVQefo9z1RDM=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
bluetooth-data-tools
httpx
];
nativeCheckInputs = [
pytest-asyncio
pytest-httpx
pytestCheckHook
];
meta = with lib; {
description = "An asyncio-native library for requesting data from a Ruuvi Gateway";
homepage = "https://github.com/akx/aioruuvigateway";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -308,6 +308,8 @@ self: super: with self; {
aiorun = callPackage ../development/python-modules/aiorun { };
aioruuvigateway = callPackage ../development/python-modules/aioruuvigateway { };
aiorwlock = callPackage ../development/python-modules/aiorwlock { };
aiosenseme = callPackage ../development/python-modules/aiosenseme { };