Unverified Commit b71fc97d authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

sops: 3.9.4 -> 3.10.0 (#394664)

parents 65be139b d6dab712
Loading
Loading
Loading
Loading
+5 −10
Original line number Diff line number Diff line
{
  lib,
  buildGo122Module,
  buildGoModule,
  fetchFromGitHub,
  installShellFiles,
  versionCheckHook,
  nix-update-script,
}:

buildGo122Module rec {
buildGoModule rec {
  pname = "sops";
  version = "3.9.4";
  version = "3.10.0";

  src = fetchFromGitHub {
    owner = "getsops";
    repo = pname;
    tag = "v${version}";
    hash = "sha256-w2RMK1Fl/k8QXV68j0Kc6shtx4vQa07RCnpgHLM8c8Q=";
    hash = "sha256-NOZvVL4b7+TVlB6iM4HJDa5PHOjvcN0BXDMOHmqg7lU=";
  };

  vendorHash = "sha256-wxmSj3QaFChGE+/2my7Oe2mhprwi404izUxteecyggY=";

  postPatch = ''
    substituteInPlace go.mod \
      --replace-fail "go 1.22" "go 1.22.7"
  '';
  vendorHash = "sha256-I+iwimrNdKABZFP2etZTQJAXKigh+0g/Jhip86Cl5Rg=";

  subPackages = [ "cmd/sops" ];