python.pkgs.prompt_toolkit: always use 1 with py2 and 2 with py3

This commit is contained in:
Frederik Rietdijk
2018-11-21 12:38:54 +01:00
parent ed6befe2f2
commit f0b49c4d10
8 changed files with 15 additions and 16 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, awscli
, prompt_toolkit_1
, prompt_toolkit
, boto3
, configobj
, pygments
@@ -20,7 +20,7 @@ buildPythonPackage rec {
# Why does it propagate packages that are used for testing?
propagatedBuildInputs = [
awscli
prompt_toolkit_1
prompt_toolkit
boto3
configobj
pygments
+1 -1
View File
@@ -15,7 +15,7 @@ buildPythonApplication rec {
};
propagatedBuildInputs = [
pymysql configobj sqlparse prompt_toolkit_1 pygments click pycrypto cli-helpers
pymysql configobj sqlparse prompt_toolkit pygments click pycrypto cli-helpers
];
checkInputs = [ pytest mock glibcLocales ];