grep: 2.21 -> 2.22

This commit is contained in:
William A. Kennington III
2015-11-03 20:54:22 -08:00
parent aff3a23d67
commit b983c6b9b5
2 changed files with 5 additions and 65 deletions
+5 -5
View File
@@ -1,17 +1,17 @@
{ stdenv, fetchurl, pcre, libiconv }:
{ stdenv, fetchurl, pcre, libiconv, perl }:
let version = "2.21"; in
let version = "2.22"; in
stdenv.mkDerivation {
name = "gnugrep-${version}";
src = fetchurl {
url = "mirror://gnu/grep/grep-${version}.tar.xz";
sha256 = "1pp5n15qwxrw1pibwjhhgsibyv5cafhamf8lwzjygs6y00fa2i2j";
sha256 = "1srn321x7whlhs5ks36zlcrrmj4iahll8fxwsh1vbz3v04px54fa";
};
patches = [ ./cve-2015-1345.patch ];
# Perl is needed for testing
nativeBuildInputs = [ perl ];
buildInputs = [ pcre libiconv ];
# cygwin: FAIL: multibyte-white-space