gnu: Add perltidy.

* gnu/packages/perl.scm (perltidy): New variable.
This commit is contained in:
Roel Janssen 2016-07-05 16:12:23 +02:00
parent 1f1b20b8be
commit 091963c69b
No known key found for this signature in database
GPG Key ID: C3EC1DCA843072E1
1 changed files with 21 additions and 0 deletions

View File

@ -9,6 +9,7 @@
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Coypright © 2016 ng0 <ng0@we.make.ritual.n0.is> ;;; Coypright © 2016 ng0 <ng0@we.make.ritual.n0.is>
;;; Copyright © 2016 Alex Sassmannshausen <alex@pompo.co> ;;; Copyright © 2016 Alex Sassmannshausen <alex@pompo.co>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -6068,6 +6069,26 @@ system.")
as exceptions to standard program flow.") as exceptions to standard program flow.")
(license (package-license perl)))) (license (package-license perl))))
(define-public perltidy
(package
(name "perltidy")
(version "20160302")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/perltidy/Perl-Tidy-"
version ".tar.gz"))
(sha256
(base32
"19yw63yh5s3pq7k3nkw6nsamg5b8vvwyhgbizslgxg0mqgc4xl3d"))))
(build-system perl-build-system)
(home-page "http://perltidy.sourceforge.net/")
(synopsis "Perl script tidier")
(description "This package contains a Perl script which indents and
reformats Perl scripts to make them easier to read. The formatting can be
controlled with command line parameters. The default parameter settings
approximately follow the suggestions in the Perl Style Guide.")
(license gpl2+)))
(define-public perl-tie-ixhash (define-public perl-tie-ixhash
(package (package
(name "perl-tie-ixhash") (name "perl-tie-ixhash")