Skip to content

Commit db4b8a1

Browse files
authored
firefly: init at 1.4.3 (#342478)
2 parents e0ab538 + 7f476a9 commit db4b8a1

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
buildGoModule,
4+
fetchFromGitHub,
5+
}:
6+
7+
buildGoModule rec {
8+
pname = "firefly";
9+
version = "1.4.3";
10+
11+
src = fetchFromGitHub {
12+
owner = "Brum3ns";
13+
repo = "firefly";
14+
rev = "refs/tags/v${version}";
15+
hash = "sha256-hhZw7u4NX+BvapUZv0k2Xu/UOdL7Pt8Idjat4aJzvIk=";
16+
};
17+
18+
vendorHash = "sha256-eeVj0nU+cs1cZNVvwu4LgtQkpddtyYAYS91ANHyOjcY=";
19+
20+
ldflags = [
21+
"-s"
22+
"-w"
23+
];
24+
25+
preCheck = ''
26+
# Test fails with invalid memory address or nil pointer dereference
27+
substituteInPlace tests/httpfilter_test.go \
28+
--replace-fail "Test_HttpFilter" "Skip_HttpFilter"
29+
'';
30+
31+
meta = {
32+
description = "Black box fuzzer for web applications";
33+
homepage = "https://github.com/Brum3ns/firefly";
34+
# https://github.com/Brum3ns/firefly/issues/12
35+
license = lib.licenses.unfree;
36+
maintainers = with lib.maintainers; [ fab ];
37+
mainProgram = "firefly";
38+
};
39+
}

0 commit comments

Comments
 (0)