diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-06-06 02:17:53 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-06-06 02:17:53 +0200 |
commit | 5be300c116687fb79d37c0a7733b8e4b2bcdf1a1 (patch) | |
tree | 1d6603e482671bf6284e1aa6c8c56c8b233b5f44 /pkgs | |
parent | bd493c8f9b2d83f41556e55f2e0fbc59fa46a75a (diff) | |
download | Nix-5be300c116687fb79d37c0a7733b8e4b2bcdf1a1.tar.gz Nix-5be300c116687fb79d37c0a7733b8e4b2bcdf1a1.tar.zst Nix-5be300c116687fb79d37c0a7733b8e4b2bcdf1a1.zip |
Add woob
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/default.nix | 1 | ||||
-rw-r--r-- | pkgs/woob/default.nix | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index 7c120a8..f567104 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix | |||
@@ -75,5 +75,6 @@ rec { | |||
75 | }; | 75 | }; |
76 | 76 | ||
77 | fiche = callPackage ./fiche { inherit mylibs; }; | 77 | fiche = callPackage ./fiche { inherit mylibs; }; |
78 | woob = python3Packages.callPackage ./woob {}; | ||
78 | zrepl = callPackage ./zrepl {}; | 79 | zrepl = callPackage ./zrepl {}; |
79 | } | 80 | } |
diff --git a/pkgs/woob/default.nix b/pkgs/woob/default.nix new file mode 100644 index 0000000..22928b9 --- /dev/null +++ b/pkgs/woob/default.nix | |||
@@ -0,0 +1,72 @@ | |||
1 | { lib | ||
2 | , buildPythonPackage | ||
3 | , fetchPypi | ||
4 | , isPy27 | ||
5 | , Babel | ||
6 | , colorama | ||
7 | , cssselect | ||
8 | , dateutil | ||
9 | , feedparser | ||
10 | , gdata | ||
11 | , gnupg | ||
12 | , html2text | ||
13 | , libyaml | ||
14 | , lxml | ||
15 | , mechanize | ||
16 | , nose | ||
17 | , pdfminer | ||
18 | , pillow | ||
19 | , prettytable | ||
20 | , pyqt5 | ||
21 | , pyyaml | ||
22 | , requests | ||
23 | , simplejson | ||
24 | , termcolor | ||
25 | , unidecode | ||
26 | }: | ||
27 | |||
28 | buildPythonPackage rec { | ||
29 | pname = "woob"; | ||
30 | version = "3.0"; | ||
31 | disabled = isPy27; | ||
32 | |||
33 | src = fetchPypi { | ||
34 | inherit pname version; | ||
35 | sha256 = "09hpxy5zhn2b8li0xjf3zd7s46lawb0315p5mdcsci3bj3s4v1j7"; | ||
36 | }; | ||
37 | |||
38 | nativeBuildInputs = [ pyqt5 ]; | ||
39 | |||
40 | propagatedBuildInputs = [ | ||
41 | Babel | ||
42 | colorama | ||
43 | cssselect | ||
44 | dateutil | ||
45 | feedparser | ||
46 | gdata | ||
47 | gnupg | ||
48 | html2text | ||
49 | libyaml | ||
50 | lxml | ||
51 | mechanize | ||
52 | pdfminer | ||
53 | pillow | ||
54 | prettytable | ||
55 | pyqt5 | ||
56 | pyyaml | ||
57 | requests | ||
58 | simplejson | ||
59 | termcolor | ||
60 | unidecode | ||
61 | ]; | ||
62 | |||
63 | doCheck = false; | ||
64 | |||
65 | meta = with lib; { | ||
66 | homepage = "https://woob.tech"; | ||
67 | description = "Collection of applications and APIs to interact with websites without requiring the user to open a browser"; | ||
68 | license = licenses.lgpl3Plus; | ||
69 | maintainers = [ maintainers.DamienCassou ]; | ||
70 | }; | ||
71 | } | ||
72 | |||