diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-24 16:53:41 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-24 16:54:13 +0200 |
commit | c6e9a834b7dfad93d341a676b8c8f61c4b484d1d (patch) | |
tree | 508064be0f736b467336453af9a6c033d902925a /pkgs/development | |
parent | 276cb2ad232cdb1bd4f2840051deb964655d9317 (diff) |
python3Packages.homeconnect: init at 0.6.3
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/homeconnect/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/homeconnect/default.nix b/pkgs/development/python-modules/homeconnect/default.nix new file mode 100644 index 0000000000000..98aab26ffac80 --- /dev/null +++ b/pkgs/development/python-modules/homeconnect/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchPypi +, requests +, requests_oauthlib +}: + +buildPythonPackage rec { + pname = "homeconnect"; + version = "0.6.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "0n4h4mi23zw3v6fbkz17fa6kkl5v9bfmj0p57jvfzcfww511y9mn"; + }; + + propagatedBuildInputs = [ + requests + requests_oauthlib + ]; + + # Project has no tests + doCheck = false; + pythonImportsCheck = [ "homeconnect" ]; + + meta = with lib; { + description = "Python client for the BSH Home Connect REST API"; + homepage = "https://github.com/DavidMStraub/homeconnect"; + changelog = "https://github.com/DavidMStraub/homeconnect/releases/tag/v${version}"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |