mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #120532 from fabaff/homeconnect
This commit is contained in:
commit
9f48549762
33
pkgs/development/python-modules/homeconnect/default.nix
Normal file
33
pkgs/development/python-modules/homeconnect/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -351,7 +351,7 @@
|
||||
"hitron_coda" = ps: with ps; [ ];
|
||||
"hive" = ps: with ps; [ ]; # missing inputs: pyhiveapi
|
||||
"hlk_sw16" = ps: with ps; [ ]; # missing inputs: hlk-sw16
|
||||
"home_connect" = ps: with ps; [ aiohttp-cors ]; # missing inputs: homeconnect
|
||||
"home_connect" = ps: with ps; [ aiohttp-cors homeconnect ];
|
||||
"home_plus_control" = ps: with ps; [ aiohttp-cors homepluscontrol ];
|
||||
"homeassistant" = ps: with ps; [ ];
|
||||
"homekit" = ps: with ps; [ HAP-python pyqrcode pyturbojpeg aiohttp-cors base36 fnvhash ha-ffmpeg zeroconf ];
|
||||
|
@ -267,6 +267,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"hddtemp"
|
||||
"history"
|
||||
"history_stats"
|
||||
"home_connect"
|
||||
"home_plus_control"
|
||||
"homekit"
|
||||
"homekit_controller"
|
||||
|
@ -3195,6 +3195,8 @@ in {
|
||||
|
||||
homeassistant-pyozw = callPackage ../development/python-modules/homeassistant-pyozw { };
|
||||
|
||||
homeconnect = callPackage ../development/python-modules/homeconnect { };
|
||||
|
||||
homematicip = callPackage ../development/python-modules/homematicip { };
|
||||
|
||||
homepluscontrol = callPackage ../development/python-modules/homepluscontrol { };
|
||||
|
Loading…
Reference in New Issue
Block a user