diff options
| author | Antero Mejr <antero@mailbox.org> | 2022-08-25 15:48:03 -0400 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-04-13 20:43:25 +0100 |
| commit | 2006874c2bc396e3385897c73018b70b6f6e7cf4 (patch) | |
| tree | c992bf7e72a15dde4a3003d3be84f819cd4370c9 /gnu | |
| parent | e46e373f2110d20f9c40bcc70c0e1e31cfc16026 (diff) | |
gnu: Add plplot.
* gnu/packages/graph.scm (plplot): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/plotutils.scm | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm index 4462621cc1d..a86e1e44730 100644 --- a/gnu/packages/plotutils.scm +++ b/gnu/packages/plotutils.scm | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | ;;; Copyright © 2016-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr> | 4 | ;;; Copyright © 2016-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
| 5 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> | 5 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> |
| 6 | ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com> | 6 | ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com> |
| 7 | ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org> | ||
| 7 | ;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com> | 8 | ;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com> |
| 8 | ;;; | 9 | ;;; |
| 9 | ;;; This file is part of GNU Guix. | 10 | ;;; This file is part of GNU Guix. |
| @@ -24,6 +25,7 @@ | |||
| 24 | (define-module (gnu packages plotutils) | 25 | (define-module (gnu packages plotutils) |
| 25 | #:use-module ((guix licenses) #:prefix license:) | 26 | #:use-module ((guix licenses) #:prefix license:) |
| 26 | #:use-module ((guix utils) #:select (target-x86-32?)) | 27 | #:use-module ((guix utils) #:select (target-x86-32?)) |
| 28 | #:use-module (guix build-system cmake) | ||
| 27 | #:use-module (guix build-system gnu) | 29 | #:use-module (guix build-system gnu) |
| 28 | #:use-module (guix build-system ruby) | 30 | #:use-module (guix build-system ruby) |
| 29 | #:use-module (guix download) | 31 | #:use-module (guix download) |
| @@ -59,6 +61,7 @@ | |||
| 59 | #:use-module (gnu packages tex) | 61 | #:use-module (gnu packages tex) |
| 60 | #:use-module (gnu packages texinfo) | 62 | #:use-module (gnu packages texinfo) |
| 61 | #:use-module (gnu packages web) | 63 | #:use-module (gnu packages web) |
| 64 | #:use-module (gnu packages wxwidgets) | ||
| 62 | #:use-module (gnu packages xorg)) | 65 | #:use-module (gnu packages xorg)) |
| 63 | 66 | ||
| 64 | (define-public asymptote | 67 | (define-public asymptote |
| @@ -418,6 +421,54 @@ for 2D vector graphics animations. The package also contains command-line | |||
| 418 | programs for plotting scientific data.") | 421 | programs for plotting scientific data.") |
| 419 | (license license:gpl2+))) | 422 | (license license:gpl2+))) |
| 420 | 423 | ||
| 424 | (define-public plplot | ||
| 425 | (package | ||
| 426 | (name "plplot") | ||
| 427 | (version "5.15.0") | ||
| 428 | (source (origin | ||
| 429 | (method url-fetch) | ||
| 430 | (uri (string-append "mirror://sourceforge/plplot/plplot/" | ||
| 431 | version "%20Source/plplot-" version | ||
| 432 | ".tar.gz")) | ||
| 433 | (sha256 | ||
| 434 | (base32 | ||
| 435 | "0ywccb6bs1389zjfmc9zwdvdsvlpm7vg957whh6b5a96yvcf8bdr")) | ||
| 436 | (modules '((guix build utils))) | ||
| 437 | (snippet #~(begin (delete-file-recursively "www") | ||
| 438 | (substitute* "CMakeLists.txt" | ||
| 439 | (("add_subdirectory\\(www\\)") "")))))) | ||
| 440 | (build-system cmake-build-system) | ||
| 441 | (arguments | ||
| 442 | (list | ||
| 443 | #:configure-flags | ||
| 444 | #~(list (string-append "-DLIB_DIR=" #$output "/lib") | ||
| 445 | "-DBUILD_TEST=TRUE" | ||
| 446 | "-DENABLE_wxwidgets=TRUE"))) | ||
| 447 | (native-inputs (list pkg-config)) | ||
| 448 | (inputs (list wxwidgets)) | ||
| 449 | (home-page "http://plplot.org/") ;no HTTPS | ||
| 450 | (synopsis "Scientific plotting library with Unicode support") | ||
| 451 | (description | ||
| 452 | "PLplot is a software package for creating scientific plots. | ||
| 453 | The PLplot core library can be used to create: | ||
| 454 | |||
| 455 | @itemize | ||
| 456 | @item standard x-y plots | ||
| 457 | @item semi-log plots | ||
| 458 | @item log-log plots | ||
| 459 | @item contour plots | ||
| 460 | @item 3D surface plots | ||
| 461 | @item mesh plots | ||
| 462 | @item bar charts | ||
| 463 | @item pie charts | ||
| 464 | @end itemize") | ||
| 465 | (license (list license:lgpl2.0 | ||
| 466 | license:gpl2+ ;octave bindings | ||
| 467 | license:bsd-2 ;docbook docs | ||
| 468 | license:ogl-psi1.0 ;files in data/ss | ||
| 469 | license:cc-by-sa3.0 ;examples/Chloe.pgm | ||
| 470 | license:expat)))) ;Cmake files | ||
| 471 | |||
| 421 | (define-public ruby-unicode-plot | 472 | (define-public ruby-unicode-plot |
| 422 | (package | 473 | (package |
| 423 | (name "ruby-unicode-plot") | 474 | (name "ruby-unicode-plot") |
