24 , soapysdr-with-plugins
33 }.${gnuradio.versionAttr.major};
35 url = "git://git.osmocom.org/gr-osmosdr";
38 "3.7" = "0bf9bnc1c3c4yqqqgmg3nhygj6rcfmyk6pybi27f7461d2cw1drv";
39 "3.8" = "sha256-ZfI8MshhZOdJ1U5FlnZKXsg2Rsvb6oKg943ZVYd/IWo=";
40 "3.9" = "sha256-d0hbiJ44lEu8V4XX7JpZVSTQwwykwKPUfiqetRBI6uI=";
41 "3.10" = "sha256-d0hbiJ44lEu8V4XX7JpZVSTQwwykwKPUfiqetRBI6uI=";
42 }.${gnuradio.versionAttr.major};
47 disabledForGRafter = "3.11";
49 outputs = [ "out" "dev" ];
63 ] ++ lib.optionals (gnuradio.hasFeature "gr-blocks") [
65 ] ++ lib.optionals (gnuradio.hasFeature "gr-uhd") [
67 ] ++ lib.optionals (gnuradio.hasFeature "gr-ctrlport") [
70 ] ++ lib.optionals (gnuradio.hasFeature "python-support") [
73 ] ++ lib.optionals stdenv.isDarwin [
74 darwin.apple_sdk.frameworks.IOKit
75 darwin.apple_sdk.frameworks.Security
78 (if (gnuradio.hasFeature "python-support") then
88 ] ++ lib.optionals (gnuradio.hasFeature "python-support") [
89 (if (gnuradio.versionAttr.major == "3.7") then
99 description = "Gnuradio block for OsmoSDR and rtl-sdr";
100 homepage = "https://sdr.osmocom.org/trac/wiki/GrOsmoSDR";
101 license = licenses.gpl3Plus;
102 maintainers = with maintainers; [ bjornfor ];
103 platforms = platforms.unix;