aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/locustio
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-03-24 10:15:32 +0100
committerKatharina Fey <kookie@spacekookie.de>2020-03-24 10:15:32 +0100
commit96f063dd321abc80ecaa156226cfb7cf9540315a (patch)
tree7a53ef61484fc7bfff6419b1fd635c67199f27d2 /nixpkgs/pkgs/development/python-modules/locustio
parentaf58f08d3d524e7b008b73a8497ea710915ffaf1 (diff)
parentd96bd3394b734487d1c3bfbac0e8f17465e03afe (diff)
Merge commit 'd96bd3394b734487d1c3bfbac0e8f17465e03afe'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/locustio')
-rw-r--r--nixpkgs/pkgs/development/python-modules/locustio/default.nix23
1 files changed, 14 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/locustio/default.nix b/nixpkgs/pkgs/development/python-modules/locustio/default.nix
index 2203fa4c6ad..0b64fc39feb 100644
--- a/nixpkgs/pkgs/development/python-modules/locustio/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/locustio/default.nix
@@ -1,17 +1,18 @@
-{ buildPythonPackage
-, fetchFromGitHub
-, mock
-, unittest2
-, msgpack
-, requests
+{ buildPythonPackage, fetchFromGitHub, isPy38
, flask
, gevent
+, mock
+, msgpack
, pyzmq
+, requests
+, unittest2
}:
buildPythonPackage rec {
pname = "locustio";
- version = "0.9.0";
+ version = "0.14.4";
+ # tests hang on python38
+ disabled = isPy38;
src = fetchFromGitHub {
owner = "locustio";
@@ -21,10 +22,14 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [ msgpack requests flask gevent pyzmq ];
- buildInputs = [ mock unittest2 ];
+ checkInputs = [ mock unittest2 ];
+ # remove file which attempts to do GET request
+ preCheck = ''
+ rm locust/test/test_stats.py
+ '';
meta = {
- homepage = https://locust.io/;
+ homepage = "https://locust.io/";
description = "A load testing tool";
};
}