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