summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/time/package.py
blob: 3d013d13fb92b30118354daa1b87e69dbeb06e78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)


from spack.package import *


class Time(AutotoolsPackage, GNUMirrorPackage):
    """The time command runs another program, then displays
    information about the resources used by that program."""

    homepage = "https://www.gnu.org/software/time/"
    gnu_mirror_path = "time/time-1.9.tar.gz"

    license("GPL-3.0-only")

    version("1.9", sha256="fbacf0c81e62429df3e33bda4cee38756604f18e01d977338e23306a3e3b521e")

    build_directory = "spack-build"