diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2c52732be98f..f3ed5f898327 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14587,13 +14587,17 @@ in { sha256 = "04ja1cl8xzqnwrd2gi6nlnxbmjri141bzwa5gybvr44d8h3k2nfa"; }; - patchPhase = '' + postPatch = '' substituteInPlace setup.py --replace "version=versioneer.get_version()" "version='${version}'" + substituteInPlace setup.py --replace "argparse" "" ''; propagatedBuildInputs = with self; [ pyptlib argparse twisted pycrypto pyyaml ]; + # No tests in archive + doCheck = false; + meta = { description = "A pluggable transport proxy"; homepage = https://www.torproject.org/projects/obfsproxy;