Add `guix-gc'.
[jackhill/guix/guix.git] / distro / packages / time.scm
CommitLineData
b147f59f
NK
1;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*-
2;;; Copyright (C) 2012 Nikita Karetnikov <nikita@karetnikov.org>
3;;;
4;;; This file is part of Guix.
5;;;
6;;; 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;;; 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 Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (distro packages time)
4a44e743 20 #:use-module (guix licenses)
b147f59f
NK
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
41resources they use")
42 (description
43 "The 'time' command runs another program, then displays information
44about the resources used by that program, collected by the system while
45the program was running. You can select which information is reported
46and the format in which it is shown, or have 'time' save the information
47in a file instead of displaying it on the screen.
48
49The resources that 'time' can report on fall into the general categories
50of time, memory, and I/O and IPC calls. Some systems do not provide
51much information about program resource use; 'time' reports unavailable
52information as zero values.
53")
4a44e743 54 (license gpl2+)))