depot/third_party/nixpkgs/pkgs/development/python-modules/billiard/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

41 lines
849 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
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 = [
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 = [ ];
};
}