[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: Add bibutils.
From: |
guix-commits |
Subject: |
05/06: gnu: Add bibutils. |
Date: |
Fri, 24 Dec 2021 13:12:54 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit 46772aa0f00770d57fd29fd04d678197f04aad0c
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Dec 11 08:43:10 2021 +0100
gnu: Add bibutils.
* gnu/packages/textutils.scm (bibutils): New variable.
---
gnu/packages/textutils.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 8581382..3a90fc8 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -44,6 +44,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix build-system ant)
#:use-module (guix build-system gnu)
@@ -1137,6 +1138,40 @@ useful to extract content from OpenDocument spreadsheets
(*.ods) and
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
+ (list #:configure-flags
+ #~(list "--install-dir" (string-append #$output "/bin")
+ "--install-lib" (string-append #$output "/lib")
+ "--dynamic")
+ #:make-flags
+ #~(list (string-append "CC=" #+(cc-for-target))
+ (string-append "LDFLAGSIN=-Wl,-rpath=" #$output "/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")
- branch master updated (6b01be8 -> ef4c9ab), guix-commits, 2021/12/24
- 04/06: gnu: Move go-github-com-aswinkarthik-csvdiff to textutils., guix-commits, 2021/12/24
- 05/06: gnu: Add bibutils.,
guix-commits <=
- 02/06: gnu: webrtc-for-telegram-desktop: Update to 91d836dc84a16584c6ac52b36c04c0de504d9c34., guix-commits, 2021/12/24
- 03/06: gnu: telegram-desktop: Update to 2.9.3., guix-commits, 2021/12/24
- 06/06: gnu: wine: Update to 6.20., guix-commits, 2021/12/24
- 01/06: gnu: Add xiph-rnnoise., guix-commits, 2021/12/24