summaryrefslogtreecommitdiff
path: root/gnu/packages/plotutils.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-14 16:57:37 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-14 17:15:08 -0400
commit3bacd3c76a58ebe70f98be654f09cbd4166093ab (patch)
tree89f687565205971a9925d33400235968a569a069 /gnu/packages/plotutils.scm
parentdf3391c0309443ac37f9a9a6b1038a85454b8ee6 (diff)
parent97ed675718b948319e6f6e51f2d577971bea1176 (diff)
Merge branch 'master' into core-updates.
Conflicts: gnu/local.mk gnu/packages/build-tools.scm gnu/packages/certs.scm gnu/packages/check.scm gnu/packages/compression.scm gnu/packages/cups.scm gnu/packages/fontutils.scm gnu/packages/gnuzilla.scm gnu/packages/guile.scm gnu/packages/ibus.scm gnu/packages/image-processing.scm gnu/packages/linux.scm gnu/packages/music.scm gnu/packages/nss.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/qt.scm gnu/packages/ruby.scm gnu/packages/shells.scm gnu/packages/tex.scm gnu/packages/video.scm gnu/packages/vulkan.scm gnu/packages/web.scm gnu/packages/webkit.scm gnu/packages/wm.scm
Diffstat (limited to 'gnu/packages/plotutils.scm')
-rw-r--r--gnu/packages/plotutils.scm55
1 files changed, 55 insertions, 0 deletions
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index c1e579eb58b..46e86158b6e 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -4,6 +4,7 @@
4;;; Copyright © 2016-2023 Nicolas Goaziou <mail@nicolasgoaziou.fr> 4;;; Copyright © 2016-2023 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 © 2023 gemmaro <gemmaro.dev@gmail.com>
7;;; 8;;;
8;;; This file is part of GNU Guix. 9;;; This file is part of GNU Guix.
9;;; 10;;;
@@ -28,6 +29,7 @@
28 #:use-module (guix download) 29 #:use-module (guix download)
29 #:use-module (guix git-download) 30 #:use-module (guix git-download)
30 #:use-module (guix build-system gnu) 31 #:use-module (guix build-system gnu)
32 #:use-module (guix build-system ruby)
31 #:use-module (gnu packages algebra) 33 #:use-module (gnu packages algebra)
32 #:use-module (gnu packages autotools) 34 #:use-module (gnu packages autotools)
33 #:use-module (gnu packages bash) 35 #:use-module (gnu packages bash)
@@ -50,7 +52,9 @@
50 #:use-module (gnu packages python) 52 #:use-module (gnu packages python)
51 #:use-module (gnu packages python-xyz) 53 #:use-module (gnu packages python-xyz)
52 #:use-module (gnu packages readline) 54 #:use-module (gnu packages readline)
55 #:use-module (gnu packages ruby)
53 #:use-module (gnu packages qt) 56 #:use-module (gnu packages qt)
57 #:use-module (gnu packages statistics)
54 #:use-module (gnu packages texinfo) 58 #:use-module (gnu packages texinfo)
55 #:use-module (gnu packages tex) 59 #:use-module (gnu packages tex)
56 #:use-module (gnu packages web) 60 #:use-module (gnu packages web)
@@ -427,3 +431,54 @@ LaTeX does for scientific text.")
427 ;; noted otherwise, are released under version 3 (or later) of the GNU 431 ;; noted otherwise, are released under version 3 (or later) of the GNU
428 ;; Lesser General Public License" 432 ;; Lesser General Public License"
429 (license license:lgpl3+))) 433 (license license:lgpl3+)))
434
435(define-public ruby-unicode-plot
436 (package
437 (name "ruby-unicode-plot")
438 (version "0.0.5")
439 ;; Source at RubyGems.org doesn't have test fixtures.
440 (source (origin
441 (method git-fetch)
442 (uri (git-reference
443 (url
444 "https://github.com/red-data-tools/unicode_plot.rb")
445 (commit (string-append "v" version))))
446 (file-name (git-file-name name version))
447 (sha256
448 (base32
449 "0g67brnb7zp1xx9cp1x7bmyxwnvi2i8gplw7p1j7cppzin4kr1vj"))))
450 (build-system ruby-build-system)
451 (native-inputs (list bundler ruby-rake ruby-test-unit ruby-yard))
452 (propagated-inputs (list ruby-enumerable-statistics))
453 (synopsis "Library to plot your data by Unicode characters")
454 (description "UnicodePlot provides the feature to make charts with Unicode
455characters. Supported charts are: barplot, boxplot, densityplot,
456histogram, lineplot, and scatterplot.")
457 (home-page "https://github.com/red-data-tools/unicode_plot.rb")
458 (license license:expat)))
459
460(define-public youplot
461 (package
462 (name "youplot")
463 (version "0.4.5")
464 ;; Source at RubyGems.org doesn't have tests.
465 (source (origin
466 (method git-fetch)
467 (uri (git-reference
468 (url "https://github.com/red-data-tools/YouPlot")
469 (commit (string-append "v" version))))
470 (file-name (git-file-name name version))
471 (sha256
472 (base32
473 "1y54apw7hx9mhjnf277w9wayvq954mdnip4dpajhc0qjg2464c2b"))))
474 (build-system ruby-build-system)
475 (native-inputs (list ruby-rake ruby-simplecov ruby-test-unit))
476 (propagated-inputs (list ruby-unicode-plot))
477 (synopsis "Command line tool that draw plots on the terminal")
478 (description
479 "YouPlot is a command line tool that draws plots on the terminal,
480powered by UnicodePlot gem. It provides commands @command{youplot}
481and @command{uplot} (shorthand) are provided, and supports chart types
482of barplot, histogram, lineplot, scatter, density, boxplot, and count.")
483 (home-page "https://github.com/red-data-tools/YouPlot")
484 (license license:expat)))