1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/tools/text/diffutils/default.nix
Vladimír Čunát 030af0a803 fix .xz in stdenv bootstrap
Presumably needed due to the last staging merge.
There was some stdenv stage refactoring within, IIRC.
2014-08-30 15:48:17 +02:00

21 lines
564 B
Nix

{ stdenv, fetchurl, xz, 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 = [ xz.bin coreutils ];
meta = {
homepage = http://www.gnu.org/software/diffutils/diffutils.html;
description = "Commands for showing the differences between files (diff, cmp, etc.)";
};
}