Skip to content

Commit

Permalink
pythonPackages.weboob: 1.1 -> 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril authored and FRidh committed Feb 11, 2018
1 parent 89467cf commit ad7ab43
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 20 deletions.
38 changes: 38 additions & 0 deletions pkgs/development/python-modules/weboob/default.nix
@@ -0,0 +1,38 @@
{ buildPythonPackage, fetchurl, stdenv, isPy27
, nose, pillow, prettytable, pyyaml, dateutil, gdata
, requests, mechanize, feedparser, lxml, gnupg, pyqt5
, libyaml, simplejson, cssselect, futures, pdfminer
, termcolor, google_api_python_client, html2text
, unidecode
}:

buildPythonPackage rec {
pname = "weboob";
version = "1.3";
disabled = ! isPy27;

src = fetchurl {
url = "https://symlink.me/attachments/download/356/${pname}-${version}.tar.gz";
sha256 = "0m5yh49lplvb57dfilczh65ky35fshp3g7ni31pwfxwqi1f7i4f9";
};

setupPyBuildFlags = ["--qt" "--xdg"];

checkInputs = [ nose ];

propagatedBuildInputs = [ pillow prettytable pyyaml dateutil
gdata requests mechanize feedparser lxml gnupg pyqt5 libyaml
simplejson cssselect futures pdfminer termcolor google_api_python_client
html2text unidecode ];

checkPhase = ''
nosetests
'';

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;
};
}

21 changes: 1 addition & 20 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -20097,26 +20097,7 @@ EOF
};
};

weboob = buildPythonPackage rec {
name = "weboob-1.1";
disabled = ! isPy27;

src = pkgs.fetchurl {
url = "https://symlink.me/attachments/download/324/${name}.tar.gz";
sha256 = "0736c5wsck2abxlwvx8i4496kafk9xchkkzhg4dcfbj0isldih6b";
};

setupPyBuildFlags = ["--qt" "--xdg"];

propagatedBuildInputs = with self; [ pillow prettytable pyyaml dateutil gdata requests mechanize feedparser lxml pkgs.gnupg pyqt4 pkgs.libyaml simplejson cssselect futures pdfminer termcolor ];

meta = {
homepage = http://weboob.org;
description = "Collection of applications and APIs to interact with websites without requiring the user to open a browser";
license = licenses.agpl3;
maintainers = with maintainers; [ ];
};
};
weboob = callPackage ../development/python-modules/weboob { };

datadiff = buildPythonPackage rec {
name = "datadiff-1.1.6";
Expand Down

0 comments on commit ad7ab43

Please sign in to comment.