anchor.diff:      license = licenses.gpl2Plus;
       maintainers = [ maintainers.goibhniu maintainers.marcweber ];
       platforms = platforms.linux;
  -    broken = true;
     };
   }
  
positive.code: 
  { stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo
  , libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
  , libsndfile, pkgconfig, libpulseaudio, qtbase, redland
  , qmake, rubberband, serd, sord, vampSDK, fftwFloat
  }:
  
  stdenv.mkDerivation rec {
    pname = "sonic-visualiser";
    version = "2.4.1";
  
    src = fetchurl {
      url = "https://code.soundsoftware.ac.uk/attachments/download/1185/${pname}-${version}.tar.gz";
      sha256 = "06nlha70kgrby16nyhngrv5q846xagnxdinv608v7ga7vpywwmyb";
    };
  
    buildInputs =
      [ libsndfile qtbase fftw fftwFloat bzip2 librdf rubberband
        libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
        serd
        sord
  
negative.code:       libpulseaudio
        libmad
        libogg # ?
        libfishsound
        liblo
        libX11
        capnproto
        liboggz
        libid3tag
        opusfile
      ];
  
    nativeBuildInputs = [ pkgconfig wrapQtAppsHook ];
  
    enableParallelBuilding = true;
  
    # comment out the tests
    preConfigure = ''
      sed -i 's/sub_test_svcore_/#sub_test_svcore_/' sonic-visualiser.pro
    '';
  
    meta = with stdenv.lib; {
  