diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-24 19:06:43 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-24 19:48:31 +0200 |
commit | fb4357445665ab12877cbc49027f7593b471b288 (patch) | |
tree | a3a53248e8dc72e1df9e462c1fcbfb785e5b33c1 | |
parent | f2cdc1e5c25504e6407eb84dc492a2b71fd3a0a8 (diff) |
python.pkgs.obfsproxy: fix build
-rw-r--r-- | pkgs/top-level/python-packages.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2c52732be98f7..f3ed5f8983271 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; |