7 stdenv.mkDerivation (finalAttrs: {
12 url = "mirror://gnu/time/time-${finalAttrs.version}.tar.gz";
13 hash = "sha256-+6zwyB5iQp3z4zvaTO44dWYE8Y4B2XczjiMwaj47Uh4=";
17 # fixes cross-compilation to riscv64-linux
18 ./time-1.9-implicit-func-decl-clang.patch
22 description = "Tool that runs programs and summarizes the system resources they use";
24 The `time' command runs another program, then displays
25 information about the resources used by that program, collected
26 by the system while the program was running. You can select
27 which information is reported and the format in which it is
28 shown, or have `time' save the information in a file instead of
29 displaying it on the screen.
31 The resources that `time' can report on fall into the general
32 categories of time, memory, and I/O and IPC calls. Some systems
33 do not provide much information about program resource use;
34 `time' reports unavailable information as zero values.
36 license = lib.licenses.gpl3Plus;
37 homepage = "https://www.gnu.org/software/time/";
38 platforms = lib.platforms.unix;