asciinema: 2.4.0 -> 3.2.0; asciinema_3 -> asciinema

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
phanirithvij
2026-05-07 21:48:11 +05:30
parent 3c76fb7d83
commit dbbe6d5a1b
4 changed files with 43 additions and 76 deletions

View File

@@ -93,6 +93,8 @@
This update introduces several breaking changes: the Python plugin interface is now v5.0, the `PATH` plugin has been renamed to `Commandline`, and the QStylesheets-based widgets box model frontend has been removed.
For more information read the [changelog for 34.0.0](https://albertlauncher.github.io/2026/01/19/albert-v34.0.0-released/).
- `asciinema_3` is now renamed to `asciinema` and the old `asciinema` version 2.x.x written in python was removed.
- `sing-box` has been updated to 1.13.0, which has removed some deprecated options. See [upstream documentation](https://sing-box.sagernet.org/configuration/) for details and migration options.
- `cargo-codspeed` has been updated from `3.0.5` to `4.2.0`. Version `4.0.0` includes breaking changes. For more information read the [changelog for 4.0.0](https://github.com/CodSpeedHQ/codspeed-rust/releases/tag/v4.0.0).

View File

@@ -1,36 +1,62 @@
{
lib,
python3Packages,
fetchFromGitHub,
installShellFiles,
python3,
rustPlatform,
versionCheckHook,
}:
python3Packages.buildPythonApplication (finalAttrs: {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asciinema";
version = "2.4.0";
pyproject = true;
version = "3.2.0";
src = fetchFromGitHub {
owner = "asciinema";
repo = "asciinema";
rev = "v${finalAttrs.version}";
hash = "sha256-UegLwpJ+uc9cW3ozLQJsQBjIGD7+vzzwzQFRV5gmDmI=";
tag = "v${finalAttrs.version}";
hash = "sha256-03olFWB/6O7V/B9gz6QACMxugrIx560fpp81IGVWv58=";
};
build-system = [ python3Packages.setuptools ];
cargoHash = "sha256-B6s3uUPGL8m076dl3P26j+frHWLi+wzED41BQ/rQAM8=";
postPatch = ''
substituteInPlace tests/pty_test.py \
--replace-fail "python3" "${python3Packages.python.interpreter}"
env.ASCIINEMA_GEN_DIR = "gendir";
strictDeps = true;
nativeCheckInputs = [ python3 ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage gendir/man/*
installShellCompletion --cmd asciinema \
--bash gendir/completion/asciinema.bash \
--fish gendir/completion/asciinema.fish \
--zsh gendir/completion/_asciinema
'';
nativeCheckInputs = [ python3Packages.pytestCheckHook ];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
meta = {
description = "Terminal session recorder and the best companion of asciinema.org";
homepage = "https://asciinema.org/";
description = "Terminal session recorder and the best companion of asciinema.org";
longDescription = ''
asciinema is a suite of tools for recording, replaying, and sharing
terminal sessions. It is free and open-source software (FOSS), created
by Marcin Kulik.
Its typical use cases include creating tutorials, demonstrating
command-line tools, and sharing reproducible bug reports. It focuses on
simplicity and interoperability, which makes it a popular choice among
computer users working with the command-line, such as developers or
system administrators.
'';
license = with lib.licenses; [ gpl3Plus ];
maintainers = [ ];
platforms = lib.platforms.all;
mainProgram = "asciinema";
maintainers = with lib.maintainers; [
jiriks74
llakala
];
};
})

View File

@@ -1,62 +0,0 @@
{
lib,
fetchFromGitHub,
installShellFiles,
python3,
rustPlatform,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asciinema";
version = "3.2.0";
src = fetchFromGitHub {
owner = "asciinema";
repo = "asciinema";
tag = "v${finalAttrs.version}";
hash = "sha256-03olFWB/6O7V/B9gz6QACMxugrIx560fpp81IGVWv58=";
};
cargoHash = "sha256-B6s3uUPGL8m076dl3P26j+frHWLi+wzED41BQ/rQAM8=";
env.ASCIINEMA_GEN_DIR = "gendir";
strictDeps = true;
nativeCheckInputs = [ python3 ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage gendir/man/*
installShellCompletion --cmd asciinema \
--bash gendir/completion/asciinema.bash \
--fish gendir/completion/asciinema.fish \
--zsh gendir/completion/_asciinema
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
meta = {
homepage = "https://asciinema.org/";
description = "Terminal session recorder and the best companion of asciinema.org";
longDescription = ''
asciinema is a suite of tools for recording, replaying, and sharing
terminal sessions. It is free and open-source software (FOSS), created
by Marcin Kulik.
Its typical use cases include creating tutorials, demonstrating
command-line tools, and sharing reproducible bug reports. It focuses on
simplicity and interoperability, which makes it a popular choice among
computer users working with the command-line, such as developers or
system administrators.
'';
license = with lib.licenses; [ gpl3Plus ];
mainProgram = "asciinema";
maintainers = with lib.maintainers; [
jiriks74
llakala
];
};
})

View File

@@ -331,6 +331,7 @@ mapAliases {
artichoke = throw "artichoke has been removed due to being archived upstream."; # Added 2025-11-04
artim-dark = aritim-dark; # Added 2025-07-27
artyFX = openav-artyfx; # Added 2026-02-08
asciinema_3 = warnAlias "'asciinema_3' has been renamed to 'asciinema'" asciinema; # Added 2026-05-07
aseprite-unfree = throw "'aseprite-unfree' has been renamed to/replaced by 'aseprite'"; # Converted to throw 2025-10-27
asio_1_10 = throw "'asio_1_10' has been removed as it is outdated and unused. Use 'asio' instead"; # Added 2025-12-03
asitop = throw "'asitop' has been renamed to/replaced by 'macpm'"; # Converted to throw 2025-10-27