summary refs log tree commit diff
path: root/pkgs/tools/networking/mqtt-benchmark/default.nix
blob: a2ab1b61520e8c4822529ce8a11ff74a9671fd22 (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
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "mqtt-benchmark";
  version = "0.2.0";

  src = fetchFromGitHub {
    owner = "krylovsk";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-gejLDtJ1geO4eDBapHjXgpc+M2TRGKcv5YzybmIyQSs=";
  };

  vendorHash = "sha256-ZN5tNDIisbhMMOA2bVJnE96GPdZ54HXTneFQewwJmHI=";

  meta = with lib; {
    description = "MQTT broker benchmarking tool";
    homepage = "https://github.com/krylovsk/mqtt-benchmark";
    changelog = "https://github.com/krylovsk/mqtt-benchmark/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}