[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/30: gnu: Add perl-text-bibtex.
From: |
Ricardo Wurmus |
Subject: |
28/30: gnu: Add perl-text-bibtex. |
Date: |
Sun, 27 Nov 2016 08:50:13 +0000 (UTC) |
rekado pushed a commit to branch master
in repository guix.
commit ebcf74daf855d5bb679827d497ebee924b66721e
Author: Ricardo Wurmus <address@hidden>
Date: Wed Nov 23 22:14:41 2016 +0100
gnu: Add perl-text-bibtex.
* gnu/packages/tex.scm (perl-text-bibtex): New variable.
---
gnu/packages/tex.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9186e46..85ef83f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2016 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Federico Beffa <address@hidden>
;;; Copyright © 2016 Thomas Danckaert <address@hidden>
+;;; Copyright © 2016 Ricardo Wurmus <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -27,6 +28,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system perl)
#:use-module (guix build-system trivial)
#:use-module (guix utils)
#:use-module (guix git-download)
@@ -382,6 +384,48 @@ world.
This package contains a small working part of the TeX Live distribution.")))
+(define-public perl-text-bibtex
+ (package
+ (name "perl-text-bibtex")
+ (version "0.77")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/A/AM/AMBS/Text-BibTeX-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0kkfx8skk763pivz6h2ffy2zdp1lvy6d5sz0kjaj0mdbjffvnnb4"))))
+ (build-system perl-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'add-output-directory-to-rpath
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "inc/MyBuilder.pm"
+ (("-Lbtparse" line)
+ (string-append "-Wl,-rpath="
+ (assoc-ref outputs "out") "/lib " line)))
+ #t))
+ (add-after 'unpack 'install-libraries-to-/lib
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "Build.PL"
+ (("lib64") "lib"))
+ #t)))))
+ (native-inputs
+ `(("perl-capture-tiny" ,perl-capture-tiny)
+ ("perl-config-autoconf" ,perl-config-autoconf)
+ ("perl-extutils-libbuilder" ,perl-extutils-libbuilder)
+ ("perl-module-build" ,perl-module-build)))
+ (home-page "http://search.cpan.org/dist/Text-BibTeX")
+ (synopsis "Interface to read and parse BibTeX files")
+ (description "@code{Text::BibTeX} is a Perl library for reading, parsing,
+and processing BibTeX files. @code{Text::BibTeX} gives you access to the data
+at many different levels: you may work with BibTeX entries as simple field to
+string mappings, or get at the original form of the data as a list of simple
+values (strings, macros, or numbers) pasted together.")
+ (license (package-license perl))))
+
(define-public rubber
(package
- 01/30: gnu: Add threaded variants of fftw and fftwf for Ardour and mod-host., (continued)
- 01/30: gnu: Add threaded variants of fftw and fftwf for Ardour and mod-host., Ricardo Wurmus, 2016/11/27
- 07/30: gnu: Add perl-tie-cycle., Ricardo Wurmus, 2016/11/27
- 11/30: gnu: Add perl-date-simple., Ricardo Wurmus, 2016/11/27
- 12/30: gnu: Add perl-datetime-calendar-julian., Ricardo Wurmus, 2016/11/27
- 17/30: gnu: Add perl-extutils-libbuilder., Ricardo Wurmus, 2016/11/27
- 19/30: gnu: Add perl-lingua-translit., Ricardo Wurmus, 2016/11/27
- 15/30: gnu: Add perl-encode-jis2k., Ricardo Wurmus, 2016/11/27
- 26/30: gnu: perl-unicode-linebreak: Update to 2016.003., Ricardo Wurmus, 2016/11/27
- 23/30: gnu: Add perl-text-roman., Ricardo Wurmus, 2016/11/27
- 20/30: gnu: Add perl-mozilla-ca., Ricardo Wurmus, 2016/11/27
- 28/30: gnu: Add perl-text-bibtex.,
Ricardo Wurmus <=
- 06/30: gnu: Add perl-business-issn., Ricardo Wurmus, 2016/11/27
- 16/30: gnu: Add perl-encode-hanextra., Ricardo Wurmus, 2016/11/27
- 27/30: gnu: Add perl-xml-libxslt., Ricardo Wurmus, 2016/11/27
- 24/30: gnu: Add perl-unicode-normalize., Ricardo Wurmus, 2016/11/27
- 21/30: gnu: Add perl-sort-key., Ricardo Wurmus, 2016/11/27
- 22/30: gnu: Add perl-text-csv-xs., Ricardo Wurmus, 2016/11/27
- 25/30: gnu: Add perl-unicode-collate., Ricardo Wurmus, 2016/11/27
- 30/30: gnu: Add biber-2.5., Ricardo Wurmus, 2016/11/27
- 29/30: gnu: Add biber., Ricardo Wurmus, 2016/11/27