anchor.diff:    installPhase = ''
       python waf install
       mkdir -pv $out/gtk2/engines
  -    mv $out/lib/ardour3/libclearlooks.so $out/gtk2/engines/
  +    cp build/libs/clearlooks-newer/libclearlooks.so $out/gtk2/engines/
       wrapProgram $out/bin/ardour3 --prefix GTK_PATH : $out/gtk2
     '';
   
  
positive.code:     ];
  
    patchPhase = ''
      printf '#include "ardour/svn_revision.h"\nnamespace ARDOUR { const char* svn_revision = \"${rev}\"; }\n' > libs/ardour/svn_revision.cc
      sed -e 's|^#!/usr/bin/perl.*$|#!${perl}/bin/perl|g' -i tools/fmt-bindings
      sed -e 's|^#!/usr/bin/env.*$|#!${perl}/bin/perl|g' -i tools/*.pl
      sed 's|/usr/include/libintl.h|${glibc}/include/libintl.h|' -i wscript
    '';
  
    configurePhase = "python waf configure --prefix=$out";
  
    buildPhase = "python waf";
  
  
negative.code: , perl, pkgconfig, python, serd, sord, sratom, suil }:
  
  let
    # Ardour 3.5.308 tag
    rev = "40d8c5ae";
  in
  
  stdenv.mkDerivation rec {
    name = "ardour-${version}";
    version = "3.5.308";
  
    src = fetchgit {
      url = git://git.ardour.org/ardour/ardour.git;
      inherit rev;
      sha256 = "7473c19c2aeb68bd93d512c2d4e976b23dd36d2453c877c859ad37a76f50dc8a";
    };
  
    buildInputs = 
  