diff options
author | Robert T. McGibbon <rmcgibbo@gmail.com> | 2020-12-29 15:45:59 -0500 |
---|---|---|
committer | Robert T. McGibbon <rmcgibbo@gmail.com> | 2020-12-29 23:33:30 -0500 |
commit | 1c094a76c041a6dfb1890476ab9aa0ca6412d727 (patch) | |
tree | d75a65c934ac88864fee42f35a6c3377e9ce6880 /pkgs | |
parent | 15614fbe39bb91ac2437f3afec02993ed0a4c867 (diff) |
python39Packages.billiard: unbreak
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/billiard/default.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/billiard/default.nix b/pkgs/development/python-modules/billiard/default.nix index 5bccf79245257..ff87ba2e66916 100644 --- a/pkgs/development/python-modules/billiard/default.nix +++ b/pkgs/development/python-modules/billiard/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPythonPackage, fetchPypi, isPyPy, pytest, case, psutil }: +{ stdenv, buildPythonPackage, fetchPypi, isPyPy, pytestCheckHook, case, psutil, fetchpatch }: buildPythonPackage rec { pname = "billiard"; @@ -9,11 +9,15 @@ buildPythonPackage rec { inherit pname version; sha256 = "0spssl3byzqsplra166d59jx8iqfxyzvcbx7vybkmwr5ck72a5yr"; }; + patches = [(fetchpatch { + # Add Python 3.9 support to spawnv_passfds() + # Should be included in next release after 3.6.3.0 + url = "https://github.com/celery/billiard/pull/310/commits/a508ebafadcfe2e25554b029593f3e66d01ede6c.patch"; + sha256 = "05zsr1bvjgi01qg7r274c0qvbn65iig3clyz14c08mpfyn38h84i"; + excludes = [ "tox.ini" ]; + })]; - checkInputs = [ pytest case psutil ]; - checkPhase = '' - pytest - ''; + checkInputs = [ pytestCheckHook case psutil ]; meta = with stdenv.lib; { homepage = "https://github.com/celery/billiard"; |