blob: 4d829f3d64731ff17c98cb350aae205df9577579 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ lib
, buildPythonPackage
, fetchPypi
, six
, isPyPy
, python
}:
buildPythonPackage rec {
pname = "greenlet";
version = "1.1.0";
disabled = isPyPy; # builtin for pypy
src = fetchPypi {
inherit pname version;
sha256 = "c87df8ae3f01ffb4483c796fe1b15232ce2b219f0b18126948616224d3f658ee";
};
checkPhase = ''
runHook preCheck
${python.interpreter} -m unittest discover -v greenlet.tests
runHook postCheck
'';
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
];
};
}
|