mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python2Packages.prawcore: disable on python2
no longer compatible with python2's urllib ``` prawcore/exceptions.py:2: in <module> from urllib.parse import urlparse E ImportError: No module named parse builder for '/nix/store/3l1rqygq58hbwyzn6fqx8x4djbmzgggh-python2.7-prawcore-1.4.0.drv' failed with exit code ```
This commit is contained in:
parent
f0c7019005
commit
01f1f3d5d0
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy27
|
||||
, requests
|
||||
, testfixtures, mock, requests_toolbelt
|
||||
, betamax, betamax-serializers, betamax-matchers, pytest
|
||||
@ -7,6 +7,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "prawcore";
|
||||
version = "1.4.0";
|
||||
disabled = isPy27; # see https://github.com/praw-dev/prawcore/pull/101
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
Loading…
Reference in New Issue
Block a user