From patchwork Wed Apr 22 20:24:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 21430 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 2981E27BBE1; Wed, 22 Apr 2020 21:56:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id DCFC927BBE4 for ; Wed, 22 Apr 2020 21:56:11 +0100 (BST) Received: from localhost ([::1]:57840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRMPj-00075p-FI for patchwork@mira.cbaines.net; Wed, 22 Apr 2020 16:56:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35822) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRMPc-00075R-PI for guix-patches@gnu.org; Wed, 22 Apr 2020 16:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRMPa-0004i0-6X for guix-patches@gnu.org; Wed, 22 Apr 2020 16:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRMPZ-0004hc-Py for guix-patches@gnu.org; Wed, 22 Apr 2020 16:56:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRMPZ-0008Cl-OU for guix-patches@gnu.org; Wed, 22 Apr 2020 16:56:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40757] New package: VisiData Resent-From: Ryan Prior Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Apr 2020 20:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40757 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Jack Hill Cc: "40757@debbugs.gnu.org" <40757@debbugs.gnu.org> Received: via spool by 40757-submit@debbugs.gnu.org id=B40757.158758892731494 (code B ref 40757); Wed, 22 Apr 2020 20:56:01 +0000 Received: (at 40757) by debbugs.gnu.org; 22 Apr 2020 20:55:27 +0000 Received: from localhost ([127.0.0.1]:53424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRMOy-0008Bq-7B for submit@debbugs.gnu.org; Wed, 22 Apr 2020 16:55:27 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:16971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRLvE-0007QO-7i for 40757@debbugs.gnu.org; Wed, 22 Apr 2020 16:24:43 -0400 Date: Wed, 22 Apr 2020 20:24:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1587587072; bh=TAduBbTfN3VsJfvZMn1q4K0LKAtjGqMaypbN2qVJC8Y=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=Qu8k9BleNMr1N5yKXJrlTmzlC6KeBuCYospWuO14rROqceQXnp86oaeivdrBgsEXD +eYzNcig3w83GTr+wzxiOSAMC1iC22VzBYAvCZY2DJmyZEChFnoYilR77bQB/huSQb aMnhMH6RLmIT5MngqzrDq8NPNIfuC3YwdUeOGh0s= Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 22 Apr 2020 16:55:22 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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" Reply-to: Ryan Prior , Ryan Prior via Guix-patches X-Patchwork-Original-From: Ryan Prior via Guix-patches via From: "ashish.is--- via Guix-patches\" via" X-getmail-retrieved-from-mailbox: Patches Hi Jack, ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, April 22, 2020 3:53 PM, Jack Hill wrote: > I'm not an expert reviewer, but I'd like to try to help by offering the > following suggestions for improvement. Thank you for these suggestions! I've attached an updated version of the patch. Ryan From 5649ec22097278193426474b9a2f460cc3a931e0 Mon Sep 17 00:00:00 2001 From: Ryan Prior Date: Tue, 21 Apr 2020 16:56:42 -0500 Subject: [PATCH] gnu: Add visidata. * gnu/packages/visidata.scm (visidata): New variable. --- gnu/local.mk | 2 ++ gnu/packages/visidata.scm | 61 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 gnu/packages/visidata.scm diff --git a/gnu/local.mk b/gnu/local.mk index e70715000a..0cf64063c8 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -31,6 +31,7 @@ # Copyright © 2020 R Veera Kumar # Copyright © 2020 Nicolò Balzarotti # Copyright © 2020 Michael Rohleder +# Copyright © 2020 Ryan Prior # # This file is part of GNU Guix. # @@ -521,6 +522,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/video.scm \ %D%/packages/vim.scm \ %D%/packages/virtualization.scm \ + %D%/packages/visidata.scm \ %D%/packages/vnc.scm \ %D%/packages/vpn.scm \ %D%/packages/vulkan.scm \ diff --git a/gnu/packages/visidata.scm b/gnu/packages/visidata.scm new file mode 100644 index 0000000000..9647b49289 --- /dev/null +++ b/gnu/packages/visidata.scm @@ -0,0 +1,61 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020 Ryan Prior +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages visidata) + #:use-module (gnu packages databases) + #:use-module (gnu packages python-science) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages time) + #:use-module (gnu packages xml) + #:use-module (guix build-system python) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + +(define-public visidata + (package + (name "visidata") + (version "1.5.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "visidata" version)) + (sha256 (base32 "10adfyn4gkisvciqawgh2lakkhhnjjxiyp7mzbgcwkq1b3sigpf1")))) + (build-system python-build-system) + ;; Tests disabled because they are not packaged with the source tarball. + ;; Upstream suggests tests will be packaged with tarball around 2.0 release. + (arguments '(#:tests? #f)) + (inputs + `(("python-dateutil" ,python-dateutil) + ("python-fonttools" ,python-fonttools) + ("python-h5py" ,python-h5py) + ("python-lxml" ,python-lxml) + ("python-openpyxl" ,python-openpyxl) + ("python-psycopg2" ,python-psycopg2) + ("python-pyyaml" ,python-pyyaml) + ("python-requests" ,python-requests) + ("python-xlrd" ,python-xlrd) + ("python-pandas" ,python-pandas))) + (synopsis "Terminal spreadsheet multitool for discovering and arranging data") + (description + "VisiData is an interactive multitool for tabular data. It combines the +clarity of a spreadsheet, the efficiency of the terminal, and the power of +Python, into a lightweight utility which can handle millions of rows.") + (home-page "https://www.visidata.org/") + (license (list license:gpl3 + license:expat)))) ;; visidata/vdtui.py -- 2.17.1