nixpkgs/pkgs/tools/misc/findutils/default.nix
Eelco Dolstra a218b9b2e7 * Updated coreutils and findutils.
svn path=/nixpkgs/branches/stdenv-updates/; revision=11685
2008-04-22 13:12:45 +00:00

20 lines
684 B
Nix

{stdenv, fetchurl, coreutils}:
stdenv.mkDerivation {
name = "findutils-4.2.33";
src = fetchurl {
url = mirror://gnu/findutils/findutils-4.2.33.tar.gz;
sha256 = "0y0gmdc55kknf5438c1da5xsvpch3v800r79rgz5rv6fb90djg41";
};
buildInputs = [coreutils];
patches = [ ./findutils-path.patch ./change_echo_path.patch ]
# Note: the dietlibc patch is just to get findutils to compile.
# The locate command probably won't work though.
++ stdenv.lib.optional (stdenv ? isDietLibC) ./dietlibc-hack.patch;
meta = {
homepage = http://www.gnu.org/software/findutils/;
description = "The basic directory searching utilities of the GNU operating system";
};
}