2014-07-18 21:36:09 +02:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2018-04-13 05:55:51 +02:00
|
|
|
;;; Copyright © 2014, 2018 Eric Bavier <bavier@member.fsf.org>
|
2019-09-23 08:38:50 +02:00
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
|
2014-07-18 21:36:09 +02:00
|
|
|
;;;
|
|
|
|
;;; 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 <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages datamash)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix licenses)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix build-system gnu)
|
2018-04-13 05:55:51 +02:00
|
|
|
#:use-module (gnu packages)
|
2014-07-18 21:36:09 +02:00
|
|
|
#:use-module (gnu packages perl)
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 17:21:21 +01:00
|
|
|
#:use-module (gnu packages base))
|
2014-07-18 21:36:09 +02:00
|
|
|
|
|
|
|
(define-public datamash
|
|
|
|
(package
|
|
|
|
(name "datamash")
|
2019-09-23 08:38:50 +02:00
|
|
|
(version "1.5")
|
2014-07-18 21:36:09 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/datamash/datamash-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-09-23 08:38:50 +02:00
|
|
|
"1b91pbdarnfmbhid8aa2f50k0fln8n7pg62782b4y0jlzvaljqi2"))))
|
2014-07-18 21:36:09 +02:00
|
|
|
(native-inputs
|
|
|
|
`(("which" ,which) ;for tests
|
|
|
|
("perl" ,perl))) ;for help2man
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(home-page "https://www.gnu.org/software/datamash/")
|
|
|
|
(synopsis "Scriptable statistics and data calculation")
|
|
|
|
(description
|
|
|
|
"Perform basic numeric, textual and statistical operations on plain text
|
|
|
|
files. Designed to work within standard pipelines without additional code.")
|
2014-09-03 15:22:49 +02:00
|
|
|
(license gpl3+)))
|