Subject: [PATCH] add ani-cli package

From: Nicolas Débonnaire <[email-masked]>
Date: Mon, 23 Oct 2023 18:45:02 +0200

diff --git a/gnu/packages/ani-cli.scm b/gnu/packages/ani-cli.scm
new file mode 100644
index 0000000000..ceef971267
--- /dev/null
+++ b/gnu/packages/ani-cli.scm
@@ -0,0 +1,43 @@
+(define-module (gnu packages ani-cli)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix git-download)
+  #:use-module (gnu packages video)
+  #:use-module (gnu packages curl)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages terminals)
+  #:use-module (guix build-system copy))
+
+(define-public ani-cli
+  (let ((commit "c7e6838647b57411d791bd250417eb0925d74cca")
+        (revision "0"))
+    (package
+      (name "ani-cli")
+      (version (git-version "4.6" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/pystardust/ani-cli")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
"1ni9pzjb5qh87iz7c8252bx79qadr1qx6jnkqvvjcqrchh7q473a"))))
+      (build-system copy-build-system)
+      (propagated-inputs (list yt-dlp
+                               curl
+                               fzf
+                               mpv
+                               sed
+                               grep))
+      (arguments
+       `(#:install-plan '(("ani-cli" "bin/")
+                          ("ani-cli.1" "share/man/man1/"))))
+      (home-page "https://github.com/pystardust/ani-cli")
+      (synopsis "Browse and watch anime from the terminal")
+      (description
+       "ani-cli is a command-line interface (cli) to browse and watch anime
+ (alone AND with friends).  It scrapes the site allanime and open videos
+ in mpv audio and video player.  There is different features such as
+episode browsing, history tracking,...")
+      (license gpl3))))