From 494b697d15b9450836d34637b83cbc5e34369f75 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Mon, 18 May 2026 17:10:48 +0200 Subject: [PATCH] rebels-in-the-sky: 1.6.0 -> 1.6.1 Signed-off-by: Marcin Serwin --- pkgs/by-name/re/rebels-in-the-sky/package.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/re/rebels-in-the-sky/package.nix b/pkgs/by-name/re/rebels-in-the-sky/package.nix index 853f678f4057..95659d90a9dd 100644 --- a/pkgs/by-name/re/rebels-in-the-sky/package.nix +++ b/pkgs/by-name/re/rebels-in-the-sky/package.nix @@ -2,6 +2,7 @@ stdenv, lib, fetchFromGitHub, + fetchpatch, rustPlatform, cmake, pkg-config, @@ -14,16 +15,24 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "rebels-in-the-sky"; - version = "1.6.0"; + version = "1.6.1"; src = fetchFromGitHub { owner = "ricott1"; repo = "rebels-in-the-sky"; tag = "v${finalAttrs.version}"; - hash = "sha256-P0GPdMTOomqNQ6WLfZnASO1FiD7DJTHj/a8eoYzAvAY="; + hash = "sha256-alXqHtaGtv2zPt1OpNyEwHpQ+GKhS8xqOQFa5PvCsqc="; }; - cargoHash = "sha256-Ldy/1Gv1qguWQ2lLk0jiiq7nM9r85LY7pXkXf2nCUA0="; + cargoHash = "sha256-PvSOjuK1cObDuZeAKYEEqwezCuv7RM1W/aimrc4QV28="; + + cargoPatches = [ + (fetchpatch { + # The lock file was updated after the release + url = "https://github.com/ricott1/rebels-in-the-sky/commit/4cd33144b7e2e6297c5e0d6a6a0e46bc976279d0.patch"; + hash = "sha256-HUzABNtpBgts7rtuPB/OCtCTQk+XsLGEOyRRgy3uIdI="; + }) + ]; patches = lib.optionals (!withRadio) [ ./disable-radio.patch