24 , soapysdr-with-plugins
34 }.${gnuradio.versionAttr.major};
36 url = "https://gitea.osmocom.org/sdr/gr-osmosdr";
39 "3.7" = "0bf9bnc1c3c4yqqqgmg3nhygj6rcfmyk6pybi27f7461d2cw1drv";
40 "3.8" = "sha256-ZfI8MshhZOdJ1U5FlnZKXsg2Rsvb6oKg943ZVYd/IWo=";
41 "3.9" = "sha256-pYPDkSnBzccZ/Tbs5x3bwk34FQewkG42y/vlaVkr2YE=";
42 "3.10" = "sha256-pYPDkSnBzccZ/Tbs5x3bwk34FQewkG42y/vlaVkr2YE=";
43 }.${gnuradio.versionAttr.major};
48 disabled = gnuradioAtLeast "3.11";
50 outputs = [ "out" "dev" ];
64 ] ++ lib.optionals (gnuradio.hasFeature "gr-blocks") [
66 ] ++ lib.optionals (gnuradio.hasFeature "gr-uhd") [
68 ] ++ lib.optionals (gnuradio.hasFeature "gr-ctrlport") [
71 ] ++ lib.optionals (gnuradio.hasFeature "python-support") [
74 ] ++ lib.optionals stdenv.isDarwin [
75 darwin.apple_sdk.frameworks.IOKit
76 darwin.apple_sdk.frameworks.Security
79 (if (gnuradio.hasFeature "python-support") then
89 ] ++ lib.optionals (gnuradio.hasFeature "python-support") [
90 (if (gnuradio.versionAttr.major == "3.7") then
100 description = "Gnuradio block for OsmoSDR and rtl-sdr";
101 homepage = "https://sdr.osmocom.org/trac/wiki/GrOsmoSDR";
102 license = licenses.gpl3Plus;
103 maintainers = with maintainers; [ bjornfor ];
104 platforms = platforms.unix;