forked from mirrors/nixpkgs
1df9039b74
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sleuthkit/versions
35 lines
911 B
Nix
35 lines
911 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, libewf, afflib, openssl, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.6.4";
|
|
name = "sleuthkit-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sleuthkit";
|
|
repo = "sleuthkit";
|
|
rev = name;
|
|
sha256 = "0c6cglc4877pw6069ph72s3rv6747ps4vzhs6l2qxxncsrdlbzv0";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace tsk/img/ewf.c --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 = [ stdenv.lib.maintainers.raskin ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
license = stdenv.lib.licenses.ipl10;
|
|
inherit version;
|
|
};
|
|
}
|