63a3c7c636
Greenlet is provided as a built-in package on pypy and uninstalling and replacing it does not work. Set it to null, to make it disappear as a dependency, instead of marking it as disabled, which also disables reverse dependencies. Co-Authored-By: Jean-Paul Calderone <exarkun@twistedmatrix.com>
37 lines
776 B
Nix
37 lines
776 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPyPy
|
|
, objgraph
|
|
, psutil
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
|
|
buildPythonPackage rec {
|
|
pname = "greenlet";
|
|
version = "2.0.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-58jcE699sJe+1koFHS3Unp8K9JXCaZXACp7oQmkNNMA=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
objgraph
|
|
psutil
|
|
pytestCheckHook
|
|
];
|
|
|
|
doCheck = false; # installed tests need to be executed, not sure how to accomplish that
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/python-greenlet/greenlet";
|
|
description = "Module for lightweight in-process concurrent programming";
|
|
license = with licenses; [
|
|
psfl # src/greenlet/slp_platformselect.h & files in src/greenlet/platform/ directory
|
|
mit
|
|
];
|
|
};
|
|
}
|