mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
pythonPackages.weboob: 1.1 -> 1.3
This commit is contained in:
parent
89467cf144
commit
ad7ab43448
2 changed files with 39 additions and 20 deletions
38
pkgs/development/python-modules/weboob/default.nix
Normal file
38
pkgs/development/python-modules/weboob/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue