e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
44 lines
881 B
Nix
44 lines
881 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, case
|
|
, psutil
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "billiard";
|
|
version = "4.2.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-mjwxhMsnWqF6cy+T9lsgxSXT2fJTci0mqCGUgDreWiw=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
case
|
|
psutil
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTests = [
|
|
# psutil.NoSuchProcess: process no longer exists (pid=168)
|
|
"test_set_pdeathsig"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"billiard"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python multiprocessing fork with improvements and bugfixes";
|
|
homepage = "https://github.com/celery/billiard";
|
|
changelog = "https://github.com/celery/billiard/blob/v${version}/CHANGES.txt";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|