diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-08-04 20:40:30 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:30 +0100 |
| commit | 3dee4a6e7cfb8fcd7fd632dc9f40a0907a9f3865 (patch) | |
| tree | 2a56d4169d0e8fd09e6ade541b2397bc9fc14cf7 | |
| parent | 05b876471c2b048e79b4595acf287b39d3d427bb (diff) | |
gnu: streamlink: Update to 8.5.0.
* gnu/packages/video.scm (streamlink): Update to 8.5.0.
[source]: Switch to git-fetch.
[arguments]{phsaes}: Add phase 'fix-version.
Signed-off-by: Andreas Enge <andreas@enge.fr>
| -rw-r--r-- | gnu/packages/video.scm | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index a8a646748b4..0a902c3678c 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm | |||
| @@ -4088,18 +4088,34 @@ and custom quantization matrices.") | |||
| 4088 | (define-public streamlink | 4088 | (define-public streamlink |
| 4089 | (package | 4089 | (package |
| 4090 | (name "streamlink") | 4090 | (name "streamlink") |
| 4091 | (version "7.6.0") | 4091 | (version "8.5.0") |
| 4092 | (source | 4092 | (source |
| 4093 | (origin | 4093 | (origin |
| 4094 | (method url-fetch) | 4094 | (method git-fetch) |
| 4095 | (uri (pypi-uri "streamlink" version)) | 4095 | (uri (git-reference |
| 4096 | (url "https://github.com/streamlink/streamlink") | ||
| 4097 | (commit version))) | ||
| 4098 | (file-name (git-file-name name version)) | ||
| 4096 | (sha256 | 4099 | (sha256 |
| 4097 | (base32 | 4100 | (base32 "08b81189fabzycxwlyk4md0kq6sxfsw04pc267psz8nhkz7na3nk")))) |
| 4098 | "0rljq1zqa1z9jpn9n5gn90drl59pw8y56fsn3z35bavxmczrbpx1")))) | ||
| 4099 | (build-system pyproject-build-system) | 4101 | (build-system pyproject-build-system) |
| 4100 | (arguments | 4102 | (arguments |
| 4101 | (list | 4103 | (list |
| 4102 | #:test-flags #~(list "-k" "not test_no_cache"))) | 4104 | #:test-flags #~(list "-k" "not test_no_cache") |
| 4105 | #:phases | ||
| 4106 | #~(modify-phases %standard-phases | ||
| 4107 | (add-after 'unpack 'fix-version | ||
| 4108 | (lambda _ | ||
| 4109 | ;; versioningit needs git tags; set version via environment | ||
| 4110 | ;; variable and create _version.py directly. | ||
| 4111 | (substitute* "pyproject.toml" | ||
| 4112 | (("\"version\",") "") | ||
| 4113 | (("requires-python = ") | ||
| 4114 | (string-append "version = \"" #$version "\"\n" | ||
| 4115 | "requires-python = "))) | ||
| 4116 | (call-with-output-file "src/streamlink/_version.py" | ||
| 4117 | (lambda (port) | ||
| 4118 | (format port "__version__ = \"~a\"~%" #$version)))))))) | ||
| 4103 | (native-inputs | 4119 | (native-inputs |
| 4104 | (list python-freezegun | 4120 | (list python-freezegun |
| 4105 | python-pytest | 4121 | python-pytest |
