mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
python3Packages.aioruuvigateway: init at 0.0.2
This commit is contained in:
parent
44122ce292
commit
75d8cecf14
47
pkgs/development/python-modules/aioruuvigateway/default.nix
Normal file
47
pkgs/development/python-modules/aioruuvigateway/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user