2014-05-26 05:51:49 -04:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2014-11-24 16:00:58 -05:00
|
|
|
|
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
|
2016-04-02 16:37:15 -04:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
|
2020-07-13 15:48:40 -04:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
|
2023-04-30 08:16:34 -04:00
|
|
|
|
;;; Copyright © 2016-2020, 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
|
2016-11-18 16:58:01 -05:00
|
|
|
|
;;; Copyright © 2016 Tomáš Čech <sleep_walker@gnu.org>
|
2020-01-02 18:35:51 -05:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-01-22 09:38:51 -05:00
|
|
|
|
;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org>
|
2018-04-06 16:07:28 -04:00
|
|
|
|
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
|
2018-11-22 04:49:06 -05:00
|
|
|
|
;;; Copyright © 2018 Nam Nguyen <namn@berkeley.edu>
|
2021-11-22 17:00:21 -05:00
|
|
|
|
;;; Copyright © 2018, 2021 Ricardo Wurmus <rekado@elephly.net>
|
2020-07-19 16:09:57 -04:00
|
|
|
|
;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
|
2020-12-25 17:02:18 -05:00
|
|
|
|
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2021-07-16 12:01:41 -04:00
|
|
|
|
;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
|
2021-11-13 05:34:00 -05:00
|
|
|
|
;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
|
2021-12-14 14:17:12 -05:00
|
|
|
|
;;; Copyright © 2021 Josselin Poiret <josselin.poiret@protonmail.ch>
|
2022-01-16 04:58:20 -05:00
|
|
|
|
;;; Copyright © 2022 Brice Waegeneire <brice@waegenei.re>
|
2022-02-27 19:58:41 -05:00
|
|
|
|
;;; Copyright © 2022 Jacob Hart <hartja1@yahoo.com>
|
2022-08-24 10:55:43 -04:00
|
|
|
|
;;; Copyright © 2022 Simon Streit <simon@netpanic.org>
|
2023-09-26 05:02:07 -04:00
|
|
|
|
;;; Copyright © 2023 Clément Lassieur <clement@lassieur.org>
|
2014-05-26 05:51:49 -04:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages bittorrent)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2017-01-26 20:28:45 -05:00
|
|
|
|
#:use-module (guix git-download)
|
2021-11-13 05:34:00 -05:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2014-05-26 05:51:49 -04:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2016-01-18 00:05:10 -05:00
|
|
|
|
#:use-module (guix build-system python)
|
2023-06-24 15:27:32 -04:00
|
|
|
|
#:use-module (guix build-system qt)
|
2014-12-01 16:40:30 -05:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 16:44:22 -04:00
|
|
|
|
#:use-module ((guix licenses) #:prefix l:)
|
2022-01-13 10:24:49 -05:00
|
|
|
|
#:use-module (guix gexp)
|
gnu: deluge: Update to 2.0.3.
* gnu/packages/bittorrent.scm (deluge): Update to 2.0.3.
[source]: Update URL.
[inputs]: Remove libtorrent, python2-chardet, python2-pygtk,
python2-pyopenssl, python2-pyxdg, python2-service-identity, python2-twisted.
[propagated-inputs]: Add gtk+, librsvg, libtorrent, python-pycairo,
python-chardet, python-dbus, python-mako, python-pygobject, python-pillow,
python-pyopenssl, python-pyxdg, python-rencode, python-service-identity,
python-setproctitle, python-six, python-twisted, and python-zope-interface.
[native-inputs]: Add python-wheel.
[arguments]: Disable tests. Add 'fix-gettext-warning and 'wrap phase.
2020-08-31 19:51:47 -04:00
|
|
|
|
#:use-module (guix utils)
|
2017-03-26 01:49:50 -04:00
|
|
|
|
#:use-module (gnu packages)
|
2016-01-27 06:59:49 -05:00
|
|
|
|
#:use-module (gnu packages adns)
|
2021-07-16 12:01:41 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2022-01-16 15:57:07 -05:00
|
|
|
|
#:use-module (gnu packages bash)
|
2017-01-22 09:38:51 -05:00
|
|
|
|
#:use-module (gnu packages boost)
|
2016-01-27 06:59:49 -05:00
|
|
|
|
#:use-module (gnu packages check)
|
2021-11-13 05:34:00 -05:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2016-01-27 06:59:49 -05:00
|
|
|
|
#:use-module (gnu packages compression)
|
2016-11-18 16:58:01 -05:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2014-05-26 05:51:49 -04:00
|
|
|
|
#:use-module (gnu packages curl)
|
2016-01-27 06:59:49 -05:00
|
|
|
|
#:use-module (gnu packages cyrus-sasl)
|
2018-11-22 04:49:05 -05:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2021-07-16 12:01:41 -04:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2014-05-26 05:51:49 -04:00
|
|
|
|
#:use-module (gnu packages glib)
|
2016-11-18 16:58:01 -05:00
|
|
|
|
#:use-module (gnu packages gnome)
|
|
|
|
|
#:use-module (gnu packages gnupg)
|
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2014-11-24 16:00:58 -05:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2016-01-27 06:59:49 -05:00
|
|
|
|
#:use-module (gnu packages libevent)
|
|
|
|
|
#:use-module (gnu packages multiprecision)
|
|
|
|
|
#:use-module (gnu packages nettle)
|
2014-11-22 09:57:26 -05:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2016-01-27 06:59:49 -05:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2016-01-18 00:05:10 -05:00
|
|
|
|
#:use-module (gnu packages python)
|
2021-01-14 16:27:39 -05:00
|
|
|
|
#:use-module (gnu packages python-build)
|
2018-11-22 04:49:05 -05:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
gnu: deluge: Update to 2.0.3.
* gnu/packages/bittorrent.scm (deluge): Update to 2.0.3.
[source]: Update URL.
[inputs]: Remove libtorrent, python2-chardet, python2-pygtk,
python2-pyopenssl, python2-pyxdg, python2-service-identity, python2-twisted.
[propagated-inputs]: Add gtk+, librsvg, libtorrent, python-pycairo,
python-chardet, python-dbus, python-mako, python-pygobject, python-pillow,
python-pyopenssl, python-pyxdg, python-rencode, python-service-identity,
python-setproctitle, python-six, python-twisted, and python-zope-interface.
[native-inputs]: Add python-wheel.
[arguments]: Disable tests. Add 'fix-gettext-warning and 'wrap phase.
2020-08-31 19:51:47 -04:00
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2018-04-06 16:07:28 -04:00
|
|
|
|
#:use-module (gnu packages qt)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 15:47:05 -05:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2016-01-27 06:59:49 -05:00
|
|
|
|
#:use-module (gnu packages ssh)
|
|
|
|
|
#:use-module (gnu packages tls)
|
2023-11-21 02:05:03 -05:00
|
|
|
|
#:use-module (gnu packages web)
|
2016-01-27 06:59:49 -05:00
|
|
|
|
#:use-module (gnu packages xml))
|
2014-05-26 05:51:49 -04:00
|
|
|
|
|
|
|
|
|
(define-public transmission
|
|
|
|
|
(package
|
|
|
|
|
(name "transmission")
|
2023-10-30 00:47:26 -04:00
|
|
|
|
(version "4.0.4")
|
2014-05-26 05:51:49 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-06-10 21:28:53 -04:00
|
|
|
|
(uri (string-append "https://github.com/transmission/transmission"
|
|
|
|
|
"/releases/download/" version "/transmission-"
|
|
|
|
|
version ".tar.xz"))
|
2014-05-26 05:51:49 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-10-30 00:47:26 -04:00
|
|
|
|
"19nm7f4x3zq610da5fl63vpycj4kv07np6ldm8czpgyziwqv9xqm"))))
|
2023-04-24 13:10:37 -04:00
|
|
|
|
(build-system cmake-build-system)
|
2014-05-26 05:51:49 -04:00
|
|
|
|
(outputs '("out" ; library and command-line interface
|
|
|
|
|
"gui")) ; graphical user interface
|
|
|
|
|
(arguments
|
2023-04-24 13:10:37 -04:00
|
|
|
|
(list
|
|
|
|
|
#:imported-modules `((guix build glib-or-gtk-build-system)
|
|
|
|
|
,@%cmake-build-system-modules)
|
|
|
|
|
#:modules '(((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
|
|
|
|
|
(guix build cmake-build-system)
|
|
|
|
|
(guix build utils))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
2022-06-05 12:24:51 -04:00
|
|
|
|
;; Avoid embedding kernel version for reproducible build
|
2023-04-24 13:10:37 -04:00
|
|
|
|
(add-after 'unpack 'remove-kernel-version
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "third-party/miniupnpc/updateminiupnpcstrings.sh"
|
|
|
|
|
(("OS_VERSION=`uname -r`") "OS_VERSION=Guix"))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
|
|
|
|
|
(if tests?
|
2023-10-30 00:47:26 -04:00
|
|
|
|
(invoke "ctest"
|
|
|
|
|
;; XXX this test fails...
|
|
|
|
|
"-E" "usesBootstrapFile"
|
2023-04-24 13:10:37 -04:00
|
|
|
|
"-j" (if parallel-tests?
|
|
|
|
|
(number->string (parallel-job-count))
|
|
|
|
|
"1"))
|
|
|
|
|
(format #t "test suite not run~%"))))
|
|
|
|
|
(add-after 'install 'move-gui
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(mkdir-p (string-append #$output:gui "/bin"))
|
|
|
|
|
(mkdir-p (string-append #$output:gui "/share/man/man1"))
|
|
|
|
|
(rename-file (string-append #$output "/bin/transmission-gtk")
|
|
|
|
|
(string-append #$output:gui "/bin/transmission-gtk"))
|
2020-04-02 05:00:02 -04:00
|
|
|
|
(for-each
|
|
|
|
|
(lambda (dir)
|
2023-04-24 13:10:37 -04:00
|
|
|
|
(rename-file (string-append #$output "/share/" dir)
|
|
|
|
|
(string-append #$output:gui "/share/" dir)))
|
2023-09-26 05:02:07 -04:00
|
|
|
|
'("applications" "icons" "metainfo"))
|
2023-04-24 13:10:37 -04:00
|
|
|
|
(rename-file
|
|
|
|
|
(string-append #$output "/share/man/man1/transmission-gtk.1")
|
|
|
|
|
(string-append #$output:gui "/share/man/man1/transmission-gtk.1"))))
|
|
|
|
|
(add-after 'move-gui 'glib-or-gtk-wrap
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys #:rest args)
|
|
|
|
|
(apply (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)
|
|
|
|
|
#:glib-or-gtk-wrap-excluded-outputs (list "out")
|
2023-09-27 06:58:04 -04:00
|
|
|
|
args)))
|
|
|
|
|
(add-after 'glib-or-gtk-wrap 'wrap-program
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(wrap-program (string-append #$output:gui "/bin/transmission-gtk")
|
|
|
|
|
;; Wrapping GDK_PIXBUF_MODULE_FILE allows Transmission to load
|
|
|
|
|
;; its own icons in pure environments.
|
|
|
|
|
`("GDK_PIXBUF_MODULE_FILE" =
|
|
|
|
|
(,(getenv "GDK_PIXBUF_MODULE_FILE")))))))))
|
2023-04-24 13:10:37 -04:00
|
|
|
|
(inputs (list curl
|
|
|
|
|
(list glib "bin")
|
|
|
|
|
gtkmm
|
|
|
|
|
libappindicator
|
|
|
|
|
libevent
|
|
|
|
|
openssl
|
|
|
|
|
python
|
|
|
|
|
zlib))
|
2014-05-26 05:51:49 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list intltool pkg-config))
|
2019-10-20 07:03:12 -04:00
|
|
|
|
(home-page "https://transmissionbt.com/")
|
2023-10-30 00:47:26 -04:00
|
|
|
|
(synopsis "BitTorrent client")
|
2014-05-26 05:51:49 -04:00
|
|
|
|
(description
|
|
|
|
|
"Transmission is a BitTorrent client that comes with graphical,
|
|
|
|
|
textual, and Web user interfaces. Transmission also has a daemon for
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 08:16:07 -04:00
|
|
|
|
unattended operations. It supports local peer discovery, full encryption,
|
2014-05-26 05:51:49 -04:00
|
|
|
|
DHT, µTP, PEX and Magnet Links.")
|
|
|
|
|
|
|
|
|
|
;; COPYING reads:
|
|
|
|
|
;;
|
|
|
|
|
;; Transmission can be redistributed and/or modified under the terms of
|
|
|
|
|
;; the GNU GPLv2 (http://www.gnu.org/licenses/license-list.html#GPLv2),
|
|
|
|
|
;; the GNU GPLv3 (http://www.gnu.org/licenses/license-list.html#GNUGPLv3),
|
|
|
|
|
;; or any future license endorsed by Mnemosyne LLC.
|
|
|
|
|
;;
|
|
|
|
|
;; A few files files carry an MIT/X11 license header.
|
2020-06-17 01:02:01 -04:00
|
|
|
|
(license (list l:gpl2 l:gpl3))))
|
2014-11-24 16:00:58 -05:00
|
|
|
|
|
2021-07-16 12:01:41 -04:00
|
|
|
|
(define-public transmission-remote-gtk
|
|
|
|
|
(package
|
|
|
|
|
(name "transmission-remote-gtk")
|
2021-11-22 16:55:39 -05:00
|
|
|
|
(version "1.4.2")
|
2021-07-16 12:01:41 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/transmission-remote-gtk/"
|
|
|
|
|
"transmission-remote-gtk/releases/download/"
|
|
|
|
|
version "/transmission-remote-gtk-" version
|
2021-11-22 16:55:39 -05:00
|
|
|
|
".tar.gz"))
|
2021-07-16 12:01:41 -04:00
|
|
|
|
(sha256
|
2021-11-22 16:55:39 -05:00
|
|
|
|
(base32 "0qz9wi70qc6vgnaymivc3xz6y86c9hglk6wjv3snnqxpxmp9saay"))))
|
2021-07-16 12:01:41 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list gnu-gettext pkg-config))
|
2021-07-16 12:01:41 -04:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list appstream-glib curl gtk+ json-glib))
|
2021-07-16 12:01:41 -04:00
|
|
|
|
(synopsis "Gtk frontend to the Transmission daemon")
|
|
|
|
|
(description "transmission-remote-gtk is a GTK client for remote management
|
|
|
|
|
of the Transmission BitTorrent client, using its HTTP RPC protocol.")
|
|
|
|
|
(home-page "https://github.com/transmission-remote-gtk/transmission-remote-gtk")
|
|
|
|
|
(license l:gpl2+)))
|
|
|
|
|
|
2014-11-24 16:00:58 -05:00
|
|
|
|
(define-public libtorrent
|
|
|
|
|
(package
|
|
|
|
|
(name "libtorrent")
|
2019-08-18 10:04:25 -04:00
|
|
|
|
(version "0.13.8")
|
2014-11-24 16:00:58 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2015-10-03 15:21:33 -04:00
|
|
|
|
"http://rtorrent.net/downloads/libtorrent-"
|
2014-11-24 16:00:58 -05:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-08-18 10:04:25 -04:00
|
|
|
|
"10z9i1rc41cmmi7nx8k7k1agsx6afv09g9cl7g9zr35fyhl5l4gd"))))
|
2014-11-24 16:00:58 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list openssl zlib))
|
|
|
|
|
(native-inputs (list pkg-config cppunit))
|
2014-11-24 16:00:58 -05:00
|
|
|
|
(synopsis "BitTorrent library of rtorrent")
|
|
|
|
|
(description
|
|
|
|
|
"LibTorrent is a BitTorrent library used by and developed in parallel
|
|
|
|
|
with the BitTorrent client rtorrent. It is written in C++ with emphasis on
|
|
|
|
|
speed and efficiency.")
|
2015-10-03 15:16:27 -04:00
|
|
|
|
(home-page "https://github.com/rakshasa/libtorrent")
|
2014-11-24 16:00:58 -05:00
|
|
|
|
(license l:gpl2+)))
|
2014-11-22 09:57:26 -05:00
|
|
|
|
|
|
|
|
|
(define-public rtorrent
|
|
|
|
|
(package
|
|
|
|
|
(name "rtorrent")
|
2019-08-18 10:04:44 -04:00
|
|
|
|
(version "0.9.8")
|
2014-11-22 09:57:26 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2015-10-03 15:23:40 -04:00
|
|
|
|
"http://rtorrent.net/downloads/rtorrent-"
|
2014-11-22 09:57:26 -05:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-08-18 10:04:44 -04:00
|
|
|
|
"1bs2fnf4q7mlhkhzp3i1v052v9xn8qa7g845pk9ia8hlpw207pwy"))))
|
2014-11-22 09:57:26 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list libtorrent
|
|
|
|
|
ncurses
|
|
|
|
|
curl
|
|
|
|
|
cyrus-sasl
|
|
|
|
|
openssl
|
|
|
|
|
zlib))
|
|
|
|
|
(native-inputs (list pkg-config cppunit))
|
2014-11-22 09:57:26 -05:00
|
|
|
|
(synopsis "BitTorrent client with ncurses interface")
|
|
|
|
|
(description
|
|
|
|
|
"rTorrent is a BitTorrent client with an ncurses interface. It supports
|
|
|
|
|
full encryption, DHT, PEX, and Magnet Links. It can also be controlled via
|
|
|
|
|
XML-RPC over SCGI.")
|
2015-10-03 15:16:27 -04:00
|
|
|
|
(home-page "https://github.com/rakshasa/rtorrent")
|
2014-11-22 09:57:26 -05:00
|
|
|
|
(license l:gpl2+)))
|
2017-01-26 20:28:45 -05:00
|
|
|
|
|
|
|
|
|
(define-public tremc
|
2023-05-10 18:42:02 -04:00
|
|
|
|
(let ((commit "6c15e3f5637c8f3641473328bd8c5b0cc122d930")
|
|
|
|
|
(revision "0"))
|
2020-07-13 15:48:40 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "tremc")
|
2023-05-10 18:42:02 -04:00
|
|
|
|
(version (git-version "0.9.3" revision commit))
|
2020-07-13 15:48:40 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/tremc/tremc")
|
2023-05-10 18:42:02 -04:00
|
|
|
|
(commit commit)))
|
2020-07-13 15:48:40 -04:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-05-10 18:42:02 -04:00
|
|
|
|
"1anlqzbwgmhrxlh20pfzf4iyw5l2w227h95rq6xf29ai7vddr82k"))))
|
2020-07-13 15:48:40 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test suite
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The software is just a Python script that must be copied into place.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'build))))
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list python))
|
2020-07-13 15:48:40 -04:00
|
|
|
|
(synopsis "Console client for the Transmission BitTorrent daemon")
|
|
|
|
|
(description "Tremc is a console client, with a curses interface, for the
|
2017-01-26 20:28:45 -05:00
|
|
|
|
Transmission BitTorrent daemon.")
|
2020-07-13 15:48:40 -04:00
|
|
|
|
(home-page "https://github.com/tremc/tremc")
|
2023-05-10 18:42:02 -04:00
|
|
|
|
(license l:gpl3+))))
|
2016-01-18 00:05:10 -05:00
|
|
|
|
|
2016-01-27 06:59:49 -05:00
|
|
|
|
(define-public aria2
|
|
|
|
|
(package
|
|
|
|
|
(name "aria2")
|
2023-11-21 01:12:08 -05:00
|
|
|
|
(version "1.37.0")
|
2016-01-27 06:59:49 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-10-07 04:18:45 -04:00
|
|
|
|
(uri (string-append "https://github.com/aria2/aria2/releases/"
|
|
|
|
|
"download/release-" version
|
|
|
|
|
"/aria2-" version ".tar.xz"))
|
2016-01-27 06:59:49 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-11-21 02:05:03 -05:00
|
|
|
|
"0sxng4pynhj2qinranpv6wyzys3d42kz1gg2nrn63sw5f2nj1930"))
|
|
|
|
|
(patches (search-patches "aria2-unbundle-wslay.patch"))
|
|
|
|
|
(snippet
|
|
|
|
|
#~(begin (use-modules (guix build utils))
|
|
|
|
|
(delete-file-recursively "deps")
|
|
|
|
|
(delete-file "configure")))))
|
2016-01-27 06:59:49 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2022-01-13 10:24:49 -05:00
|
|
|
|
(list
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "--enable-libaria2"
|
|
|
|
|
(string-append "--with-bashcompletiondir="
|
|
|
|
|
#$output "/etc/bash_completion.d/"))
|
2016-01-27 06:59:49 -05:00
|
|
|
|
#:phases
|
2022-01-13 10:24:49 -05:00
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'delete-socket-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "test/LpdMessageDispatcherTest.cc"
|
|
|
|
|
(("CPPUNIT_TEST_SUITE_REGISTRATION\\(LpdMessageDispatcherTest\\);" text)
|
|
|
|
|
(string-append "// " text)))
|
|
|
|
|
(substitute* "test/LpdMessageReceiverTest.cc"
|
|
|
|
|
(("CPPUNIT_TEST_SUITE_REGISTRATION\\(LpdMessageReceiverTest\\);" text)
|
|
|
|
|
(string-append "// " text))))))))
|
2016-01-27 06:59:49 -05:00
|
|
|
|
(native-inputs
|
2023-11-21 02:05:03 -05:00
|
|
|
|
(list autoconf ; since we adjusted configure.ac
|
|
|
|
|
automake
|
|
|
|
|
gettext-minimal
|
|
|
|
|
libtool
|
|
|
|
|
cppunit ; for the tests
|
2021-12-13 11:18:24 -05:00
|
|
|
|
pkg-config))
|
2016-01-27 06:59:49 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list c-ares
|
|
|
|
|
gnutls
|
|
|
|
|
gmp
|
|
|
|
|
libssh2
|
|
|
|
|
libxml2
|
|
|
|
|
nettle
|
|
|
|
|
sqlite
|
2023-11-21 02:05:03 -05:00
|
|
|
|
wslay
|
2021-12-13 11:18:24 -05:00
|
|
|
|
zlib))
|
2016-05-26 01:59:22 -04:00
|
|
|
|
(home-page "https://aria2.github.io/")
|
2016-01-27 06:59:49 -05:00
|
|
|
|
(synopsis "Utility for parallel downloading files")
|
|
|
|
|
(description
|
|
|
|
|
"Aria2 is a lightweight, multi-protocol & multi-source command-line
|
|
|
|
|
download utility. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.
|
|
|
|
|
Aria2 can be manipulated via built-in JSON-RPC and XML-RPC interfaces.")
|
2022-01-13 10:09:36 -05:00
|
|
|
|
(properties
|
|
|
|
|
'((release-monitoring-url . "https://github.com/aria2/aria2/releases")))
|
2016-01-27 06:59:49 -05:00
|
|
|
|
(license l:gpl2+)))
|
2016-11-18 16:58:01 -05:00
|
|
|
|
|
|
|
|
|
(define-public uget
|
|
|
|
|
(package
|
|
|
|
|
(name "uget")
|
2020-11-25 10:58:29 -05:00
|
|
|
|
(version "2.2.1")
|
2020-05-25 14:19:47 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/urlget/"
|
|
|
|
|
"uget%20%28stable%29/" version "/uget-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-11-25 10:58:29 -05:00
|
|
|
|
(base32 "0dlrjhnm1pg2vwmp7nl2xv1aia5hyirb3021rl46x859k63zap24"))))
|
2016-11-18 16:58:01 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2021-11-22 17:00:21 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("CFLAGS=-fcommon")))
|
2016-11-18 16:58:01 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list curl
|
|
|
|
|
gtk+
|
|
|
|
|
glib
|
|
|
|
|
gnutls
|
|
|
|
|
gstreamer
|
|
|
|
|
libgcrypt
|
|
|
|
|
libnotify
|
|
|
|
|
openssl))
|
2016-11-18 16:58:01 -05:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list intltool pkg-config))
|
2020-05-25 14:19:12 -04:00
|
|
|
|
(home-page "https://ugetdm.com/")
|
2016-11-18 16:58:01 -05:00
|
|
|
|
(synopsis "Universal download manager with GTK+ interface")
|
|
|
|
|
(description
|
|
|
|
|
"uGet is portable download manager with GTK+ interface supporting
|
|
|
|
|
HTTP, HTTPS, BitTorrent and Metalink, supporting multi-connection
|
|
|
|
|
downloads, download scheduling, download rate limiting.")
|
|
|
|
|
(license l:lgpl2.1+)))
|
2016-12-02 10:10:46 -05:00
|
|
|
|
|
|
|
|
|
(define-public mktorrent
|
|
|
|
|
(package
|
|
|
|
|
(name "mktorrent")
|
2018-01-20 17:20:26 -05:00
|
|
|
|
(version "1.1")
|
2016-12-02 10:10:46 -05:00
|
|
|
|
(source (origin
|
2018-11-28 16:17:10 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/Rudde/mktorrent")
|
2018-11-28 16:17:10 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-12-02 10:10:46 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-28 16:17:10 -05:00
|
|
|
|
"17pdc5mandl739f8q26n5is8ga56s83aqcrwhlnnplbxwx2inidr"))))
|
2016-12-02 10:10:46 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)) ; no configure script
|
2020-11-16 05:12:27 -05:00
|
|
|
|
#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
2016-12-02 10:10:46 -05:00
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
"NO_HASH_CHECK=1"
|
|
|
|
|
"USE_LARGE_FILES=1"
|
|
|
|
|
"USE_LONG_OPTIONS=1"
|
|
|
|
|
"USE_PTHREADS=1")
|
|
|
|
|
#:tests? #f)) ; no tests
|
2018-01-20 17:20:26 -05:00
|
|
|
|
(home-page "https://github.com/Rudde/mktorrent")
|
2016-12-02 10:10:46 -05:00
|
|
|
|
(synopsis "Utility to create BitTorrent metainfo files")
|
2018-01-20 17:22:20 -05:00
|
|
|
|
(description
|
|
|
|
|
"mktorrent is a simple command-line utility to create BitTorrent
|
|
|
|
|
@dfn{metainfo} files, often known simply as @dfn{torrents}, from both single
|
|
|
|
|
files and whole directories. It can add multiple trackers and web seed URLs,
|
|
|
|
|
and set the @code{private} flag to disallow advertisement through the
|
|
|
|
|
distributed hash table (@dfn{DHT}) and Peer Exchange. Hashing is multi-threaded
|
2016-12-02 10:10:46 -05:00
|
|
|
|
and will take advantage of multiple processor cores where possible.")
|
|
|
|
|
(license (list l:public-domain ; sha1.*, used to build without OpenSSL
|
|
|
|
|
l:gpl2+)))) ; with permission to link with OpenSSL
|
2017-01-22 09:38:51 -05:00
|
|
|
|
|
|
|
|
|
(define-public libtorrent-rasterbar
|
|
|
|
|
(package
|
|
|
|
|
(name "libtorrent-rasterbar")
|
2023-02-08 02:46:10 -05:00
|
|
|
|
(version "1.2.18")
|
2020-08-11 09:08:28 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://github.com/arvidn/libtorrent/"
|
2021-11-13 05:34:00 -05:00
|
|
|
|
"releases/download/v" version "/"
|
2020-08-11 09:08:28 -04:00
|
|
|
|
"libtorrent-rasterbar-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2023-02-08 02:46:10 -05:00
|
|
|
|
(base32 "0wpsaqadcicxl4lf1nc1i93c4yzjv8hpzhhrw1hdkrp4gn0vdwpy"))))
|
2021-11-13 05:34:00 -05:00
|
|
|
|
(build-system cmake-build-system)
|
2017-01-22 09:38:51 -05:00
|
|
|
|
(arguments
|
2021-12-08 10:33:53 -05:00
|
|
|
|
`(#:configure-flags '("-Dpython-bindings=ON"
|
2021-11-13 05:34:00 -05:00
|
|
|
|
"-Dbuild_tests=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2022-01-19 04:28:21 -05:00
|
|
|
|
(add-after 'unpack 'extend-test-timeout
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "test/test_remove_torrent.cpp"
|
|
|
|
|
;; Extend the test timeout from 3 seconds to 10.
|
|
|
|
|
(("i > 30") "i > 100"))))
|
2021-11-13 05:34:00 -05:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
|
|
|
|
|
(let ((disabled-tests
|
|
|
|
|
;; test_upnp requires a non-localhost IPv4 interface.
|
|
|
|
|
'("test_upnp")))
|
|
|
|
|
(when tests?
|
|
|
|
|
;; test_ssl relies on bundled TLS certificates with a fixed
|
|
|
|
|
;; expiry date. To ensure succesful builds in the future,
|
|
|
|
|
;; fake the time to be roughly that of the release.
|
|
|
|
|
(setenv "FAKETIME_ONLY_CMDS" "test_ssl")
|
2023-02-08 02:46:10 -05:00
|
|
|
|
(invoke "faketime" "2022-10-24"
|
2021-11-13 05:34:00 -05:00
|
|
|
|
"ctest"
|
|
|
|
|
"--exclude-regex" (string-join disabled-tests "|")
|
|
|
|
|
"-j" (if parallel-tests?
|
|
|
|
|
(number->string (parallel-job-count))
|
2022-01-19 04:28:21 -05:00
|
|
|
|
"1")
|
|
|
|
|
"--rerun-failed"
|
|
|
|
|
"--output-on-failure"))))))))
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(inputs (list boost openssl))
|
2022-01-19 05:43:19 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list libfaketime
|
|
|
|
|
python-wrapper
|
|
|
|
|
pkg-config))
|
2018-01-20 18:26:51 -05:00
|
|
|
|
(home-page "https://www.libtorrent.org/")
|
2020-08-11 09:07:50 -04:00
|
|
|
|
(synopsis "Feature-complete BitTorrent implementation")
|
2017-01-22 09:38:51 -05:00
|
|
|
|
(description
|
2020-08-11 09:07:50 -04:00
|
|
|
|
"libtorrent-rasterbar is a feature-complete C++ BitTorrent implementation
|
2017-01-22 09:38:51 -05:00
|
|
|
|
focusing on efficiency and scalability. It runs on embedded devices as well as
|
|
|
|
|
desktops.")
|
|
|
|
|
(license l:bsd-2)))
|
|
|
|
|
|
2018-04-06 16:07:28 -04:00
|
|
|
|
(define-public qbittorrent
|
|
|
|
|
(package
|
|
|
|
|
(name "qbittorrent")
|
2023-09-27 07:04:25 -04:00
|
|
|
|
(version "4.5.5")
|
2019-02-16 22:28:24 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/qbittorrent/qBittorrent")
|
2019-02-16 22:28:24 -05:00
|
|
|
|
(commit (string-append "release-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2023-09-27 07:04:25 -04:00
|
|
|
|
(base32 "1ngvvwhafi9mi05r2l9dk9x05za8x35y12p230wpzprydhlgwsxd"))))
|
2023-06-24 15:27:32 -04:00
|
|
|
|
(build-system qt-build-system)
|
2018-04-06 16:07:28 -04:00
|
|
|
|
(arguments
|
2023-06-24 15:27:32 -04:00
|
|
|
|
(list #:configure-flags #~(list "-DTESTING=ON")
|
|
|
|
|
#:test-target "check"))
|
2018-04-06 16:07:28 -04:00
|
|
|
|
(native-inputs
|
2023-06-24 15:27:32 -04:00
|
|
|
|
(list qttools-5))
|
2018-04-06 16:07:28 -04:00
|
|
|
|
(inputs
|
2023-06-24 15:27:32 -04:00
|
|
|
|
(list boost
|
|
|
|
|
libtorrent-rasterbar
|
|
|
|
|
openssl
|
|
|
|
|
python-wrapper
|
|
|
|
|
qtsvg-5
|
|
|
|
|
zlib))
|
2018-04-06 16:07:28 -04:00
|
|
|
|
(home-page "https://www.qbittorrent.org/")
|
|
|
|
|
(synopsis "Graphical BitTorrent client")
|
|
|
|
|
(description
|
|
|
|
|
"qBittorrent is a BitTorrent client programmed in C++/Qt that uses
|
|
|
|
|
libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
|
2017-01-22 09:38:51 -05:00
|
|
|
|
|
2018-04-06 16:07:28 -04:00
|
|
|
|
It aims to be a good alternative to all other BitTorrent clients out there.
|
|
|
|
|
qBittorrent is fast, stable and provides unicode support as well as many
|
|
|
|
|
features.")
|
|
|
|
|
(license l:gpl2+)))
|
2018-11-22 04:49:05 -05:00
|
|
|
|
|
2023-09-23 20:00:00 -04:00
|
|
|
|
(define-public qbittorrent-no-x
|
2023-02-12 00:08:57 -05:00
|
|
|
|
(let ((base qbittorrent))
|
|
|
|
|
(package
|
|
|
|
|
(inherit base)
|
2023-09-23 20:00:00 -04:00
|
|
|
|
(name "qbittorrent-no-x")
|
2023-02-12 00:08:57 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments base)
|
|
|
|
|
((#:configure-flags configure-flags)
|
2023-06-24 15:27:32 -04:00
|
|
|
|
#~(cons "-DGUI=OFF" #$configure-flags))))
|
2023-02-12 00:08:57 -05:00
|
|
|
|
(inputs
|
|
|
|
|
(modify-inputs (package-inputs base)
|
|
|
|
|
(delete "qtsvg-5"))))))
|
|
|
|
|
|
2023-09-23 20:00:00 -04:00
|
|
|
|
(define-public qbittorrent-nox
|
|
|
|
|
(deprecated-package "qbittorrent-nox" qbittorrent-no-x))
|
|
|
|
|
|
2023-05-29 03:01:09 -04:00
|
|
|
|
(define-public qbittorrent-enhanced
|
|
|
|
|
(package
|
|
|
|
|
(inherit qbittorrent)
|
|
|
|
|
(name "qbittorrent-enhanced")
|
2023-09-27 07:12:11 -04:00
|
|
|
|
(version "4.5.5.10")
|
2023-05-29 03:01:09 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/c0re100/qBittorrent-Enhanced-Edition")
|
|
|
|
|
(commit (string-append "release-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-09-27 07:12:11 -04:00
|
|
|
|
"029crx8yd8apssg2k4alnc0py5i2sp3bhjkwki5fvvnpgkrhfqf0"))))
|
2023-05-29 03:01:09 -04:00
|
|
|
|
(home-page "https://github.com/c0re100/qBittorrent-Enhanced-Edition")
|
|
|
|
|
(description
|
|
|
|
|
"qBittorrent Enhanced is a bittorrent client based on qBittorrent with
|
|
|
|
|
the following features:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Auto Ban Xunlei, QQ, Baidu, Xfplay, DLBT and Offline downloader
|
|
|
|
|
@item Auto Ban Unknown Peer from China Option (Default: OFF)
|
|
|
|
|
@item Auto Update Public Trackers List (Default: OFF)
|
|
|
|
|
@item Auto Ban BitTorrent Media Player Peer Option (Default: OFF)
|
|
|
|
|
@item Peer whitelist/blacklist
|
|
|
|
|
@end itemize")))
|
|
|
|
|
|
2023-07-01 05:02:17 -04:00
|
|
|
|
(define-public qbittorrent-enhanced-nox
|
|
|
|
|
(package
|
|
|
|
|
(inherit qbittorrent-enhanced)
|
|
|
|
|
(name "qbittorrent-enhanced-nox")
|
|
|
|
|
(arguments (package-arguments qbittorrent-nox))
|
|
|
|
|
(inputs (package-inputs qbittorrent-nox))))
|
|
|
|
|
|
2018-11-22 04:49:05 -05:00
|
|
|
|
(define-public deluge
|
|
|
|
|
(package
|
|
|
|
|
(name "deluge")
|
2022-01-16 04:58:20 -05:00
|
|
|
|
(version "2.0.5")
|
2018-11-22 04:49:05 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
gnu: deluge: Update to 2.0.3.
* gnu/packages/bittorrent.scm (deluge): Update to 2.0.3.
[source]: Update URL.
[inputs]: Remove libtorrent, python2-chardet, python2-pygtk,
python2-pyopenssl, python2-pyxdg, python2-service-identity, python2-twisted.
[propagated-inputs]: Add gtk+, librsvg, libtorrent, python-pycairo,
python-chardet, python-dbus, python-mako, python-pygobject, python-pillow,
python-pyopenssl, python-pyxdg, python-rencode, python-service-identity,
python-setproctitle, python-six, python-twisted, and python-zope-interface.
[native-inputs]: Add python-wheel.
[arguments]: Disable tests. Add 'fix-gettext-warning and 'wrap phase.
2020-08-31 19:51:47 -04:00
|
|
|
|
"https://ftp.osuosl.org/pub/deluge/source/"
|
|
|
|
|
(version-major+minor version) "/deluge-" version ".tar.xz"))
|
2018-11-22 04:49:05 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-01-16 04:58:20 -05:00
|
|
|
|
"1n15dzfnz1gvb4cf046yhi404i3gs933qgz0ichna6r1znmh9gf4"))))
|
2018-11-22 04:49:05 -05:00
|
|
|
|
(build-system python-build-system)
|
2022-01-16 15:57:07 -05:00
|
|
|
|
(inputs (list bash-minimal))
|
gnu: deluge: Update to 2.0.3.
* gnu/packages/bittorrent.scm (deluge): Update to 2.0.3.
[source]: Update URL.
[inputs]: Remove libtorrent, python2-chardet, python2-pygtk,
python2-pyopenssl, python2-pyxdg, python2-service-identity, python2-twisted.
[propagated-inputs]: Add gtk+, librsvg, libtorrent, python-pycairo,
python-chardet, python-dbus, python-mako, python-pygobject, python-pillow,
python-pyopenssl, python-pyxdg, python-rencode, python-service-identity,
python-setproctitle, python-six, python-twisted, and python-zope-interface.
[native-inputs]: Add python-wheel.
[arguments]: Disable tests. Add 'fix-gettext-warning and 'wrap phase.
2020-08-31 19:51:47 -04:00
|
|
|
|
(propagated-inputs
|
2022-01-16 15:57:07 -05:00
|
|
|
|
(list gtk+
|
|
|
|
|
libtorrent-rasterbar
|
|
|
|
|
python-pycairo
|
|
|
|
|
python-chardet
|
|
|
|
|
python-dbus
|
|
|
|
|
python-mako
|
|
|
|
|
python-pygobject
|
|
|
|
|
python-pillow
|
|
|
|
|
python-pyopenssl
|
|
|
|
|
python-pyxdg
|
|
|
|
|
python-rencode
|
|
|
|
|
python-service-identity
|
|
|
|
|
python-setproctitle
|
|
|
|
|
python-six
|
|
|
|
|
python-twisted
|
|
|
|
|
python-zope-interface))
|
2018-11-22 04:49:05 -05:00
|
|
|
|
(native-inputs
|
2021-12-14 14:17:12 -05:00
|
|
|
|
(list intltool python-wheel
|
2023-04-30 08:16:34 -04:00
|
|
|
|
(librsvg-for-system)))
|
gnu: deluge: Update to 2.0.3.
* gnu/packages/bittorrent.scm (deluge): Update to 2.0.3.
[source]: Update URL.
[inputs]: Remove libtorrent, python2-chardet, python2-pygtk,
python2-pyopenssl, python2-pyxdg, python2-service-identity, python2-twisted.
[propagated-inputs]: Add gtk+, librsvg, libtorrent, python-pycairo,
python-chardet, python-dbus, python-mako, python-pygobject, python-pillow,
python-pyopenssl, python-pyxdg, python-rencode, python-service-identity,
python-setproctitle, python-six, python-twisted, and python-zope-interface.
[native-inputs]: Add python-wheel.
[arguments]: Disable tests. Add 'fix-gettext-warning and 'wrap phase.
2020-08-31 19:51:47 -04:00
|
|
|
|
;; TODO: Enable tests.
|
|
|
|
|
;; After "pytest-twisted" is packaged, HOME is set, and an X server is
|
|
|
|
|
;; started, some of the tests still fail. There are likely some tests
|
|
|
|
|
;; that require a network connection.
|
2018-11-22 04:49:05 -05:00
|
|
|
|
(arguments
|
gnu: deluge: Update to 2.0.3.
* gnu/packages/bittorrent.scm (deluge): Update to 2.0.3.
[source]: Update URL.
[inputs]: Remove libtorrent, python2-chardet, python2-pygtk,
python2-pyopenssl, python2-pyxdg, python2-service-identity, python2-twisted.
[propagated-inputs]: Add gtk+, librsvg, libtorrent, python-pycairo,
python-chardet, python-dbus, python-mako, python-pygobject, python-pillow,
python-pyopenssl, python-pyxdg, python-rencode, python-service-identity,
python-setproctitle, python-six, python-twisted, and python-zope-interface.
[native-inputs]: Add python-wheel.
[arguments]: Disable tests. Add 'fix-gettext-warning and 'wrap phase.
2020-08-31 19:51:47 -04:00
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'wrap
|
2021-12-14 14:17:13 -05:00
|
|
|
|
(lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
|
gnu: deluge: Update to 2.0.3.
* gnu/packages/bittorrent.scm (deluge): Update to 2.0.3.
[source]: Update URL.
[inputs]: Remove libtorrent, python2-chardet, python2-pygtk,
python2-pyopenssl, python2-pyxdg, python2-service-identity, python2-twisted.
[propagated-inputs]: Add gtk+, librsvg, libtorrent, python-pycairo,
python-chardet, python-dbus, python-mako, python-pygobject, python-pillow,
python-pyopenssl, python-pyxdg, python-rencode, python-service-identity,
python-setproctitle, python-six, python-twisted, and python-zope-interface.
[native-inputs]: Add python-wheel.
[arguments]: Disable tests. Add 'fix-gettext-warning and 'wrap phase.
2020-08-31 19:51:47 -04:00
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
2022-01-16 16:23:18 -05:00
|
|
|
|
;; "librsvg" input is only needed at build time and it
|
|
|
|
|
;; conflit with the "librsvg" propageted by "gtk+", so we
|
|
|
|
|
;; make sure there is no reference to it in the wrapper.
|
2021-12-14 14:17:13 -05:00
|
|
|
|
(gi-typelib-path
|
|
|
|
|
(string-join (filter
|
|
|
|
|
(lambda (x) (not (string-prefix?
|
|
|
|
|
(assoc-ref
|
|
|
|
|
(or native-inputs inputs)
|
|
|
|
|
"librsvg")
|
|
|
|
|
x)))
|
|
|
|
|
(string-split
|
|
|
|
|
(getenv "GI_TYPELIB_PATH")
|
|
|
|
|
#\:))
|
|
|
|
|
":")))
|
gnu: deluge: Update to 2.0.3.
* gnu/packages/bittorrent.scm (deluge): Update to 2.0.3.
[source]: Update URL.
[inputs]: Remove libtorrent, python2-chardet, python2-pygtk,
python2-pyopenssl, python2-pyxdg, python2-service-identity, python2-twisted.
[propagated-inputs]: Add gtk+, librsvg, libtorrent, python-pycairo,
python-chardet, python-dbus, python-mako, python-pygobject, python-pillow,
python-pyopenssl, python-pyxdg, python-rencode, python-service-identity,
python-setproctitle, python-six, python-twisted, and python-zope-interface.
[native-inputs]: Add python-wheel.
[arguments]: Disable tests. Add 'fix-gettext-warning and 'wrap phase.
2020-08-31 19:51:47 -04:00
|
|
|
|
(for-each
|
|
|
|
|
(lambda (program)
|
|
|
|
|
(wrap-program program
|
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
|
|
|
|
|
(map (lambda (name)
|
|
|
|
|
(string-append out "/bin/" name))
|
|
|
|
|
'("deluge" "deluge-gtk"))))
|
|
|
|
|
#t)))))
|
2018-11-22 04:49:05 -05:00
|
|
|
|
(home-page "https://www.deluge-torrent.org/")
|
|
|
|
|
(synopsis "Fully-featured cross-platform BitTorrent client")
|
|
|
|
|
(description
|
|
|
|
|
"Deluge contains the common features to BitTorrent clients such as
|
|
|
|
|
Protocol Encryption, DHT, Local Peer Discovery (LSD), Peer Exchange
|
|
|
|
|
(PEX), UPnP, NAT-PMP, Proxy support, Web seeds, global and per-torrent
|
|
|
|
|
speed limits. Deluge heavily utilises the libtorrent library. It is
|
|
|
|
|
designed to run as both a normal standalone desktop application and as a
|
|
|
|
|
client-server.")
|
|
|
|
|
(license l:gpl3+)))
|