From 96f040ea07bee5c044cf243d0162bf4d37a434b2 Mon Sep 17 00:00:00 2001 From: Jean-Francois Chevrette Date: Mon, 12 Aug 2024 11:05:18 -0400 Subject: [PATCH] rosa: 1.2.39 -> 1.2.43 --- pkgs/by-name/ro/rosa/package.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ro/rosa/package.nix b/pkgs/by-name/ro/rosa/package.nix index 25ac1e682584..5660350587df 100644 --- a/pkgs/by-name/ro/rosa/package.nix +++ b/pkgs/by-name/ro/rosa/package.nix @@ -1,17 +1,26 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, rosa, nix-update-script }: +{ lib, buildGoModule, fetchFromGitHub, fetchpatch, installShellFiles, testers, rosa, nix-update-script }: buildGoModule rec { pname = "rosa"; - version = "1.2.39"; + version = "1.2.43"; src = fetchFromGitHub { owner = "openshift"; repo = "rosa"; rev = "v${version}"; - hash = "sha256-K1FGiUNXSyCTmF//dculpnkTyn3hfqWrOiMUGk9kHrA="; + hash = "sha256-1/go7mL2uRzzV/iiTXsgZHGNW8EIONwEnb4jcMiKkv4="; }; vendorHash = null; + patches = [ + # https://github.com/openshift/rosa/pull/2326/ + # TODO: remove on next version bump + (fetchpatch { + url = "https://github.com/openshift/rosa/commit/9ed236880f91f0e9514ba0a6f3be93ee115d1689.patch"; + hash = "sha256-KNGqJRFyfzcDs336Lj/KwR1yd5M7zfehu7IO0z/KUtg="; + }) + ]; + ldflags = [ "-s" "-w" ]; __darwinAllowLocalNetworking = true;