at 18.03-beta 1.1 kB view raw
1{ buildPythonPackage, fetchurl, stdenv, isPy27 2, nose, pillow, prettytable, pyyaml, dateutil, gdata 3, requests, mechanize, feedparser, lxml, gnupg, pyqt5 4, libyaml, simplejson, cssselect, futures, pdfminer 5, termcolor, google_api_python_client, html2text 6, unidecode 7}: 8 9buildPythonPackage rec { 10 pname = "weboob"; 11 version = "1.3"; 12 disabled = ! isPy27; 13 14 src = fetchurl { 15 url = "https://symlink.me/attachments/download/356/${pname}-${version}.tar.gz"; 16 sha256 = "0m5yh49lplvb57dfilczh65ky35fshp3g7ni31pwfxwqi1f7i4f9"; 17 }; 18 19 setupPyBuildFlags = ["--qt" "--xdg"]; 20 21 checkInputs = [ nose ]; 22 23 propagatedBuildInputs = [ pillow prettytable pyyaml dateutil 24 gdata requests mechanize feedparser lxml gnupg pyqt5 libyaml 25 simplejson cssselect futures pdfminer termcolor google_api_python_client 26 html2text unidecode ]; 27 28 checkPhase = '' 29 nosetests 30 ''; 31 32 meta = { 33 homepage = http://weboob.org; 34 description = "Collection of applications and APIs to interact with websites without requiring the user to open a browser"; 35 license = stdenv.lib.licenses.agpl3; 36 }; 37} 38