blob: 56f179b22ca7a94f8afd8c5c3f96b62681d14543 (
plain) (
blame)
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
|
{ lib
, buildGoModule
, fetchFromGitHub
, testers
, bombardier
}:
buildGoModule rec {
pname = "bombardier";
version = "1.2.6";
src = fetchFromGitHub {
owner = "codesenberg";
repo = "bombardier";
rev = "v${version}";
hash = "sha256-sJ5+nxfyWSN6dFlA4INaqa3UHTY7huYkZhaTidMJFAs=";
};
vendorHash = "sha256-SxW/87l1w86H5cxEhiF/Fj8SxJ/uAfhtc7I1DVvIilk=";
subPackages = [
"."
];
ldflags = [
"-s"
"-w"
"-X=main.version=${version}"
];
__darwinAllowLocalNetworking = true;
passthru.tests = {
version = testers.testVersion {
package = bombardier;
};
};
meta = with lib; {
description = "Fast cross-platform HTTP benchmarking tool written in Go";
homepage = "https://github.com/codesenberg/bombardier";
changelog = "https://github.com/codesenberg/bombardier/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}
|