mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
33 lines
584 B
Nix
33 lines
584 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, mock
|
|
, unittest2
|
|
, msgpack-python
|
|
, requests
|
|
, flask
|
|
, gevent
|
|
, pyzmq
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "locustio";
|
|
version = "0.8.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "64583987ba1c330bb071aee3e29d2eedbfb7c8b342fa064bfb74fafcff660d61";
|
|
};
|
|
|
|
patchPhase = ''
|
|
sed -i s/"pyzmq=="/"pyzmq>="/ setup.py
|
|
'';
|
|
|
|
propagatedBuildInputs = [ msgpack-python requests flask gevent pyzmq ];
|
|
buildInputs = [ mock unittest2 ];
|
|
|
|
meta = {
|
|
homepage = http://locust.io/;
|
|
description = "A load testing tool";
|
|
};
|
|
}
|