mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
tldx: 1.5.0 -> 1.6.0 (#554103)
This commit is contained in:
@@ -8,36 +8,34 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "tldx";
|
||||
version = "1.5.0";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "brandonyoungdev";
|
||||
repo = "tldx";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-3eVVN5PP3MxMSlZK+cASw7twgUZryMdTNOuseoynSZI=";
|
||||
hash = "sha256-vQgEfbUsWM+UN7jEMfAy/ufjq9lA9xRiLdeZSWGmF6c=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ApR/XDuOpXiZuyJWEsMbrwYn81Rq9XAYh38fbPoh7rM=";
|
||||
vendorHash = "sha256-HLajM4Ary2GT+R9Pv7LVGwXKl4mxWvyPdCE4exzg+a4=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/brandonyoungdev/tldx/cmd.Version=${finalAttrs.version}"
|
||||
"-X=github.com/brandonyoungdev/tldx/cmd.Version=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
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";
|
||||
changelog = "https://github.com/brandonyoungdev/tldx/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ sylonin ];
|
||||
mainProgram = "tldx";
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user