Merge pull request #269812 from r-ryantm/auto-update/ddosify

ddosify: 1.0.5 -> 1.0.6
This commit is contained in:
Nick Cao 2023-11-25 09:45:18 -05:00 committed by GitHub
commit 887931a2f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
'';