linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / billiard / default.nix
blob2d4eabf215eab663a6574c8c61dba32e289efa66
1 { lib, buildPythonPackage, fetchPypi, isPyPy, pytestCheckHook, case, psutil, fetchpatch }:
3 buildPythonPackage rec {
4   pname = "billiard";
5   version = "3.6.3.0";
6   disabled = isPyPy;
8   src = fetchPypi {
9     inherit pname version;
10     sha256 = "0spssl3byzqsplra166d59jx8iqfxyzvcbx7vybkmwr5ck72a5yr";
11   };
12   patches = [(fetchpatch {
13     # Add Python 3.9 support to spawnv_passfds()
14     # Should be included in next release after 3.6.3.0
15     url = "https://github.com/celery/billiard/pull/310/commits/a508ebafadcfe2e25554b029593f3e66d01ede6c.patch";
16     sha256 = "05zsr1bvjgi01qg7r274c0qvbn65iig3clyz14c08mpfyn38h84i";
17     excludes = [ "tox.ini" ];
18   })];
20   checkInputs = [ pytestCheckHook case psutil ];
22   meta = with lib; {
23     homepage = "https://github.com/celery/billiard";
24     description = "Python multiprocessing fork with improvements and bugfixes";
25     license = licenses.bsd3;
26   };