Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / python-awair / default.nix
blobfb65b6f848bc70749c18bd261fd89b967acc72a2
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , poetry-core
6 , pytest-aiohttp
7 , pytestCheckHook
8 , pythonOlder
9 , voluptuous
10 , vcrpy
13 buildPythonPackage rec {
14   pname = "python-awair";
15   version = "0.2.4";
16   format = "pyproject";
17   disabled = pythonOlder "3.6";
19   src = fetchFromGitHub {
20     owner = "ahayworth";
21     repo = "python_awair";
22     rev = version;
23     hash = "sha256-zdZyA6adM4bfEYupdZl7CzMjwyfRkQBrntNh0MusynE=";
24   };
26   nativeBuildInputs = [ poetry-core ];
28   propagatedBuildInputs = [
29     aiohttp
30     voluptuous
31   ];
33   nativeCheckInputs = [
34     pytest-aiohttp
35     pytestCheckHook
36     vcrpy
37   ];
39   pythonImportsCheck = [ "python_awair" ];
41   meta = with lib; {
42     description = "Python library for the Awair API";
43     homepage = "https://github.com/ahayworth/python_awair";
44     license = with licenses; [ mit ];
45     maintainers = with maintainers; [ fab ];
46   };