nixpkgs-suyu/pkgs/development/python-modules/locustio/default.nix

33 lines
570 B
Nix
Raw Normal View History

2017-11-20 14:00:43 +01:00
{ buildPythonPackage
, fetchPypi
, mock
, unittest2
, msgpack
, requests
, flask
, gevent
, pyzmq
}:
buildPythonPackage rec {
pname = "locustio";
2017-11-24 20:36:20 +01:00
version = "0.8.1";
2017-11-20 14:00:43 +01:00
src = fetchPypi {
inherit pname version;
2017-11-24 20:36:20 +01:00
sha256 = "64583987ba1c330bb071aee3e29d2eedbfb7c8b342fa064bfb74fafcff660d61";
2017-11-20 14:00:43 +01:00
};
patchPhase = ''
sed -i s/"pyzmq=="/"pyzmq>="/ setup.py
'';
propagatedBuildInputs = [ msgpack requests flask gevent pyzmq ];
buildInputs = [ mock unittest2 ];
meta = {
homepage = http://locust.io/;
description = "A load testing tool";
};
}