3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.obfsproxy: fix build

This commit is contained in:
Frederik Rietdijk 2017-08-24 19:06:43 +02:00
parent c6718c01a9
commit 1f4fdbcb7f

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;