depot/third_party/nixpkgs/pkgs/development/python-modules/billiard/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

43 lines
794 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, case
, psutil
, pythonOlder
}:
buildPythonPackage rec {
pname = "billiard";
version = "4.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-NE2aHX063fFx6yxZbJ6Y0e/4Gw4D8fk5iTmjUYyiY6k=";
};
checkInputs = [
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";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}