2019-12-02 12:39:42 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
, serpent
|
|
|
|
, pythonOlder
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Pyro5";
|
2020-06-06 08:47:26 +02:00
|
|
|
version = "5.10";
|
2019-12-02 12:39:42 +01:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 08:47:26 +02:00
|
|
|
sha256 = "e518e2a3375bc04c073f7c8c82509d314b00fa2f65cead9f134ebe42a922b360";
|
2019-12-02 12:39:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ serpent ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
# ignore network related tests, which fail in sandbox
|
2020-06-21 18:56:22 +02:00
|
|
|
disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" "TestNameServer" "TestBCSetup" ];
|
2019-12-02 12:39:42 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Distributed object middleware for Python (RPC)";
|
|
|
|
homepage = "https://github.com/irmen/Pyro5";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|