anchor.diff:  , libvlc
   , libvorbis
   , openal
  -, python2 # 0.9.0 crashes after character generation with py3, so stick to py2 for now
  +, python3
   , zlib
   }:
   
  
positive.code: in
  stdenv.mkDerivation rec {
    pname = "gemrb";
    version = "0.9.0";
  
    src = fetchFromGitHub {
      owner = "gemrb";
      repo = "gemrb";
      rev = "v${version}";
      sha256 = "sha256-h/dNPY0QZ2m7aYgRla3r1E8APJqO99ePa2ABhhh3Aoc=";
    };
  
    buildInputs = [
  
negative.code:     libpng
      libvorbis
      openal
      python3
      zlib
    ]
    ++ optional withVLC libvlc;
  