pythonPackages.weboob: add futures dependency

This commit is contained in:
Jonathan Ringer 2019-12-15 21:43:59 -08:00 committed by Matthieu Coudron
parent 90cd659c56
commit ac9d0cb18a

View File

@ -1,8 +1,24 @@
{ buildPythonPackage, fetchPypi, stdenv { lib, buildPythonPackage, fetchPypi, isPy27
, nose, pillow, prettytable, pyyaml, dateutil, gdata , cssselect
, requests, mechanize, feedparser, lxml, gnupg, pyqt5 , dateutil
, libyaml, simplejson, cssselect, pdfminer , feedparser
, termcolor, google_api_python_client, html2text , futures
, gdata
, gnupg
, google_api_python_client
, html2text
, libyaml
, lxml
, mechanize
, nose
, pdfminer
, pillow
, prettytable
, pyqt5
, pyyaml
, requests
, simplejson
, termcolor
, unidecode , unidecode
}: }:
@ -34,10 +50,27 @@ buildPythonPackage rec {
nativeBuildInputs = [ pyqt5 ]; nativeBuildInputs = [ pyqt5 ];
propagatedBuildInputs = [ pillow prettytable pyyaml dateutil propagatedBuildInputs = [
gdata requests mechanize feedparser lxml gnupg pyqt5 libyaml cssselect
simplejson cssselect pdfminer termcolor dateutil
google_api_python_client html2text unidecode ]; feedparser
gdata
gnupg
google_api_python_client
html2text
libyaml
lxml
mechanize
pdfminer
pillow
prettytable
pyqt5
pyyaml
requests
simplejson
termcolor
unidecode
] ++ lib.optionals isPy27 [ futures ];
checkPhase = '' checkPhase = ''
nosetests nosetests
@ -46,6 +79,6 @@ buildPythonPackage rec {
meta = { meta = {
homepage = http://weboob.org; homepage = http://weboob.org;
description = "Collection of applications and APIs to interact with websites without requiring the user to open a browser"; description = "Collection of applications and APIs to interact with websites without requiring the user to open a browser";
license = stdenv.lib.licenses.agpl3; license = lib.licenses.agpl3;
}; };
} }