gnu: yt-dlp: Update to 2023.06.22.

* gnu/packages/video.scm (yt-dlp): Update to 2023.06.22.
[native-inputs]: Rewrite using supported-package?.
This commit is contained in:
Efraim Flashner 2023-06-24 21:56:52 +03:00
parent 42a48a11b7
commit 815dd5bce3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2554,7 +2554,7 @@ (define-public youtube-dl
(define-public yt-dlp
(package/inherit youtube-dl
(name "yt-dlp")
(version "2023.03.04")
(version "2023.06.22")
(source
(origin
(method git-fetch)
@ -2563,7 +2563,7 @@ (define-public yt-dlp
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1zb4blj7qrmwkryyqrkxl909f59hvbs8dwiwl7sw1fs2kdzb1rw4"))))
(base32 "16y0rvbj6h3i2r8yzac6d7v2md4jrik2azix58c895wcy9qamjkl"))))
(arguments
(substitute-keyword-arguments (package-arguments youtube-dl)
((#:tests? _) (not (%current-target-system)))
@ -2612,8 +2612,7 @@ (define-public yt-dlp
(native-inputs
(append
;; To generate the manpage.
(if (member (%current-system)
(package-transitive-supported-systems pandoc))
(if (supported-package? pandoc)
(list pandoc)
'())
(list python-pytest zip)))