Unverified Commit 98703b44 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

vt-cli: 1.0.1 -> 1.1.1 (#415030)

parents 4a90e839 433d7456
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})