diff options
| author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2021-08-06 09:44:45 -0400 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-08-22 20:19:28 +0200 |
| commit | 87272307a6f29ed63f4b2c626152f95011adbfcd (patch) | |
| tree | 682dd510d71cb08765cee0074a8bf8a07ba4f48f | |
| parent | pythonPackages.klein: 17.10.0 -> 21.8.0 (diff) | |
| download | nixpkgs-origin/twisted-to-21.7.0.tar.gz | |
pythonPackages.twisted: 20.3.0 -> 21.7.0origin/twisted-to-21.7.0
| -rw-r--r-- | pkgs/development/python-modules/twisted/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/twisted/default.nix b/pkgs/development/python-modules/twisted/default.nix index 421565725b14..b09ccebde198 100644 --- a/pkgs/development/python-modules/twisted/default.nix +++ b/pkgs/development/python-modules/twisted/default.nix @@ -13,18 +13,19 @@ , service-identity , setuptools , idna +, typing-extensions }: buildPythonPackage rec { pname = "Twisted"; - version = "20.3.0"; + version = "21.7.0"; src = fetchPypi { inherit pname version; - extension = "tar.bz2"; - sha256 = "040yzha6cyshnn6ljgk2birgh6mh2cnra48xp5ina5vfsnsmab6p"; + extension = "tar.gz"; + sha256 = "01lh225d7lfnmfx4f4kxwl3963gjc9yg8jfkn1w769v34ia55mic"; }; - propagatedBuildInputs = [ zope_interface incremental automat constantly hyperlink pyhamcrest attrs setuptools ]; + propagatedBuildInputs = [ zope_interface incremental automat constantly hyperlink pyhamcrest attrs setuptools typing-extensions ]; passthru.extras.tls = [ pyopenssl service-identity idna ]; @@ -32,7 +33,7 @@ buildPythonPackage rec { # twisted.python.runtime.platform.supportsINotify() == False patchPhase = lib.optionalString stdenv.isLinux '' substituteInPlace src/twisted/python/_inotify.py --replace \ - "ctypes.util.find_library('c')" "'${stdenv.glibc.out}/lib/libc.so.6'" + "ctypes.util.find_library(\"c\")" "'${stdenv.glibc.out}/lib/libc.so.6'" ''; # Generate Twisted's plug-in cache. Twisted users must do it as well. See |
