fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 exiv2,
7 flex,
8 libewf,
9 libxml2,
10 openssl,
11 zlib,
12 pkg-config,
13 python310,
14 re2,
15}:
16
17stdenv.mkDerivation (finalAttrs: {
18 pname = "bulk_extractor";
19 version = "2.1.1";
20
21 src = fetchFromGitHub {
22 owner = "simsong";
23 repo = "bulk_extractor";
24 tag = "v${finalAttrs.version}";
25 hash = "sha256-Jj/amXESFBu/ZaiIRlDKmtWTBVQ2TEvOM2jBYP3y1L8=";
26 fetchSubmodules = true;
27 };
28
29 enableParallelBuilding = true;
30 nativeBuildInputs = [
31 pkg-config
32 python310
33 autoreconfHook
34 ];
35 buildInputs = [
36 exiv2
37 flex
38 libewf
39 libxml2
40 openssl
41 zlib
42 re2
43 ];
44
45 preAutoreconf = ''
46 python3 etc/makefile_builder.py
47 autoheader -f
48 aclocal -I m4
49 '';
50
51 postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
52 substituteInPlace src/be20_api/feature_recorder_set.cpp --replace-fail '#warn ' '#warning '
53 '';
54
55 meta = {
56 description = "Digital forensics tool for extracting information from file systems";
57 longDescription = ''
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
62 automated tools.
63 '';
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 = [ ];
69 platforms = with lib.platforms; unix ++ windows;
70 license = with lib.licenses; [
71 mit
72 cpl10
73 gpl3Only
74 lgpl21Only
75 lgpl3Only
76 lib.licenses.openssl
77 ];
78 };
79})