diff options
author | Petter <petter@mykolab.ch> | 2017-10-24 22:34:47 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-10-24 23:30:23 +0200 |
commit | 544dc8d46bcea6001fb291448e3fa0eac451b83b (patch) | |
tree | 3601622c8147b84c0f10060b16c1aead9ce7dc15 /gnu/packages/perl.scm | |
parent | 180411e3f43ec0eb460a177026a2a80e2c52d111 (diff) | |
download | patches-544dc8d46bcea6001fb291448e3fa0eac451b83b.tar patches-544dc8d46bcea6001fb291448e3fa0eac451b83b.tar.gz |
gnu: Add perl-libintl-perl.
* gnu/packages/perl.scm (perl-libintl-perl): New variable.
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r-- | gnu/packages/perl.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 859b5fee59..835a4adb2d 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -4254,6 +4254,37 @@ version.") one: logging, exceptions, and translations.") (license (package-license perl)))) +(define-public perl-libintl-perl + (package + (name "perl-libintl-perl") + (version "1.28") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/G/GU/GUIDO/" + "libintl-perl-" version ".tar.gz")) + (sha256 + (base32 + "1gafrfvicjclqlz6i62jx2iqbq878yn3ws86waz2sqbd3gxz5svv")))) + (build-system perl-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'set-perl-search-path + (lambda _ + ;; Work around "dotless @INC" build failure. + (setenv "PERL5LIB" (string-append (getcwd) ":" + (getenv "PERL5LIB"))) + #t))))) + (propagated-inputs + `(("perl-file-sharedir" ,perl-file-sharedir))) + (home-page "http://search.cpan.org/dist/libintl-perl/") + (synopsis "High-level interface to Uniforum message translation") + (description "This package is an internationalization library for Perl +that aims to be compatible with the Uniforum message translations system as +implemented for example in GNU gettext.") + (license gpl3+))) + (define-public perl-lingua-translit (package (name "perl-lingua-translit") |