diff options
author | Doron Behar <doron.behar@gmail.com> | 2024-04-28 14:36:32 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2024-05-01 09:14:11 +0300 |
commit | 751c57bb7d9d6cd32721c48e9df722a961254819 (patch) | |
tree | 04a6f9b00bd10047373b2a01af4985323cba8dba /pkgs/applications/radio/gnuradio | |
parent | c9739a9d69e1024813300ff0ab6f1a0a7340cbe7 (diff) |
gnuradio: add uhd's python API to gnuradio's wrapper
Diffstat (limited to 'pkgs/applications/radio/gnuradio')
-rw-r--r-- | pkgs/applications/radio/gnuradio/wrapper.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/radio/gnuradio/wrapper.nix b/pkgs/applications/radio/gnuradio/wrapper.nix index ac08d17397fa7..fdaa76f6f7e8e 100644 --- a/pkgs/applications/radio/gnuradio/wrapper.nix +++ b/pkgs/applications/radio/gnuradio/wrapper.nix @@ -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 ( |