linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / python-smarttub / default.nix
blobec47b88daa9d1d1ae4081b898c1fe91fc8d9937d
1 { lib
2 , aiohttp
3 , aresponses
4 , buildPythonPackage
5 , fetchFromGitHub
6 , inflection
7 , pyjwt
8 , pytest-asyncio
9 , pytestCheckHook
10 , python-dateutil
11 , pythonOlder
14 buildPythonPackage rec {
15   pname = "python-smarttub";
16   version = "0.0.23";
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "mdz";
21     repo = pname;
22     rev = "v${version}";
23     sha256 = "0maqbmk50xjhv9f0zm62ayzyf99kic3c0g5714cqkw3pfp8k75cx";
24   };
26   propagatedBuildInputs = [
27     aiohttp
28     inflection
29     pyjwt
30     python-dateutil
31   ];
33   checkInputs = [
34     aresponses
35     pytest-asyncio
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [ "smarttub" ];
41   meta = with lib; {
42     description = "Python API for SmartTub enabled hot tubs";
43     homepage = "https://github.com/mdz/python-smarttub";
44     license = with licenses; [ mit ];
45     maintainers = with maintainers; [ fab ];
46   };