Merge pull request #295941 from NickCao/opentofu

opentofu: 1.6.2 -> 1.7.0

authored by Nick Cao and committed by GitHub 5b5db98a 4c3c9cd2

+4 -4
+4 -4
pkgs/applications/networking/cluster/opentofu/default.nix
··· 14 let 15 package = buildGoModule rec { 16 pname = "opentofu"; 17 - version = "1.6.2"; 18 19 src = fetchFromGitHub { 20 owner = "opentofu"; 21 repo = "opentofu"; 22 rev = "v${version}"; 23 - hash = "sha256-CYiwn2NDIAx30J8tmbrV45dbCIGoA3U+yBdMj4RX5Ho="; 24 }; 25 26 - vendorHash = "sha256-kSm5RZqQRgbmPaKt5IWmuMhHwAu+oJKTX1q1lbE7hWk="; 27 ldflags = [ "-s" "-w" "-X" "github.com/opentofu/opentofu/version.dev=no" ]; 28 29 postConfigure = '' 30 # speakeasy hardcodes /bin/stty https://github.com/bgentry/speakeasy/issues/22 31 substituteInPlace vendor/github.com/bgentry/speakeasy/speakeasy_unix.go \ 32 - --replace "/bin/stty" "${coreutils}/bin/stty" 33 ''; 34 35 nativeBuildInputs = [ installShellFiles ];
··· 14 let 15 package = buildGoModule rec { 16 pname = "opentofu"; 17 + version = "1.7.0"; 18 19 src = fetchFromGitHub { 20 owner = "opentofu"; 21 repo = "opentofu"; 22 rev = "v${version}"; 23 + hash = "sha256-e0u8aFua3oMsBafwRPYuWQ9M6DtC7f9LlCDGJ5vdAWE="; 24 }; 25 26 + vendorHash = "sha256-cML742FfWFNIwGyIdRd3JWcfDlOXnJVgUXz4j5fa74Q="; 27 ldflags = [ "-s" "-w" "-X" "github.com/opentofu/opentofu/version.dev=no" ]; 28 29 postConfigure = '' 30 # speakeasy hardcodes /bin/stty https://github.com/bgentry/speakeasy/issues/22 31 substituteInPlace vendor/github.com/bgentry/speakeasy/speakeasy_unix.go \ 32 + --replace-fail "/bin/stty" "${coreutils}/bin/stty" 33 ''; 34 35 nativeBuildInputs = [ installShellFiles ];