b6f2ab0a42
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
33 lines
885 B
Nix
33 lines
885 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libewf, afflib, openssl, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.11.0";
|
|
pname = "sleuthkit";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sleuthkit";
|
|
repo = "sleuthkit";
|
|
rev = "${pname}-${version}";
|
|
sha256 = "sha256-cY55zK6N3tyCLBJtZn4LhK9kLkikJjg640Pm/NA0ALY=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace tsk/img/ewf.cpp --replace libewf_handle_read_random libewf_handle_read_buffer_at_offset
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ libewf afflib openssl zlib ];
|
|
|
|
# Hack to fix the RPATH.
|
|
preFixup = "rm -rf */.libs";
|
|
|
|
meta = {
|
|
description = "A forensic/data recovery tool";
|
|
homepage = "https://www.sleuthkit.org/";
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
platforms = lib.platforms.linux;
|
|
license = lib.licenses.ipl10;
|
|
};
|
|
}
|