python3Packages.foolscap: 20.4.0 -> 21.7.0

This commit is contained in:
Fabian Affolter 2021-07-07 18:07:30 +02:00 committed by Jonathan Ringer
parent ce35e2852d
commit aea1a6c3cd

View File

@ -2,39 +2,48 @@
, buildPythonPackage
, fetchPypi
, mock
, twisted
, pyopenssl
, pytestCheckHook
, service-identity
, twisted
}:
buildPythonPackage rec {
pname = "foolscap";
version = "20.4.0";
version = "21.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "0rbw9makjmawkcxnkkngybj3n14s0dnzn9gkqqq2krcm514kmlb9";
sha256 = "sha256-6dGFU4YNk1joXXZi2c2L84JtUbTs1ICgXfv0/EU2P4Q=";
};
propagatedBuildInputs = [ mock twisted pyopenssl service-identity ];
propagatedBuildInputs = [
mock
twisted
pyopenssl
service-identity
];
checkPhase = ''
# Either uncomment this, or remove this custom check phase entirely, if
# you wish to do battle with the foolscap tests. ~ C.
# trial foolscap
'';
checkInputs = [
pytestCheckHook
];
disabledTestPaths = [
# Not all dependencies are present
"src/foolscap/test/test_connection.py"
];
pythonImportsCheck = [ "foolscap" ];
meta = with lib; {
homepage = "http://foolscap.lothar.com/";
description = "Foolscap, an RPC protocol for Python that follows the distributed object-capability model";
description = "RPC protocol for Python that follows the distributed object-capability model";
longDescription = ''
"Foolscap" is the name for the next-generation RPC protocol,
intended to replace Perspective Broker (part of Twisted).
Foolscap is a protocol to implement a distributed
object-capabilities model in Python.
"Foolscap" is the name for the next-generation RPC protocol, intended to
replace Perspective Broker (part of Twisted). Foolscap is a protocol to
implement a distributed object-capabilities model in Python.
'';
# See http://foolscap.lothar.com/trac/browser/LICENSE.
homepage = "https://github.com/warner/foolscap";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}