Merge pull request #147536 from fabaff/fix-tsung

tsung: use Python 3
This commit is contained in:
Fabian Affolter 2021-11-27 09:15:38 +01:00 committed by GitHub
commit 8a3c0169f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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