mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: Add perl-encode-locale.
* gnu/packages/web.scm (perl-encode-locale): New variable.
This commit is contained in:
parent
56aa03b0c2
commit
09a8778f73
1 changed files with 26 additions and 0 deletions
|
@ -364,3 +364,29 @@ (define-public perl-file-listing
|
||||||
"The File::Listing module exports a single function called parse_dir(),
|
"The File::Listing module exports a single function called parse_dir(),
|
||||||
which can be used to parse directory listings.")
|
which can be used to parse directory listings.")
|
||||||
(home-page "http://search.cpan.org/~gaas/File-Listing/")))
|
(home-page "http://search.cpan.org/~gaas/File-Listing/")))
|
||||||
|
|
||||||
|
(define-public perl-encode-locale
|
||||||
|
(package
|
||||||
|
(name "perl-encode-locale")
|
||||||
|
(version "1.03")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0m9d1vdphlyzybgmdanipwd9ndfvyjgk3hzw250r299jjgh3fqzp"))))
|
||||||
|
(build-system perl-build-system)
|
||||||
|
(license (package-license perl))
|
||||||
|
(synopsis "Perl locale encoding determination")
|
||||||
|
(description
|
||||||
|
"The POSIX locale system is used to specify both the language
|
||||||
|
conventions requested by the user and the preferred character set to consume
|
||||||
|
and output. The Encode::Locale module looks up the charset and encoding
|
||||||
|
(called a CODESET in the locale jargon) and arranges for the Encode module
|
||||||
|
to know this encoding under the name \"locale\". It means bytes obtained
|
||||||
|
from the environment can be converted to Unicode strings by calling
|
||||||
|
Encode::encode(locale => $bytes) and converted back again with
|
||||||
|
Encode::decode(locale => $string).")
|
||||||
|
(home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
|
||||||
|
|
Loading…
Reference in a new issue