Merge pull request #313351 from teidesu/zhf/bulk_extractor
bulk_extractor: 2.0.6 -> 2.1.1, fixed darwin build
This commit is contained in:
commit
997ab849cd
@ -7,34 +7,50 @@
|
||||
, libewf
|
||||
, libxml2
|
||||
, openssl
|
||||
, tre
|
||||
, zlib
|
||||
, pkg-config
|
||||
, python310
|
||||
, re2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "bulk_extractor";
|
||||
version = "2.0.6";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "simsong";
|
||||
repo = "bulk_extractor";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-LNdRN4pEA0rVEyKiBKGJgTKA4veVvsuP3ufiolHTk/s=";
|
||||
hash = "sha256-Jj/amXESFBu/ZaiIRlDKmtWTBVQ2TEvOM2jBYP3y1L8=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
python310
|
||||
autoreconfHook
|
||||
];
|
||||
buildInputs = [
|
||||
exiv2
|
||||
flex
|
||||
libewf
|
||||
libxml2
|
||||
openssl
|
||||
tre
|
||||
zlib
|
||||
re2
|
||||
];
|
||||
|
||||
preAutoreconf = ''
|
||||
python3 etc/makefile_builder.py
|
||||
autoheader -f
|
||||
aclocal -I m4
|
||||
'';
|
||||
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace src/be20_api/feature_recorder_set.cpp --replace-fail '#warn ' '#warning '
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A digital forensics tool for extracting information from file systems";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user