python3Packages.twisted: prune patches

They don't apply anymore since the version bump.
This commit is contained in:
Martin Weinelt 2022-04-15 13:27:50 +02:00
parent eef7dee538
commit 084f4811ec
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,6 +1,5 @@
{ lib, stdenv
, buildPythonPackage
, fetchpatch
, fetchPypi
, python
, zope_interface
@ -26,18 +25,6 @@ buildPythonPackage rec {
sha256 = "sha256-oEeZD1ffrh4L0rffJSbU8W3NyEN3TcEIt4xS8qXxNoA=";
};
patches = [
(fetchpatch {
# https://github.com/twisted/twisted/security/advisories/GHSA-c2jg-hw38-jrqq
name = "CVE-2022-24801.patch";
url = "https://github.com/twisted/twisted/commit/592217e951363d60e9cd99c5bbfd23d4615043ac.patch";
hash = "sha256-psX5vAM9myuILuTazpebSk8QTT52CB6N7RXAY4MAV8g=";
excludes = [
"src/twisted/web/newsfragments/10323.bugfix"
];
})
];
propagatedBuildInputs = [ zope_interface incremental automat constantly hyperlink pyhamcrest attrs setuptools typing-extensions ];
passthru.extras.tls = [ pyopenssl service-identity idna ];