summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2014-07-18 14:36:09 -0500
committerEric Bavier <bavier@member.fsf.org>2014-07-18 14:40:15 -0500
commit501aa54f7dac3aadcb6c2c8c5febff50f6390d9d (patch)
tree517fb755f0efb75339d31e35c73d25d5cbc7a84b /gnu
parent7a5c329b920999e4eaaaf1d78bed3b403db4478e (diff)
gnu: Add datamash.
* gnu/packages/datamash.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/datamash.scm48
1 files changed, 48 insertions, 0 deletions
diff --git a/gnu/packages/datamash.scm b/gnu/packages/datamash.scm
new file mode 100644
index 00000000000..543cd038d37
--- /dev/null
+++ b/gnu/packages/datamash.scm
@@ -0,0 +1,48 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
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
19(define-module (gnu packages datamash)
20 #:use-module (guix packages)
21 #:use-module (guix licenses)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu)
24 #:use-module (gnu packages perl)
25 #:use-module (gnu packages which))
26
27(define-public datamash
28 (package
29 (name "datamash")
30 (version "1.0.5")
31 (source
32 (origin
33 (method url-fetch)
34 (uri (string-append "mirror://gnu/datamash/datamash-"
35 version ".tar.gz"))
36 (sha256
37 (base32
38 "0f4rbbhl18fb851npza9cl8biynzr081f37ih2xsbvjlyrxhnz6b"))))
39 (native-inputs
40 `(("which" ,which) ;for tests
41 ("perl" ,perl))) ;for help2man
42 (build-system gnu-build-system)
43 (home-page "https://www.gnu.org/software/datamash/")
44 (synopsis "Scriptable statistics and data calculation")
45 (description
46 "Perform basic numeric, textual and statistical operations on plain text
47files. Designed to work within standard pipelines without additional code.")
48 (license gpl3)))