@@ -5,16 +5,21 @@
55
66buildGoModule rec {
77 pname = "wprecon";
8− version = "1.6.3a";
8+ version = "2.4.5";
99
1010 src = fetchFromGitHub {
1111 owner = "blackbinn";
1212 repo = pname;
1313 rev = version;
14− sha256 = "0gqi4799ha3mf8r7ini0wj4ilkfsh80vnnxijfv9a343r6z5w0dn";
14+ hash = "sha256-23zJD3Nnkeko+J2FjPq5RA5dIjORMXvwt3wtAYiVlQs=";
1515 };
1616
17− vendorSha256 = "1sab58shspll96rqy1rp659s0yikqdcx59z9b88d6p4w8a98ns87";
17+ vendorSha256 = "sha256-FYdsLcW6FYxSgixZ5US9cBPABOAVwidC3ejUNbs1lbA=";
18+
19+ postFixup = ''
20+ # Rename binary
21+ mv $out/bin/cli $out/bin/${pname}
22+ '';
1823
1924 meta = with lib; {
2025 description = "WordPress vulnerability recognition tool";
@@ -23,6 +28,5 @@ buildGoModule rec {
2328 # https://github.com/blackbinn/wprecon/blob/master/LICENSE
2429 license = with licenses; [ unfree ];
2530 maintainers = with maintainers; [ fab ];
26− broken = true; # build fails, missing tag
2731 };
2832}