anchor.diff:  
     cmake,
     gzip,
  +  installShellFiles,
     makeWrapper,
     ncurses,
     pkgconfig,
  
positive.code:   ];
  in buildRustPackage rec {
    pname = "alacritty";
    version = "0.4.0";
  
    src = fetchFromGitHub {
      owner = "jwilm";
      repo = pname;
      rev = "v${version}";
      sha256 = "0adaqdbma6gskb2g14yscrgr9gch5wf2g2clchplv72c2qr1k427";
    };
  
    cargoSha256 = "1r267g8f986nxh8ms5yhp50qy1yl8gly2jr78p738qqc6frlxlhv";
  
    nativeBuildInputs = [
      cmake
      gzip
      makeWrapper
      ncurses
      pkgconfig
  
negative.code:     patchelf --set-rpath "${stdenv.lib.makeLibraryPath rpathLibs}" $out/bin/alacritty
    '') + ''
  
      installShellCompletion --zsh extra/completions/_alacritty
      installShellCompletion --bash extra/completions/alacritty.bash
      installShellCompletion --fish extra/completions/alacritty.fish
  
      install -dm 755 "$out/share/man/man1"
      gzip -c extra/alacritty.man > "$out/share/man/man1/alacritty.1.gz"
  