aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/time.scm
blob: 695ca0a2b369a6e589c1586f3ae1eec98f512447 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
;;;
;;; 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 time)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public time
  (package
    (name "time")
    (version "1.7")
    (source
     (origin
      (method url-fetch)
      (uri (string-append "mirror://gnu/time/time-"
                          version ".tar.gz"))
      (sha256
       (base32
        "0va9063fcn7xykv658v2s9gilj2fq4rcdxx2mn2mmy1v4ndafzp3"))))
    (build-system gnu-build-system)
    (arguments
     '(#:phases
       (alist-replace 'configure
                      (lambda* (#:key outputs #:allow-other-keys)
                        ;; This old `configure' script doesn't support
                        ;; variables passed as arguments.
                        (let ((out (assoc-ref outputs "out")))
                          (setenv "CONFIG_SHELL" (which "bash"))
                          (zero?
                           (system* "./configure"
                                    (string-append "--prefix=" out)))))
                      %standard-phases)))
    (home-page "http://www.gnu.org/software/time/")
    (synopsis "Run a command, then display its resource usage")
    (description
     "Time is a command that displays information about the resources that a
program uses.  The display output of the program can be customized or saved
to a file.")
    (license gpl2+)))
/gnu/packages/rust.scm?id=fe61c88af93a230bee9aebb9c6c3836d153a4e0f'>gnu: rust: Update to 1.24.0....Nikolai Merinov 2018-04-16gnu: rust: Enable more tests....Nikolai Merinov 2018-04-15gnu: Factorize rust-bootstrapped-package....Danny Milosavljevic 2018-04-15gnu: Add rust@1.19.0....Danny Milosavljevic 2018-03-30gnu: rust: Update rust to 1.24.1....Nikolai Merinov 2018-03-20Correct name and Email for ng0....ng0 2018-01-29gnu: cargo-version: Fix URI in comment....Tobias Geerinckx-Rice 2017-12-11gnu: cargo: Add file-name field to input sources....Efraim Flashner 2017-12-11gnu: rust: Add support for all platforms....Efraim Flashner 2017-12-11gnu: %rust-bootstrap-binaries: Add missing catch-all entry....Efraim Flashner 2017-12-11gnu: rust: Update rust to 1.22.1 and cargo to 1.23.0....Nikolai Merinov 2017-11-19Update email address for ng0.ng0 2017-06-20gnu: rustc: Enable tests....Danny Milosavljevic 2017-04-21gnu: cargo: Simplify unpacking....Danny Milosavljevic 2017-04-10gnu: rustc: Update to 1.16.0. gnu: cargo: Update to 0.17.0....Danny Milosavljevic 2017-03-23gnu: rustc: Simplify configure phase....Danny Milosavljevic 2017-03-22gnu: rustc: Honor max line length....Danny Milosavljevic 2017-03-22gnu: rustc: End resultless phases in #t....Danny Milosavljevic 2017-03-18gnu: rustc: Fix process test....Danny Milosavljevic 2017-03-17gnu: cargo: Use upstream cargo....Danny Milosavljevic 2017-03-17gnu: rust: Update to 1.15.0....Danny Milosavljevic 2017-02-10gnu: rustc: Add native-search-paths....Ben Woodcroft 2017-01-09gnu: rustc: Retain binutils....David Craven 2017-01-04build-system: cargo: Use correct cargo....David Craven 2017-01-04gnu: Add cargo....David Craven 2016-12-29gnu: rustc: Update to 1.14.0....ng0 2016-12-14gnu: Add rustc....David Craven 2016-12-14gnu: Add rust bootstrap binaries....David Craven