Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyindego / default.nix
blobb83aa414bc8cdfa6bc2d15aa90d2121e606ad125
1 { lib
2 , buildPythonPackage
3 , fetchPypi
5 # build-system
6 , setuptools
8 # dependencies
9 , aiohttp
10 , requests
11 , pytz
13 # tests
14 , mock
15 , pytest-aiohttp
16 , pytest-asyncio
17 , pytestCheckHook
20 buildPythonPackage rec {
21   pname = "pyindego";
22   version = "3.1.1";
23   pyproject = true;
25   src = fetchPypi {
26     pname = "pyIndego";
27     inherit version;
28     hash = "sha256-lRDi6qYMaPI8SiSNe0vzlKb92axujt44aei8opNPDug=";
29   };
31   build-system = [
32     setuptools
33   ];
35   dependencies = [
36     aiohttp
37     requests
38     pytz
39   ];
41   nativeCheckInputs = [
42     mock
43     pytest-aiohttp
44     pytest-asyncio
45     pytestCheckHook
46   ];
48   disabledTests = [
49     # Typeerror, presumably outdated tests
50     "test_repr"
51     "test_client_response_errors"
52     "test_update_battery"
53   ];
55   pythonImportsCheck = [
56     "pyIndego"
57   ];
59   meta = with lib; {
60     description = "Python interface for Bosch API for lawnmowers";
61     homepage = "https://github.com/jm-73/pyIndego";
62     changelog = "https://github.com/jm-73/pyIndego/blob/${version}/CHANGELOG.md";
63     license = licenses.mit;
64     maintainers = with maintainers; [ hexa ];
65   };