anchor.diff:      # armadillo is built using both, so skip checking for them.
       "-DBLAS=YES"
       "-DLAPACK=YES"
  +    "-DBLAS_LIBRARIES=-lopenblas"
  +    "-DLAPACK_LIBRARIES=-lopenblas"
   
       # Similarly, it doesn't actually use gfortran despite checking for
       # its presence.
  
positive.code:     # UHD support is optional, but gnuradio is built with it, so there's
      # nothing to be gained by leaving it out.
      uhd
    ];
  
    enableParallelBuilding = true;
  
negative.code: , pkgconfig
  , pythonPackages
  , uhd
  , log4cpp
  , openblas
  , matio
  , pugixml
  , protobuf
  }:
  
  stdenv.mkDerivation rec {
    name = "gnss-sdr-${version}";
    version = "0.0.11";
  
    src = fetchFromGitHub {
      owner = "gnss-sdr";
      repo = "gnss-sdr";
      rev = "v${version}";
      sha256 = "0ajj0wx68yyzigppxxa1wag3hzkrjj8dqq8k28rj0jhp8a6bw2q7";
    };
  
    buildInputs = [
  