Unverified Commit eea70edf authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #333498 from dotlambda/python3Packages.webmin-xmlrpc

home-assistant: support webmin component
parents 77424438 4bb8a067
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  setuptools,
}:

buildPythonPackage rec {
  pname = "webmin-xmlrpc";
  version = "0.0.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "autinerd";
    repo = "webmin-xmlrpc";
    rev = "refs/tags/${version}";
    hash = "sha256-qCS5YV3o7ozO7fDaJucQvU0dEyTbxTivtTDKQVY4pkM=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  pythonImportsCheck = [ "webmin_xmlrpc" ];

  # upstream has no tests
  doCheck = false;

  meta = {
    changelog = "https://github.com/autinerd/webmin-xmlrpc/releases/tag/${version}";
    description = "Python interface to interact with the Webmin XML-RPC API";
    homepage = "https://github.com/autinerd/webmin-xmlrpc";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -4585,7 +4585,8 @@
    "webhook" = ps: with ps; [
    ];
    "webmin" = ps: with ps; [
    ]; # missing inputs: webmin-xmlrpc
      webmin-xmlrpc
    ];
    "webostv" = ps: with ps; [
      aiowebostv
    ];
@@ -5655,6 +5656,7 @@
    "weatherflow_cloud"
    "weatherkit"
    "webhook"
    "webmin"
    "webostv"
    "websocket_api"
    "wemo"
+2 −0
Original line number Diff line number Diff line
@@ -17378,6 +17378,8 @@ self: super: with self; {
  webexteamssdk = callPackage ../development/python-modules/webexteamssdk { };
  webmin-xmlrpc = callPackage ../development/python-modules/webmin-xmlrpc { };
  webob = callPackage ../development/python-modules/webob { };
  webrtc-noise-gain = callPackage ../development/python-modules/webrtc-noise-gain { };