pythonPackages.browsermob-proxy: make python2-only

This commit is contained in:
Michael Raskin 2017-09-06 09:02:26 +02:00
parent 89f5d52cf4
commit ad44a76005

View File

@ -143,7 +143,9 @@ in {
breathe = callPackage ../development/python-modules/breathe { };
browsermob-proxy = callPackage ../development/python-modules/browsermob-proxy {};
browsermob-proxy = if ! isPy3k then
callPackage ../development/python-modules/browsermob-proxy {}
else throw "browsermob-proxy is not supported for ${python.executable}";
bugseverywhere = callPackage ../applications/version-management/bugseverywhere {};