1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #120258 from fabaff/ondilo

This commit is contained in:
Martin Weinelt 2021-04-22 23:52:12 +02:00 committed by GitHub
commit 8ae267b431
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 1 deletions

View file

@ -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 ];
};
}

View file

@ -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

View file

@ -323,6 +323,7 @@ in with py.pkgs; buildPythonApplication rec {
"notion"
"number"
"omnilogic"
"ondilo_ico"
"ozw"
"panel_custom"
"panel_iframe"

View file

@ -4863,6 +4863,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 { };