diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 6f77026243e6..99de698b3050 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6792,6 +6792,15 @@ githubId = 54999; name = "Ariel Nunez"; }; + Intuinewin = { + email = "antoinelabarussias@gmail.com"; + github = "Intuinewin"; + githubId = 13691729; + name = "Antoine Labarussias"; + keys = [{ + fingerprint = "5CB5 9AA0 D180 1997 2FB3 E0EC 943A 1DE9 372E BE4E"; + }]; + }; ionutnechita = { email = "ionut_n2001@yahoo.com"; github = "ionutnechita"; diff --git a/pkgs/applications/networking/cluster/tfupdate/default.nix b/pkgs/applications/networking/cluster/tfupdate/default.nix new file mode 100644 index 000000000000..aa2c9b7f0ad4 --- /dev/null +++ b/pkgs/applications/networking/cluster/tfupdate/default.nix @@ -0,0 +1,27 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "tfupdate"; + version = "0.6.7"; + + src = fetchFromGitHub { + owner = "minamijoyo"; + repo = "tfupdate"; + rev = "v${version}"; + sha256 = "sha256-zDrmzubk5ScqZapp58U8NsyKl9yZ48VtWafamDdlWK0="; + }; + + vendorHash = "sha256-nhAeN/UXLR0QBb7PT9hdtNSz1whfXxt6SYejpLJbDbk="; + + # Tests start http servers which need to bind to local addresses: + # panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: operation not permitted + __darwinAllowLocalNetworking = true; + + meta = with lib; { + description = "Update version constraints in your Terraform configurations"; + homepage = "https://github.com/minamijoyo/tfupdate"; + changelog = "https://github.com/minamijoyo/tfupdate/blob/${src.rev}/CHANGELOG.md"; + license = licenses.mit; + maintainers = with maintainers; [ Intuinewin ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 714635a1da6e..e1a6d21c52df 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -39481,6 +39481,8 @@ with pkgs; tfswitch = callPackage ../applications/networking/cluster/tfswitch { }; + tfupdate = callPackage ../applications/networking/cluster/tfupdate { }; + tgswitch = callPackage ../applications/networking/cluster/tgswitch { }; tilt = callPackage ../applications/networking/cluster/tilt { };