summary refs log blame commit diff
path: root/pkgs/tools/text/diffutils/default.nix
blob: 680a75445ef0805ea7d1110d8e3fed1d06c4afb1 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                       
 

                         
 
                  

                                                                    
    
 
                             
 
                                                                   
                                    




                                                                                         
 
{ stdenv, fetchurl, coreutils ? null }:

stdenv.mkDerivation rec {
  name = "diffutils-3.3";

  src = fetchurl {
    url = "mirror://gnu/diffutils/${name}.tar.xz";
    sha256 = "1761vymxbp4wb5rzjvabhdkskk95pghnn67464byvzb5mfl8jpm2";
  };

  outputs = [ "out" "info" ];

  /* If no explicit coreutils is given, use the one from stdenv. */
  nativeBuildInputs = [ coreutils ];

  meta = {
    homepage = http://www.gnu.org/software/diffutils/diffutils.html;
    description = "Commands for showing the differences between files (diff, cmp, etc.)";
  };
}