mqtt-bench: init at 0.3.0

wip/yesman
Samuel Leathers 7 years ago
parent f170dbe16f
commit f8ad84ad23
  1. 32
      pkgs/applications/misc/mqtt-bench/default.nix
  2. 21
      pkgs/applications/misc/mqtt-bench/deps.nix
  3. 2
      pkgs/top-level/all-packages.nix

@ -0,0 +1,32 @@
{ stdenv, buildGoPackage, fetchFromGitHub, fetchpatch }:
buildGoPackage rec {
name = "mqtt-bench-${version}";
version = "0.3.0";
rev = "v${version}";
goPackagePath = "github.com/takanorig/mqtt-bench";
src = fetchFromGitHub {
inherit rev;
owner = "takanorig";
repo = "mqtt-bench";
sha256 = "03b9ak2j303iwq6abd7j10f2cs2ianwnbflwmyx9g96i7zd74f5m";
};
patches = [
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/takanorig/mqtt-bench/pull/13.patch";
name = "mqtt-paho-changes.patch";
sha256 = "17c8ajrp5dmbsasj6njxrlhy0x08b65fignzm3yccqbhb4ijcvha";
})
];
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "Mosquitto benchmark tool";
homepage = https://github.com/takanorig/mqtt-bench;
maintainers = with maintainers; [ disassembler ];
};
}

@ -0,0 +1,21 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
[
{
goPackagePath = "github.com/eclipse/paho.mqtt.golang";
fetch = {
type = "git";
url = "https://github.com/eclipse/paho.mqtt.golang";
rev = "65f43bda5f7edbbf6b7533d3a5a13b2c67cf3545";
sha256 = "1ad136xf78br599ya43j45f8dycjip1k0hkplayy1slg8ckwrhdr";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "8351a756f30f1297fe94bbf4b767ec589c6ea6d0";
sha256 = "0b6m579i3wrx1m69mqkdng5gjfssprxx0pg45kzrdi68sh0zr5d1";
};
}
]

@ -9733,6 +9733,8 @@ with pkgs;
mpeg2dec = libmpeg2;
mqtt-bench = callPackage ../applications/misc/mqtt-bench {};
msilbc = callPackage ../development/libraries/msilbc { };
mp4v2 = callPackage ../development/libraries/mp4v2 { };

Loading…
Cancel
Save