anchor.diff:      libxml2
       mutagen
       pythonPackages.pygobject
  -    python
  +    pythonPackages.python
       sg3-utils
       sqlite
       systemd_lib
  
positive.code: , libusb
  , libxml2
  , mutagen
  , python
  , pythonPackages
  , sg3-utils
  , sqlite
  
negative.code:     zlib
    ];
  
    preConfigure = ''
      configureFlagsArray+=("--with-udev-dir=$out/share/udev")
    '';
  
    configureFlags = [
      "--disable-maintainer-mode"
      "--enable-nls"
      "--${boolEn (systemd_lib != null)}-udev"
      "--${boolEn (libxml2 != null)}-libxml"
      "--${boolEn (gdk-pixbuf != null)}-gdk-pixbuf"
      "--${boolEn (pythonPackages.pygobject != null)}-pygobject"
      "--disable-gtk-doc"
      "--disable-gtk-doc-html"
      "--disable-gtk-doc-pdf"
      "--disable-more-warnings"
      "--without-hal"
      "--${boolWt (libimobiledevice != null)}-libimobiledevice"
      "--${boolWt (pythonPackages.python != null)}-python"
      "--without-mono"
    ];
  
    postInstall =
      /* libgpod installs libgpod-sharp.pc unconditionally */ ''
        rm -vf $out/lib/pkgconfig/libgpod-sharp.pc
      '';
  
    passthru = {
      srcVerification = fetchurl rec {
        inherit (src)
          outputHash
          outputHashAlgo
          urls;
        failEarly = true;
        pgpsigUrls = map (n: "${n}.sign") src.urls;
        pgpKeyFingerprint = "A525 E3EA 186A AB45 DD0F  86AF 24A4 69FB 7A56 F78E";
      };
    };
  
    meta = with stdenv.lib; {
      description = "Library to access the contents of an iPod";
  