python.pkgs.obfsproxy: fix build

This commit is contained in:
Frederik Rietdijk 2017-08-24 19:06:43 +02:00
parent f2cdc1e5c2
commit fb43574456

View File

@ -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;