6 , plugins ? [ dnf-plugins-core ]
9 pluginPaths = map (p: "${p}/${python3.sitePackages}/dnf-plugins") plugins;
11 dnf4-unwrapped = python3.pkgs.dnf4;
16 inherit (dnf4-unwrapped) version;
18 outputs = [ "out" "man" "py" ];
26 propagatedBuildInputs = [
30 makeWrapperArgs = lib.optional (plugins != [ ]) ''--add-flags "--setopt=pluginpath=${lib.concatStringsSep "," pluginPaths}"'';
35 cp -R ${dnf4-unwrapped} $out
36 cp -R ${dnf4-unwrapped.py} $py
37 cp -R ${dnf4-unwrapped.man} $man
47 unwrapped = dnf4-unwrapped;
50 meta = dnf4-unwrapped.meta // {
51 priority = (dnf4-unwrapped.meta.priority or 0) - 1;