From patchwork Mon Oct 23 05:10:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 55147 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 368D027BBEA; Mon, 23 Oct 2023 06:13:02 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CBE4827BBE2 for ; Mon, 23 Oct 2023 06:12:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qunEy-0001s2-C3; Mon, 23 Oct 2023 01:12:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qunEv-0001qY-Ot for guix-patches@gnu.org; Mon, 23 Oct 2023 01:12:34 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qunEv-0003Qn-Ge for guix-patches@gnu.org; Mon, 23 Oct 2023 01:12:33 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qunFN-0004fv-RQ for guix-patches@gnu.org; Mon, 23 Oct 2023 01:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66694] [PATCH] gnu: Add ani-cli Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Oct 2023 05:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66694 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66694@debbugs.gnu.org Cc: Jaeme Sifat X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169803794417920 (code B ref -1); Mon, 23 Oct 2023 05:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Oct 2023 05:12:24 +0000 Received: from localhost ([127.0.0.1]:48828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qunEm-0004ey-5O for submit@debbugs.gnu.org; Mon, 23 Oct 2023 01:12:24 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qunEg-0004eX-Nm for submit@debbugs.gnu.org; Mon, 23 Oct 2023 01:12:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qunE7-0001d9-10 for guix-patches@gnu.org; Mon, 23 Oct 2023 01:11:43 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qunE4-0003HW-Jg for guix-patches@gnu.org; Mon, 23 Oct 2023 01:11:42 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo1.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qunDx-00D6Nc-6b for guix-patches@gnu.org; Mon, 23 Oct 2023 07:11:33 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-Id:Date:Subject:Cc:To:From; bh=xxyN9tuMHcTNvqpghBdqWaZyE4RKLQm7956CVO+WH3U=; b=U5lgRb7/YbXpREK4DFUUmCYGbZ RIZPwzdJ2KCxrvg/U4cjc163oXJktbWa6PVoxEWiFC5NYdxfkQn04Kf1UAFs4Dd179/s4WtRkgAUO 1Jr03YfPSA0wb8eYrGeyFKSDhXu5w7+Buja1MD2Xpo5wOBC7bfjjmcfKCYbyIs8v+Yer9RppEOiMZ 21OtVpiioQXT1d0LG/522izTecRIvoc3kXE047rUUeS7RFjhqWk5K7i2+ZPuuD6C0wUog01w66jcc Tlmm9ci/FYi6954nKvT7sodxPQHKFRqG1Yz3jZs0SS/zklcaAZI7UujDXFd7zWMV65KpJf0LPi4IH TEKkNYFg==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qunDw-0001qb-Co for guix-patches@gnu.org; Mon, 23 Oct 2023 07:11:32 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qunDi-001zJP-2z; Mon, 23 Oct 2023 07:11:18 +0200 Date: Mon, 23 Oct 2023 01:10:55 -0400 Message-Id: <20231023051055.1470319-1-jaeme@runbox.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a0c:5a00:149::25; envelope-from=jaeme@runbox.com; helo=mailtransmit04.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Change-Id: I922b98d5a047760974a22499d7a299bdf932ef1a --- gnu/packages/video.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) base-commit: 56742f79c0d41e7a642154d9f04b9a344c47a6dc diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index b4dd7c27ae..e5166a3aa2 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -66,6 +66,7 @@ ;;; Copyright © 2023 Ott Joon ;;; Copyright © 2023 Dominik Delgado Steuter ;;; Copyright © 2023 Saku Laesvuori +;;; Copyright © 2023 Jaeme Sifat ;;; ;;; This file is part of GNU Guix. ;;; @@ -116,6 +117,7 @@ (define-module (gnu packages video) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages bison) + #:use-module (gnu packages bittorrent) #:use-module (gnu packages boost) #:use-module (gnu packages cdrom) #:use-module (gnu packages check) @@ -194,6 +196,7 @@ (define-module (gnu packages video) #:use-module (gnu packages sqlite) #:use-module (gnu packages ssh) #:use-module (gnu packages swig) + #:use-module (gnu packages terminals) #:use-module (gnu packages texinfo) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) @@ -5721,3 +5724,34 @@ (define-public svtplay-dl broadcasters including SVT Play, Sveriges Radio, TV4 Play, along with many others.") (license license:expat))) + +(define-public ani-cli + (package + (name "ani-cli") + (version "4.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pystardust/ani-cli") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ni9pzjb5qh87iz7c8252bx79qadr1qx6jnkqvvjcqrchh7q473a")))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("ani-cli" "bin/") + ("ani-cli.1" "share/man/man1/")))) + (home-page "https://github.com/pystardust/ani-cli") + (synopsis "CLI to browse and watch anime") + (description + "ani-cli is a shell script command-line tool for browsing and watching +anime using allanime as a source. It can stream at multiple resolutions and +provides multiple interfaces such as rofi.") + (propagated-inputs (list mpv + yt-dlp + ffmpeg + fzf + curl + aria2)) + (license license:gpl3)))