Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / homeconnect / default.nix
blob296fb482c16d9d9f1fe290481ea7a2c7c9c48b50
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , requests
5 , requests-oauthlib
6 , pythonOlder
7 , setuptools
8 , six
9 }:
11 buildPythonPackage rec {
12   pname = "homeconnect";
13   version = "0.7.4";
14   format = "pyproject";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-lkal6Dy4cRRZ893I3/jyQ3+sDZMrHN0UMGff0ab4pvk=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     requests
29     requests-oauthlib
30     six
31   ];
33   # Project has no tests
34   doCheck = false;
36   pythonImportsCheck = [
37     "homeconnect"
38   ];
40   meta = with lib; {
41     description = "Python client for the BSH Home Connect REST API";
42     homepage = "https://github.com/DavidMStraub/homeconnect";
43     changelog = "https://github.com/DavidMStraub/homeconnect/releases/tag/v${version}";
44     license = with licenses; [ mit ];
45     maintainers = with maintainers; [ fab ];
46   };