···22, buildPythonPackage33, fetchPypi44, mock55-, twisted65, pyopenssl66+, pytestCheckHook77, service-identity88+, twisted89}:9101011buildPythonPackage rec {1112 pname = "foolscap";1212- version = "20.4.0";1313+ version = "21.7.0";13141415 src = fetchPypi {1516 inherit pname version;1616- sha256 = "0rbw9makjmawkcxnkkngybj3n14s0dnzn9gkqqq2krcm514kmlb9";1717+ sha256 = "sha256-6dGFU4YNk1joXXZi2c2L84JtUbTs1ICgXfv0/EU2P4Q=";1718 };18191919- propagatedBuildInputs = [ mock twisted pyopenssl service-identity ];2020+ propagatedBuildInputs = [2121+ mock2222+ twisted2323+ pyopenssl2424+ service-identity2525+ ];20262121- checkPhase = ''2222- # Either uncomment this, or remove this custom check phase entirely, if2323- # you wish to do battle with the foolscap tests. ~ C.2424- # trial foolscap2525- '';2727+ checkInputs = [2828+ pytestCheckHook2929+ ];3030+3131+ disabledTestPaths = [3232+ # Not all dependencies are present3333+ "src/foolscap/test/test_connection.py"3434+ ];3535+3636+ pythonImportsCheck = [ "foolscap" ];26372738 meta = with lib; {2828- homepage = "http://foolscap.lothar.com/";2929- description = "Foolscap, an RPC protocol for Python that follows the distributed object-capability model";3939+ description = "RPC protocol for Python that follows the distributed object-capability model";3040 longDescription = ''3131- "Foolscap" is the name for the next-generation RPC protocol,3232- intended to replace Perspective Broker (part of Twisted).3333- Foolscap is a protocol to implement a distributed3434- object-capabilities model in Python.4141+ "Foolscap" is the name for the next-generation RPC protocol, intended to4242+ replace Perspective Broker (part of Twisted). Foolscap is a protocol to4343+ implement a distributed object-capabilities model in Python.3544 '';3636- # See http://foolscap.lothar.com/trac/browser/LICENSE.4545+ homepage = "https://github.com/warner/foolscap";3746 license = licenses.mit;4747+ maintainers = with maintainers; [ ];3848 };3939-4049}