diff options
| author | Patrick Norton <patrick.147.norton@gmail.com> | 2025-12-05 21:04:03 -0500 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:17:46 +0100 |
| commit | 8bdbfc13ff4f2c80f9e2b7193df657b1d1daa2a8 (patch) | |
| tree | 25709243eb6791d9a7458bf52da514a164ce168b /gnu/packages/terminals.scm | |
| parent | 17f8e88819289d2ea0137355e7dbecebb83666fa (diff) | |
gnu: asciinema: Update to 3.0.1.
* gnu/packages/terminals.scm (asciinema): Update to 3.0.1.
[source]: Change to url-fetch.
[build-system]: Change to cargo-build-system.
[native-inputs]: Remove python-pytest, python-setuptools and python-wheel.
Add python-minimal.
[inputs]: Change to cargo-inputs.
[build-phases]: Remove unnecessary phase.
* gnu/packages/rust-crates.scm (asciinema): Add dependencies.
Change-Id: Ic4197a6a03aad5b309d9b5b6bbc39c094350d86f
Signed-off-by: Andreas Enge <andreas@enge.fr>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/terminals.scm')
| -rw-r--r-- | gnu/packages/terminals.scm | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 9947bad06b8..523bb2a33d4 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm | |||
| @@ -234,27 +234,17 @@ managers.") | |||
| 234 | (define-public asciinema | 234 | (define-public asciinema |
| 235 | (package | 235 | (package |
| 236 | (name "asciinema") | 236 | (name "asciinema") |
| 237 | (version "2.4.0") | 237 | (version "3.0.1") |
| 238 | (source | 238 | (source |
| 239 | (origin | 239 | (origin |
| 240 | (method git-fetch) | 240 | (method url-fetch) |
| 241 | (uri (git-reference | 241 | (uri (crate-uri "asciinema" version)) |
| 242 | (url "https://github.com/asciinema/asciinema") | 242 | (file-name (string-append name "-" version ".tar.gz")) |
| 243 | (commit (string-append "v" version)))) | ||
| 244 | (file-name (git-file-name name version)) | ||
| 245 | (sha256 | 243 | (sha256 |
| 246 | (base32 "0qhf4sc5fl81rpq3rgzy7qcch620dh12scvsbdfczfbyjb10ps2i")))) | 244 | (base32 "1w64inic9z2fb0vwi0a2q8i31d4jsr6n71dg1ixhmmvkdpv7gb1j")))) |
| 247 | (build-system pyproject-build-system) | 245 | (build-system cargo-build-system) |
| 248 | (arguments | 246 | (native-inputs (list python-minimal)) ;needed for tests |
| 249 | (list #:phases | 247 | (inputs (cargo-inputs 'asciinema)) |
| 250 | #~(modify-phases %standard-phases | ||
| 251 | (add-after 'unpack 'fix-python-path | ||
| 252 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 253 | (substitute* "tests/pty_test.py" | ||
| 254 | (("python3") (search-input-file inputs "/bin/python3")))))))) | ||
| 255 | (native-inputs | ||
| 256 | (list python-pytest ; For tests. | ||
| 257 | python-setuptools python-wheel)) | ||
| 258 | (home-page "https://asciinema.org") | 248 | (home-page "https://asciinema.org") |
| 259 | (synopsis "Terminal session recorder") | 249 | (synopsis "Terminal session recorder") |
| 260 | (description | 250 | (description |
