2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 20:04:58 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, mock
|
|
|
|
, twisted
|
|
|
|
, pyopenssl
|
|
|
|
, service-identity
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "foolscap";
|
2020-05-09 01:16:59 +00:00
|
|
|
version = "20.4.0";
|
2018-10-16 20:04:58 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 01:16:59 +00:00
|
|
|
sha256 = "0rbw9makjmawkcxnkkngybj3n14s0dnzn9gkqqq2krcm514kmlb9";
|
2018-10-16 20:04:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://foolscap.lothar.com/";
|
2018-10-16 20:04:58 +00:00
|
|
|
description = "Foolscap, an 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.
|
|
|
|
'';
|
|
|
|
# See http://foolscap.lothar.com/trac/browser/LICENSE.
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|