17 stdenv.mkDerivation (finalAttrs: {
18 pname = "bulk_extractor";
21 src = fetchFromGitHub {
23 repo = "bulk_extractor";
24 rev = "v${finalAttrs.version}";
25 hash = "sha256-Jj/amXESFBu/ZaiIRlDKmtWTBVQ2TEvOM2jBYP3y1L8=";
26 fetchSubmodules = true;
29 enableParallelBuilding = true;
46 python3 etc/makefile_builder.py
51 postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
52 substituteInPlace src/be20_api/feature_recorder_set.cpp --replace-fail '#warn ' '#warning '
56 description = "Digital forensics tool for extracting information from file systems";
58 bulk_extractor is a C++ program that scans a disk image, a file, or a
59 directory of files and extracts useful information without parsing
60 the file system or file system structures. The results are stored in
61 feature files that can be easily inspected, parsed, or processed with
64 mainProgram = "bulk_extractor";
65 homepage = "https://github.com/simsong/bulk_extractor";
66 downloadPage = "http://downloads.digitalcorpora.org/downloads/bulk_extractor/";
67 changelog = "https://github.com/simsong/bulk_extractor/blob/${finalAttrs.src.rev}/ChangeLog";
68 maintainers = with maintainers; [ d3vil0p3r ];
69 platforms = with platforms; unix ++ windows;
70 license = with licenses; [