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