gnuradio: add uhd's python API to gnuradio's wrapper

This commit is contained in:
Doron Behar
2024-05-01 09:14:11 +03:00
parent c9739a9d69
commit 751c57bb7d
@@ -58,6 +58,10 @@ let
# may wish to wrap GR without python support.
pythonPkgs = extraPythonPackages
++ [ (unwrapped.python.pkgs.toPythonModule unwrapped) ]
++ unwrapped.passthru.uhd.pythonPath
++ lib.optionals (unwrapped.passthru.uhd.pythonPath != []) [
(unwrapped.python.pkgs.toPythonModule unwrapped.passthru.uhd)
]
# Add the extraPackages as python modules as well
++ (builtins.map unwrapped.python.pkgs.toPythonModule extraPackages)
++ lib.flatten (lib.mapAttrsToList (