gnu: streamlink: Update to 3.2.0.

* gnu/packages/video.scm (streamlink): Update to 3.2.0.
[inputs]: Add python-lxml and python-pycountry, remove python-iso3166 and python-iso639.
[arguments]<#:phases>{check}: Use pytest.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Chadwain Holness 2022-03-24 13:37:04 -04:00 committed by Ludovic Courtès
parent ee617c4800
commit ff3355dcbf
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -60,6 +60,7 @@
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;; Copyright © 2022 Bird <birdsite@airmail.cc> ;;; Copyright © 2022 Bird <birdsite@airmail.cc>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com> ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
;;; Copyright © 2022 Chadwain Holness <chadwainholness@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -3135,28 +3136,34 @@ and custom quantization matrices.")
(define-public streamlink (define-public streamlink
(package (package
(name "streamlink") (name "streamlink")
(version "2.0.0") (version "3.2.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "streamlink" version)) (uri (pypi-uri "streamlink" version))
(sha256 (sha256
(base32 (base32
"1nv2kj1k42a1b20ws8sdzlxk3wh1qz6pg5mxp75433b3c7lxksn0")))) "09nrspga15svzi0hmakcarbciav0nzf30hg1ff53gia473cd4w4p"))))
(build-system python-build-system) (build-system python-build-system)
(home-page "https://github.com/streamlink/streamlink") (arguments
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "pytest")))))))
(native-inputs (native-inputs
(list python-freezegun python-pytest python-mock (list python-freezegun python-mock python-pytest
python-requests-mock)) python-requests-mock))
(propagated-inputs (propagated-inputs
(list python-pysocks (list python-pysocks
python-websocket-client python-websocket-client
python-iso3166
python-iso639
python-isodate python-isodate
python-lxml-4.7
python-pycountry
python-pycryptodome python-pycryptodome
python-requests python-requests
python-urllib3)) python-urllib3))
(home-page "https://github.com/streamlink/streamlink")
(synopsis "Extract streams from various services") (synopsis "Extract streams from various services")
(description "Streamlink is command-line utility that extracts streams (description "Streamlink is command-line utility that extracts streams
from sites like Twitch.tv and pipes them into a video player of choice.") from sites like Twitch.tv and pipes them into a video player of choice.")