GNU bug report logs -
#52422
[PATCH] gnu: Add bibutils.
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/textutils.scm (bibutils): New variable.
---
gnu/packages/textutils.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index bbad8ce867..11233446af 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1146,6 +1146,40 @@ (define-public odt2txt
OpenDocument presentations (*.odp).")
(license license:gpl2)))
+(define-public bibutils
+ (package
+ (name "bibutils")
+ (version "7.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/bibutils/"
+ "bibutils_" version "_src.tgz"))
+
+ (sha256
+ (base32
+ "1hxmwjjzw48w6hdh2x7ybkrhi1xngd55i67hrrd3wswa3vpql0kf"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ (list "--install-dir" (string-append (assoc-ref %outputs "out") "/bin")
+ "--install-lib" (string-append (assoc-ref %outputs "out") "/lib")
+ "--dynamic")
+ #:make-flags (list (string-append "CC=" ,(cc-for-target))
+ (string-append "LDFLAGSIN=-Wl,-rpath="
+ (assoc-ref %outputs "out") "/lib"))
+ #:test-target "test"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key configure-flags #:allow-other-keys)
+ ;; configure script is ill-formed, invoke it manually
+ (apply invoke "sh" "./configure" configure-flags))))))
+ (home-page "https://bibutils.sourceforge.io/")
+ (synopsis "Convert between various bibliography formats")
+ (description "This package provides converters for various bibliography
+formats (e.g. Bibtex, RIS, ...) using a common XML intermediate.")
+ (license license:gpl2)))
+
(define-public opencc
(package
(name "opencc")
--
2.34.0
This bug report was last modified 3 years and 149 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.