Merge pull request #269812 from r-ryantm/auto-update/ddosify
ddosify: 1.0.5 -> 1.0.6
This commit is contained in:
commit
887931a2f7
1 changed files with 16 additions and 11 deletions
|
@ -1,29 +1,34 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ddosify";
|
||||
version = "1.0.5";
|
||||
version = "1.0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-oCbEAEBZJsMnnVu2N6eiQiaywovWmGUSVpUyWyS7TpM=";
|
||||
owner = "ddosify";
|
||||
repo = "ddosify";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-5K/qXtdlDC09dEjRwYvoh9SapGLNmvywDMiNdwZDDTQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-cGhMhX+SEv9fejViLZrEwXg584o204OQ5iR6AkxKnXo=";
|
||||
vendorHash = "sha256-Wg4JzA2aEwNBsDrkauFUb9AS38ITLBGex9QHzDcdpoM=";
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w"
|
||||
"-X main.GitVersion=${version}"
|
||||
"-X main.GitCommit=unknown"
|
||||
"-X main.BuildDate=unknown"
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=main.GitVersion=${version}"
|
||||
"-X=main.GitCommit=unknown"
|
||||
"-X=main.BuildDate=unknown"
|
||||
];
|
||||
|
||||
# TestCreateHammerMultipartPayload error occurred - Get "https://upload.wikimedia.org/wikipedia/commons/b/bd/Test.svg"
|
||||
doCheck = false;
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
installCheckPhase = ''
|
||||
$out/bin/ddosify -version | grep ${version} > /dev/null
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue