1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

pythonPackages.circus: fix build, add meta (#47066)

This commit is contained in:
xeji 2018-09-21 00:18:13 +02:00 committed by GitHub
parent 74cd060c86
commit 9c02914b42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ buildPythonPackage, fetchPypi { stdenv, buildPythonPackage, fetchPypi
, iowait, psutil, pyzmq, tornado, mock }: , iowait, psutil, pyzmq, tornado, mock }:
buildPythonPackage rec { buildPythonPackage rec {
@ -10,7 +10,22 @@ buildPythonPackage rec {
sha256 = "d1603cf4c4f620ce6593d3d2a67fad25bf0242183ea24110d8bb1c8079c55d1b"; sha256 = "d1603cf4c4f620ce6593d3d2a67fad25bf0242183ea24110d8bb1c8079c55d1b";
}; };
postPatch = ''
# relax version restrictions to fix build
substituteInPlace setup.py \
--replace "pyzmq>=13.1.0,<17.0" "pyzmq>13.1.0" \
--replace "tornado>=3.0,<5.0" "tornado>=3.0"
'';
checkInputs = [ mock ];
doCheck = false; # weird error doCheck = false; # weird error
propagatedBuildInputs = [ iowait psutil pyzmq tornado mock ]; propagatedBuildInputs = [ iowait psutil pyzmq tornado ];
meta = with stdenv.lib; {
description = "A process and socket manager";
homepage = "https://github.circus.com/circus-tent/circus";
license = licenses.asl20;
};
} }