From 5e99c1f791c990dd76cd63a9ab2a5196656c5c6f Mon Sep 17 00:00:00 2001 Message-Id: <5e99c1f791c990dd76cd63a9ab2a5196656c5c6f.1632277047.git.iskarian@mgsn.dev> In-Reply-To: References: From: phodina Date: Sat, 18 Sep 2021 12:45:04 +0000 Subject: [PATCH v4 2/2] gnu: Add python-pirate-get. * gnu/packages/python-xyz.scm (python-pirate-get): New variable. --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b1f162d079..86962e35b8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1820,6 +1820,34 @@ inserted directly, read from a CSV file, or imported using a Python DB-API database cursor such as @code{sqlite3}.") (license license:bsd-3))) +(define-public python-pirate-get + (package + (name "python-pirate-get") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pirate-get" version)) + (sha256 + (base32 + "07s5ss9dxccx1mip7pyga1fagywkqchxmzz55ng47ac9053ffxkq")))) + (build-system python-build-system) + (inputs + `(("python-colorama" ,python-colorama) + ("python-pyperclip" ,python-pyperclip) + ("python-veryprettytable" ,python-veryprettytable))) + (home-page + "https://github.com/vikstrous/pirate-get") + (synopsis + "Command line interface for The Pirate Bay") + (description + "@code{pirate-get} is an unofficial command line interface for searching +The Pirate Bay, inspired by @command{apt}. Results can be saved as JSON, +@code{.torrent} files, or magnet links, or they can be opened directly in +@command{transmission-remote}. @code{pirate-get} also supports searching +mirrors or a local copy of The Pirate Bay's database.") + (license license:agpl3))) + (define-public python2-humanfriendly (let ((base (package-with-python2 (strip-python2-variant python-humanfriendly)))) -- 2.33.0