From 6e552641b70c5209ce2cad2ceda0ee787c811b65 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 21 Oct 2021 11:31:30 +0300 Subject: [PATCH] gnuradio: Add missing runtime python packages Although they are not detected as missing during build. --- pkgs/applications/radio/gnuradio/3.8.nix | 10 ++++++++++ pkgs/applications/radio/gnuradio/default.nix | 14 ++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/pkgs/applications/radio/gnuradio/3.8.nix b/pkgs/applications/radio/gnuradio/3.8.nix index fa4db241692f..459072cb3be1 100644 --- a/pkgs/applications/radio/gnuradio/3.8.nix +++ b/pkgs/applications/radio/gnuradio/3.8.nix @@ -107,6 +107,11 @@ let native = [ swig ]; + pythonRuntime = with python.pkgs; [ + # For gr-perf-monitorx + matplotlib + networkx + ]; }; gnuradio-companion = { pythonRuntime = with python.pkgs; [ @@ -170,9 +175,14 @@ let }; gr-utils = { cmakeEnableFlag = "GR_UTILS"; + pythonRuntime = with python.pkgs; [ + # For gr_plot + matplotlib + ]; }; gr-modtool = { pythonRuntime = with python.pkgs; [ + setuptools click click-plugins ]; diff --git a/pkgs/applications/radio/gnuradio/default.nix b/pkgs/applications/radio/gnuradio/default.nix index ff2b0a6278b9..08bad6683962 100644 --- a/pkgs/applications/radio/gnuradio/default.nix +++ b/pkgs/applications/radio/gnuradio/default.nix @@ -105,6 +105,11 @@ let runtime = [ libunwind ]; + pythonRuntime = with python.pkgs; [ + # For gr-perf-monitorx + matplotlib + networkx + ]; cmakeEnableFlag = "GR_CTRLPORT"; }; gnuradio-companion = { @@ -139,6 +144,10 @@ let gr-filter = { runtime = [ fftwFloat ]; cmakeEnableFlag = "GR_FILTER"; + pythonRuntime = with python.pkgs; [ + scipy + pyqtgraph + ]; }; gr-analog = { cmakeEnableFlag = "GR_ANALOG"; @@ -181,9 +190,14 @@ let }; gr-utils = { cmakeEnableFlag = "GR_UTILS"; + pythonRuntime = with python.pkgs; [ + # For gr_plot + matplotlib + ]; }; gr-modtool = { pythonRuntime = with python.pkgs; [ + setuptools click click-plugins ];