anchor.diff:  
     patches = [ ./configure-python-libs.patch ];
   
  +  postPatch = stdenv.lib.optionalString doCheck
  +    ''sed -i 's:#include "../../src:#include "src:' src/cxxtests.cpp'';
  +
     propagatedBuildInputs = [
       # Python is used at run-time to execute scripts, e.g., those from
       # the "Effects" menu.
  
positive.code: 
    configureFlags = "--with-python";
  
    postInstall = ''
      # Make sure PyXML modules can be found at run-time.
      for i in "$out/bin/"*
  
negative.code: 
    NIX_LDFLAGS = "-lX11";
  
    meta = with stdenv.lib; {
      license = "GPL";
      homepage = http://www.inkscape.org;
      description = "Vector graphics editor";
      platforms = platforms.all;
      longDescription = ''
        Inkscape is a feature-rich vector graphics editor that edits
        files in the W3C SVG (Scalable Vector Graphics) file format.
  