Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aioruuvigateway / default.nix
blob215d34d098b04040ffccb31d1a0334338797574b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , hatchling
5 , bluetooth-data-tools
6 , httpx
7 , pytest-asyncio
8 , pytest-httpx
9 , pytestCheckHook
12 buildPythonPackage rec {
13   pname = "aioruuvigateway";
14   version = "0.1.0";
15   format = "pyproject";
17   src = fetchFromGitHub {
18     owner = "akx";
19     repo = "aioruuvigateway";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-Etv+kPFYEK79hpDeNmDfuyNj1vJ6udry1u+TRO5gLV4=";
22   };
24   nativeBuildInputs = [
25     hatchling
26   ];
28   propagatedBuildInputs = [
29     bluetooth-data-tools
30     httpx
31   ];
33   nativeCheckInputs = [
34     pytest-asyncio
35     pytest-httpx
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [
40     "aioruuvigateway"
41   ];
43   meta = with lib; {
44     description = "An asyncio-native library for requesting data from a Ruuvi Gateway";
45     homepage = "https://github.com/akx/aioruuvigateway";
46     license = licenses.mit;
47     maintainers = with maintainers; [ hexa ];
48   };