bulk_extractor: fix build, move off of Python310
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
openssl,
|
||||
zlib,
|
||||
pkg-config,
|
||||
python310,
|
||||
python3,
|
||||
re2,
|
||||
}:
|
||||
|
||||
@@ -26,10 +26,19 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
# Fix gcc15 build failures due to missing <cstdint>
|
||||
# Tracking: https://github.com/NixOS/nixpkgs/issues/475479
|
||||
postPatch = ''
|
||||
sed -i '1i #include <cstdint>' src/exif_entry.h
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
substituteInPlace src/be20_api/feature_recorder_set.cpp --replace-fail '#warn ' '#warning '
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
python310
|
||||
python3
|
||||
autoreconfHook
|
||||
];
|
||||
buildInputs = [
|
||||
@@ -48,10 +57,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
aclocal -I m4
|
||||
'';
|
||||
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
substituteInPlace src/be20_api/feature_recorder_set.cpp --replace-fail '#warn ' '#warning '
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Digital forensics tool for extracting information from file systems";
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user