Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.ondilo: init at 0.2.0 #120258

Merged
merged 3 commits into from
Apr 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
38 changes: 38 additions & 0 deletions pkgs/development/python-modules/ondilo/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, oauthlib
, pythonOlder
, requests
, requests_oauthlib
}:

buildPythonPackage rec {
pname = "ondilo";
version = "0.2.0";
disabled = pythonOlder "3.6";

src = fetchFromGitHub {
owner = "JeromeHXP";
repo = pname;
rev = version;
sha256 = "0k7c9nacf7pxvfik3hkv9vvvda2sx5jrf6zwq7r077x7fw5l8d2b";
};

propagatedBuildInputs = [
oauthlib
requests
requests_oauthlib
];

# Project has no tests
doCheck = false;
pythonImportsCheck = [ "ondilo" ];

meta = with lib; {
description = "Python package to access Ondilo ICO APIs";
homepage = "https://github.com/JeromeHXP/ondilo";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@
"ombi" = ps: with ps; [ ]; # missing inputs: pyombi
"omnilogic" = ps: with ps; [ omnilogic ];
"onboarding" = ps: with ps; [ aiohttp-cors pillow ];
"ondilo_ico" = ps: with ps; [ aiohttp-cors ]; # missing inputs: ondilo
"ondilo_ico" = ps: with ps; [ aiohttp-cors ondilo ];
"onewire" = ps: with ps; [ ]; # missing inputs: pi1wire pyownet
"onkyo" = ps: with ps; [ onkyo-eiscp ];
"onvif" = ps: with ps; [ ha-ffmpeg zeep ]; # missing inputs: WSDiscovery onvif-zeep-async
Expand Down
1 change: 1 addition & 0 deletions pkgs/servers/home-assistant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ in with py.pkgs; buildPythonApplication rec {
"notion"
"number"
"omnilogic"
"ondilo_ico"
"ozw"
"panel_custom"
"panel_iframe"
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4857,6 +4857,8 @@ in {

omnilogic = callPackage ../development/python-modules/omnilogic { };

ondilo = callPackage ../development/python-modules/ondilo { };

onkyo-eiscp = callPackage ../development/python-modules/onkyo-eiscp { };

onnx = callPackage ../development/python-modules/onnx { };
Expand Down