1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00
nixpkgs/pkgs/tools/networking/circus/default.nix

34 lines
786 B
Nix
Raw Normal View History

{ stdenv, python3Packages }:
let
inherit (python3Packages) buildPythonApplication fetchPypi iowait psutil pyzmq tornado_4 mock;
in
buildPythonApplication rec {
pname = "circus";
2020-03-31 03:28:35 +01:00
version = "0.16.1";
src = fetchPypi {
inherit pname version;
2020-03-31 03:28:35 +01:00
sha256 = "0paccmqwgard2l0z7swcc3nwc418l9b4mfaddb4s31bpnqg02z6x";
};
postPatch = ''
# relax version restrictions to fix build
substituteInPlace setup.py \
--replace "pyzmq>=13.1.0,<17.0" "pyzmq>13.1.0"
'';
checkInputs = [ mock ];
doCheck = false; # weird error
propagatedBuildInputs = [ iowait psutil pyzmq tornado_4 ];
meta = with stdenv.lib; {
description = "A process and socket manager";
homepage = "https://github.circus.com/circus-tent/circus";
license = licenses.asl20;
};
}