nixpkgs/pkgs/development/python-modules/pyro5/default.nix

34 lines
764 B
Nix
Raw Normal View History

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