anchor.diff:        - Sega Saturn (experimental, x86_64 only)
         - Sony PlayStation
       '';
  -    homepage = "https://mednafen.github.io/";
  -    license = licenses.gpl2;
  +    license = licenses.gpl2Plus;
       maintainers = with maintainers; [ AndersonTorres ];
       platforms = platforms.linux;
     };
  
positive.code: { lib, stdenv, fetchurl, pkg-config, freeglut, libGLU, libGL, libcdio, libjack2
  , libsamplerate, libsndfile, libX11, SDL2, SDL2_net, zlib, alsa-lib }:
  
  stdenv.mkDerivation rec {
    pname = "mednafen";
    version = "1.26.1";
  
    src = fetchurl {
      url = "https://mednafen.github.io/releases/files/${pname}-${version}.tar.xz";
      sha256 = "1x7xhxjhwsdbak8l0iyb497f043xkhibk73w96xck4j2bk10fac4";
    };
  
    nativeBuildInputs = [ pkg-config ];
  
    buildInputs = [
      freeglut
      libGLU libGL
      libcdio
      libjack2
      alsa-lib
      libsamplerate
      libsndfile
      libX11
      SDL2
      SDL2_net
      zlib
    ];
  
  
negative.code:   '';
  
    meta = with lib; {
      homepage = "https://mednafen.github.io/";
      description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator";
      longDescription = ''
        Mednafen is a portable, utilizing OpenGL and SDL,
  