GNU bug report logs - #76378
[PATCH] gnu: Add twitch-hls-client

Previous Next

Package: guix-patches;

Reported by: Vitor Hugo <vitorhugonunes <at> proton.me>

Date: Mon, 17 Feb 2025 23:13:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 76378 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#76378; Package guix-patches. (Mon, 17 Feb 2025 23:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vitor Hugo <vitorhugonunes <at> proton.me>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 17 Feb 2025 23:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vitor Hugo <vitorhugonunes <at> proton.me>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add twitch-hls-client
Date: Mon, 17 Feb 2025 23:12:27 +0000
* gnu/packages/rust-apps.scm (twitch-hls-client): New variable.

Change-Id: I5cf9b3e199068f5a37ae598cf14ba26be4cf8c05                                                                                                                                                                                                                           
---                                                                                                                                                                                                                                                                            
 gnu/packages/rust-apps.scm | 29 +++++++++++++++++++++++++++++                                                                                                                                                                                                                 
 1 file changed, 29 insertions(+)                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                               
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm                                                                                                                                                                                                           
index 054a09c47d..65f2d097b0 100644                                                                                                                                                                                                                                            
--- a/gnu/packages/rust-apps.scm                                                                                                                                                                                                                                               
+++ b/gnu/packages/rust-apps.scm                                                                                                                                                                                                                                               
@@ -4298,6 +4298,35 @@ (define-public tealdeer                                                                                                                                                                                                                                 
 Full featured offline client with caching support.")                                                                                                                                                                                                                          
     (license (list license:expat license:asl2.0))))                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                               
+(define-public twitch-hls-client                                                                                                                                                                                                                                              
+  (package                                                                                                                                                                                                                                                                    
+    (name "twitch-hls-client")                                                                                                                                                                                                                                                
+    (version "1.3.13")                                                                                                                                                                                                                                                        
+    (source (origin                                                                                                                                                                                                                                                           
+             (method git-fetch)                                                                                                                                                                                                                                               
+             (uri (git-reference                                                                                                                                                                                                                                              
+                   (url "https://github.com/2bc4/twitch-hls-client")                                                                                                                                                                                                          
+                   (commit version)))                                                                                                                                                                                                                                         
+             (file-name (git-file-name name version))                                                                                                                                                                                                                         
+             (sha256                                                                                                                                                                                                                                                          
+              (base32 "0nh2lqb41z7h0ak946nqbm6n3igj2rlpl6dkljlnhi3hf6lkm3hz"))))                                                                                                                                                                                              
+    (build-system cargo-build-system)                                                                                                                                                                                                                                         
+    (arguments                                                                                                                                                                                                                                                                
+     `(#:install-source? #f                                                                                                                                                                                                                                                   
+       #:cargo-inputs                                                                                                                                                                                                                                                         
+       (("rust-anyhow" ,rust-anyhow-1)                                                                                                                                                                                                                                        
+       ("rust-chunked-transfer" ,rust-chunked-transfer-1)                                                                                                                                                                                                                     
+       ("rust-flate2" ,rust-flate2-1)                                                                                                                                                                                                                                         
+       ("rust-getrandom" ,rust-getrandom-0.2)                                                                                                                                                                                                                                 
+       ("rust-pico-args" ,rust-pico-args-0.5)                                                                                                                                                                                                                                 
+       ("rust-rustls" ,rust-rustls-0.23)                                                                                                                                                                                                                                      
+       ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7)                                                                                                                                                                                                             
+       ("rust-log" ,rust-log-0.4))))                                                                                                                                                                                                                                          
+    (home-page "https://github.com/2bc4/twitch-hls-client")                                                                                                                                                                                                                   
+    (synopsis "Command line client for Twitch.tv")                                                                                                                                                                                                                            
+    (description "twitch-hls-client is a minimal command line client for watching/recording Twitch streams")                                                                                                                                                                  
+    (license license:gpl3)))                                                                                                                                                                                                                                                  
+                                                                                                                                                                                                                                                                              
 (define-public git-absorb                                                                                                                                                                                                                                                     
   (package                                                                                                                                                                                                                                                                    
     (name "git-absorb")                                                                                                                                                                                                                                                       
--                                                                                                                                                                                                                                                                             
2.46.0




Information forwarded to guix-patches <at> gnu.org:
bug#76378; Package guix-patches. (Mon, 17 Feb 2025 23:27:02 GMT) Full text and rfc822 format available.

Message #8 received at 76378 <at> debbugs.gnu.org (full text, mbox):

From: Vitor Hugo <vitorhugonunes <at> proton.me>
To: "76378 <at> debbugs.gnu.org" <76378 <at> debbugs.gnu.org>
Subject: Fix linting error
Date: Mon, 17 Feb 2025 23:26:07 +0000
I made one of the lines too long and didn't check
the linter.

Change-Id: I6bcd6265fddb6ee22c833e418d7c5ec9e70e9a8f
---
 gnu/packages/rust-apps.scm | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 65f2d097b0..d3c6b1e822 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -4302,29 +4302,31 @@ (define-public twitch-hls-client
   (package
     (name "twitch-hls-client")
     (version "1.3.13")
-    (source (origin
-             (method git-fetch)
-             (uri (git-reference
-                   (url "https://github.com/2bc4/twitch-hls-client")
-                   (commit version)))
-             (file-name (git-file-name name version))
-             (sha256
-              (base32 "0nh2lqb41z7h0ak946nqbm6n3igj2rlpl6dkljlnhi3hf6lkm3hz"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/2bc4/twitch-hls-client")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0nh2lqb41z7h0ak946nqbm6n3igj2rlpl6dkljlnhi3hf6lkm3hz"))))
     (build-system cargo-build-system)
     (arguments
      `(#:install-source? #f
-       #:cargo-inputs
-       (("rust-anyhow" ,rust-anyhow-1)
-       ("rust-chunked-transfer" ,rust-chunked-transfer-1)
-       ("rust-flate2" ,rust-flate2-1)
-       ("rust-getrandom" ,rust-getrandom-0.2)
-       ("rust-pico-args" ,rust-pico-args-0.5)
-       ("rust-rustls" ,rust-rustls-0.23)
-       ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7)
-       ("rust-log" ,rust-log-0.4))))
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-chunked-transfer" ,rust-chunked-transfer-1)
+                       ("rust-flate2" ,rust-flate2-1)
+                       ("rust-getrandom" ,rust-getrandom-0.2)
+                       ("rust-pico-args" ,rust-pico-args-0.5)
+                       ("rust-rustls" ,rust-rustls-0.23)
+                       ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7)
+                       ("rust-log" ,rust-log-0.4))))
     (home-page "https://github.com/2bc4/twitch-hls-client")
     (synopsis "Command line client for Twitch.tv")
-    (description "twitch-hls-client is a minimal command line client for watching/recording Twitch streams")
+    (description
+     "twitch-hls-client is a minimal command line client for
+watching/recording Twitch streams")
     (license license:gpl3)))

 (define-public git-absorb
--
2.46.0





This bug report was last modified 50 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.