Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
884 B
Nix
40 lines
884 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "firefly";
|
|
version = "1.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Brum3ns";
|
|
repo = "firefly";
|
|
tag = "v${version}";
|
|
hash = "sha256-hhZw7u4NX+BvapUZv0k2Xu/UOdL7Pt8Idjat4aJzvIk=";
|
|
};
|
|
|
|
vendorHash = "sha256-eeVj0nU+cs1cZNVvwu4LgtQkpddtyYAYS91ANHyOjcY=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
preCheck = ''
|
|
# Test fails with invalid memory address or nil pointer dereference
|
|
substituteInPlace tests/httpfilter_test.go \
|
|
--replace-fail "Test_HttpFilter" "Skip_HttpFilter"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Black box fuzzer for web applications";
|
|
homepage = "https://github.com/Brum3ns/firefly";
|
|
# https://github.com/Brum3ns/firefly/issues/12
|
|
license = lib.licenses.unfree;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "firefly";
|
|
};
|
|
}
|