2016-08-18 13:02:37 +02:00
|
|
|
{stdenv, autoreconfHook, fetchFromGitHub, bison}:
|
|
|
|
|
2018-02-28 02:11:14 +01:00
|
|
|
let version = "1.1.1"; in
|
2016-08-18 13:02:37 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tcpkali-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "machinezone";
|
|
|
|
repo = "tcpkali";
|
|
|
|
rev = "v${version}";
|
2018-02-28 02:11:14 +01:00
|
|
|
sha256 = "09ky3cccaphcqc6nhfs00pps99lasmzc2pf5vk0gi8hlqbbhilxf";
|
2016-08-18 13:02:37 +02:00
|
|
|
};
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ bison];
|
2016-08-18 13:02:37 +02:00
|
|
|
meta = {
|
|
|
|
description = "High performance TCP and WebSocket load generator and sink";
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ ethercrow ];
|
|
|
|
};
|
|
|
|
}
|