1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 (define-module (gnu packages visidata)
20 #:use-module (gnu packages check)
21 #:use-module (gnu packages time)
22 #:use-module (gnu packages python-web)
23 #:use-module (gnu packages python-xyz)
24 #:use-module (gnu packages xml)
25 #:use-module (guix build-system python)
26 #:use-module (guix build utils)
27 #:use-module (guix download)
28 #:use-module ((guix licenses) #:prefix license:)
29 #:use-module (guix packages))
31 (define-public visidata
38 (uri (pypi-uri "visidata" version))
41 "1g9g4gd3mqi23damxghwj76zxi2ig9vf4jv8dnvl7q7ssb7gz60d"))))
42 (build-system python-build-system)
45 (modify-phases %standard-phases
47 (lambda* (#:key tests? #:allow-other-keys)
48 (when tests? (invoke "pytest"))
51 `(("dateutil" ,python-dateutil)
52 ("requests" ,python-requests)
54 ("openpyxl" ,python-openpyxl)
55 ("xlrd" ,python-xlrd)))
57 `(("pytest" ,python-pytest)))
58 (synopsis "Terminal spreadsheet multitool for discovering and arranging data")
60 "VisiData is an interactive multitool for tabular data. It combines the
61 clarity of a spreadsheet, the efficiency of the terminal, and the power of
62 Python, into a lightweight utility which can handle millions of rows.")
63 (home-page "https://www.visidata.org/")
64 (license license:gpl3)))