From bcf792414033abe87d3dc55b9ade2ee3c23614da Mon Sep 17 00:00:00 2001 From: Lin Jian Date: Sat, 10 Aug 2024 13:40:37 +0800 Subject: [PATCH] kanata: 1.6.1 -> 1.7.0-prerelease-1 This patch fixes compilation error[1] with rust 1.80[2]. [1]: https://hydra.nixos.org/build/268780260/nixlog/1 [2]: https://github.com/NixOS/nixpkgs/issues/332957 --- pkgs/tools/system/kanata/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/system/kanata/default.nix b/pkgs/tools/system/kanata/default.nix index 4f25b78f8bb2..d7fe6cdc7dd3 100644 --- a/pkgs/tools/system/kanata/default.nix +++ b/pkgs/tools/system/kanata/default.nix @@ -8,19 +8,19 @@ rustPlatform.buildRustPackage rec { pname = "kanata"; - version = "1.6.1"; + version = "1.7.0-prerelease-1"; src = fetchFromGitHub { owner = "jtroo"; repo = pname; rev = "v${version}"; - sha256 = "sha256-Kuxy6lGzImYYujuJwZZdfuu3X7/PJNOJefeZ0hVJaAA="; + sha256 = "sha256-eDeGVmh1gI/DhiP6gxJyGH9G9LNH1NHW0+DNuOPUnBY="; }; cargoHash = if stdenv.isLinux - then "sha256-R2lHg+I8Sry3/n8vTfPpDysKCKMDUvxyMKRhEQKDqS0=" - else "sha256-9CXrOP6SI+sCD9Q94N8TlRB/h+F/l7t3zHbtVDqddS4="; + then "sha256-gRJdfvb3Q+G7pXpOyKrgozrZPJJbDajC63Kk5QtgX00=" + else "sha256-i9eY8dvteOLYmM+ad1nw+fohec2SPGCGqColXNamEBo="; buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.IOKit ];