forked from mirrors/nixpkgs
cbbd556473
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. These checks were done: - built on NixOS - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/img_cat -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/img_stat -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/mmls -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/mmstat -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/mmcat -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/blkcalc -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/blkcat -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/blkls -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/blkstat -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/ffind -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/fls -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/fcat -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/fsstat -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/icat -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/ifind -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/ils -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/istat -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/jcat -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/jls -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/usnjls -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/hfind -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/srch_strings -h’ got 0 exit code - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/sigfind -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/tsk_recover -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/tsk_loaddb -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/tsk_comparedir -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/tsk_gettimes -V’ and found version 4.6.1 - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/fiwalk help’ got 0 exit code - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/jpeg_extract -h’ got 0 exit code - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/jpeg_extract --help’ got 0 exit code - ran ‘/nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1/bin/jpeg_extract help’ got 0 exit code - found 4.6.1 with grep in /nix/store/pc0f17b5r90g2xvf1yqp2cs44hzgmwzb-sleuthkit-4.6.1 - directory tree listing: https://gist.github.com/11dd945b5f40cfc632e6fca6df6a6600
35 lines
911 B
Nix
35 lines
911 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, libewf, afflib, openssl, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.6.1";
|
|
name = "sleuthkit-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sleuthkit";
|
|
repo = "sleuthkit";
|
|
rev = name;
|
|
sha256 = "1hf783mwa5ws9qvjpj6zgvivi0cfhs8r8m1869ajz5m80lv8fggw";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|