mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
Merge pull request #473 from errge/master
Update ack to 2.02 (and File-Next to 1.12, only used by ack)
This commit is contained in:
commit
ad214d8d0c
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user