Skip to content

Commit

Permalink
Merge pull request #147536 from fabaff/fix-tsung
Browse files Browse the repository at this point in the history
tsung: use Python 3
  • Loading branch information
fabaff authored Nov 27, 2021
2 parents e0c1bb7 + bf730c8 commit 8a3c016
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions pkgs/applications/networking/tsung/default.nix
Original file line number Diff line number Diff line change
@@ -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
];


Expand All @@ -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;
};
}

0 comments on commit 8a3c016

Please sign in to comment.