blob: 8851b0464146bb632bf4a4dae5254290cf285d1b (
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
38
39
40
41
42
43
44
|
{ stdenv
, buildPythonPackage
, fetchPypi
, lib
, python
, serpent
, dill
, cloudpickle
, msgpack
, isPy27
, isPy33
, selectors34
}:
buildPythonPackage rec {
pname = "Pyro4";
version = "4.75";
src = fetchPypi {
inherit pname version;
sha256 = "1dfpp36imddx19yv0kd28gk1l71ckhpqy6jd590wpm2680jw15rq";
};
propagatedBuildInputs = [
serpent
] ++ lib.optionals (isPy27 || isPy33) [ selectors34 ];
buildInputs = [
dill
cloudpickle
msgpack
];
checkPhase = ''
${python.interpreter} setup.py test
'';
meta = with stdenv.lib; {
description = "Distributed object middleware for Python (RPC)";
homepage = https://github.com/irmen/Pyro4;
license = licenses.mit;
maintainers = with maintainers; [ prusnak ];
};
}
|