aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/networking/vegeta/default.nix
blob: 16abe8c60335ef5c2126f66170a4263575419fc9 (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
{ lib, fetchFromGitHub, buildGoPackage }:

buildGoPackage rec {
  pname = "vegeta";
  version = "12.8.4";

  src = fetchFromGitHub {
    owner  = "tsenart";
    repo   = pname;
    rev    = "v${version}";
    sha256 = "0sw10k4g370c544dgw2c1sqdnxryld8lf6c1wnyknrm3zsfzn1hl";
  };

  goPackagePath = "github.com/tsenart/${pname}";

  goDeps = ./deps.nix;

  meta = with lib; {
    description = "Versatile HTTP load testing tool";
    license = licenses.mit;
    homepage = "https://github.com/tsenart/vegeta/";
    maintainers = [ maintainers.mmahut ];
  };
}