me
/
guix
Archived
1
0
Fork 0

gnu: Add bibutils.

* gnu/packages/textutils.scm (bibutils): New variable.
master
Liliana Marie Prikler 2021-12-11 08:43:10 +01:00
parent 9d636f2d7b
commit 46772aa0f0
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 35 additions and 0 deletions

View File

@ -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")