diff options
| -rw-r--r-- | epistemia/packages/bittorrent.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/epistemia/packages/bittorrent.scm b/epistemia/packages/bittorrent.scm new file mode 100644 index 0000000..4d4a10a --- /dev/null +++ b/epistemia/packages/bittorrent.scm | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | (define-module (epistemia packages bittorrent) | ||
| 2 | #:use-module (guix gexp) | ||
| 3 | #:use-module (guix packages) | ||
| 4 | #:use-module (guix utils) | ||
| 5 | #:use-module (gnu packages bittorrent) | ||
| 6 | #:use-module (gnu packages xml)) | ||
| 7 | |||
| 8 | ;; upstream rtorrent includes neither xmlrpc-c nor tinyxml2 | ||
| 9 | ;; so, using the scgi socket errors out with other tools | ||
| 10 | ;; tinyxml2 is used instead of xmlrpc-c for working utf8 | ||
| 11 | (define-public rtorrent-xmlrpc | ||
| 12 | (package | ||
| 13 | (inherit rtorrent) | ||
| 14 | (name "rtorrent-xmlrpc") | ||
| 15 | (inputs (modify-inputs (package-inputs rtorrent) | ||
| 16 | (append tinyxml2))) | ||
| 17 | (arguments | ||
| 18 | (list #:configure-flags #~'("--with-xmlrpc-tinyxml2"))))) | ||
