From 5c29fcc427e5ca6b2f136dcff1f5007493c12ff5 Mon Sep 17 00:00:00 2001 From: Gergely Risko Date: Sun, 21 Apr 2013 13:10:44 +0200 Subject: Update ack to 2.02 (and File-Next to 1.12, only used by ack) --- pkgs/top-level/perl-packages.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'pkgs') diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 64dc04f0bd8a..a795769fadb0 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -25,10 +25,10 @@ rec { ack = buildPerlPackage rec { - name = "ack-1.92"; + name = "ack-2.02"; src = fetchurl { url = "mirror://cpan/authors/id/P/PE/PETDANCE/${name}.tar.gz"; - sha256 = "8689156cb0639ff60adee47fc4b77e656cf0fc58e6c123ee6c481d9d48e99b88"; + sha256 = "de5560f2ce6334f3f83bef4ee942fdb09b792f05cf534fe67be3cb0431bf758f"; }; propagatedBuildInputs = [ FileNext ]; meta = { @@ -36,6 +36,10 @@ rec { homepage = http://betterthangrep.com/; license = "free"; # Artistic 2.0 }; + # t/swamp/{0,perl-without-extension} are datafiles for the test + # t/ack-show-types.t, but the perl generic builder confuses them + # for scripts and purifies them, making the test fail. + preCheck = "sed -i '1s,.*,#!/usr/bin/perl -w,' t/swamp/0 t/swamp/perl-without-extension"; }; AlgorithmAnnotate = buildPerlPackage { @@ -1998,10 +2002,10 @@ rec { }; FileNext = buildPerlPackage rec { - name = "File-Next-1.06"; + name = "File-Next-1.12"; src = fetchurl { url = "mirror://cpan/authors/id/P/PE/PETDANCE/${name}.tar.gz"; - sha256 = "36cc0a4e5e4e44e04f7bea6f7453db517acc1a1b35a2b5fe5bc14cea0f560662"; + sha256 = "cc3afd8eaf6294aba93b8152a269cc36a9df707c6dc2c149aaa04dabd869e60a"; }; }; -- cgit 1.4.1