Commit ac983b70 authored by Maciej Krüger's avatar Maciej Krüger Committed by Stanislav Asunkin
Browse files

ansible: add extraPackages option

parent d84d0cc1
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  python,
  pythonOlder,
  installShellFiles,
  docutils,
@@ -25,6 +26,8 @@
  windowsSupport ? false,
  pywinrm,
  xmltodict,
  # Additional packages to add to dependencies
  extraPackages ? _: [ ],
}:

buildPythonPackage rec {
@@ -88,7 +91,8 @@ buildPythonPackage rec {
    scp
    xmltodict
  ]
  ++ lib.optionals windowsSupport [ pywinrm ];
  ++ lib.optionals windowsSupport [ pywinrm ]
  ++ extraPackages python.pkgs;

  pythonRelaxDeps = [ "resolvelib" ];