anchor.diff:      libxkbcommon
       wayland
     ];
  -in buildRustPackage rec {
  +in
  +rustPlatform.buildRustPackage rec {
     pname = "alacritty";
  -  version = "0.4.1";
  +  version = "0.4.2";
   
     src = fetchFromGitHub {
  -    owner = "jwilm";
  +    owner = "alacritty";
       repo = pname;
       rev = "v${version}";
  -    sha256 = "05jcg33ifngpzw2hdhgb614j87ihhhlqgar0kky183rywg0dxikg";
  +    sha256 = "133d8vm7ihlvgw8n1jghhh35h664h0f52h6gci54f11vl6c1spws";
     };
   
  -  cargoSha256 = "182j8ah67b2gw409vjfml3p41i00zh0klx9m8bwfkm64y2ki2bip";
  +  cargoSha256 = "07gq63qd11zz229b8jp9wqggz39qfpzd223z1zk1xch7rhqq0pn4";
   
     nativeBuildInputs = [
       cmake
  
positive.code: { stdenv,
    lib,
    fetchFromGitHub,
    rustPlatform,
  
    cmake,
    gzip,
    installShellFiles,
    makeWrapper,
    ncurses,
    pkgconfig,
    python3,
  
    expat,
    fontconfig,
    freetype,
    libGL,
    libX11,
    libXcursor,
    libXi,
    libXrandr,
    libXxf86vm,
    libxcb,
    libxkbcommon,
    wayland,
    xdg_utils,
  
    # Darwin Frameworks
    AppKit,
    CoreGraphics,
    CoreServices,
    CoreText,
    Foundation,
    OpenGL }:
  
  with rustPlatform;
  
  let
    rpathLibs = [
      expat
  
negative.code:   ];
  
    buildInputs = rpathLibs
    ++ lib.optionals stdenv.isDarwin [
      AppKit
      CoreGraphics
      CoreServices
      CoreText
      Foundation
      OpenGL
    ];
  
    outputs = [ "out" "terminfo" ];
  
    postPatch = ''
      substituteInPlace alacritty/src/config/mouse.rs \
        --replace xdg-open ${xdg_utils}/bin/xdg-open
  