pythonPackages.locustio: 0.7.2 -> 0.8

This commit is contained in:
adisbladis 2017-11-20 21:00:43 +08:00 committed by Frederik Rietdijk
parent 879f23ea1b
commit 4ae5f31403
2 changed files with 33 additions and 16 deletions

View File

@ -0,0 +1,32 @@
{ buildPythonPackage
, fetchPypi
, mock
, unittest2
, msgpack
, requests
, flask
, gevent
, pyzmq
}:
buildPythonPackage rec {
pname = "locustio";
version = "0.8";
src = fetchPypi {
inherit pname version;
sha256 = "0y3r2g31z7g120c7v91zdvcakwfxv2acbgs4flarv5yza2knl11c";
};
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";
};
}

View File

@ -10463,22 +10463,7 @@ in {
fuse = pkgs.fuse; # use "real" fuse, not the python module
};
locustio = buildPythonPackage rec {
name = "locustio-0.7.2";
src = pkgs.fetchurl {
url = "mirror://pypi/l/locustio/${name}.tar.gz";
sha256 = "c9ca6fdfe6a6fb187a3d54ddf9b1518196348e8f20537f0a14ca81a264ffafa2";
};
propagatedBuildInputs = [ self.msgpack self.requests self.flask self.gevent self.pyzmq ];
buildInputs = [ self.mock self.unittest2 ];
meta = {
homepage = http://locust.io/;
description = "A load testing tool";
};
};
locustio = callPackage ../development/python-modules/locustio { };
llvmlite = callPackage ../development/python-modules/llvmlite {llvm=pkgs.llvm_4;};