summary refs log tree commit diff
path: root/pkgs/development/python-modules/greenlet/default.nix
blob: 3c5049a8a619c1f21e7f2f7832a04603faa657bc (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
35
36
37
{ 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
    ];
  };
}