anchor.diff:      patches = [ ./sharutils-4.11.1-cross-binary-mode-popen.patch ];
     };
   
  -  meta = {
  +  meta = with stdenv.lib; {
       description = "Tools for remote synchronization and `shell archives'";
       longDescription =
         '' GNU shar makes so-called shell archives out of many files, preparing
  
positive.code: { stdenv, fetchurl, gettext, coreutils }:
  
  stdenv.mkDerivation rec {
    name = "sharutils-4.11.1";
  
    src = fetchurl {
      url = "mirror://gnu/sharutils/${name}.tar.bz2";
      sha256 = "1mallg1gprimlggdisfzdmh1xi676jsfdlfyvanlcw72ny8fsj3g";
    };
  
    hardeningDisable = [ "format" ];
  
    preConfigure = ''
       # Fix for building on Glibc 2.16.  Won't be needed once the
       # gnulib in sharutils is updated.
       sed -i ${stdenv.lib.optionalString (stdenv.isOpenBSD && stdenv.cc.nativeTools) "''"} '/gets is a security hole/d' lib/stdio.in.h
    '';
  
    # GNU Gettext is needed on non-GNU platforms.
    buildInputs = [ gettext coreutils ];
  
    doCheck = true;
  
  
negative.code:          concatenated shell archives.
        '';
      homepage = http://www.gnu.org/software/sharutils/;
      license = licenses.gpl3Plus;
      maintainers = [ maintainers.ndowens ];
      platforms = platforms.all;
    };
  }
  