python.pkgs.celery: 4.3.0rc1 -> 4.3.0
This commit is contained in:
parent
ccb6fee205
commit
2d1dbba6ed
1 changed files with 7 additions and 2 deletions
|
@ -4,13 +4,18 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "celery";
|
||||
version = "4.3.0rc1";
|
||||
version = "4.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1jmg47l0b3bnwmg44x48bwziwyk6xqs1y5plvr99a3ikz1l807yf";
|
||||
sha256 = "4c4532aa683f170f40bd76f928b70bc06ff171a959e06e71bf35f2f9d6031ef9";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements/test.txt \
|
||||
--replace "pytest>=4.3.1,<4.4.0" pytest
|
||||
'';
|
||||
|
||||
# make /etc/protocols accessible to fix socket.getprotobyname('tcp') in sandbox
|
||||
preCheck = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols \
|
||||
|
|
Loading…
Reference in a new issue