anchor.diff:      owner  = "CDrummond";
       repo   = "cantata";
       rev    = "v${version}";
  -    sha256 = "1mwc3cyrvg8qxjn70h4i6kdkvz85xspb3wi8wrb56jrhil409fkh";
  +    sha256 = "1b633chgfs8rya78bzzck5zijna15d1y4nmrz4dcjp862ks5y5q6";
     };
   
     buildInputs = [ vlc ]
  
positive.code: assert withReplaygain -> withTaglib;
  
  let
    version = "2.1.0";
    pname = "cantata";
    fstat = x: fn: "-DENABLE_" + fn + "=" + (if x then "ON" else "OFF");
    fstats = x: map (fstat x);
  
negative.code: 
    # This is already fixed upstream but not released yet. Maybe in version 2.
    preConfigure = ''
      # sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/FindTaglib.cmake
    '';
  
    meta = with stdenv.lib; {
      homepage    = https://github.com/cdrummond/cantata;
      description = "A graphical client for MPD";
      license     = licenses.gpl3;
      maintainers = with maintainers; [ fuuzetsu peterhoeg ];
      # Technically Cantata can run on Windows so if someone wants to
      # bother figuring that one out, be my guest.
      platforms   = platforms.linux;
    };
  }
  