From 06ab49a653361f59dccea6c62da51117a0266979 Mon Sep 17 00:00:00 2001 From: Junker Date: Tue, 30 Sep 2025 22:21:16 +0700 Subject: [PATCH] gnu: Add stig. * gnu/packages/bittorrent.scm (stig): New variable. Change-Id: Id11530c7e43522c63972f767afacaad3e55ecfc7 Signed-off-by: Sughosha --- gnu/packages/bittorrent.scm | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index 9f260067fdc4c9145303cdcf1c7c03e4be91001f..8336fd919c23390a930d27e7b8d40955de7041f4 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2025 Janneke Nieuwenhuizen ;;; Copyright © 2025 Vinicius Monego +;;; Copyright © 2025 Junker ;;; ;;; This file is part of GNU Guix. ;;; @@ -221,6 +222,46 @@ of the Transmission BitTorrent client, using its HTTP RPC protocol.") (home-page "https://github.com/transmission-remote-gtk/transmission-remote-gtk") (license l:gpl2+))) +(define-public stig + (package + (name "stig") + (version "0.14.0a0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rndusr/stig") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jfcgncva94pyzjifar1l6wlmb7aylg0l4fxljc83rkbj1a2aan0")))) + (propagated-inputs + (list python-urwid + python-urwidtrees + python-aiohttp + python-aiohttp-socks + python-pyxdg + python-blinker + python-natsort + python-async-timeout + python-setproctitle)) + (arguments + (list + #:tests? #f ;tests require network access + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'loosen-version-restrictions + (lambda _ + (substitute* "setup.py" + (("urwidtrees==1.0.3") "urwidtrees>=1.0.3"))))))) + (inputs (list python)) + (build-system python-build-system) + (synopsis "TUI and CLI for the BitTorrent client Transmission") + (description + "Stig is a @acronym{TUI, Text User Interface} and @acronym{CLI, Command Line +Interface} client for the BitTorrent client Transmission.") + (home-page "https://github.com/rndusr/stig") + (license l:gpl3))) + (define-public libtorrent (package (name "libtorrent")