Update license headers.
[jackhill/guix/guix.git] / distro / packages / time.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.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 (distro packages time)
20 #:use-module (guix licenses)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu))
24
25 (define-public time
26 (package
27 (name "time")
28 (version "1.7")
29 (source
30 (origin
31 (method url-fetch)
32 (uri (string-append "mirror://gnu/time/time-"
33 version ".tar.gz"))
34 (sha256
35 (base32
36 "0va9063fcn7xykv658v2s9gilj2fq4rcdxx2mn2mmy1v4ndafzp3"))))
37 (build-system gnu-build-system)
38 (home-page "http://www.gnu.org/software/time/")
39 (synopsis
40 "GNU Time, a tool that runs programs and summarizes the system
41 resources they use")
42 (description
43 "The 'time' command runs another program, then displays information
44 about the resources used by that program, collected by the system while
45 the program was running. You can select which information is reported
46 and the format in which it is shown, or have 'time' save the information
47 in a file instead of displaying it on the screen.
48
49 The resources that 'time' can report on fall into the general categories
50 of time, memory, and I/O and IPC calls. Some systems do not provide
51 much information about program resource use; 'time' reports unavailable
52 information as zero values.
53 ")
54 (license gpl2+)))