mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
python39Packages.billiard: unbreak
This commit is contained in:
parent
15614fbe39
commit
1c094a76c0
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user