unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: gemmaro <gemmaro.dev@gmail.com>
To: 62161@debbugs.gnu.org
Cc: gemmaro <gemmaro.dev@gmail.com>
Subject: [bug#62161] [PATCH 3/3] gnu: Add youplot.
Date: Mon, 13 Mar 2023 22:53:03 +0900	[thread overview]
Message-ID: <a9012126839e6944d6f07a73adfbbdd184c2a249.1678715004.git.gemmaro.dev@gmail.com> (raw)
In-Reply-To: <cover.1678715004.git.gemmaro.dev@gmail.com>

* gnu/packages/plotutils.scm (youplot): New variable.
---
 gnu/packages/plotutils.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 34f507e825..fdda6d4871 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -456,3 +456,29 @@ (define-public ruby-unicode-plot
 histogram, lineplot, and scatterplot.")
     (home-page "https://github.com/red-data-tools/unicode_plot.rb")
     (license license:expat)))
+
+(define-public youplot
+  (package
+    (name "youplot")
+    (version "0.4.5")
+    ;; Source at RubyGems.org doesn't have tests.
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/red-data-tools/YouPlot")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1y54apw7hx9mhjnf277w9wayvq954mdnip4dpajhc0qjg2464c2b"))))
+    (build-system ruby-build-system)
+    (native-inputs (list ruby-rake ruby-simplecov ruby-test-unit))
+    (propagated-inputs (list ruby-unicode-plot))
+    (synopsis "Command line tool that draw plots on the terminal")
+    (description
+     "YouPlot is a command line tool that draws plots on the terminal,
+powered by UnicodePlot gem.  It provides commands @command{youplot}
+and @command{uplot} (shorthand) are provided, and supports chart types
+of barplot, histogram, lineplot, scatter, density, boxplot, and count.")
+    (home-page "https://github.com/red-data-tools/YouPlot")
+    (license license:expat)))
-- 
2.39.2





  parent reply	other threads:[~2023-03-13 13:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-13 13:49 [bug#62161] [PATCH 0/3] Add youplot gemmaro
2023-03-13 13:53 ` [bug#62161] [PATCH 1/3] gnu: Add ruby-enumerable-statistics gemmaro
2023-03-13 13:53 ` [bug#62161] [PATCH 2/3] gnu: Add ruby-unicode-plot gemmaro
2023-03-13 13:53 ` gemmaro [this message]
2023-04-02 20:31 ` bug#62161: [PATCH 0/3] Add youplot Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a9012126839e6944d6f07a73adfbbdd184c2a249.1678715004.git.gemmaro.dev@gmail.com \
    --to=gemmaro.dev@gmail.com \
    --cc=62161@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).