anchor.diff:      sha256 = "0aq9zlar5vzr5qxphws8dm7ax60bsfsw77f4ciwa5dq5lla715j0";
     };
   
  -  buildInputs = [
  -    gnustep.make unzip gnustep.base bzip2.dev
  -    zlib.dev icu.dev openssl.dev
  -  ];
  +  buildInputs = [ gnustep.base bzip2 icu openssl zlib ];
  +
  +  nativeBuildInputs = [ gnustep.make unzip ];
  +
  +  enableParallelBuilding = true;
   
     postPatch = ''
  -    substituteInPlace Makefile.linux \
  -      --replace "CC = gcc" "CC=cc" \
  -      --replace "CXX = g++" "CXX=c++" \
  -      --replace "OBJCC = gcc" "OBJCC=cc" \
  -      --replace "OBJCXX = g++" "OBJCXX=c++"
  -
  -    substituteInPlace ../UniversalDetector/Makefile.linux \
  -      --replace "CC = gcc" "CC=cc" \
  -      --replace "CXX = g++" "CXX=c++" \
  -      --replace "OBJCC = gcc" "OBJCC=c" \
  -      --replace "OBJCXX = g++" "OBJCXX=c++"
  +    for f in Makefile.linux ../UniversalDetector/Makefile.linux ; do
  +      substituteInPlace $f \
  +        --replace "CC = gcc"     "CC=cc" \
  +        --replace "CXX = g++"    "CXX=c++" \
  +        --replace "OBJCC = gcc"  "OBJCC=cc" \
  +        --replace "OBJCXX = g++" "OBJCXX=c++"
  +    done
     '';
   
     makefile = "Makefile.linux";
  
positive.code:   sourceRoot = "./The Unarchiver/XADMaster";
  
    installPhase = ''
      mkdir -p $out/bin
      cp lsar $out/bin
      cp unar $out/bin
  
      mkdir -p $out/share/man/man1
      cp ../Extra/lsar.1 $out/share/man/man1
      cp ../Extra/unar.1 $out/share/man/man1
  
      mkdir -p $out/etc/bash_completion.d
      cp ../Extra/lsar.bash_completion $out/etc/bash_completion.d/lsar
      cp ../Extra/unar.bash_completion $out/etc/bash_completion.d/unar
    '';
  
    meta = with stdenv.lib; {
  
negative.code:       zip, RAR, 7z, tar, gzip, bzip2, LZMA, XZ, CAB, MSI, NSIS, EXE, ISO, BIN, \
        and split file formats, as well as the old Stuffit, Stuffit X, DiskDouble, \
        Compact Pro, Packit, cpio, compress (.Z), ARJ, ARC, PAK, ACE, ZOO, LZH, \
        ADF, DMS, LZX, PowerPacker, LBR, Squeeze, Crunch, and other old formats.
      '';
      license = with licenses; [ lgpl21Plus ];
      platforms = with platforms; linux;
  