2019-11-11 14:09:58 +01:00
|
|
|
{ stdenv, python3Packages }:
|
2018-03-31 12:18:28 +02:00
|
|
|
|
2019-11-11 14:09:58 +01:00
|
|
|
let
|
|
|
|
inherit (python3Packages) buildPythonApplication fetchPypi iowait psutil pyzmq tornado_4 mock;
|
|
|
|
in
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2018-03-31 12:18:28 +02:00
|
|
|
pname = "circus";
|
2020-03-31 04:28:35 +02:00
|
|
|
version = "0.16.1";
|
2018-03-31 12:18:28 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-31 04:28:35 +02:00
|
|
|
sha256 = "0paccmqwgard2l0z7swcc3nwc418l9b4mfaddb4s31bpnqg02z6x";
|
2018-03-31 12:18:28 +02:00
|
|
|
};
|
|
|
|
|
2018-09-21 00:18:13 +02:00
|
|
|
postPatch = ''
|
|
|
|
# relax version restrictions to fix build
|
|
|
|
substituteInPlace setup.py \
|
2019-11-11 14:09:58 +01:00
|
|
|
--replace "pyzmq>=13.1.0,<17.0" "pyzmq>13.1.0"
|
2018-09-21 00:18:13 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
checkInputs = [ mock ];
|
|
|
|
|
2018-03-31 12:18:28 +02:00
|
|
|
doCheck = false; # weird error
|
|
|
|
|
2019-11-11 14:09:58 +01:00
|
|
|
propagatedBuildInputs = [ iowait psutil pyzmq tornado_4 ];
|
2018-09-21 00:18:13 +02: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 12:18:28 +02:00
|
|
|
}
|