nixpkgs-suyu/pkgs/development/python-modules/locustio/default.nix
Ryan Mulligan b189247ba0 treewide: use more HTTPS URLs
Uses the HTTPS url for cases where the existing URL has a permanent
redirect. For each domain, at least one fixed derivation URL was
downloaded to test the domain is properly serving downloads.

Also fixes jbake source URL, which was broken.
2018-03-24 22:04:25 -07:00

32 lines
585 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 = https://locust.io/;
description = "A load testing tool";
};
}