depot/third_party/nixpkgs/pkgs/development/python-modules/greenlet/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

38 lines
810 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPyPy
, objgraph
, psutil
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "greenlet";
version = "2.0.1";
format = "setuptools";
disabled = isPyPy; # builtin for pypy
src = fetchPypi {
inherit pname version;
hash = "sha256-QuYCVkRg2g6O5ny21yNjY+5eExqhWUO2Zw5E5cLtD2c=";
};
checkInputs = [
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
];
};
}