tldx: init at 1.2.6 (#412998)

authored by Aleksana and committed by GitHub 3fd29d9d 61bdeccc

+49
+6
maintainers/maintainer-list.nix
··· 24349 24349 githubId = 52673095; 24350 24350 name = "Syed Ahkam"; 24351 24351 }; 24352 + sylonin = { 24353 + email = "syl@sperg.net"; 24354 + github = "Sylonin"; 24355 + githubId = 89575562; 24356 + name = "Sylonin"; 24357 + }; 24352 24358 symphorien = { 24353 24359 email = "symphorien_nixpkgs@xlumurb.eu"; 24354 24360 matrix = "@symphorien:xlumurb.eu";
+43
pkgs/by-name/tl/tldx/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + versionCheckHook, 7 + }: 8 + 9 + buildGoModule (finalAttrs: { 10 + pname = "tldx"; 11 + version = "1.2.4"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "brandonyoungdev"; 15 + repo = "tldx"; 16 + tag = "v${finalAttrs.version}"; 17 + hash = "sha256-inX/27nzju1ns6fKF3iFmgYOd8KpI/cLX+UM8LjeOVw="; 18 + }; 19 + 20 + vendorHash = "sha256-gNU1YcvRXOvPsniZKE+XEQ7YaJTc5qjTRgCrnNMjfXw="; 21 + 22 + ldflags = [ 23 + "-s" 24 + "-w" 25 + "-X github.com/brandonyoungdev/tldx/cmd.Version=${finalAttrs.version}" 26 + ]; 27 + 28 + passthru.updateScript = nix-update-script { }; 29 + 30 + nativeInstallCheckInputs = [ 31 + versionCheckHook 32 + ]; 33 + doInstallCheck = true; 34 + 35 + meta = { 36 + license = lib.licenses.asl20; 37 + mainProgram = "tldx"; 38 + description = "Domain availability research tool"; 39 + homepage = "https://github.com/brandonyoungdev/tldx"; 40 + changelog = "https://github.com/brandonyoungdev/tldx/blob/main/CHANGELOG.md"; 41 + maintainers = with lib.maintainers; [ sylonin ]; 42 + }; 43 + })