2017-11-20 13:00:43 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, mock
|
|
|
|
, unittest2
|
2018-02-10 13:15:18 +00:00
|
|
|
, msgpack-python
|
2017-11-20 13:00:43 +00:00
|
|
|
, requests
|
|
|
|
, flask
|
|
|
|
, gevent
|
|
|
|
, pyzmq
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "locustio";
|
2017-11-24 19:36:20 +00:00
|
|
|
version = "0.8.1";
|
2017-11-20 13:00:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-11-24 19:36:20 +00:00
|
|
|
sha256 = "64583987ba1c330bb071aee3e29d2eedbfb7c8b342fa064bfb74fafcff660d61";
|
2017-11-20 13:00:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i s/"pyzmq=="/"pyzmq>="/ setup.py
|
|
|
|
'';
|
|
|
|
|
2018-02-10 13:15:18 +00:00
|
|
|
propagatedBuildInputs = [ msgpack-python requests flask gevent pyzmq ];
|
2017-11-20 13:00:43 +00:00
|
|
|
buildInputs = [ mock unittest2 ];
|
|
|
|
|
|
|
|
meta = {
|
2018-03-25 06:04:25 +01:00
|
|
|
homepage = https://locust.io/;
|
2017-11-20 13:00:43 +00:00
|
|
|
description = "A load testing tool";
|
|
|
|
};
|
|
|
|
}
|