tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
hyperfine: 1.11.0 -> 1.12.0, add figsoda as a maintainer
figsoda
4 years ago
685decb3
2921a9a7
+12
-7
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
hyperfine
default.nix
+12
-7
pkgs/tools/misc/hyperfine/default.nix
···
1
-
{ lib, stdenv, fetchCrate, rustPlatform, installShellFiles
0
0
0
0
2
, Security
3
}:
4
5
rustPlatform.buildRustPackage rec {
6
pname = "hyperfine";
7
-
version = "1.11.0";
8
9
src = fetchCrate {
10
inherit pname version;
11
-
sha256 = "0dla2jzwcxkdx3n4fqkkh6wirqs2f31lvqsw2pjf1jbnnif54mzh";
12
};
13
14
-
cargoSha256 = "13dd5x0mr1pqcba48w9v5jjpddapd7gk34d4bysbjqsriwpbrdgp";
15
16
nativeBuildInputs = [ installShellFiles ];
17
buildInputs = lib.optional stdenv.isDarwin Security;
···
26
27
meta = with lib; {
28
description = "Command-line benchmarking tool";
29
-
homepage = "https://github.com/sharkdp/hyperfine";
30
-
license = with licenses; [ asl20 /* or */ mit ];
31
-
maintainers = [ maintainers.thoughtpolice ];
0
32
};
33
}
···
1
+
{ lib
2
+
, rustPlatform
3
+
, fetchCrate
4
+
, installShellFiles
5
+
, stdenv
6
, Security
7
}:
8
9
rustPlatform.buildRustPackage rec {
10
pname = "hyperfine";
11
+
version = "1.12.0";
12
13
src = fetchCrate {
14
inherit pname version;
15
+
sha256 = "sha256-Vs754nvtYV5d736xsZ2foawfxMc25bUfMhm8Vxqxw6U=";
16
};
17
18
+
cargoSha256 = "sha256-X9WFnKP2+GM8V1kyd5VxpwBXql8Be5mugBVGrYdSsaM=";
19
20
nativeBuildInputs = [ installShellFiles ];
21
buildInputs = lib.optional stdenv.isDarwin Security;
···
30
31
meta = with lib; {
32
description = "Command-line benchmarking tool";
33
+
homepage = "https://github.com/sharkdp/hyperfine";
34
+
changelog = "https://github.com/sharkdp/hyperfine/blob/v${version}/CHANGELOG.md";
35
+
license = with licenses; [ asl20 /* or */ mit ];
36
+
maintainers = with maintainers; [ figsoda thoughtpolice ];
37
};
38
}