From 97b9577c43b3437189648b11ce673efcfb57ee5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Barth=C3=A9lemy?= Date: Mon, 14 Mar 2016 20:32:18 +0100 Subject: [PATCH 15/23] gnu: Add perl-text-bibtex. * gnu/packages/perl.scm (perl-text-bibtex): New variable. --- gnu/packages/perl.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 7bc5816..6fd054b 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -5932,6 +5932,35 @@ used to justify strings to various alignment styles.") text sequences from strings.") (license (package-license perl)))) +(define-public perl-text-bibtex + (package + (name "perl-text-bibtex") + (version "0.71") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/A/AM/AMBS/" + "Text-BibTeX-" version ".tar.gz")) + (sha256 + (base32 "1jwi4yc4l1sf9pyc6qifcm493lwf8iggdjli7f9a9aqin1swh36d")))) + (build-system perl-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; phase validate-runpath fails because it doesn't look for the + ;; shared libraries in the %output dir. There may be a better way to + ;; fix that. + (delete 'validate-runpath)))) + (native-inputs + `(("perl-config-autoconf" ,perl-config-autoconf) + ("perl-extutils-libbuilder" ,perl-extutils-libbuilder) + ("perl-module-build" ,perl-module-build))) + (home-page "https://github.com/ambs/Text-BibTeX") + (synopsis "Perl library to deal with BibTeX data") + (description "Text::BibTeX is a Perl library for reading, parsing, and +processing BibTeX files.") + (license gpl1+))) + (define-public perl-text-csv (package (name "perl-text-csv") -- 2.6.3