mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
wprecon: 1.6.3a -> 2.4.5
This commit is contained in:
parent
887cf48b06
commit
94d2e55ee6
1 changed files with 8 additions and 4 deletions
|
@ -5,16 +5,21 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "wprecon";
|
||||
version = "1.6.3a";
|
||||
version = "2.4.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blackbinn";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0gqi4799ha3mf8r7ini0wj4ilkfsh80vnnxijfv9a343r6z5w0dn";
|
||||
hash = "sha256-23zJD3Nnkeko+J2FjPq5RA5dIjORMXvwt3wtAYiVlQs=";
|
||||
};
|
||||
|
||||
vendorSha256 = "1sab58shspll96rqy1rp659s0yikqdcx59z9b88d6p4w8a98ns87";
|
||||
vendorSha256 = "sha256-FYdsLcW6FYxSgixZ5US9cBPABOAVwidC3ejUNbs1lbA=";
|
||||
|
||||
postFixup = ''
|
||||
# Rename binary
|
||||
mv $out/bin/cli $out/bin/${pname}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "WordPress vulnerability recognition tool";
|
||||
|
@ -23,6 +28,5 @@ buildGoModule rec {
|
|||
# https://github.com/blackbinn/wprecon/blob/master/LICENSE
|
||||
license = with licenses; [ unfree ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
broken = true; # build fails, missing tag
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue