all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jaeme via Guix-patches via <guix-patches@gnu.org>
To: 66694@debbugs.gnu.org
Subject: [bug#66694] (no subject)
Date: Thu, 26 Oct 2023 19:48:51 -0400	[thread overview]
Message-ID: <46f3e4e1-c5ee-45fd-941f-70424cd7a4a6@runbox.com> (raw)
In-Reply-To: <20231023051055.1470319-1-jaeme@runbox.com>

[-- Attachment #1: Type: text/plain, Size: 29 bytes --]

Revised description field.



[-- Attachment #2: 0001-gnu-Add-ani-cli.patch --]
[-- Type: text/x-patch, Size: 4135 bytes --]

From 4b2a7afbcb6821a307becdef2fb0ca4b29b85d3c Mon Sep 17 00:00:00 2001
Message-Id: <4b2a7afbcb6821a307becdef2fb0ca4b29b85d3c.1698364072.git.jaeme@runbox.com>
From: Jaeme Sifat <jaeme@runbox.com>
Date: Thu, 26 Oct 2023 16:27:45 -0400
Subject: [PATCH] gnu: Add ani-cli.

* gnu/packages/video.scm (ani-cli): New variable.

Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Id2512a6b22dd2a3bfe44aa525c6a72c9c5082653
---
 gnu/packages/video.scm | 57 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index b4dd7c27ae..e7b98ede8b 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2023 Ott Joon <oj@vern.cc>
 ;;; Copyright © 2023 Dominik Delgado Steuter <dds@disroot.org>
 ;;; Copyright © 2023 Saku Laesvuori <saku@laesvuori.fi>
+;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
 ;;;
 ;;; 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)
@@ -209,6 +212,60 @@ (define-module (gnu packages video)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg))
 
+(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
+     (list
+      #:install-plan #~'(("ani-cli" "bin/")
+                         ("ani-cli.1" "share/man/man1/"))
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'install 'wrap
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (define (bin command)
+                         (dirname (search-input-file inputs
+                                                     (string-append "bin/"
+                                                                    command))))
+                       (wrap-program (string-append #$output "/bin/ani-cli")
+                         `("PATH" ":" prefix
+                           ,(map bin
+                                 (list "aria2c"
+                                       "curl"
+                                       "ffmpeg"
+                                       "fzf"
+                                       "grep"
+                                       "mpv"
+                                       "sed"
+                                       "uname"
+                                       "yt-dlp")))))))))
+    (home-page "https://github.com/pystardust/ani-cli")
+    (synopsis "CLI to browse and watch anime")
+    (description
+     "ani-cli is a command-line interface (CLI) to browse and watch anime.  It
+provides an easy way to stream shows using allanime as a source.  There are
+different features such as episode browsing, history tracking, streaming at
+multiple resolutions and much more depending on what programs the user has
+installed.")
+    (inputs (list aria2
+                  coreutils
+                  curl
+                  ffmpeg
+                  fzf
+                  mpv
+                  yt-dlp))
+    (license license:gpl3)))
+
 (define-public transcode
   (package
     (name "transcode")

base-commit: 33f5b747b4a0a508e1ffc94a5bf425cff707c6e3
-- 
2.34.1


  parent reply	other threads:[~2023-10-26 23:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-23  5:10 [bug#66694] [PATCH] gnu: Add ani-cli Jaeme Sifat via Guix-patches via
2023-10-26 20:36 ` [bug#66694] Revised Patch jaeme via Guix-patches via
2023-10-26 23:48 ` jaeme via Guix-patches via [this message]
2023-10-28 22:46 ` [bug#66694] [PATCH] gnu: Add ani-cli Tobias Geerinckx-Rice via Guix-patches via
2023-10-29  6:16 ` [bug#66694] Revision jaeme via Guix-patches via
2023-11-14 18:00 ` [bug#66694] Update on ani-cli? Jaeme Sifat via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46f3e4e1-c5ee-45fd-941f-70424cd7a4a6@runbox.com \
    --to=guix-patches@gnu.org \
    --cc=66694@debbugs.gnu.org \
    --cc=jaeme@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.