diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 3e2830daa83a..03079082278c 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -23255,6 +23255,12 @@ github = "scd31"; githubId = 57571338; }; + SchahinRohani = { + email = "schahin@rouhanizadeh.de"; + github = "SchahinRohani"; + githubId = 24507823; + name = "Schahin Rouhanizadeh"; + }; schinmai-akamai = { email = "schinmai@akamai.com"; github = "tchinmai7"; diff --git a/pkgs/by-name/fl/flyctl/package.nix b/pkgs/by-name/fl/flyctl/package.nix index 109016e70fb4..4f6a45b2b426 100644 --- a/pkgs/by-name/fl/flyctl/package.nix +++ b/pkgs/by-name/fl/flyctl/package.nix @@ -6,20 +6,23 @@ testers, flyctl, installShellFiles, + git, }: buildGoModule rec { pname = "flyctl"; - version = "0.3.172"; + version = "0.3.209"; src = fetchFromGitHub { owner = "superfly"; repo = "flyctl"; rev = "v${version}"; - hash = "sha256-jKzlKOdE+SrCzY81ciI9sKN0iiFZMsKp04A+1TV1+i0="; + leaveDotGit = true; + hash = "sha256-D1MSlg6oFmdyiEaq10DUwzADzleilFIQ22oQd8LGfRk="; }; - vendorHash = "sha256-D6b+dLoE4IdhsmnWILe7Thkggq3p0ur4C3BOz7Cuk98="; + proxyVendor = true; + vendorHash = "sha256-ezGA1LGwQVFMzV/Ogj26pooD06O7FNTXMrYWkv6AwWM="; subPackages = [ "." ]; @@ -31,11 +34,17 @@ buildGoModule rec { ]; tags = [ "production" ]; - nativeBuildInputs = [ installShellFiles ]; + nativeBuildInputs = [ + installShellFiles + git + ]; patches = [ ./disable-auto-update.patch ]; preBuild = '' + # Embed VCS Infos + export GOFLAGS="$GOFLAGS -buildvcs=true" + GOOS= GOARCH= CGO_ENABLED=0 go generate ./... ''; @@ -78,6 +87,7 @@ buildGoModule rec { jsierles techknowlogick RaghavSood + SchahinRohani ]; mainProgram = "flyctl"; };