1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "thespian";
10 version = "4.0.0";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 extension = "zip";
16 hash = "sha256-92krWgkXCmH7Qa0Q+0cY2KKwKjDeJYLA8I0DtSmoRog=";
17 };
18
19 build-system = [
20 setuptools
21 ];
22
23 # Do not run the test suite: it takes a long time and uses
24 # significant system resources, including requiring localhost
25 # network operations. Thespian tests are performed via its Travis
26 # CI configuration and do not need to be duplicated here.
27 doCheck = false;
28
29 pythonImportsCheck = [
30 "thespian"
31 "thespian.actors"
32 ];
33
34 meta = {
35 description = "Python Actor concurrency library";
36 homepage = "http://thespianpy.com/";
37 license = lib.licenses.mit;
38 maintainers = [ lib.maintainers.kquick ];
39 };
40}