tldx: init at 1.2.6 (#412998)

This commit is contained in:
Aleksana
2025-06-29 09:24:22 +08:00
committed by GitHub
2 changed files with 49 additions and 0 deletions
+6
View File
@@ -24349,6 +24349,12 @@
githubId = 52673095;
name = "Syed Ahkam";
};
sylonin = {
email = "syl@sperg.net";
github = "Sylonin";
githubId = 89575562;
name = "Sylonin";
};
symphorien = {
email = "symphorien_nixpkgs@xlumurb.eu";
matrix = "@symphorien:xlumurb.eu";
+43
View File
@@ -0,0 +1,43 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
}:
buildGoModule (finalAttrs: {
pname = "tldx";
version = "1.2.4";
src = fetchFromGitHub {
owner = "brandonyoungdev";
repo = "tldx";
tag = "v${finalAttrs.version}";
hash = "sha256-inX/27nzju1ns6fKF3iFmgYOd8KpI/cLX+UM8LjeOVw=";
};
vendorHash = "sha256-gNU1YcvRXOvPsniZKE+XEQ7YaJTc5qjTRgCrnNMjfXw=";
ldflags = [
"-s"
"-w"
"-X github.com/brandonyoungdev/tldx/cmd.Version=${finalAttrs.version}"
];
passthru.updateScript = nix-update-script { };
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
meta = {
license = lib.licenses.asl20;
mainProgram = "tldx";
description = "Domain availability research tool";
homepage = "https://github.com/brandonyoungdev/tldx";
changelog = "https://github.com/brandonyoungdev/tldx/blob/main/CHANGELOG.md";
maintainers = with lib.maintainers; [ sylonin ];
};
})