diff options
author | Antero Mejr <antero@mailbox.org> | 2022-08-25 15:48:03 -0400 |
---|---|---|
committer | Guix Patches Tester <> | 2022-11-18 12:57:14 +0100 |
commit | 24a356021baf32f9130de5e4c0d71adcbc10d901 (patch) | |
tree | 438ea87c52cf0c9685b0f54421e4b4d3e6df4178 | |
parent | 983906ab72307a5b848a54233b30d9744356de07 (diff) | |
download | guix-patches-24a356021baf32f9130de5e4c0d71adcbc10d901.tar guix-patches-24a356021baf32f9130de5e4c0d71adcbc10d901.tar.gz |
gnu: Add plplot.issue-57416
* gnu/packages/graph.scm (plplot): New variable.
-rw-r--r-- | gnu/packages/graph.scm | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 02c80f0682..487bb0c209 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -62,6 +62,7 @@ #:use-module (gnu packages statistics) #:use-module (gnu packages swig) #:use-module (gnu packages time) + #:use-module (gnu packages wxwidgets) #:use-module (gnu packages xml)) (define-public plfit @@ -660,3 +661,48 @@ level of performance that is comparable (both in memory usage and computation time) to that of a pure C/C++ library.") (home-page "https://graph-tool.skewed.de/") (license license:lgpl3+))) + +(define-public plplot + (package + (name "plplot") + (version "5.15.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/plplot/plplot/" + version "%20Source/plplot-" version + ".tar.gz")) + (sha256 + (base32 + "0ywccb6bs1389zjfmc9zwdvdsvlpm7vg957whh6b5a96yvcf8bdr")) + (modules '((guix build utils))) + (snippet #~(begin (delete-file-recursively "www") + (substitute* "CMakeLists.txt" + (("add_subdirectory\\(www\\)") "")))))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list (string-append "-DLIB_DIR=" #$output "/lib") + "-DBUILD_TEST=TRUE" + "-DENABLE_wxwidgets=TRUE"))) + (native-inputs (list pkg-config)) + (inputs (list wxwidgets)) + (home-page "http://plplot.org/") ;no HTTPS + (synopsis "Scientific plotting library with Unicode support") + (description "PLplot is a software package for creating scientific plots. +The PLplot core library can be used to create: + +@itemize +@item standard x-y plots +@item semi-log plots +@item log-log plots +@item contour plots +@item 3D surface plots +@item mesh plots +@item bar charts +@item pie charts +@end itemize") + (license (list license:lgpl2.0 + license:gpl2+ ;octave bindings + license:bsd-2 ;docbook docs + license:ogl-psi1.0 ;files in data/ss + license:cc-by-sa3.0 ;examples/Chloe.pgm + license:expat)))) ;Cmake files |