2019-11-11 13:09:58 +00:00
|
|
|
{ stdenv, python3Packages }:
|
2018-03-31 11:18:28 +01:00
|
|
|
|
2019-11-11 13:09:58 +00:00
|
|
|
let
|
|
|
|
inherit (python3Packages) buildPythonApplication fetchPypi iowait psutil pyzmq tornado_4 mock;
|
|
|
|
in
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2018-03-31 11:18:28 +01:00
|
|
|
pname = "circus";
|
2018-06-21 06:37:16 +01:00
|
|
|
version = "0.15.0";
|
2018-03-31 11:18:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-21 06:37:16 +01:00
|
|
|
sha256 = "d1603cf4c4f620ce6593d3d2a67fad25bf0242183ea24110d8bb1c8079c55d1b";
|
2018-03-31 11:18:28 +01:00
|
|
|
};
|
|
|
|
|
2018-09-20 23:18:13 +01:00
|
|
|
postPatch = ''
|
|
|
|
# relax version restrictions to fix build
|
|
|
|
substituteInPlace setup.py \
|
2019-11-11 13:09:58 +00:00
|
|
|
--replace "pyzmq>=13.1.0,<17.0" "pyzmq>13.1.0"
|
2018-09-20 23:18:13 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
checkInputs = [ mock ];
|
|
|
|
|
2018-03-31 11:18:28 +01:00
|
|
|
doCheck = false; # weird error
|
|
|
|
|
2019-11-11 13:09:58 +00:00
|
|
|
propagatedBuildInputs = [ iowait psutil pyzmq tornado_4 ];
|
2018-09-20 23:18:13 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A process and socket manager";
|
|
|
|
homepage = "https://github.circus.com/circus-tent/circus";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
2018-03-31 11:18:28 +01:00
|
|
|
}
|