summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--gnu/packages/plotutils.scm54
2 files changed, 55 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 2c0decd6aa1..e6c21f91ebd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -167,6 +167,7 @@ MODULES = \
167 gnu/packages/pdf.scm \ 167 gnu/packages/pdf.scm \
168 gnu/packages/perl.scm \ 168 gnu/packages/perl.scm \
169 gnu/packages/pkg-config.scm \ 169 gnu/packages/pkg-config.scm \
170 gnu/packages/plotutils.scm \
170 gnu/packages/popt.scm \ 171 gnu/packages/popt.scm \
171 gnu/packages/pth.scm \ 172 gnu/packages/pth.scm \
172 gnu/packages/python.scm \ 173 gnu/packages/python.scm \
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
new file mode 100644
index 00000000000..4732fc2db62
--- /dev/null
+++ b/gnu/packages/plotutils.scm
@@ -0,0 +1,54 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages plotutils)
20 #:use-module (guix licenses)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu)
24 #:use-module (gnu packages libpng))
25
26(define-public plotutils
27 (package
28 (name "plotutils")
29 (version "2.6")
30 (source (origin
31 (method url-fetch)
32 (uri (string-append "mirror://gnu/plotutils/plotutils-"
33 version ".tar.gz"))
34 (sha256
35 (base32
36 "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg"))))
37 (build-system gnu-build-system)
38 (inputs `(("libpng" ,libpng)))
39 (home-page
40 "http://www.gnu.org/software/plotutils/")
41 (synopsis "Plotting utilities and library")
42 (description
43 "The GNU plotutils package contains software for both programmers and
44technical users. Its centerpiece is libplot, a powerful C/C++ function
45library for exporting 2-D vector graphics in many file formats, both vector
46and raster. It can also do vector graphics animations.
47
48libplot is device-independent in the sense that its API (application
49programming interface) does not depend on the type of graphics file to be
50exported.
51
52Besides libplot, the package contains command-line programs for plotting
53scientific data. Many of them use libplot to export graphics.")
54 (license gpl2+)))