2014-07-18 19:36:09 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2018-04-13 03:55:51 +00:00
|
|
|
;;; Copyright © 2014, 2018 Eric Bavier <bavier@member.fsf.org>
|
2018-12-23 14:37:20 +00:00
|
|
|
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
2014-07-18 19:36:09 +00: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 03:55:51 +00:00
|
|
|
#:use-module (gnu packages)
|
2014-07-18 19:36:09 +00: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 16:21:21 +00:00
|
|
|
#:use-module (gnu packages base))
|
2014-07-18 19:36:09 +00:00
|
|
|
|
|
|
|
(define-public datamash
|
|
|
|
(package
|
|
|
|
(name "datamash")
|
2018-12-23 14:37:20 +00:00
|
|
|
(version "1.4")
|
2014-07-18 19:36:09 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/datamash/datamash-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-12-23 14:37:20 +00:00
|
|
|
"0aj7wvv14s2fsf2rl49mqhxdagy8cbz6rz4xyi7bkg2nahnxsi7s"))))
|
2014-07-18 19:36:09 +00: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 13:22:49 +00:00
|
|
|
(license gpl3+)))
|