depot/third_party/nixpkgs/pkgs/development/python-modules/pyro5/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

37 lines
827 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, stdenv
, serpent
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "Pyro5";
version = "5.14";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ZP3OE3sP5TLohhTSRrfJi74KT0JnhsUkU5rNxeaUCGo=";
};
propagatedBuildInputs = [ serpent ];
checkInputs = [ pytestCheckHook ];
# ignore network related tests, which fail in sandbox
disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" "TestNameServer" "TestBCSetup" ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
"Socket"
];
meta = with lib; {
description = "Distributed object middleware for Python (RPC)";
homepage = "https://github.com/irmen/Pyro5";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}