summaryrefslogtreecommitdiff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r--gnu/packages/video.scm30
1 files changed, 22 insertions, 8 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 2ef3e4ea3e..c621104bd4 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3134,7 +3134,7 @@ video streaming services of the Finnish national broadcasting company Yle.")
(define-public yt-dlp
(package
(name "yt-dlp")
- (version "2025.10.14")
+ (version "2025.10.22")
(source
(origin
(method git-fetch)
@@ -3146,7 +3146,7 @@ video streaming services of the Finnish national broadcasting company Yle.")
(snippet #~(substitute* "pyproject.toml"
(("^.*Programming Language :: Python :: 3\\.13.*$") "")))
(sha256
- (base32 "187rwpdh881m922h6m32pikqah1wlxjqww73ijw511i2fnwykfy7"))))
+ (base32 "19viqfk3gnl6yk9p17kp0a21w18yr32qii4grm3mys758ws881ld"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -6605,17 +6605,31 @@ downloader. It does not require a Youtube API key.")
(define-public python-youtube-search
(package
(name "python-youtube-search")
- (version "1.6.6")
+ ;; Original repository is archived, see
+ ;; https://github.com/alexmercerind/youtube-search-python/issues/189
+ ;; The most promising fork (in the sense that it works) is
+ ;; https://github.com/ahmedayyad-dev/youtube-search-python-fork,
+ ;; which is therefor packaged in Guix.
+ (properties '((commit . "6d7e16ebcdc90032392749c2f30f8e29ea0956ae")
+ (revision . "0")))
+ (version (git-version "1.6.6"
+ (assoc-ref properties 'revision)
+ (assoc-ref properties 'commit)))
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "youtube-search-python" version))
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/ahmedayyad-dev/youtube-search-python-fork")
+ (commit (assoc-ref properties 'commit))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1xgw6nqypnj3ymjkfyzc1vvwar73qvp08prnp15ypmzcd7bx2s25"))))
+ (base32 "1b2sc0v0xw8kqrqy1844xkdsss70npkyk26fprpw3yhz09az5k3q"))))
+ (arguments (list #:tests? #f)) ;no tests in repository
(build-system pyproject-build-system)
(propagated-inputs (list python-httpx))
- (native-inputs (list python-setuptools python-wheel))
- (home-page "https://github.com/alexmercerind/youtube-search-python")
+ (native-inputs (list python-setuptools))
+ (home-page "https://github.com/ahmedayyad-dev/youtube-search-python-fork")
(synopsis "Search for YouTube videos, channels & playlists")
(description
"This package provides tools to search for @code{YouTube} videos,