3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/findutils/default.nix
Eelco Dolstra 8cd1b893cf * coreutils-6.10, findutils-4.2.32.
* Added some meta attributes.

svn path=/nixpkgs/branches/stdenv-updates/; revision=10511
2008-02-06 13:18:50 +00:00

21 lines
684 B
Nix

{stdenv, fetchurl, coreutils}:
stdenv.mkDerivation {
name = "findutils-4.2.32";
src = fetchurl {
url = mirror://gnu/findutils/findutils-4.2.32.tar.gz;
sha256 = "05sj0154kl4mbqg7dcabiaa16snjv2ppfwwhcvl2zyn2yc28igc7";
};
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";
};
}