unofficial mirror of guix-patches@gnu.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] Revised Patch
Date: Thu, 26 Oct 2023 16:36:59 -0400	[thread overview]
Message-ID: <3fef0f08-1816-4abe-a06c-e858a2b74e58@runbox.com> (raw)
In-Reply-To: <20231023051055.1470319-1-jaeme@runbox.com>

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

I revised my patch to include gexps instead of inferior 
propagated-inputs as was advised to me in the guix IRC room.

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

From a70882f584c9406f46325dced316e3ee95c73aee Mon Sep 17 00:00:00 2001
Message-Id: <a70882f584c9406f46325dced316e3ee95c73aee.1698352369.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..70f4808723 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
+(alone AND with friends).  It provides an easy way to stream shows from
+allanime directly.  There is 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


  reply	other threads:[~2023-10-26 20:39 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 ` jaeme via Guix-patches via [this message]
2023-10-26 23:48 ` [bug#66694] (no subject) jaeme via Guix-patches via
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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=3fef0f08-1816-4abe-a06c-e858a2b74e58@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).