File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pkgs/development/python-modules/twisted Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ buildPythonPackage rec {
3131
3232 # Patch t.p._inotify to point to libc. Without this,
3333 # twisted.python.runtime.platform.supportsINotify() == False
34- patchPhase = lib . optionalString stdenv . isLinux ''
34+ postPatch = lib . optionalString stdenv . isLinux ''
3535 substituteInPlace src/twisted/python/_inotify.py --replace \
3636 "ctypes.util.find_library(\"c\")" "'${ stdenv . glibc . out } /lib/libc.so.6'"
3737 '' ;
@@ -45,13 +45,13 @@ buildPythonPackage rec {
4545 '' ;
4646
4747 checkPhase = ''
48- ${ python . interpreter } -m unittest discover -s twisted/test
48+ ${ python . interpreter } -m unittest discover -s src/ twisted/test
4949 '' ;
5050 # Tests require network
5151 doCheck = false ;
5252
5353 meta = with lib ; {
54- homepage = "https://twistedmatrix .com/" ;
54+ homepage = "https://github .com/twisted/twisted " ;
5555 description = "Twisted, an event-driven networking engine written in Python" ;
5656 longDescription = ''
5757 Twisted is an event-driven networking engine written in Python
You can’t perform that action at this time.
0 commit comments