guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#63866] [PATCH 16/16] gnu: Add perl-code-tidyall-plugin-perl-alignmo


From: gemmaro
Subject: [bug#63866] [PATCH 16/16] gnu: Add perl-code-tidyall-plugin-perl-alignmooseattributes.
Date: Sat, 3 Jun 2023 14:05:51 +0900

* gnu/packages/perl.scm (perl-code-tidyall-plugin-perl-alignmooseattributes):
  New validate.
---
 gnu/packages/perl.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 439ef189169..e72f1dcc137 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -68,6 +68,7 @@ (define-module (gnu packages perl)
   #:use-module (guix search-paths)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages fontutils)
@@ -1903,6 +1904,32 @@ (define-public perl-clone-pp
 and objects.")
     (license (package-license perl))))
 
+(define-public perl-code-tidyall-plugin-perl-alignmooseattributes
+  (package
+    (name "perl-code-tidyall-plugin-perl-alignmooseattributes")
+    (version "0.01")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/J/JS/JSWARTZ/"
+                    "Code-TidyAll-Plugin-Perl-AlignMooseAttributes-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1r8w5kfm17j1dyrrsjhwww423zzdzhx1i3d3brl32wzhasgf47cd"))))
+    (build-system perl-build-system)
+    (propagated-inputs (list tidyall perl-text-aligner))
+    (home-page
+     
"https://metacpan.org/release/Code-TidyAll-Plugin-Perl-AlignMooseAttributes";)
+    (synopsis "TidyAll plugin to sort and align Moose-style attributes")
+    (description
+     "This tidyall plugin sorts and aligns consecutive Moose-style attribute
+lines.  Only consecutive attributes, each on a single line, will be
+affected.  Multi-line attributes will not be affected.  This plugin
+has a preprocess step that hides these lines to prevent perltidy from
+splitting them into multiple lines.")
+    (license license:perl-license)))
+
 (define-public perl-common-sense
   (package
     (name "perl-common-sense")
-- 
2.40.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]