2014-05-26 11:51:49 +02:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2014-11-24 22:00:58 +01:00
|
|
|
|
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
|
2016-04-02 22:37:15 +02:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
|
2018-11-28 21:38:16 +01:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Leo Famulari <leo@famulari.name>
|
2018-05-21 12:24:40 +02:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
2016-11-18 22:58:01 +01:00
|
|
|
|
;;; Copyright © 2016 Tomáš Čech <sleep_walker@gnu.org>
|
2018-01-20 23:20:26 +01:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-01-22 15:38:51 +01:00
|
|
|
|
;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org>
|
2018-04-06 22:07:28 +02:00
|
|
|
|
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
|
2018-11-22 10:49:06 +01:00
|
|
|
|
;;; Copyright © 2018 Nam Nguyen <namn@berkeley.edu>
|
2018-11-28 21:38:16 +01:00
|
|
|
|
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
|
2014-05-26 11:51:49 +02: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-27 02:28:45 +01:00
|
|
|
|
#:use-module (guix git-download)
|
2014-05-26 11:51:49 +02:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2016-01-18 06:05:10 +01:00
|
|
|
|
#:use-module (guix build-system python)
|
2014-12-01 22:40:30 +01: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 22:44:22 +02:00
|
|
|
|
#:use-module ((guix licenses) #:prefix l:)
|
2017-03-26 07:49:50 +02:00
|
|
|
|
#:use-module (gnu packages)
|
2016-01-27 12:59:49 +01:00
|
|
|
|
#:use-module (gnu packages adns)
|
2017-01-22 15:38:51 +01:00
|
|
|
|
#:use-module (gnu packages boost)
|
2016-01-27 12:59:49 +01:00
|
|
|
|
#:use-module (gnu packages check)
|
|
|
|
|
#:use-module (gnu packages compression)
|
2016-11-18 22:58:01 +01:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2014-05-26 11:51:49 +02:00
|
|
|
|
#:use-module (gnu packages curl)
|
2016-01-27 12:59:49 +01:00
|
|
|
|
#:use-module (gnu packages cyrus-sasl)
|
|
|
|
|
#:use-module (gnu packages databases)
|
2014-05-26 11:51:49 +02:00
|
|
|
|
#:use-module (gnu packages file)
|
2018-11-22 10:49:05 +01:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2014-05-26 11:51:49 +02:00
|
|
|
|
#:use-module (gnu packages glib)
|
2016-11-18 22:58:01 +01:00
|
|
|
|
#:use-module (gnu packages gnome)
|
|
|
|
|
#:use-module (gnu packages gnupg)
|
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2014-11-24 22:00:58 +01:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2016-01-27 12:59:49 +01:00
|
|
|
|
#:use-module (gnu packages libevent)
|
|
|
|
|
#:use-module (gnu packages linux)
|
|
|
|
|
#:use-module (gnu packages multiprecision)
|
|
|
|
|
#:use-module (gnu packages nettle)
|
2014-11-22 15:57:26 +01:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2016-01-27 12:59:49 +01:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2016-01-18 06:05:10 +01:00
|
|
|
|
#:use-module (gnu packages python)
|
2018-11-22 10:49:05 +01:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
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 14:21:30 +01:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2018-04-06 22:07:28 +02:00
|
|
|
|
#:use-module (gnu packages qt)
|
2016-01-27 12:59:49 +01:00
|
|
|
|
#:use-module (gnu packages ssh)
|
|
|
|
|
#:use-module (gnu packages tls)
|
|
|
|
|
#:use-module (gnu packages xml))
|
2014-05-26 11:51:49 +02:00
|
|
|
|
|
|
|
|
|
(define-public transmission
|
|
|
|
|
(package
|
|
|
|
|
(name "transmission")
|
2018-05-02 13:03:14 +02:00
|
|
|
|
(version "2.94")
|
2014-05-26 11:51:49 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2018-02-01 01:21:03 +01:00
|
|
|
|
"https://github.com/transmission/transmission-releases/raw/"
|
|
|
|
|
"master/transmission-" version ".tar.xz"))
|
2014-05-26 11:51:49 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-02 13:03:14 +02:00
|
|
|
|
"0zbbj7rlm6m7vb64x68a64cwmijhsrwx9l63hbwqs7zr9742qi1m"))))
|
2014-12-01 22:40:30 +01:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
2014-05-26 11:51:49 +02:00
|
|
|
|
(outputs '("out" ; library and command-line interface
|
|
|
|
|
"gui")) ; graphical user interface
|
|
|
|
|
(arguments
|
2014-12-01 22:40:30 +01:00
|
|
|
|
'(#:glib-or-gtk-wrap-excluded-outputs '("out")
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'move-gui
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Move the GUI to its own output, so that "out" doesn't
|
|
|
|
|
;; depend on GTK+.
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(gui (assoc-ref outputs "gui")))
|
|
|
|
|
(mkdir-p (string-append gui "/bin"))
|
|
|
|
|
(rename-file (string-append out "/bin/transmission-gtk")
|
|
|
|
|
(string-append gui
|
|
|
|
|
"/bin/transmission-gtk"))
|
2016-04-02 22:37:15 +02:00
|
|
|
|
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 17:28:42 +02:00
|
|
|
|
;; Move the '.desktop' file as well.
|
|
|
|
|
(mkdir (string-append gui "/share"))
|
|
|
|
|
(rename-file (string-append out "/share/applications")
|
|
|
|
|
(string-append gui "/share/applications")))
|
|
|
|
|
#t)))))
|
2014-05-26 11:51:49 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("inotify-tools" ,inotify-tools)
|
|
|
|
|
("libevent" ,libevent)
|
|
|
|
|
("curl" ,curl)
|
2016-11-25 03:27:40 +01:00
|
|
|
|
("cyrus-sasl" ,cyrus-sasl)
|
2014-05-26 11:51:49 +02:00
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("file" ,file)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("gtk+" ,gtk+)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://www.transmissionbt.com/")
|
|
|
|
|
(synopsis "Fast and easy BitTorrent client")
|
|
|
|
|
(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 14:16:07 +02:00
|
|
|
|
unattended operations. It supports local peer discovery, full encryption,
|
2014-05-26 11:51:49 +02: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.
|
|
|
|
|
(license l:gpl3+)))
|
2014-11-24 22:00:58 +01:00
|
|
|
|
|
|
|
|
|
(define-public libtorrent
|
|
|
|
|
(package
|
|
|
|
|
(name "libtorrent")
|
2015-10-03 21:21:33 +02:00
|
|
|
|
(version "0.13.6")
|
2014-11-24 22:00:58 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2015-10-03 21:21:33 +02:00
|
|
|
|
"http://rtorrent.net/downloads/libtorrent-"
|
2014-11-24 22:00:58 +01:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-10-03 21:21:33 +02:00
|
|
|
|
"012s1nwcvz5m5r4d2z9klgy2n34kpgn9kgwgzxm97zgdjs6a0f18"))))
|
2014-11-24 22:00:58 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("openssl" ,openssl)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
2015-10-03 21:21:33 +02:00
|
|
|
|
("cppunit" ,cppunit)))
|
2014-11-24 22:00:58 +01: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 21:16:27 +02:00
|
|
|
|
(home-page "https://github.com/rakshasa/libtorrent")
|
2014-11-24 22:00:58 +01:00
|
|
|
|
(license l:gpl2+)))
|
2014-11-22 15:57:26 +01:00
|
|
|
|
|
|
|
|
|
(define-public rtorrent
|
|
|
|
|
(package
|
|
|
|
|
(name "rtorrent")
|
2015-10-03 21:23:40 +02:00
|
|
|
|
(version "0.9.6")
|
2014-11-22 15:57:26 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2015-10-03 21:23:40 +02:00
|
|
|
|
"http://rtorrent.net/downloads/rtorrent-"
|
2014-11-22 15:57:26 +01:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-10-03 21:23:40 +02:00
|
|
|
|
"03jvzw9pi2mhcm913h8qg0qw9gwjqc6lhwynb1yz1y163x7w4s8y"))))
|
2014-11-22 15:57:26 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("libtorrent" ,libtorrent)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("cyrus-sasl" ,cyrus-sasl)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("cppunit" ,cppunit)))
|
|
|
|
|
(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 21:16:27 +02:00
|
|
|
|
(home-page "https://github.com/rakshasa/rtorrent")
|
2014-11-22 15:57:26 +01:00
|
|
|
|
(license l:gpl2+)))
|
2017-01-27 02:28:45 +01:00
|
|
|
|
|
|
|
|
|
(define-public tremc
|
2018-08-15 16:07:51 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "tremc")
|
|
|
|
|
(version "0.9.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2018-08-15 21:24:16 +02:00
|
|
|
|
(url "https://github.com/tremc/tremc.git")
|
2018-08-15 16:07:51 +02:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1yhwvlcyv1s830p5a7q5x3mkb3mbvr5cn5nh7y62l5b6iyyynlvm"))))
|
|
|
|
|
(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
|
|
|
|
|
`(("python" ,python)))
|
|
|
|
|
(synopsis "Console client for the Transmission BitTorrent daemon")
|
|
|
|
|
(description "Tremc is a console client, with a curses interface, for the
|
2017-01-27 02:28:45 +01:00
|
|
|
|
Transmission BitTorrent daemon.")
|
2018-08-15 21:24:16 +02:00
|
|
|
|
(home-page "https://github.com/tremc/tremc")
|
2018-08-15 16:07:51 +02:00
|
|
|
|
(license l:gpl3+)))
|
2016-01-18 06:05:10 +01:00
|
|
|
|
|
|
|
|
|
(define-public transmission-remote-cli
|
|
|
|
|
(package
|
|
|
|
|
(name "transmission-remote-cli")
|
|
|
|
|
(version "1.7.1")
|
|
|
|
|
(source (origin
|
2018-11-28 21:38:16 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/fagga/transmission-remote-cli.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-01-18 06:05:10 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-28 21:38:16 +01:00
|
|
|
|
"09w9f8vrm61lapin8fmq4rgahr95y3c6wss10g0fgd0kl16f895v"))))
|
2016-01-18 06:05:10 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:python ,python-2 ; only supports Python 2
|
|
|
|
|
#:tests? #f ; no test suite
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
;; The software is just a Python script that must be
|
|
|
|
|
;; copied into place.
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man/man1"))
|
|
|
|
|
;; FIXME install zsh completions
|
|
|
|
|
(completions (string-append out "/etc/bash_completion.d")))
|
|
|
|
|
(install-file "transmission-remote-cli" bin)
|
|
|
|
|
(install-file "transmission-remote-cli.1" man)
|
|
|
|
|
(install-file
|
|
|
|
|
(string-append
|
|
|
|
|
"completion/bash/"
|
|
|
|
|
"transmission-remote-cli-bash-completion.sh")
|
|
|
|
|
completions)))))))
|
|
|
|
|
(synopsis "Console client for the Transmission BitTorrent daemon")
|
|
|
|
|
(description "Transmission-remote-cli is a console client, with a curses
|
2017-01-27 08:05:11 +01:00
|
|
|
|
interface, for the Transmission BitTorrent daemon. This package is no longer
|
|
|
|
|
maintained upstream.")
|
2016-01-18 06:05:10 +01:00
|
|
|
|
(home-page "https://github.com/fagga/transmission-remote-cli")
|
2017-01-27 08:05:11 +01:00
|
|
|
|
(license l:gpl3+)
|
|
|
|
|
(properties `((superseded . ,tremc)))))
|
2016-01-27 12:59:49 +01:00
|
|
|
|
|
|
|
|
|
(define-public aria2
|
|
|
|
|
(package
|
|
|
|
|
(name "aria2")
|
2018-05-21 12:24:40 +02:00
|
|
|
|
(version "1.34.0")
|
2016-01-27 12:59:49 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/tatsuhiro-t/aria2/"
|
|
|
|
|
"releases/download/release-" version "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
2019-01-09 21:37:44 +01:00
|
|
|
|
(patches (search-patches "aria2-CVE-2019-3500.patch"))
|
2016-01-27 12:59:49 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-21 12:24:40 +02:00
|
|
|
|
"18vpgr430vxlwbcc3598rr1srfmwypls6wp1m4wf21hncc1ahi1s"))))
|
2016-01-27 12:59:49 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-08-24 21:13:34 +02:00
|
|
|
|
`(#:configure-flags (list "--enable-libaria2"
|
|
|
|
|
(string-append "--with-bashcompletiondir="
|
|
|
|
|
%output "/etc/bash_completion.d/"))
|
2016-01-27 12:59:49 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(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)
|
2017-01-04 17:11:37 +01:00
|
|
|
|
(string-append "// " text)))
|
|
|
|
|
#t)))))
|
2016-01-27 12:59:49 +01:00
|
|
|
|
(native-inputs
|
2016-05-26 07:59:22 +02:00
|
|
|
|
`(("cppunit" ,cppunit) ; for the tests
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2016-01-27 12:59:49 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("c-ares" ,c-ares)
|
|
|
|
|
("gnutls" ,gnutls)
|
|
|
|
|
("gmp" ,gmp)
|
|
|
|
|
("libssh2" ,libssh2)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("nettle" ,nettle)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,zlib)))
|
2016-05-26 07:59:22 +02:00
|
|
|
|
(home-page "https://aria2.github.io/")
|
2016-01-27 12:59:49 +01: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.")
|
|
|
|
|
(license l:gpl2+)))
|
2016-11-18 22:58:01 +01:00
|
|
|
|
|
|
|
|
|
(define-public uget
|
|
|
|
|
(package
|
|
|
|
|
(name "uget")
|
|
|
|
|
(version "2.0.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/urlget/"
|
|
|
|
|
"uget%20%28stable%29/" version "/uget-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0919cf7lfk1djdl003cahqjvafdliv7v2l8r5wg95n4isqggdk75"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gnutls" ,gnutls)
|
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
|
("libnotify" ,libnotify)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(native-inputs
|
2016-12-03 22:19:55 +01:00
|
|
|
|
`(("intltool" ,intltool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2016-11-18 22:58:01 +01:00
|
|
|
|
(home-page "http://ugetdm.com/")
|
|
|
|
|
(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 16:10:46 +01:00
|
|
|
|
|
|
|
|
|
(define-public mktorrent
|
|
|
|
|
(package
|
|
|
|
|
(name "mktorrent")
|
2018-01-20 23:20:26 +01:00
|
|
|
|
(version "1.1")
|
2016-12-02 16:10:46 +01:00
|
|
|
|
(source (origin
|
2018-11-28 22:17:10 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Rudde/mktorrent.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-12-02 16:10:46 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-28 22:17:10 +01:00
|
|
|
|
"17pdc5mandl739f8q26n5is8ga56s83aqcrwhlnnplbxwx2inidr"))))
|
2016-12-02 16:10:46 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)) ; no configure script
|
|
|
|
|
#:make-flags (list "CC=gcc"
|
|
|
|
|
(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 23:20:26 +01:00
|
|
|
|
(home-page "https://github.com/Rudde/mktorrent")
|
2016-12-02 16:10:46 +01:00
|
|
|
|
(synopsis "Utility to create BitTorrent metainfo files")
|
2018-01-20 23:22:20 +01: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 16:10:46 +01: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 15:38:51 +01:00
|
|
|
|
|
|
|
|
|
(define-public libtorrent-rasterbar
|
|
|
|
|
(package
|
|
|
|
|
(name "libtorrent-rasterbar")
|
2018-11-23 23:09:13 +01:00
|
|
|
|
(version "1.1.11")
|
2017-01-22 15:38:51 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
2018-11-23 23:09:13 +01:00
|
|
|
|
"https://github.com/arvidn/libtorrent/releases/download/libtorrent_"
|
2017-03-26 07:49:50 +02:00
|
|
|
|
(string-join (string-split version #\.) "_")
|
|
|
|
|
"/libtorrent-rasterbar-" version ".tar.gz"))
|
2017-01-22 15:38:51 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-23 23:09:13 +01:00
|
|
|
|
"0isqidr11fnhybr0wvk0qxd97jaikmh8fx9h89b84yd2gyxdw8vw"))))
|
2017-01-22 15:38:51 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--with-boost-libdir="
|
|
|
|
|
(assoc-ref %build-inputs "boost")
|
|
|
|
|
"/lib")
|
|
|
|
|
"--enable-python-binding"
|
2018-04-06 22:06:52 +02:00
|
|
|
|
"--enable-tests"
|
|
|
|
|
"CXXFLAGS=-std=c++11") ; Use std::chrono instead of boost
|
2017-01-22 15:38:51 +01:00
|
|
|
|
#:make-flags (list
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
2018-11-22 10:49:06 +01:00
|
|
|
|
(assoc-ref %outputs "out") "/lib"))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'compile-python-c++11
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Make sure the Python bindings are compiled in C++ mode to
|
|
|
|
|
;; avoid undefined references as mentioned in
|
|
|
|
|
;; <https://github.com/qbittorrent/qBittorrent/issues/638>.
|
|
|
|
|
;; XXX: This can be removed for 1.2+.
|
|
|
|
|
(substitute* "bindings/python/setup.py"
|
|
|
|
|
(("\\+ target_specific\\(\\)\\,")
|
|
|
|
|
"+ target_specific() + ['-std=c++11'],"))
|
|
|
|
|
#t)))))
|
2017-01-22 15:38:51 +01:00
|
|
|
|
(inputs `(("boost" ,boost)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(native-inputs `(("python" ,python-2)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2018-01-21 00:26:51 +01:00
|
|
|
|
(home-page "https://www.libtorrent.org/")
|
2017-01-22 15:38:51 +01:00
|
|
|
|
(synopsis "Feature complete BitTorrent implementation")
|
|
|
|
|
(description
|
|
|
|
|
"libtorrent-rasterbar is a feature complete C++ BitTorrent implementation
|
|
|
|
|
focusing on efficiency and scalability. It runs on embedded devices as well as
|
|
|
|
|
desktops.")
|
|
|
|
|
(license l:bsd-2)))
|
|
|
|
|
|
2018-04-06 22:07:28 +02:00
|
|
|
|
(define-public qbittorrent
|
|
|
|
|
(package
|
|
|
|
|
(name "qbittorrent")
|
2018-09-20 15:29:15 +02:00
|
|
|
|
(version "4.1.3")
|
2018-04-06 22:07:28 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/qbittorrent/qBittorrent/archive/release-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-release-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-09-20 15:29:15 +02:00
|
|
|
|
"00zrpnwanq9f7maky2z4wnzw08xy902s77scm2gcvxxxankr4j92"))))
|
2018-04-06 22:07:28 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--with-boost-libdir="
|
|
|
|
|
(assoc-ref %build-inputs "boost")
|
|
|
|
|
"/lib")
|
|
|
|
|
"--enable-debug"
|
|
|
|
|
"QMAKE_LRELEASE=lrelease")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("libtorrent-rasterbar" ,libtorrent-rasterbar)
|
|
|
|
|
("openssl" ,openssl)
|
2018-09-20 15:29:15 +02:00
|
|
|
|
("python" ,python-wrapper)
|
2018-04-06 22:07:28 +02:00
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(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 15:38:51 +01:00
|
|
|
|
|
2018-04-06 22:07:28 +02: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 10:49:05 +01:00
|
|
|
|
|
|
|
|
|
(define-public deluge
|
|
|
|
|
(package
|
|
|
|
|
(name "deluge")
|
|
|
|
|
(version "1.3.15")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://download.deluge-torrent.org/source/deluge-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0b7rri4x0wrcj7rjghrnw1kfrsd5i7i6aq85dsg5dg1w1qa0ar59"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libtorrent" ,libtorrent-rasterbar)
|
|
|
|
|
("python2-chardet" ,python2-chardet)
|
|
|
|
|
("python2-pygtk" ,python2-pygtk)
|
|
|
|
|
("python2-pyopenssl" ,python2-pyopenssl)
|
|
|
|
|
("python2-pyxdg" ,python2-pyxdg)
|
|
|
|
|
("python2-service-identity" ,python2-service-identity)
|
|
|
|
|
("python2-twisted" ,python2-twisted)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:python ,python-2))
|
|
|
|
|
(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+)))
|