flyctl: move to pkgs/by-name

This commit is contained in:
techknowlogick 2024-10-24 21:16:26 -04:00
parent ce97ee47e9
commit 4f2e5ffc7c
3 changed files with 18 additions and 6 deletions

View File

@ -1,4 +1,11 @@
{ lib, buildGoModule, fetchFromGitHub, testers, flyctl, installShellFiles }: {
lib,
buildGoModule,
fetchFromGitHub,
testers,
flyctl,
installShellFiles,
}:
buildGoModule rec { buildGoModule rec {
pname = "flyctl"; pname = "flyctl";
@ -16,11 +23,12 @@ buildGoModule rec {
subPackages = [ "." ]; subPackages = [ "." ];
ldflags = [ ldflags = [
"-s" "-w" "-s"
"-w"
"-X github.com/superfly/flyctl/internal/buildinfo.buildDate=1970-01-01T00:00:00Z" "-X github.com/superfly/flyctl/internal/buildinfo.buildDate=1970-01-01T00:00:00Z"
"-X github.com/superfly/flyctl/internal/buildinfo.buildVersion=${version}" "-X github.com/superfly/flyctl/internal/buildinfo.buildVersion=${version}"
]; ];
tags = ["production"]; tags = [ "production" ];
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -64,7 +72,13 @@ buildGoModule rec {
downloadPage = "https://github.com/superfly/flyctl"; downloadPage = "https://github.com/superfly/flyctl";
homepage = "https://fly.io/"; homepage = "https://fly.io/";
license = lib.licenses.asl20; license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ adtya jsierles techknowlogick RaghavSood teutat3s ]; maintainers = with lib.maintainers; [
adtya
jsierles
techknowlogick
RaghavSood
teutat3s
];
mainProgram = "flyctl"; mainProgram = "flyctl";
}; };
} }

View File

@ -14504,8 +14504,6 @@ with pkgs;
flasm = callPackage ../development/compilers/flasm { }; flasm = callPackage ../development/compilers/flasm { };
flyctl = callPackage ../development/web/flyctl { };
fluidd = callPackage ../applications/misc/fluidd { }; fluidd = callPackage ../applications/misc/fluidd { };
flutterPackages-bin = recurseIntoAttrs (callPackage ../development/compilers/flutter { }); flutterPackages-bin = recurseIntoAttrs (callPackage ../development/compilers/flutter { });