diff options
| author | Vineet Kumar <git@vineetk.net> | 2026-04-02 12:03:38 -0400 |
|---|---|---|
| committer | Vineet Kumar <git@vineetk.net> | 2026-04-02 12:05:33 -0400 |
| commit | f53b0d6c95fe10bd678a711dbff865932ea59339 (patch) | |
| tree | 5bb17a96b4a5d51b5423fabf99a6f519a7cc02d3 /epistemia/packages | |
| parent | e74b138d41aed08c2c446525f4ce8f0e7b414ad1 (diff) | |
saklas: replace transmission with rtorrent
Diffstat (limited to 'epistemia/packages')
| -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"))))) | ||
