Unverified Commit 58277c36 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #334162 from jfchevrette/rosa-1-2-43

rosa: 1.2.39 -> 1.2.43
parents d2812bd4 96f040ea
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
{ 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;