From aa0303cc34bbab5ba66f8e40874965a6fdb1a75d Mon Sep 17 00:00:00 2001 From: Antoine Labarussias Date: Tue, 9 May 2023 11:40:41 +0200 Subject: [PATCH 1/2] maintainers: add Intuinewin --- maintainers/maintainer-list.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 2b5f18ccab74..5a6cf9e47897 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"; From 1d2893963a658c71add2b072898fd6f9dd6d638a Mon Sep 17 00:00:00 2001 From: Antoine Labarussias Date: Tue, 9 May 2023 11:41:08 +0200 Subject: [PATCH 2/2] tfupdate: init at 0.6.7 --- .../networking/cluster/tfupdate/default.nix | 27 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/networking/cluster/tfupdate/default.nix 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 218711f3c596..c47e83222aa5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -39473,6 +39473,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 { };