at v192 522 B view raw
1{ stdenv, fetchurl, coreutils ? null }: 2 3stdenv.mkDerivation rec { 4 name = "diffutils-3.3"; 5 6 src = fetchurl { 7 url = "mirror://gnu/diffutils/${name}.tar.xz"; 8 sha256 = "1761vymxbp4wb5rzjvabhdkskk95pghnn67464byvzb5mfl8jpm2"; 9 }; 10 11 /* If no explicit coreutils is given, use the one from stdenv. */ 12 nativeBuildInputs = [ coreutils ]; 13 14 meta = { 15 homepage = http://www.gnu.org/software/diffutils/diffutils.html; 16 description = "Commands for showing the differences between files (diff, cmp, etc.)"; 17 }; 18}