anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / python-awair / default.nix
blobc814188477fa72363fce00919263fb865c4aea45
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   poetry-core,
7   pytest-aiohttp,
8   pytestCheckHook,
9   pythonOlder,
10   voluptuous,
11   vcrpy,
14 buildPythonPackage rec {
15   pname = "python-awair";
16   version = "0.2.4";
17   format = "pyproject";
18   disabled = pythonOlder "3.6";
20   src = fetchFromGitHub {
21     owner = "ahayworth";
22     repo = "python_awair";
23     rev = version;
24     hash = "sha256-zdZyA6adM4bfEYupdZl7CzMjwyfRkQBrntNh0MusynE=";
25   };
27   nativeBuildInputs = [ poetry-core ];
29   propagatedBuildInputs = [
30     aiohttp
31     voluptuous
32   ];
34   nativeCheckInputs = [
35     pytest-aiohttp
36     pytestCheckHook
37     vcrpy
38   ];
40   pythonImportsCheck = [ "python_awair" ];
42   meta = with lib; {
43     description = "Python library for the Awair API";
44     homepage = "https://github.com/ahayworth/python_awair";
45     license = with licenses; [ mit ];
46     maintainers = with maintainers; [ fab ];
47   };