From patchwork Wed Apr 22 00:51:10 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: 21408 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 C2C5F27BBE4; Wed, 22 Apr 2020 06:25:25 +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,HTML_MESSAGE,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 18E8A27BBE1 for ; Wed, 22 Apr 2020 06:25:25 +0100 (BST) Received: from localhost ([::1]:42314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jR7sy-00060X-H8 for patchwork@mira.cbaines.net; Wed, 22 Apr 2020 01:25:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52196) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jR4m8-0006Tg-6r for guix-patches@gnu.org; Tue, 21 Apr 2020 22:06:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jR4m2-0007DY-TU for guix-patches@gnu.org; Tue, 21 Apr 2020 22:06:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jR4m2-0007BN-Eh for guix-patches@gnu.org; Tue, 21 Apr 2020 22:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jR4m2-0003lz-8h for guix-patches@gnu.org; Tue, 21 Apr 2020 22:06:02 -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 02:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40757 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40757@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.158752113014455 (code B ref -1); Wed, 22 Apr 2020 02:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Apr 2020 02:05:30 +0000 Received: from localhost ([127.0.0.1]:51008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jR4lV-0003l4-9n for submit@debbugs.gnu.org; Tue, 21 Apr 2020 22:05:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:49223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jR3bt-0001z6-Nk for submit@debbugs.gnu.org; Tue, 21 Apr 2020 20:51:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41286) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jR3br-0004ec-He for guix-patches@gnu.org; Tue, 21 Apr 2020 20:51:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jR3bn-0005Bp-5n for guix-patches@gnu.org; Tue, 21 Apr 2020 20:51:26 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:61739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jR3bk-0004uI-03 for guix-patches@gnu.org; Tue, 21 Apr 2020 20:51:21 -0400 Date: Wed, 22 Apr 2020 00:51:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1587516674; bh=y1HIOSzRaOXpDpWpiHUKL0Y2rogbheHLCK2KZGlui4o=; h=Date:To:From:Reply-To:Subject:From; b=iQdj5MCVl+yeUV0KwevkngWAnQDQnUU6F82IkpkXjt6FybEmnW3nmbnkwkIXDoVCj UBWuahb3Foo/gfw5SEu+0MLn5ofsQCYJcSiOfGbiTL3G5PVANB98Q4XYxqKQ4YJZpN AwMhv16agBorFZVQvv8MKX5u5FEy/RtpzNQpuBuY= Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.18; envelope-from=rprior@protonmail.com; helo=mail1.protonmail.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/21 20:51:15 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Mailman-Approved-At: Tue, 21 Apr 2020 22:05:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-Mailman-Approved-At: Wed, 22 Apr 2020 01:25:16 -0400 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 Guix! This patch adds a package for VisiData. 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 with ease. https://www.visidata.org/, GPLv3 Tests are disabled because they are not packaged with the source tarball. You can view test status here: https://circleci.com/gh/saulpw/visidata/tree/stable Upstream suggests tests will be packaged with their source tarball around their 2.0 release. Cheers, Ryan Prior From a86e002cd133371eafbd1adbf1354afd3796c9eb 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/packages/visidata.scm | 61 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 gnu/packages/visidata.scm diff --git a/gnu/packages/visidata.scm b/gnu/packages/visidata.scm new file mode 100644 index 0000000000..d9df94dc9b --- /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 (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) + #:use-module (guix packages)) + +(define-public visidata + (package + (name "visidata") + (version "1.5.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/saulpw/visidata/archive/v" version ".tar.gz")) + (sha256 (base32 "0h7hq6bnc8svkcc9995kkmgcb9n5qgm85rsshzzdicmg9rg3ymhi")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) + ;; Tests disabled because they are not packaged with the source tarball. + ;; View test status here: https://circleci.com/gh/saulpw/visidata/tree/stable + ;; Upstream suggests tests will be packaged with tarball around 2.0 release. + (native-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 "Visidata: A 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 with ease.") + (home-page "https://www.visidata.org/") + (license gpl3))) -- 2.17.1