diff --git a/doc/release-notes/rl-2605.section.md b/doc/release-notes/rl-2605.section.md index ab63631ace2b..5953d676210c 100644 --- a/doc/release-notes/rl-2605.section.md +++ b/doc/release-notes/rl-2605.section.md @@ -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). diff --git a/pkgs/by-name/as/asciinema/package.nix b/pkgs/by-name/as/asciinema/package.nix index 882ff4e271d1..5d93445c8101 100644 --- a/pkgs/by-name/as/asciinema/package.nix +++ b/pkgs/by-name/as/asciinema/package.nix @@ -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 + ]; }; }) diff --git a/pkgs/by-name/as/asciinema_3/package.nix b/pkgs/by-name/as/asciinema_3/package.nix deleted file mode 100644 index 5d93445c8101..000000000000 --- a/pkgs/by-name/as/asciinema_3/package.nix +++ /dev/null @@ -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 - ]; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 92cd669ee0c1..32bbc8d64876 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -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