12 stdenv.mkDerivation rec {
17 url = "http://tsung.erlang-projects.org/dist/tsung-${version}.tar.gz";
18 hash = "sha256-kehkMCYBfj0AiKZxD7EcT2F0d+gm6+TF/lhqpjFH/JI=";
25 propagatedBuildInputs = [
29 perlPackages.TemplateToolkit
31 python3Packages.matplotlib
36 # Make tsung_stats.pl accessible
37 # Leaving .pl at the end since all of tsung documentation is refering to it
39 ln -s $out/lib/tsung/bin/tsung_stats.pl $out/bin/tsung_stats.pl
41 # Add Template Toolkit and gnuplot to tsung_stats.pl
42 wrapProgram $out/bin/tsung_stats.pl \
43 --prefix PATH : ${lib.makeBinPath [ gnuplot ]} \
44 --set PERL5LIB "${perlPackages.makePerlPath [ perlPackages.TemplateToolkit ]}"
48 homepage = "http://tsung.erlang-projects.org/";
49 changelog = "https://github.com/processone/tsung/blob/v${version}/CHANGELOG.md";
50 description = "A high-performance benchmark framework for various protocols including HTTP, XMPP, LDAP, etc";
52 Tsung is a distributed load testing tool. It is protocol-independent and
53 can currently be used to stress HTTP, WebDAV, SOAP, PostgreSQL, MySQL,
54 AMQP, MQTT, LDAP and Jabber/XMPP servers.
56 license = licenses.gpl2Plus;
57 maintainers = with maintainers; [ uskudnik ];
58 platforms = platforms.unix;