Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 5 additions & 15 deletions pkgs/development/python-modules/twisted/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
, glibcLocales
, h2
, hyperlink
, hypothesis
, idna
, incremental
, priority
Expand Down Expand Up @@ -45,7 +46,7 @@

buildPythonPackage rec {
pname = "twisted";
version = "22.8.0";
version = "22.10.0";
format = "setuptools";

disabled = pythonOlder "3.6";
Expand All @@ -54,17 +55,9 @@ buildPythonPackage rec {
pname = "Twisted";
inherit version;
extension = "tar.gz";
hash = "sha256-5bYN458tHaFT++GHTYhf4/y9sh/MRG+nWaU+j8NRO+0=";
hash = "sha256-Mqy9QKlPX0bntCwQm/riswIlCUVWF4Oot6BZBI8tTTE=";
};

patches = [
(fetchpatch {
name = "fix-test_openFileDescriptors.patch";
url = "https://github.com/twisted/twisted/commit/47f47634940141466177261b20bb43c300531e38.patch";
hash = "sha256-wacnF166PnZHXJEqTlPZUdDILJIVHOcnC2a34SQumvs=";
})
];

__darwinAllowLocalNetworking = true;

propagatedBuildInputs = [
Expand Down Expand Up @@ -128,6 +121,7 @@ buildPythonPackage rec {
checkInputs = [
git
glibcLocales
hypothesis
Copy link
Member

@SuperSandro2000 SuperSandro2000 Nov 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That explains why some tests failed when I tried to update but I couldn't find an error log so I had no clue.

pyhamcrest
]
++ passthru.optional-dependencies.conch
Expand Down Expand Up @@ -169,11 +163,7 @@ buildPythonPackage rec {

meta = with lib; {
homepage = "https://github.com/twisted/twisted";
description = "Twisted, an event-driven networking engine written in Python";
longDescription = ''
Twisted is an event-driven networking engine written in Python
and licensed under the MIT license.
'';
description = "Asynchronous networking framework written in Python";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
Expand Down