pythonPackages.locustio: 0.8.1 -> 0.9.0 (#46191)
Fixing build issue. Additionally fetching from github becuase pypi packge does not come with README which is a buildtime dependency.
This commit is contained in:
parent
b1d6d159aa
commit
b5b48c0a91
@ -1,8 +1,8 @@
|
|||||||
{ buildPythonPackage
|
{ buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, mock
|
, mock
|
||||||
, unittest2
|
, unittest2
|
||||||
, msgpack-python
|
, msgpack
|
||||||
, requests
|
, requests
|
||||||
, flask
|
, flask
|
||||||
, gevent
|
, gevent
|
||||||
@ -11,18 +11,16 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "locustio";
|
pname = "locustio";
|
||||||
version = "0.8.1";
|
version = "0.9.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "locustio";
|
||||||
sha256 = "64583987ba1c330bb071aee3e29d2eedbfb7c8b342fa064bfb74fafcff660d61";
|
repo = "locust";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "1645d63ig4ymw716b6h53bhmjqqc13p9r95k1xfx66ck6vdqnisd";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
propagatedBuildInputs = [ msgpack requests flask gevent pyzmq ];
|
||||||
sed -i s/"pyzmq=="/"pyzmq>="/ setup.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ msgpack-python requests flask gevent pyzmq ];
|
|
||||||
buildInputs = [ mock unittest2 ];
|
buildInputs = [ mock unittest2 ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user