anchor.diff:      unzip "$BUILD_DIR/oneteam.xulapp"
       mkdir -p "$out/bin"
       echo "#! ${stdenv.shell}" > "$out/bin/oneteam"
  -    echo "\"${xulrunner}/bin/xulrunner\" \"$TARGET_DIR/application.ini\"" > "$out/bin/oneteam"
  +    sed -re 's@MaxVersion=[0-9.]+@MaxVersion=999.0@' -i "$TARGET_DIR/application.ini"
  +    echo "\"${firefox}/bin/firefox\" -app \"$TARGET_DIR/application.ini\"" > "$out/bin/oneteam"
       chmod a+x "$out/bin/oneteam"
       mkdir -p "$out/share/doc"
       cp -r "$BUILD_DIR/docs" "$out/share/doc/oneteam"
  
positive.code: { stdenv, fetchFromGitHub
  , perl, xulrunner, cmake, perlPackages, zip, unzip, pkgconfig
  , libpulseaudio, glib, gtk2, pixman, nspr, nss, libXScrnSaver
  , scrnsaverproto
  }:
  
negative.code:     sha256 = "19104fwdaf0nnsr5w755fg8wwww5sh96wmn939gxa5ah155nf2w3";
    };
  
    nativeBuildInputs = [ pkgconfig zip unzip ];
  
    buildInputs =
      [ perl firefox libpulseaudio glib gtk2 pixman nspr
        nss libXScrnSaver scrnsaverproto
      ] ++ [ perlPackages.SubName gtk2 glib ];
  
    postPatch = ''
      sed -e '1i#include <netinet/in.h>' -i src/components/src/rtp/otRTPDecoder.cpp src/components/src/rtp/otRTPEncoder.cpp
    '';
  
    buildPhase = ''
      export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${nspr.dev}/include/nspr"
      perl build.pl XULAPP 1
    '';
  
    installPhase = ''
  