From b434142b44e12d82de68bae27dbb68f1ed19b42a Mon Sep 17 00:00:00 2001 From: LightDiscord Date: Wed, 11 Mar 2020 01:12:20 +0100 Subject: [PATCH] bulk_extractor: init at 1.6.0 --- pkgs/tools/misc/bulk-extractor/default.nix | 35 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/tools/misc/bulk-extractor/default.nix diff --git a/pkgs/tools/misc/bulk-extractor/default.nix b/pkgs/tools/misc/bulk-extractor/default.nix new file mode 100644 index 0000000000000..3a1349cadcfd7 --- /dev/null +++ b/pkgs/tools/misc/bulk-extractor/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, flex, openssl, zlib }: + +stdenv.mkDerivation rec { + pname = "bulk_extractor"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "simsong"; + repo = pname; + rev = "v${version}"; + sha256 = "0z4zb508gdsblv5jxcnpkwnhll3m6850rdy5v829c0marf9wyc5c"; + fetchSubmodules = true; + }; + + configureFlags = ["--disable-BEViewer"]; + + enableParallelBuilding = true; + nativeBuildInputs = [autoreconfHook]; + buildInputs = [flex openssl zlib]; + + meta = with stdenv.lib; { + description = "A program for scanning and extracting useful information"; + longDescription = '' + bulk_extractor is a C++ program that scans a disk image, a file, or a directory of files and extracts useful information without + parsing the file system or file system structures. The results are stored in feature files that can be easily inspected, parsed, + or processed with automated tools. + ''; + homepage = "https://github.com/simsong/bulk_extractor"; + downloadPage = "http://downloads.digitalcorpora.org/downloads/bulk_extractor/"; + changelog = "https://github.com/simsong/bulk_extractor/blob/v${version}/ChangeLog"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ lightdiscord ]; + platforms = ["x86_64-linux"]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6416a8061190a..eb3cc07a1e3f1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26507,6 +26507,8 @@ in coz = callPackage ../development/tools/analysis/coz {}; + bulk_extractor = callPackage ../tools/misc/bulk-extractor {}; + keycard-cli = callPackage ../tools/security/keycard-cli {}; sieveshell = with python3.pkgs; toPythonApplication managesieve;