aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-12-22 14:09:20 +0100
committerRicardo Wurmus <rekado@elephly.net>2015-12-24 10:10:39 +0100
commite92468d80386ad862950423ddefc0d9c3bbf6022 (patch)
treeb1fd430ed3a986bf5db083c9987158b485f4ed2d /gnu
parent55932aeee13827b2df0d0729ee857e422e990a98 (diff)
downloadgnu-guix-e92468d80386ad862950423ddefc0d9c3bbf6022.tar
gnu-guix-e92468d80386ad862950423ddefc0d9c3bbf6022.tar.gz
gnu: Add Unicode::LineBreak.
* gnu/packages/perl.scm (perl-unicode-linebreak): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 4abd9972fe..c1ea466e53 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5838,6 +5838,28 @@ else.")
common serialisation formats such as JSON or CBOR.")
(license (package-license perl))))
+(define-public perl-unicode-linebreak
+ (package
+ (name "perl-unicode-linebreak")
+ (version "2015.12")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/N/NE/NEZUMI/"
+ "Unicode-LineBreak-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1d0nnc97irfpab4d3b2lvq22hac118k7zbfrj0lnxkbfwx7122cm"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-mime-charset" ,perl-mime-charset)))
+ (home-page "http://search.cpan.org/dist/Unicode-LineBreak")
+ (synopsis "Unicode line breaking algorithm")
+ (description
+ "@code{Unicode::LineBreak} implements the line breaking algorithm
+described in Unicode Standard Annex #14. The @code{East_Asian_Width} property
+defined by Annex #11 is used to determine breaking positions.")
+ (license (package-license perl))))
+
(define-public perl-universal-can
(package
(name "perl-universal-can")