diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-12-15 21:43:59 -0800 |
---|---|---|
committer | Matthieu Coudron <coudron@iij.ad.jp> | 2019-12-16 16:49:58 +0100 |
commit | ac9d0cb18aba4677c234bd469511f6de7c887798 (patch) | |
tree | f370cb199719ad2fe654d3c60658c28f7a4f19b0 /pkgs/development/python-modules | |
parent | 90cd659c562d3adce9fe1a745cd4db26ee83b7fd (diff) | |
download | nixlib-ac9d0cb18aba4677c234bd469511f6de7c887798.tar nixlib-ac9d0cb18aba4677c234bd469511f6de7c887798.tar.gz nixlib-ac9d0cb18aba4677c234bd469511f6de7c887798.tar.bz2 nixlib-ac9d0cb18aba4677c234bd469511f6de7c887798.tar.lz nixlib-ac9d0cb18aba4677c234bd469511f6de7c887798.tar.xz nixlib-ac9d0cb18aba4677c234bd469511f6de7c887798.tar.zst nixlib-ac9d0cb18aba4677c234bd469511f6de7c887798.zip |
pythonPackages.weboob: add futures dependency
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/weboob/default.nix | 53 |
1 files changed, 43 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/weboob/default.nix b/pkgs/development/python-modules/weboob/default.nix index e938cdaa3fbf..d0a5d6116f8e 100644 --- a/pkgs/development/python-modules/weboob/default.nix +++ b/pkgs/development/python-modules/weboob/default.nix @@ -1,8 +1,24 @@ -{ buildPythonPackage, fetchPypi, stdenv -, nose, pillow, prettytable, pyyaml, dateutil, gdata -, requests, mechanize, feedparser, lxml, gnupg, pyqt5 -, libyaml, simplejson, cssselect, pdfminer -, termcolor, google_api_python_client, html2text +{ lib, buildPythonPackage, fetchPypi, isPy27 +, cssselect +, dateutil +, feedparser +, futures +, gdata +, gnupg +, google_api_python_client +, html2text +, libyaml +, lxml +, mechanize +, nose +, pdfminer +, pillow +, prettytable +, pyqt5 +, pyyaml +, requests +, simplejson +, termcolor , unidecode }: @@ -34,10 +50,27 @@ buildPythonPackage rec { nativeBuildInputs = [ pyqt5 ]; - propagatedBuildInputs = [ pillow prettytable pyyaml dateutil - gdata requests mechanize feedparser lxml gnupg pyqt5 libyaml - simplejson cssselect pdfminer termcolor - google_api_python_client html2text unidecode ]; + propagatedBuildInputs = [ + cssselect + dateutil + 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 = '' nosetests @@ -46,6 +79,6 @@ buildPythonPackage rec { meta = { homepage = http://weboob.org; 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; }; } |