gnu: Add perl-text-charwidth.
* gnu/packages/perl.scm (perl-text-charwidth): New variable. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
		
							parent
							
								
									af74211d98
								
							
						
					
					
						commit
						62ee1c4b47
					
				
					 1 changed files with 22 additions and 0 deletions
				
			
		| 
						 | 
					@ -33,6 +33,7 @@
 | 
				
			||||||
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
 | 
					;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
 | 
				
			||||||
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 | 
					;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 | 
				
			||||||
;;; Copyright © 2022 Evgeny Pisemsky <evgeny@pisemsky.com>
 | 
					;;; Copyright © 2022 Evgeny Pisemsky <evgeny@pisemsky.com>
 | 
				
			||||||
 | 
					;;; Copyright © 2022 gemmaro <gemmaro.dev@gmail.com>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -10471,6 +10472,27 @@ used to justify strings to various alignment styles.")
 | 
				
			||||||
text sequences from strings.")
 | 
					text sequences from strings.")
 | 
				
			||||||
    (license (package-license perl))))
 | 
					    (license (package-license perl))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public perl-text-charwidth
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "perl-text-charwidth")
 | 
				
			||||||
 | 
					    (version "0.04")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method url-fetch)
 | 
				
			||||||
 | 
					              (uri (string-append
 | 
				
			||||||
 | 
					                    "mirror://cpan/authors/id/K/KU/KUBOTA/Text-CharWidth-"
 | 
				
			||||||
 | 
					                    version ".tar.gz"))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "1y040wiqx78pnr0wxbjhpzjxm2a9qiqq479gzn4qwcyrzpsdbpmb"))))
 | 
				
			||||||
 | 
					    (build-system perl-build-system)
 | 
				
			||||||
 | 
					    (home-page "https://metacpan.org/dist/Text-CharWidth")
 | 
				
			||||||
 | 
					    (synopsis "Get number of occupied columns of a string on terminal")
 | 
				
			||||||
 | 
					    (description
 | 
				
			||||||
 | 
					     "With this module, you can calculate terminal character
 | 
				
			||||||
 | 
					widths that vary by locale.  This module supplies features similar to
 | 
				
			||||||
 | 
					wcwidth(3) and wcswidth(3) in C language.")
 | 
				
			||||||
 | 
					    (license (package-license perl))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public perl-text-csv
 | 
					(define-public perl-text-csv
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "perl-text-csv")
 | 
					    (name "perl-text-csv")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue