1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

python3.pkgs.weboob: 1.3 -> 1.5

html2text is python3 only now, which implicitly also affects weboob.
This commit is contained in:
Jörg Thalheim 2019-10-29 08:24:16 +00:00 committed by Jon
parent 78d9669963
commit 1e501c868b

View file

@ -1,19 +1,18 @@
{ buildPythonPackage, fetchurl, stdenv, isPy27
{ buildPythonPackage, fetchPypi, stdenv
, nose, pillow, prettytable, pyyaml, dateutil, gdata
, requests, mechanize, feedparser, lxml, gnupg, pyqt5
, libyaml, simplejson, cssselect, futures, pdfminer
, libyaml, simplejson, cssselect, pdfminer
, termcolor, google_api_python_client, html2text
, unidecode
}:
buildPythonPackage rec {
pname = "weboob";
version = "1.3";
disabled = ! isPy27;
version = "1.5";
src = fetchurl {
url = "https://symlink.me/attachments/download/356/${pname}-${version}.tar.gz";
sha256 = "0m5yh49lplvb57dfilczh65ky35fshp3g7ni31pwfxwqi1f7i4f9";
src = fetchPypi {
inherit pname version;
sha256 = "1c9z9gid1mbm1cakb2wj6jjkbrmji8y8ac46iqpih9x1h498bhbs";
};
postPatch = ''
@ -37,7 +36,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ pillow prettytable pyyaml dateutil
gdata requests mechanize feedparser lxml gnupg pyqt5 libyaml
simplejson cssselect futures pdfminer termcolor
simplejson cssselect pdfminer termcolor
google_api_python_client html2text unidecode ];
checkPhase = ''
@ -50,4 +49,3 @@ buildPythonPackage rec {
license = stdenv.lib.licenses.agpl3;
};
}