diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index 2def6c8d4e83..a16058986617 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -1,11 +1,13 @@ {stdenv, fetchurl, aclSupport ? false, acl}: -stdenv.mkDerivation { - name = "coreutils-6.12"; +stdenv.mkDerivation rec { + name = "coreutils-7.0"; src = fetchurl { - url = mirror://gnu/coreutils/coreutils-6.12.tar.gz; - sha256 = "12pi7i2mxff5jab48pqpwlz2pi0j6sp9p7bgrcl663iiw81zglj9"; + # Version 7.0 is marked as "beta", which is why it's on `alpha.gnu.org'. + # See http://lists.gnu.org/archive/html/bug-coreutils/2008-10/msg00064.html . + url = "ftp://alpha.gnu.org/gnu/coreutils/${name}.tar.gz"; + sha256 = "00cwf8rqbj89ikv8fhdhv26dpc2ghzw1hn48pk1vg3nnmxj55nr7"; }; buildInputs = stdenv.lib.optional aclSupport acl; @@ -16,5 +18,14 @@ stdenv.mkDerivation { meta = { homepage = http://www.gnu.org/software/coreutils/; description = "The basic file, shell and text manipulation utilities of the GNU operating system"; + + longDescription = '' + The GNU Core Utilities are the basic file, shell and text + manipulation utilities of the GNU operating system. These are + the core utilities which are expected to exist on every + operating system. + ''; + + license = "GPLv3+"; }; }