Merge pull request #139438 from fabaff/pyombi

This commit is contained in:
Martin Weinelt 2021-09-28 13:28:49 +02:00 committed by GitHub
commit 2063e234a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pyombi";
version = "0.1.10";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1ykbmdc2v05ly9q358j7g73ma9fsqdlclc8i0k1yd0bn7219icpx";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyombi" ];
meta = with lib; {
description = "Python module to retrieve information from Ombi";
homepage = "https://github.com/larssont/pyombi";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -599,7 +599,7 @@
"octoprint" = ps: with ps; [ aiohttp-cors ifaddr netdisco zeroconf ];
"oem" = ps: with ps; [ ]; # missing inputs: oemthermostat
"ohmconnect" = ps: with ps; [ defusedxml ];
"ombi" = ps: with ps; [ ]; # missing inputs: pyombi
"ombi" = ps: with ps; [ pyombi ];
"omnilogic" = ps: with ps; [ omnilogic ];
"onboarding" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
"ondilo_ico" = ps: with ps; [ aiohttp-cors ondilo ];

View File

@ -6582,6 +6582,8 @@ in {
pyogg = callPackage ../development/python-modules/pyogg { };
pyombi = callPackage ../development/python-modules/pyombi { };
pyomo = callPackage ../development/python-modules/pyomo { };
pyp = callPackage ../development/python-modules/pyp {