anchor.diff:      sha256 = "0dsr450v8nydvpk8ry276fvbznlrjgddgp7zvhcw4cv69i9lr4ps";
     };
   
  -  patchPhase = ''
  +  nativeBuildInputs = [
  +    perl
  +  ];
  +
  +  buildInputs = [
  +    coreutils
  +    gdbm
  +    ncurses
  +    pcre
  +  ] ++ optionals (!stdenv.cc.isGNU) [
  +    libiconv
  +  ];
  +
  +  postPhase = ''
       patchShebangs ./Misc/
       patchShebangs ./Util/
     '' +
  
positive.code:     "--with-tcsetpgrp"
    ];
  
    nativeBuildInputs = [
      perl
    ];
  
    buildInputs = [
      coreutils
      gdbm
      ncurses
      pcre
    ] ++ optionals (!stdenv.cc.isGNU) [
      libiconv
    ];
  
    postInstall = ''
      mkdir -p $out/share
      tar xf ${documentation} -C $out/share
  
negative.code:   '';
  
    doCheck = true;
  
    meta = with stdenv.lib; {
      description = "The Z command shell";
  