From patchwork Mon Mar 13 13:53:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: gemmaro X-Patchwork-Id: 47938 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E6BF116E04; Mon, 13 Mar 2023 13:54:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5FD2116D2A for ; Mon, 13 Mar 2023 13:54:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbicm-0000p1-2h; Mon, 13 Mar 2023 09:54:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbick-0000oL-9E for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbick-00035b-1A for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbicj-0005HQ-T1 for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62161] [PATCH 1/3] gnu: Add ruby-enumerable-statistics. Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Mar 2023 13:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62161 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62161@debbugs.gnu.org Cc: gemmaro Received: via spool by 62161-submit@debbugs.gnu.org id=B62161.167871561420234 (code B ref 62161); Mon, 13 Mar 2023 13:54:01 +0000 Received: (at 62161) by debbugs.gnu.org; 13 Mar 2023 13:53:34 +0000 Received: from localhost ([127.0.0.1]:33948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbicI-0005GH-9H for submit@debbugs.gnu.org; Mon, 13 Mar 2023 09:53:34 -0400 Received: from mail-pl1-f178.google.com ([209.85.214.178]:40888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbicF-0005G3-QE for 62161@debbugs.gnu.org; Mon, 13 Mar 2023 09:53:33 -0400 Received: by mail-pl1-f178.google.com with SMTP id u5so13000028plq.7 for <62161@debbugs.gnu.org>; Mon, 13 Mar 2023 06:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678715606; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kxUNTI7Eji5MMVkb1isHrrq5Rn9g0q9oCg1XL82gI4M=; b=Z7RqJbwJXjdXSf4WdSBOOilNuZgNebETTCehRlFozqFwVCjwOvb0IY7WXpydvFxTcg vyzFEgguKN/2BbyIUTT41nDgeIykGG2xoagR04GoR88U5SX+rfgy3utQlj+qw49OSToj +8ZX2KWFXkeNhVM+dlg36R3c4EZkfYHqFH+ywYQ9HpYIKhE3qi0oP9ZgU/ENe8NlMMOA DXeXmtuMFTWM4MU0CyeQMo3CI/qauu8bW3vQT2xVOSSuavOeBBKIm8O0ApgHUNDIz27r vU1zey7iUEvVGoTFLJHrP6qQFgAjn96a2IhNKX/r/n37qdecmvvuvH9M6wIUSSQVk4wM 6Dww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678715606; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kxUNTI7Eji5MMVkb1isHrrq5Rn9g0q9oCg1XL82gI4M=; b=WVdec75HibFtEPabFBsLN74AN/sVD3p+UBdSwR72UmQJhRupi/i2ixcrn4ZMqTqzMH kJzvPabJ+5AZyxTA8YmnoAFhBIc5My8GhlpoE4lF/yhguCc0rWZ6ujkLhscyls32mzgW tipKfVfIqgUgh1cZZR5OSnNH5QKNuoH27n8NV5l350NVLl7Z8ekeAlDC6clG8IXlA0pn J6WbLsHGjE8z75i9ggKZbGIDR6TAKPxMYySypySXHag0sLlVZuJK5XE+aaAsQQ+qF94N xhjNTRuSG6QMeOCJx4eZ/F4taG8Xr1Uw+5XG/4dy2R7NnnO5kML+yuGkGBF4RHuljuwf 1dMQ== X-Gm-Message-State: AO0yUKXAHNWE14YiddjgJtbMltU59WvVbxfavkL4MBIiqtPnRn2+KYkG 8GAJ0CQN/nwCgv3eBrEj3yBBdtTtWMrEiA== X-Google-Smtp-Source: AK7set9vc1oJve65mr0gM8sqHWdb/gS/Qv+QgpwWuhadHWIlL5FYcM/FsSLBCs6PmERo9Ungp71NaQ== X-Received: by 2002:a17:902:e801:b0:19b:afb:b92e with SMTP id u1-20020a170902e80100b0019b0afbb92emr40980347plg.40.1678715605680; Mon, 13 Mar 2023 06:53:25 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:ba1:e787:c9e:b1dc]) by smtp.gmail.com with ESMTPSA id kc13-20020a17090333cd00b00199023c688esm4877485plb.26.2023.03.13.06.53.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 06:53:25 -0700 (PDT) From: gemmaro Date: Mon, 13 Mar 2023 22:53:01 +0900 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/statistics.scm (ruby-enumerable-statistics): Add new variable. --- gnu/packages/statistics.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 4037eec768..a3cc79cbde 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Lars-Dominik Braun ;;; Copyright © 2021 Frank Pursel ;;; Copyright © 2022 Simon Tournier +;;; Copyright © 2023 gemmaro ;;; ;;; This file is part of GNU Guix. ;;; @@ -48,6 +49,7 @@ (define-module (gnu packages statistics) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix build-system trivial) + #:use-module (guix build-system ruby) #:use-module (gnu packages) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) @@ -82,6 +84,7 @@ (define-module (gnu packages statistics) #:use-module (gnu packages python-science) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) + #:use-module (gnu packages ruby) #:use-module (gnu packages shells) #:use-module (gnu packages sphinx) #:use-module (gnu packages ssh) @@ -7365,3 +7368,40 @@ (define-public r-mumin weights derived from information criteria (AICc and alike) or custom model weighting schemes.") (license license:gpl2))) + +(define-public ruby-enumerable-statistics + (package + (name "ruby-enumerable-statistics") + (version "2.0.7") + ;; Source at RubyGems.org doesn't have tests. + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mrkn/enumerable-statistics.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1a8k2dvm1v0g6hcrbnzy0f7d63hdmpmldfdkl8wr32nbl05xnifa")) + (modules '((guix build utils))) + (snippet `(begin + (substitute* "enumerable-statistics.gemspec" + ;; benchmark-driver gem is used for + ;; performance benchmarking, and isn't + ;; needed for tests. + (("spec.add_development_dependency \"benchmark-driver\"\n") + "")))))) + (build-system ruby-build-system) + (native-inputs (list bundler + ruby-rake + ruby-rake-compiler + ruby-rspec + ruby-test-unit + ruby-fuubar + ruby-yard)) + (synopsis "Library which provides statistics features for Enumerable") + (description + "@code{Enumerable::Statistics} provides some methods to calculate +statistical summary in arrays and enumerables.") + (home-page "https://github.com/mrkn/enumerable-statistics") + (license license:expat))) From patchwork Mon Mar 13 13:53:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: gemmaro X-Patchwork-Id: 47937 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4830A16DDF; Mon, 13 Mar 2023 13:54:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 780C216D2A for ; Mon, 13 Mar 2023 13:54:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbicm-0000pA-F6; Mon, 13 Mar 2023 09:54:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbick-0000oT-Mp for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbick-00035g-Ev for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbick-0005HX-81 for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62161] [PATCH 2/3] gnu: Add ruby-unicode-plot. Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Mar 2023 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62161 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62161@debbugs.gnu.org Cc: gemmaro Received: via spool by 62161-submit@debbugs.gnu.org id=B62161.167871562720260 (code B ref 62161); Mon, 13 Mar 2023 13:54:02 +0000 Received: (at 62161) by debbugs.gnu.org; 13 Mar 2023 13:53:47 +0000 Received: from localhost ([127.0.0.1]:33951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbicU-0005Gh-MK for submit@debbugs.gnu.org; Mon, 13 Mar 2023 09:53:47 -0400 Received: from mail-pj1-f51.google.com ([209.85.216.51]:43876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbicS-0005GS-2c for 62161@debbugs.gnu.org; Mon, 13 Mar 2023 09:53:44 -0400 Received: by mail-pj1-f51.google.com with SMTP id y15-20020a17090aa40f00b00237ad8ee3a0so11762308pjp.2 for <62161@debbugs.gnu.org>; Mon, 13 Mar 2023 06:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678715618; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/8Py4IudDvfjhsz3ZOBbJTKbgRS8x/JU4P594X1fxNU=; b=dYHJ8k+NOjympg6YRmvw/i3wZVg0fe78k4SNO57eCNI1rV8J1SdBRE7khDZYtdEFAd llmYxMjk5689Nsl+Bl7OAZcd8O6SZ2ZULP0mgPFTXHJp7JhURZz2A7Wx62YUc2fJx0R4 JAduvY3aGAfblycKcnhSyymOK/QVrShYjMFH925w/BmWv+KrLm2JokX473ecZh/SjOaJ TOiEHG8mlegdldtk+NDNdgRtmqtQeBPBH+IqEMsGquovzimX24RSYwx+9UEgaOj9zcGJ fHcONV0oIop471eFp1sL23pFe22tpuGWbpVqPO29/3dR6Mlk+XV6bIM1lf3ta/oJp/JL MqnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678715618; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/8Py4IudDvfjhsz3ZOBbJTKbgRS8x/JU4P594X1fxNU=; b=Ai74W83686xa6VuKME/PTB1zIreZ9oVjG/j9qbrpcJwooIs7o0Jl+Ctq/HQS/5lfmL zz0HMYtmf2H5wdO76HoJuK2/heTL+Sx6WlIL5oLun/+Pz0yZD0TZ59nvKnRQxDAjITI8 1PtlgBBTIuq5ztBLsERV4cfRi0+cYSEQddo2M1DbTVpLhAAVbM2dIouy1+9a/+/Ru7E5 Vgeb3sHfVCFaX9vov04gBVeVTdGnhqzrirGUJcItSLUc5tWkQbTs88RK4FR8aN1uTn06 bmR5zfKzyMosqM5462MYpZKldbDrD5YfZ3MufcELPF4GVNs+dUrn6dIiyrnUi51xGCTL 8Smg== X-Gm-Message-State: AO0yUKUeMtqL9VVceFTAJQ2l8LQLMXECuOhllXhu/zk84BL9YDztMXiD LWTz2kkKQaAFFKM4VowXZGaTmL7ATFPRJw== X-Google-Smtp-Source: AK7set8JpLZRxKhvyS/xV4z44sQFBp602tOqYpX9BUiZioae4vJYda1yYYkmlLzkLJeLkpaSdEYdOA== X-Received: by 2002:a17:902:e5d0:b0:19d:6f7:70d2 with SMTP id u16-20020a170902e5d000b0019d06f770d2mr18909972plf.50.1678715618323; Mon, 13 Mar 2023 06:53:38 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:ba1:e787:c9e:b1dc]) by smtp.gmail.com with ESMTPSA id kc13-20020a17090333cd00b00199023c688esm4877485plb.26.2023.03.13.06.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 06:53:38 -0700 (PDT) From: gemmaro Date: Mon, 13 Mar 2023 22:53:02 +0900 Message-Id: <27b987b3ea326da884b88b2dc210584da1fc2faa.1678715004.git.gemmaro.dev@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/plotutils.scm (ruby-unicode-plot): New variable. --- gnu/packages/plotutils.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm index 963587ca2e..34f507e825 100644 --- a/gnu/packages/plotutils.scm +++ b/gnu/packages/plotutils.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016-2023 Nicolas Goaziou ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2020 Maxim Cournoyer +;;; Copyright © 2023 gemmaro ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,6 +29,7 @@ (define-module (gnu packages plotutils) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) + #:use-module (guix build-system ruby) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) #:use-module (gnu packages bash) @@ -50,7 +52,9 @@ (define-module (gnu packages plotutils) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) + #:use-module (gnu packages ruby) #:use-module (gnu packages qt) + #:use-module (gnu packages statistics) #:use-module (gnu packages texinfo) #:use-module (gnu packages tex) #:use-module (gnu packages web) @@ -427,3 +431,28 @@ (define-public asymptote ;; noted otherwise, are released under version 3 (or later) of the GNU ;; Lesser General Public License" (license license:lgpl3+))) + +(define-public ruby-unicode-plot + (package + (name "ruby-unicode-plot") + (version "0.0.5") + ;; Source at RubyGems.org doesn't have test fixtures. + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/red-data-tools/unicode_plot.rb") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0g67brnb7zp1xx9cp1x7bmyxwnvi2i8gplw7p1j7cppzin4kr1vj")))) + (build-system ruby-build-system) + (native-inputs (list bundler ruby-rake ruby-test-unit ruby-yard)) + (propagated-inputs (list ruby-enumerable-statistics)) + (synopsis "Library to plot your data by Unicode characters") + (description "UnicodePlot provides the feature to make charts with Unicode +characters. Supported charts are: barplot, boxplot, densityplot, +histogram, lineplot, and scatterplot.") + (home-page "https://github.com/red-data-tools/unicode_plot.rb") + (license license:expat))) From patchwork Mon Mar 13 13:53:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gemmaro X-Patchwork-Id: 47939 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 859B716DC9; Mon, 13 Mar 2023 13:54:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7EC2216D2A for ; Mon, 13 Mar 2023 13:54:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbicm-0000pC-Il; Mon, 13 Mar 2023 09:54:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbicl-0000ob-3S for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbick-00035n-R4 for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbick-0005Hf-MT for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62161] [PATCH 3/3] gnu: Add youplot. Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Mar 2023 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62161 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62161@debbugs.gnu.org Cc: gemmaro Received: via spool by 62161-submit@debbugs.gnu.org id=B62161.167871563620284 (code B ref 62161); Mon, 13 Mar 2023 13:54:02 +0000 Received: (at 62161) by debbugs.gnu.org; 13 Mar 2023 13:53:56 +0000 Received: from localhost ([127.0.0.1]:33954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbice-0005H6-3z for submit@debbugs.gnu.org; Mon, 13 Mar 2023 09:53:56 -0400 Received: from mail-pj1-f52.google.com ([209.85.216.52]:37512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbicc-0005Gr-C4 for 62161@debbugs.gnu.org; Mon, 13 Mar 2023 09:53:54 -0400 Received: by mail-pj1-f52.google.com with SMTP id e15-20020a17090ac20f00b0023d1b009f52so1662768pjt.2 for <62161@debbugs.gnu.org>; Mon, 13 Mar 2023 06:53:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678715629; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JWEZFF2FfSF8WR6EVw0q/kM9T0C99o6XXZKSrt/DQA0=; b=Gx/9IELP4YJ6c1ZI4Ld3Fpr4h0KfmfIkzU9BrlsYWiN+TfNmFREX7beAiHE3U59XYC 3WC0tomfZJoQppuXFjMNVwJWiVqy9KJlMqCsaWed4Z6IibZaGnyLurUk3BHy/sRbGc+8 Y9DvfC6rKYkF0QJLej5N7HhU85qJKvp1yjgvWWrOoBObhUjkrPiR3PXIio1L1yxyIHMH uYA79sV+EeKXPXP7xsD8ATLZwvmEp5Z8Ea8L8UKZNz2qtyJONKI+0uKpcWRh0+d9Dgnq OAIauYv18zK8/oYUA1o0aKSNqFQQxbynbSQ1kS+TDDxgMGUhAuFwNR62lFs6DMEB19pd FU/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678715629; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JWEZFF2FfSF8WR6EVw0q/kM9T0C99o6XXZKSrt/DQA0=; b=g+5wi9ee03w989UAoq58/IBbp1BjpdVY80P/LfBBMexM0HMQax6DX6eGh1yWPWDY2E Tg1tY6Vpz13gf0BZruAc/N7FX8gaSdQMBAEbmELs95VL/Prb8Tv8A7H/uMNbP9loXQ0+ Vktpgi2vdFlzcXPXgESmAGt7g7yG0fZNUqbt6y162+LU6YKqz78Go1VKEjf8nDgRktFI UG82tDLXWNi0zjklFov40dkwiNrNMJDPLGa2ji5WW/DK1Jvfp7bDj5kB6yjwX9VPPNl8 NjDv2zEvy82XRKUnFpSzhPQonb4SjtNxuI6sP6XMoq/1wlTRqehtmTqmqNa3fh5pIQ8Q immg== X-Gm-Message-State: AO0yUKVxHcJnfm2/hV5QRBGjgdgPEgfha4D0xHHpsY15WFY5XtSGOO3Z WGu9/7eJakbz9mf1pKRUaNnc66oeLHIDyA== X-Google-Smtp-Source: AK7set+5RqqOBm8icU1XWEwbFnHrd8xhTN3EaaRmAhbQOktKYa0ZRzIMLDr/RKzFZlMNt5REbO9S/Q== X-Received: by 2002:a17:902:9345:b0:19c:17d1:28a4 with SMTP id g5-20020a170902934500b0019c17d128a4mr31764154plp.67.1678715628806; Mon, 13 Mar 2023 06:53:48 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:ba1:e787:c9e:b1dc]) by smtp.gmail.com with ESMTPSA id kc13-20020a17090333cd00b00199023c688esm4877485plb.26.2023.03.13.06.53.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 06:53:48 -0700 (PDT) From: gemmaro Date: Mon, 13 Mar 2023 22:53:03 +0900 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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)))