emaryn
2025-06-10 17:24:19 +00:00
committed by emaryn
parent 4440221965
commit 433d745602
+7 -9
View File
@@ -4,31 +4,29 @@
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "vt-cli";
version = "1.0.1";
version = "1.1.1";
src = fetchFromGitHub {
owner = "VirusTotal";
repo = "vt-cli";
tag = version;
hash = "sha256-NB5eo+6IwIxhQX1lwJzPOZ0pSeFVo7LYIEEmDqE4A7Y=";
tag = finalAttrs.version;
hash = "sha256-zeJGXJ1l+Vl/0IT/LVSOuSodnejFukCPIkrg4suKQsk=";
};
vendorHash = "sha256-s90a35fFHO8Tt7Zjf9bk1VVD2xhG1g4rKmtIuMl0bMQ=";
ldflags = [
"-X github.com/VirusTotal/vt-cli/cmd.Version=${version}"
];
ldflags = [ "-X github.com/VirusTotal/vt-cli/cmd.Version=${finalAttrs.version}" ];
subPackages = [ "vt" ];
meta = {
description = "VirusTotal Command Line Interface";
homepage = "https://github.com/VirusTotal/vt-cli";
changelog = "https://github.com/VirusTotal/vt-cli/releases/tag/${version}";
changelog = "https://github.com/VirusTotal/vt-cli/releases/tag/${finalAttrs.version}";
license = lib.licenses.asl20;
mainProgram = "vt";
maintainers = with lib.maintainers; [ dit7ya ];
};
}
})