You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.6 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  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.
  10. ;;;
  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.
  15. ;;;
  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/>.
  18. (define-module (gnu packages visidata)
  19. #:use-module (gnu packages databases)
  20. #:use-module (gnu packages python-science)
  21. #:use-module (gnu packages python-web)
  22. #:use-module (gnu packages python-xyz)
  23. #:use-module (gnu packages time)
  24. #:use-module (gnu packages xml)
  25. #:use-module (guix build-system python)
  26. #:use-module (guix download)
  27. #:use-module ((guix licenses) #:prefix license:)
  28. #:use-module (guix packages))
  29. (define-public visidata
  30. (package
  31. (name "visidata")
  32. (version "1.5.2")
  33. (source
  34. (origin
  35. (method url-fetch)
  36. (uri (pypi-uri "visidata" version))
  37. (sha256
  38. (base32
  39. "10adfyn4gkisvciqawgh2lakkhhnjjxiyp7mzbgcwkq1b3sigpf1"))))
  40. (build-system python-build-system)
  41. ;; Tests disabled because they are not packaged with the source tarball.
  42. ;; Upstream suggests tests will be packaged with tarball around 2.0 release.
  43. (arguments '(#:tests? #f))
  44. (inputs
  45. `(("python-dateutil" ,python-dateutil)
  46. ("python-fonttools" ,python-fonttools)
  47. ("python-h5py" ,python-h5py)
  48. ("python-lxml" ,python-lxml)
  49. ("python-openpyxl" ,python-openpyxl)
  50. ("python-pandas" ,python-pandas)
  51. ("python-psycopg2" ,python-psycopg2)
  52. ("python-pyyaml" ,python-pyyaml)
  53. ("python-requests" ,python-requests)
  54. ("python-xlrd" ,python-xlrd)))
  55. (synopsis "Terminal spreadsheet multitool for discovering and arranging data")
  56. (description
  57. "VisiData is an interactive multitool for tabular data. It combines the
  58. clarity of a spreadsheet, the efficiency of the terminal, and the power of
  59. Python, into a lightweight utility which can handle millions of rows.")
  60. (home-page "https://www.visidata.org/")
  61. (license (list license:gpl3
  62. license:expat)))) ;; visidata/vdtui.py