anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / aioruuvigateway / default.nix
blobac167e943bc59e60c414385f292acac9a6de0349
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   hatchling,
6   bluetooth-data-tools,
7   httpx,
8   pytest-asyncio,
9   pytest-httpx,
10   pytestCheckHook,
13 buildPythonPackage rec {
14   pname = "aioruuvigateway";
15   version = "0.1.0";
16   format = "pyproject";
18   src = fetchFromGitHub {
19     owner = "akx";
20     repo = "aioruuvigateway";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-Etv+kPFYEK79hpDeNmDfuyNj1vJ6udry1u+TRO5gLV4=";
23   };
25   nativeBuildInputs = [ hatchling ];
27   propagatedBuildInputs = [
28     bluetooth-data-tools
29     httpx
30   ];
32   nativeCheckInputs = [
33     pytest-asyncio
34     pytest-httpx
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [ "aioruuvigateway" ];
40   meta = with lib; {
41     description = "Asyncio-native library for requesting data from a Ruuvi Gateway";
42     homepage = "https://github.com/akx/aioruuvigateway";
43     license = licenses.mit;
44     maintainers = with maintainers; [ hexa ];
45   };