gnu: r-fields: Update to 11.4.
[jackhill/guix/guix.git] / gnu / packages / wv.scm
CommitLineData
9ffbe2b7
MB
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Marek Benc <merkur32@gmail.com>
d17e085a 3;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
dbefd3ff 4;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
9ffbe2b7
MB
5;;;
6;;; This file is part of GNU Guix.
7;;;
8;;; GNU Guix is free software; you can redistribute it and/or modify it
9;;; under the terms of the GNU General Public License as published by
10;;; the Free Software Foundation; either version 3 of the License, or (at
11;;; your option) any later version.
12;;;
13;;; GNU Guix is distributed in the hope that it will be useful, but
14;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16;;; GNU General Public License for more details.
17;;;
18;;; You should have received a copy of the GNU General Public License
19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20
21(define-module (gnu packages wv)
22 #:use-module (gnu packages)
23 #:use-module (gnu packages compression)
24 #:use-module (gnu packages glib)
25 #:use-module (gnu packages gnome)
26 #:use-module (gnu packages image)
27 #:use-module (gnu packages pkg-config)
28 #:use-module (guix packages)
29 #:use-module (guix download)
30 #:use-module (guix build-system gnu)
b5b73a82 31 #:use-module ((guix licenses) #:prefix license:))
9ffbe2b7
MB
32
33(define-public wv
34 (package
35 (name "wv")
36 (version "1.2.4")
6bb08d05
LC
37 (source (origin
38 (method url-fetch)
39 (uri (string-append "mirror://sourceforge/wvware/wv/" version
40 "/wv-" version ".tar.gz"))
41 (sha256
42 (base32
43 "1mn2ax6qjy3pvixlnvbkn6ymy6y4l2wxrr4brjaczm121s8hjcb7"))))
9ffbe2b7 44 (build-system gnu-build-system)
9ffbe2b7
MB
45 (inputs
46 `(("glib" ,glib)
47 ("libgsf" ,libgsf)
4bd428a7 48 ("libjpeg" ,libjpeg-turbo)
9ffbe2b7 49 ("libpng" ,libpng)
9ffbe2b7
MB
50 ("zlib" ,zlib)))
51 (native-inputs
52 `(("glib" ,glib "bin")
53 ("pkg-config" ,pkg-config)))
54 (synopsis "Microsoft Word conversion library and utilities")
55 (description
dbefd3ff
TGR
56 "wv converts files written by Word 2000, 97, 95, and 6 (known internally as
57Word 9, 8, 7, and 6) to HTML or LaTeX. Word 2 documents can still be converted
58to plain text but will lack formatting.
9ffbe2b7 59
dbefd3ff
TGR
60Othe programs can use wv as a library to convert Word documents to other
61formats. AbiWord uses it as its Word importer, and KWord uses concepts and
62code from wv in theirs.")
9ffbe2b7
MB
63 (home-page "http://wvware.sourceforge.net/")
64 (license license:gpl2+)))