Files
nixpkgs/pkgs/tools/text/diffutils/default.nix
T

28 lines
868 B
Nix
Raw Normal View History

2014-08-30 15:48:17 +02:00
{ stdenv, fetchurl, xz, coreutils ? null }:
2013-06-30 08:58:51 +02:00
stdenv.mkDerivation rec {
2017-05-24 13:43:56 +02:00
name = "diffutils-3.6";
2012-09-18 14:51:15 -04:00
src = fetchurl {
2013-06-30 08:58:51 +02:00
url = "mirror://gnu/diffutils/${name}.tar.xz";
2017-05-24 13:43:56 +02:00
sha256 = "1mivg0fy3a6fcn535ln8nkgfj6vxh5hsxxs5h6692wxmsjyyh8fn";
};
2012-09-18 14:51:15 -04:00
2014-08-27 01:14:09 +02:00
outputs = [ "out" "info" ];
nativeBuildInputs = [ xz.bin ];
/* If no explicit coreutils is given, use the one from stdenv. */
buildInputs = [ coreutils ];
configureFlags =
# "pr" need not be on the PATH as a run-time dep, so we need to tell
# configure where it is. Covers the cross and native case alike.
stdenv.lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr";
2008-02-06 13:18:50 +00:00
meta = {
homepage = http://www.gnu.org/software/diffutils/diffutils.html;
description = "Commands for showing the differences between files (diff, cmp, etc.)";
2016-08-02 20:50:55 +03:00
platforms = stdenv.lib.platforms.unix;
2008-02-06 13:18:50 +00:00
};
}