2017-11-20 13:00:43 +00:00
|
|
|
{ buildPythonPackage
|
2018-09-07 06:38:41 +00:00
|
|
|
, fetchFromGitHub
|
2017-11-20 13:00:43 +00:00
|
|
|
, mock
|
|
|
|
, unittest2
|
2018-09-07 06:38:41 +00:00
|
|
|
, msgpack
|
2017-11-20 13:00:43 +00:00
|
|
|
, requests
|
|
|
|
, flask
|
|
|
|
, gevent
|
|
|
|
, pyzmq
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "locustio";
|
2018-09-07 06:38:41 +00:00
|
|
|
version = "0.9.0";
|
2017-11-20 13:00:43 +00:00
|
|
|
|
2018-09-07 06:38:41 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "locustio";
|
|
|
|
repo = "locust";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "1645d63ig4ymw716b6h53bhmjqqc13p9r95k1xfx66ck6vdqnisd";
|
2017-11-20 13:00:43 +00:00
|
|
|
};
|
|
|
|
|
2018-09-07 06:38:41 +00:00
|
|
|
propagatedBuildInputs = [ msgpack requests flask gevent pyzmq ];
|
2017-11-20 13:00:43 +00:00
|
|
|
buildInputs = [ mock unittest2 ];
|
|
|
|
|
|
|
|
meta = {
|
2018-03-25 05:04:25 +00:00
|
|
|
homepage = https://locust.io/;
|
2017-11-20 13:00:43 +00:00
|
|
|
description = "A load testing tool";
|
|
|
|
};
|
|
|
|
}
|