depot/third_party/nixpkgs/pkgs/tools/security/vt-cli/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

31 lines
668 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "vt-cli";
version = "0.10.2";
src = fetchFromGitHub {
owner = "VirusTotal";
repo = pname;
rev = version;
sha256 = "0jqr2xf6f9ywavkx5hzcfnky8ax23ahdj24hjsnq6zlpdqvfn1xb";
};
vendorSha256 = "sha256-XN6dJpoJe9nJn+Tr9SYD64LE0XFiO2vlpdyI9SrZZjQ=";
ldflags = [
"-X github.com/VirusTotal/vt-cli/cmd.Version=${version}"
];
subPackages = [ "vt" ];
meta = with lib; {
description = "VirusTotal Command Line Interface";
homepage = "https://github.com/VirusTotal/vt-cli";
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya ];
};
}