GNU bug report logs - #63866
[PATCH 00/16] Add tidyall and some tidiers.

Previous Next

Package: guix-patches;

Reported by: gemmaro <gemmaro.dev <at> gmail.com>

Date: Sat, 3 Jun 2023 05:03:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: gemmaro <gemmaro.dev <at> gmail.com>
To: 63866 <at> debbugs.gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>
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





This bug report was last modified 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.