File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments