Subject: [PATH] gnu: Add transmission-remote-gtk.
From: Justin Veilleux <[email-masked]>
To: [email-masked]
Date: Thu, 15 Jul 2021 14:31:08 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From 426aa9bd6b758628249df7c0925179ce39054f29 Mon Sep 17 00:00:00 2001
From: terramorpha <[email-masked]>
Date: Thu, 15 Jul 2021 14:27:35 -0400
Subject: [PATCH] gnu: Add transmission-remote-gtk.

* gnu/packages/bittorrent.scm (transmission-remote-gtk): New variable.
---
 gnu/packages/bittorrent.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 0ca60d607c..90dabb40ed 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2018 Ricardo Wurmus <[email-masked]>
 ;;; Copyright © 2019, 2020 Brett Gilio <[email-masked]>
 ;;; Copyright © 2020 Hartmut Goebel <[email-masked]>
+;;; Copyright © 2021 Justin Veilleux <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -38,6 +39,7 @@
   #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages adns)
+  #:use-module (gnu packages autotools)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
@@ -45,6 +47,7 @@
   #:use-module (gnu packages curl)
   #:use-module (gnu packages cyrus-sasl)
   #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -138,6 +141,39 @@ DHT, µTP, PEX and Magnet Links.")
     ;; A few files files carry an MIT/X11 license header.
     (license (list l:gpl2 l:gpl3))))
 
+(define-public transmission-remote-gtk
+  (package
+    (name "transmission-remote-gtk")
+    (version "1.4.1")
+    (source
+     (origin
+       (uri
+        (string-append
+         "https://github.com/transmission-remote-gtk/"
+         "transmission-remote-gtk/releases/download/"
+         version "/transmission-remote-gtk-" version ".tar.xz"))
+       (method url-fetch)
+       (sha256
+        (base32 "1aqjl5rgamgcgqvcldd1gzyfh2xci0m7070924d6vz2qln0q75sr"))))
+    (build-system gnu-build-system)
+    (synopsis "a 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.")
+    (license license:gpl2)
+    (home-page
+     "https://github.com/transmission-remote-gtk/transmission-remote-gtk")
+    (arguments
+     `(#:tests? #f ; the tests fail
+                ))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("gettext" ,gnu-gettext)
+       ("json-glib" ,json-glib)
+       ("curl" ,curl)
+       ("gtk+" ,gtk+)
+       ("appstream-glib" ,appstream-glib)))))
+
 (define-public libtorrent
   (package
     (name "libtorrent")
-- 
2.32.0