Skip to content

Commit 04654c4

Browse files
authored
gnuradio3_8: remove (#356976)
2 parents c6bc263 + d50107f commit 04654c4

File tree

17 files changed

+78
-859
lines changed

17 files changed

+78
-859
lines changed

pkgs/applications/radio/gnuradio/3.8.nix

Lines changed: 0 additions & 289 deletions
This file was deleted.

pkgs/applications/radio/gnuradio/default.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
, orc
1111
, boost
1212
, spdlog
13-
, swig
1413
, mpir
1514
, doxygen
1615
, python
@@ -21,7 +20,6 @@
2120
, libjack2
2221
, libiio
2322
, libad9361
24-
, CoreAudio
2523
, uhd
2624
, SDL
2725
, gsl
@@ -173,7 +171,6 @@ let
173171
gr-audio = {
174172
runtime = []
175173
++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib libjack2 ]
176-
++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreAudio ]
177174
;
178175
cmakeEnableFlag = "GR_AUDIO";
179176
};

pkgs/applications/radio/qradiolink/default.nix

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
, libpulseaudio
44
, libconfig
55
# Needs a gnuradio built with qt gui support
6-
, gnuradio3_8
6+
, gnuradio
7+
, log4cpp
78
, thrift
89
# Not gnuradioPackages'
910
, codec2
@@ -22,15 +23,16 @@
2223
, uhd
2324
}:
2425

25-
gnuradio3_8.pkgs.mkDerivation rec {
26+
gnuradio.pkgs.mkDerivation rec {
2627
pname = "qradiolink";
27-
version = "0.9.0-1";
28+
# https://github.com/qradiolink/qradiolink/tree/gr_3.10
29+
version = "0.9.0-1-unstable-2024-08-29";
2830

2931
src = fetchFromGitHub {
3032
owner = "qradiolink";
3133
repo = "qradiolink";
32-
rev = version;
33-
sha256 = "sha256-Js6DzmUG8O9c9VvjE6hc7JGuFmgc1Wq41zVJb8Us/yI=";
34+
rev = "f1006a20e0a642d0ac20aab18b19fa97567f2621";
35+
sha256 = "sha256-9AYFO+mmwLAH8gEpZn6qcENabc/KBMcg/0wCTKsInNY=";
3436
};
3537

3638
preBuild = ''
@@ -48,35 +50,40 @@ gnuradio3_8.pkgs.mkDerivation rec {
4850
'';
4951

5052
buildInputs = [
51-
gnuradio3_8.unwrapped.boost
53+
gnuradio.unwrapped.boost
5254
codec2
53-
gnuradio3_8.unwrapped.logLib
55+
gnuradio.unwrapped.logLib
56+
# gnuradio uses it's own log library (spdlog), and qradiolink is still
57+
# using the old gnuradio log library log4cpp. Perhaps this won't be needed
58+
# once the gr_3.10 branch will mature enough to be merged into qradiolink's
59+
# master branch.
60+
log4cpp
5461
gmp
5562
libpulseaudio
5663
libconfig
5764
gsm
58-
gnuradio3_8.pkgs.osmosdr
65+
gnuradio.pkgs.osmosdr
5966
libopus
6067
libjpeg
6168
limesuite
6269
soapysdr-with-plugins
6370
speex
6471
speexdsp
65-
gnuradio3_8.qt.qtbase
66-
gnuradio3_8.qt.qtmultimedia
72+
gnuradio.qt.qtbase
73+
gnuradio.qt.qtmultimedia
6774
libftdi
6875
libsndfile
6976
cppzmq
70-
gnuradio3_8.qwt
77+
gnuradio.qwt
7178
uhd
72-
] ++ lib.optionals (gnuradio3_8.hasFeature "gr-ctrlport") [
79+
] ++ lib.optionals (gnuradio.hasFeature "gr-ctrlport") [
7380
thrift
74-
gnuradio3_8.unwrapped.python.pkgs.thrift
81+
gnuradio.unwrapped.python.pkgs.thrift
7582
];
7683
nativeBuildInputs = [
7784
protobuf
78-
gnuradio3_8.qt.qmake
79-
gnuradio3_8.qt.wrapQtAppsHook
85+
gnuradio.qt.qmake
86+
gnuradio.qt.wrapQtAppsHook
8087
];
8188

8289
meta = with lib; {

0 commit comments

Comments
 (0)