summaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-06-14 11:38:31 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-06-14 12:19:45 +0200
commit3329569bb4442a2ba25becafe01da90f58837b77 (patch)
tree26b06bc15cc004c8923b0da2b882c7dbb2884bdc /gnu/packages/perl.scm
parent87554eee8b1fc53a97e52df90d21119222cfb8b2 (diff)
gnu: Add perl-ppi.
* gnu/packages/perl.scm (perl-ppi): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 782963e2b5..1a0f2d4e95 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -8272,6 +8272,37 @@ feature is useful when you want to write loggers, servers, and portable
applications.")
(license (package-license perl))))
+(define-public perl-ppi
+ (package
+ (name "perl-ppi")
+ (version "1.270")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/M/MI/MITHALDU/"
+ "PPI-" version ".tar.gz"))
+ (sha256
+ (base32 "0mzlz9rxqx93rqgy16jcfxwkplvhzr0f1gvvvwmmvf0vg266jak2"))))
+ (build-system perl-build-system)
+ (arguments
+ `(#:tests? #f)) ;FIXME: some tests fail
+ (native-inputs
+ `(("perl-class-inspector" ,perl-class-inspector)
+ ("perl-test-deep" ,perl-test-deep)
+ ("perl-test-nowarnings" ,perl-test-nowarnings)
+ ("perl-test-object" ,perl-test-object)
+ ("perl-test-subcalls" ,perl-test-subcalls)))
+ (propagated-inputs
+ `(("perl-clone" ,perl-clone)
+ ("perl-io-string" ,perl-io-string)
+ ("perl-params-util" ,perl-params-util)
+ ("perl-task-weaken" ,perl-task-weaken)))
+ (home-page "https://metacpan.org/release/PPI")
+ (synopsis "Parse, analyze and manipulate Perl (without Perl)")
+ (description "The PPI module parses, analyzes and manipulates Perl
+code.")
+ (license perl-license)))
+
(define-public perl-probe-perl
(package
(name "perl-probe-perl")