anchor.diff:      optipng
     ];
   
  +  propagatedBuildInputs = stdenv.lib.optional stdenv.isLinux libGL;
  +
     outputs = [ "out" "terminfo" ];
   
     patches = [
  
positive.code:     ./no-werror.patch
      ./png2icns.patch
    ];
  
    buildPhase = if stdenv.isDarwin then ''
      make app
  
negative.code: { stdenv, substituteAll, fetchFromGitHub, python3Packages, glfw, libunistring,
    harfbuzz, fontconfig, pkgconfig, ncurses, imagemagick, xsel,
    libstartup_notification, libGL, libX11, libXrandr, libXinerama, libXcursor,
    libxkbcommon, libXi, libXext, wayland-protocols, wayland,
    which, dbus,
    Cocoa,
  