diff options
| author | ng0 <ng0@we.make.ritual.n0.is> | 2016-09-18 13:58:25 +0000 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2016-10-09 13:09:50 +0300 |
| commit | da069d7eccb67d4363a7052b676e2c3e4dc2ceec (patch) | |
| tree | 0a61f604c6b54dc208786694aec5649483ff8c3e /gnu | |
| parent | 7e67fdd1f3dcc0f7741b6e6a7b6b3f026560f058 (diff) | |
gnu: Add python-feedparser.
* gnu/packages/python.scm (python-feedparser): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/web.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 667d2cdf258..cabf1e6b495 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm | |||
| @@ -45,6 +45,7 @@ | |||
| 45 | #:use-module (guix build-system cmake) | 45 | #:use-module (guix build-system cmake) |
| 46 | #:use-module (guix build-system r) | 46 | #:use-module (guix build-system r) |
| 47 | #:use-module (guix build-system trivial) | 47 | #:use-module (guix build-system trivial) |
| 48 | #:use-module (guix build-system python) | ||
| 48 | #:use-module (gnu packages) | 49 | #:use-module (gnu packages) |
| 49 | #:use-module (gnu packages apr) | 50 | #:use-module (gnu packages apr) |
| 50 | #:use-module (gnu packages documentation) | 51 | #:use-module (gnu packages documentation) |
| @@ -3148,6 +3149,34 @@ http://opensearch.a9.com} compatible search engines.") | |||
| 3148 | their web site.") | 3149 | their web site.") |
| 3149 | (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/"))) | 3150 | (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/"))) |
| 3150 | 3151 | ||
| 3152 | (define-public python-feedparser | ||
| 3153 | (package | ||
| 3154 | (name "python-feedparser") | ||
| 3155 | (version "5.2.1") | ||
| 3156 | (source | ||
| 3157 | (origin | ||
| 3158 | (method url-fetch) | ||
| 3159 | (uri (pypi-uri "feedparser" version ".tar.bz2")) | ||
| 3160 | (sha256 | ||
| 3161 | (base32 | ||
| 3162 | "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf")))) | ||
| 3163 | (build-system python-build-system) | ||
| 3164 | (home-page | ||
| 3165 | "https://github.com/kurtmckee/feedparser") | ||
| 3166 | (synopsis "Parse feeds in Python") | ||
| 3167 | (description | ||
| 3168 | "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0, | ||
| 3169 | CDF, Atom 0.3, and Atom 1.0 feeds.") | ||
| 3170 | (license (list l:bsd-2 ; source code | ||
| 3171 | l:freebsd-doc)))) ; documentation | ||
| 3172 | |||
| 3173 | (define-public python2-feedparser | ||
| 3174 | (let ((base (package-with-python2 | ||
| 3175 | (strip-python2-variant python-feedparser)))) | ||
| 3176 | (package (inherit base) | ||
| 3177 | (native-inputs | ||
| 3178 | `(("python2-setuptools" ,python2-setuptools)))))) | ||
| 3179 | |||
| 3151 | (define-public r-httpuv | 3180 | (define-public r-httpuv |
| 3152 | (package | 3181 | (package |
| 3153 | (name "r-httpuv") | 3182 | (name "r-httpuv") |
