anchor.diff:      EOF
     '';
   
  -  meta = with stdenv.lib; {
  +  meta = lib; {
       description = "Multi-track hard disk recording software";
       homepage = http://ardour.org/;
       license = licenses.gpl2;
  -    maintainers = with maintainers; [ ];
  +    maintainers = with maintainers; [
  +      codyopel
  +    ];
       platforms = with platforms;
         x86_64-linux;
     };
  
positive.code: { stdenv, fetchFromGitHub, alsaLib, aubio, boost, cairomm, curl, doxygen, dbus, fftw
  , fftwSinglePrec, flac, glibc, glibmm, graphviz, gtk2, gtkmm2, libjack2
  , libgnomecanvas, libgnomecanvasmm, liblo, libmad, libogg, librdf
  , librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile
  , libusb, libuuid, libxml2, libxslt, lilv-svn, lv2, makeWrapper, pango
  , perl, pkgconfig, python, rubberband, serd, sord-svn, sratom, suil, taglib, vampSDK }:
  
  let
    # Ardour git repo uses a mix of annotated and lightweight tags. Annotated
    # tags are used for MAJOR.MINOR versioning, and lightweight tags are used
    # in-between; MAJOR.MINOR.REV where REV is the number of commits since the
    # last annotated tag. A slightly different version string format is needed
    # for the 'revision' info that is built into the binary; it is the format of
    # "git describe" when _not_ on an annotated tag(!): MAJOR.MINOR-REV-HASH.
  
    # Version to build.
    tag = "4.4";
  in
  
  stdenv.mkDerivation rec {
    name = "ardour-${tag}";
  
    src = fetchFromGitHub {
      version = 1;
  
negative.code:     sha256 = "1gnrcnq2ksnh7fsa301v1c4p5dqrbqpjylf02rg3za3ab58wxi7l";
    };
  
    nativeBuildInputs = [
      waf
    ];
  
    buildInputs = [
      alsaLib
      aubio
      boost
      cairomm
      curl
      doxygen
      dbus
      fftw
      fftwSinglePrec
      flac
      glibc
      glibmm
      graphviz
      gtk2
      gtkmm2
      libjack2
      libgnomecanvas
      libgnomecanvasmm
      liblo
      libmad
      libogg
      librdf
      librdf_raptor
      librdf_rasqal
      libsamplerate
      libsigcxx
      libsndfile
      libusb
      libuuid
      libxml2
      libxslt
      lilv-svn
      lv2
      makeWrapper
      pango
      perl
      pkgconfig
      python
      rubberband
      serd
      sord-svn
      sratom
      suil
      taglib
      vampSDK
    ];
  
    # ardour's wscript has a "tarball" target but that required the git revision
    # be available. Since this is an unzipped tarball fetched from github we
  