diff --git a/pkgs/applications/networking/tsung/default.nix b/pkgs/applications/networking/tsung/default.nix index 346fd1752578..a811d7c73eda 100644 --- a/pkgs/applications/networking/tsung/default.nix +++ b/pkgs/applications/networking/tsung/default.nix @@ -1,25 +1,34 @@ -{ fetchurl, stdenv, lib, makeWrapper, - erlang, - python2, python2Packages, - perlPackages, - gnuplot }: +{ lib +, stdenv +, fetchurl +, makeWrapper +, erlang +, python3 +, python3Packages +, perlPackages +, gnuplot +}: stdenv.mkDerivation rec { pname = "tsung"; version = "1.7.0"; + src = fetchurl { url = "http://tsung.erlang-projects.org/dist/tsung-${version}.tar.gz"; sha256 = "6394445860ef34faedf8c46da95a3cb206bc17301145bc920151107ffa2ce52a"; }; - nativeBuildInputs = [ makeWrapper ]; + nativeBuildInputs = [ + makeWrapper + ]; + propagatedBuildInputs = [ erlang gnuplot perlPackages.perl perlPackages.TemplateToolkit - python2 - python2Packages.matplotlib + python3 + python3Packages.matplotlib ]; @@ -43,8 +52,8 @@ stdenv.mkDerivation rec { can currently be used to stress HTTP, WebDAV, SOAP, PostgreSQL, MySQL, AMQP, MQTT, LDAP and Jabber/XMPP servers. ''; - license = licenses.gpl2; - maintainers = [ maintainers.uskudnik ]; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ uskudnik ]; platforms = platforms.unix; }; }