3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/sleuthkit/default.nix

35 lines
911 B
Nix
Raw Normal View History

2018-01-28 21:19:54 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, libewf, afflib, openssl, zlib }:
2013-10-18 12:44:30 +01:00
stdenv.mkDerivation rec {
sleuthkit: 4.5.0 -> 4.6.0 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/img_cat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/img_stat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/mmls -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/mmstat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/mmcat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/blkcalc -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/blkcat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/blkls -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/blkstat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/ffind -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fls -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fcat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fsstat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/icat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/ifind -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/ils -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/istat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/jcat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/jls -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/usnjls -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/hfind -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/srch_strings -h` got 0 exit code - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/srch_strings -h` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/sigfind -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/tsk_recover -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/tsk_loaddb -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/tsk_comparedir -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/tsk_gettimes -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fiwalk help` got 0 exit code - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fiwalk -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fiwalk version` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fiwalk help` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/jpeg_extract -h` got 0 exit code - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/jpeg_extract --help` got 0 exit code - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/jpeg_extract help` got 0 exit code - found 4.6.0 with grep in /nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0 - found 4.6.0 in filename of file in /nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0 cc "@raskin"
2018-02-28 00:12:22 +00:00
version = "4.6.0";
2014-09-02 11:18:19 +01:00
name = "sleuthkit-${version}";
2013-10-18 12:44:30 +01:00
2018-01-28 21:19:54 +00:00
src = fetchFromGitHub {
owner = "sleuthkit";
repo = "sleuthkit";
rev = name;
sleuthkit: 4.5.0 -> 4.6.0 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/img_cat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/img_stat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/mmls -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/mmstat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/mmcat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/blkcalc -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/blkcat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/blkls -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/blkstat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/ffind -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fls -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fcat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fsstat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/icat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/ifind -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/ils -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/istat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/jcat -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/jls -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/usnjls -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/hfind -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/srch_strings -h` got 0 exit code - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/srch_strings -h` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/sigfind -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/tsk_recover -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/tsk_loaddb -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/tsk_comparedir -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/tsk_gettimes -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fiwalk help` got 0 exit code - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fiwalk -V` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fiwalk version` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/fiwalk help` and found version 4.6.0 - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/jpeg_extract -h` got 0 exit code - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/jpeg_extract --help` got 0 exit code - ran `/nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0/bin/jpeg_extract help` got 0 exit code - found 4.6.0 with grep in /nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0 - found 4.6.0 in filename of file in /nix/store/p9a3kmrv42f95z3a7lm7lb7g7dwbi0wq-sleuthkit-4.6.0 cc "@raskin"
2018-02-28 00:12:22 +00:00
sha256 = "0m5ll5sx0pxkn58y582b3v90rsfdrh8dm02kmv61psd0k6q0p91x";
};
2018-01-28 21:19:54 +00:00
postPatch = ''
substituteInPlace tsk/img/ewf.c --replace libewf_handle_read_random libewf_handle_read_buffer_at_offset
'';
2013-10-18 12:44:30 +01:00
enableParallelBuilding = true;
2018-01-28 21:19:54 +00:00
nativeBuildInputs = [ autoreconfHook ];
2013-10-18 12:44:30 +01:00
buildInputs = [ libewf afflib openssl zlib ];
# Hack to fix the RPATH.
preFixup = "rm -rf */.libs";
meta = {
description = "A forensic/data recovery tool";
2018-01-28 21:19:54 +00:00
homepage = https://www.sleuthkit.org/;
2013-10-18 12:44:30 +01:00
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.ipl10;
2014-09-02 11:18:19 +01:00
inherit version;
};
2013-10-18 12:44:30 +01:00
}