From d767edac8e71f052cc4a3183ea83cfa54f2d68e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Sun, 9 Mar 2025 10:07:06 +0100 Subject: [PATCH] isd: 0.2.0 -> 0.5.1 --- nixos/doc/manual/release-notes/rl-2505.section.md | 2 ++ pkgs/by-name/is/isd/package.nix | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index dd360120b3c5..de7f1e7501e9 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -256,6 +256,8 @@ - `kmonad` is now hardened by default using common `systemd` settings. If KMonad is used to execute shell commands, hardening may make some of them fail. In that case, you can disable hardening using {option}`services.kmonad.keyboards..enableHardening` option. +- `isd` was updated from 0.2.0 to 0.5.1, the new version may crash with a previously generated config, try moving or deleting `~/.config/isd/schema.json`. + - `asusd` has been upgraded to version 6 which supports multiple aura devices. To account for this, the single `auraConfig` configuration option has been replaced with `auraConfigs` which is an attribute set of config options per each device. The config files may also be now specified as either source files or text strings; to account for this you will need to specify that `text` is used for your existing configs, e.g.: ```diff -services.asusd.asusdConfig = '''file contents''' diff --git a/pkgs/by-name/is/isd/package.nix b/pkgs/by-name/is/isd/package.nix index 5917238bdec1..b35865645939 100644 --- a/pkgs/by-name/is/isd/package.nix +++ b/pkgs/by-name/is/isd/package.nix @@ -7,18 +7,19 @@ python3Packages.buildPythonApplication rec { pname = "isd"; - version = "0.2.0"; + version = "0.5.1"; pyproject = true; src = fetchFromGitHub { owner = "isd-project"; repo = "isd"; tag = "v${version}"; - hash = "sha256-YOQoI9PB096C/wNF9y5nrXkpJGbO6cXQ2U6I2Ece2PM="; + hash = "sha256-z9lyPSiuUAwu5bmZlcHj5SV3mHtP+GXtuEeJzOr1c9A="; }; build-system = with python3Packages; [ hatchling + setuptools ]; dependencies = with python3Packages; [ @@ -38,7 +39,7 @@ python3Packages.buildPythonApplication rec { ]; pythonImportsCheck = [ - "isd" + "isd_tui" ]; passthru.updateScript = nix-update-script { };