anchor.diff:  , pname ? "gnuradio"
   , versionAttr ? {
     major = "3.8";
  -  minor = "2";
  +  minor = "3";
     patch = "0";
   }
   # We use our build of volk and not the one bundled with the release
  
positive.code: }:
  
  let
    sourceSha256 =  "SFDjtyQRp0fXijZukpLYtISpx8imxedlYN9mRibv1eA=";
    featuresInfo = {
      # Needed always
      basic = {
  
negative.code:   };
    cmakeFlags = shared.cmakeFlags
      # From some reason, if these are not set, libcodec2 and gsm are not
      # detected properly. The issue is reported upstream:
      # https://github.com/gnuradio/gnuradio/issues/4278
      #
      # NOTE: qradiolink needs libcodec2 to be detected in
      # order to build, see https://github.com/qradiolink/qradiolink/issues/67
      ++ lib.optionals (hasFeature "gr-vocoder" features) [
        "-DLIBCODEC2_FOUND=TRUE"
        "-DLIBCODEC2_LIBRARIES=${codec2}/lib/libcodec2.so"
        "-DLIBCODEC2_INCLUDE_DIRS=${codec2}/include"
        "-DLIBCODEC2_HAS_FREEDV_API=ON"
        "-DLIBGSM_FOUND=TRUE"
        "-DLIBGSM_LIBRARIES=${gsm}/lib/libgsm.so"
        "-DLIBGSM_INCLUDE_DIRS=${gsm}/include/gsm"
      ]
  