python310Packages.foolscap: fix tests with Twisted 22.10.0

This commit is contained in:
Robert Schütz 2022-12-11 22:38:21 -08:00
parent 63c2909cc1
commit 49cfc00fc3

View File

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch
, mock , mock
, pyopenssl , pyopenssl
, pytestCheckHook , pytestCheckHook
@ -17,6 +18,14 @@ buildPythonPackage rec {
sha256 = "sha256-6dGFU4YNk1joXXZi2c2L84JtUbTs1ICgXfv0/EU2P4Q="; sha256 = "sha256-6dGFU4YNk1joXXZi2c2L84JtUbTs1ICgXfv0/EU2P4Q=";
}; };
patches = [
(fetchpatch {
name = "fix-tests-with-twisted-22.10.0.patch";
url = "https://github.com/warner/foolscap/commit/c04202eb5d4cf052e650ec2985ea6037605fd79e.patch";
hash = "sha256-RldDc18n3WYHdYg0ZmM8PBffIuiGa1NIfdoHs3mEEfc=";
})
];
propagatedBuildInputs = [ propagatedBuildInputs = [
mock mock
twisted twisted