diff options
| author | gemmaro <gemmaro.dev@gmail.com> | 2023-03-13 22:53:03 +0900 |
|---|---|---|
| committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-04-02 22:28:53 +0200 |
| commit | baaea549043df87a364af100c1e8847519d3ccdc (patch) | |
| tree | 359dbfe0371260a116795ea4d90d2a8ce8c75f48 /gnu | |
| parent | b2d70729bb7c535e2e79df19b71a72a180386456 (diff) | |
gnu: Add youplot.
* gnu/packages/plotutils.scm (youplot): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/plotutils.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm index 34f507e825b..fdda6d4871e 100644 --- a/gnu/packages/plotutils.scm +++ b/gnu/packages/plotutils.scm | |||
| @@ -456,3 +456,29 @@ characters. Supported charts are: barplot, boxplot, densityplot, | |||
| 456 | histogram, lineplot, and scatterplot.") | 456 | histogram, lineplot, and scatterplot.") |
| 457 | (home-page "https://github.com/red-data-tools/unicode_plot.rb") | 457 | (home-page "https://github.com/red-data-tools/unicode_plot.rb") |
| 458 | (license license:expat))) | 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, | ||
| 480 | powered by UnicodePlot gem. It provides commands @command{youplot} | ||
| 481 | and @command{uplot} (shorthand) are provided, and supports chart types | ||
| 482 | of barplot, histogram, lineplot, scatter, density, boxplot, and count.") | ||
| 483 | (home-page "https://github.com/red-data-tools/YouPlot") | ||
| 484 | (license license:expat))) | ||
