default.nix (576B)
1 { 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 }: 6 7 buildGoModule rec { 8 pname = "mqtt-benchmark"; 9 version = "0.2.0"; 10 11 src = fetchFromGitHub { 12 owner = "krylovsk"; 13 repo = "mqtt-benchmark"; 14 rev = "v${version}"; 15 hash = "sha256-gejLDtJ1geO4eDBapHjXgpc+M2TRGKcv5YzybmIyQSs="; 16 }; 17 18 vendorHash = "sha256-ZN5tNDIisbhMMOA2bVJnE96GPdZ54HXTneFQewwJmHI="; 19 20 meta = { 21 description = "MQTT broker benchmarking tool"; 22 homepage = "https://github.com/krylovsk/mqtt-benchmark"; 23 license = lib.licenses.asl20; 24 maintainers = [ lib.maintainers.sikmir ]; 25 }; 26 }