about summary refs log tree commit diff
path: root/pkgs/by-name/bu
diff options
context:
space:
mode:
authorh7x4 <h7x4@nani.wtf>2024-01-22 05:55:08 +0100
committerGitHub <noreply@github.com>2024-01-22 05:55:08 +0100
commit5836514c534568510e7c2f3ad358f70af0925088 (patch)
tree5b6031014f9458e111ba1b9c8859d72d55182f08 /pkgs/by-name/bu
parenteffd2e8a6e88a36ae27d2c33cfa19505e93ad354 (diff)
parent01d482f26acd2cad1974d6f52115929da226fdae (diff)
downloadnixlib-5836514c534568510e7c2f3ad358f70af0925088.tar
nixlib-5836514c534568510e7c2f3ad358f70af0925088.tar.gz
nixlib-5836514c534568510e7c2f3ad358f70af0925088.tar.bz2
nixlib-5836514c534568510e7c2f3ad358f70af0925088.tar.lz
nixlib-5836514c534568510e7c2f3ad358f70af0925088.tar.xz
nixlib-5836514c534568510e7c2f3ad358f70af0925088.tar.zst
nixlib-5836514c534568510e7c2f3ad358f70af0925088.zip
Merge pull request #277945 from D3vil0p3r/patch-1
bulk_extractor: init at 2.0.6
Diffstat (limited to 'pkgs/by-name/bu')
-rw-r--r--pkgs/by-name/bu/bulk_extractor/package.nix62
1 files changed, 62 insertions, 0 deletions
diff --git a/pkgs/by-name/bu/bulk_extractor/package.nix b/pkgs/by-name/bu/bulk_extractor/package.nix
new file mode 100644
index 000000000000..d15f4eaeedb1
--- /dev/null
+++ b/pkgs/by-name/bu/bulk_extractor/package.nix
@@ -0,0 +1,62 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, autoreconfHook
+, exiv2
+, flex
+, libewf
+, libxml2
+, openssl
+, tre
+, zlib
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "bulk_extractor";
+  version = "2.0.6";
+
+  src = fetchFromGitHub {
+    owner = "simsong";
+    repo = "bulk_extractor";
+    rev = "v${finalAttrs.version}";
+    hash = "sha256-LNdRN4pEA0rVEyKiBKGJgTKA4veVvsuP3ufiolHTk/s=";
+    fetchSubmodules = true;
+  };
+
+  enableParallelBuilding = true;
+  nativeBuildInputs = [ autoreconfHook ];
+  buildInputs = [
+    exiv2
+    flex
+    libewf
+    libxml2
+    openssl
+    tre
+    zlib
+  ];
+
+  meta = with lib; {
+    description = "A digital forensics tool for extracting information from file systems";
+    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.
+    '';
+    mainProgram = "bulk_extractor";
+    homepage = "https://github.com/simsong/bulk_extractor";
+    downloadPage = "http://downloads.digitalcorpora.org/downloads/bulk_extractor/";
+    changelog = "https://github.com/simsong/bulk_extractor/blob/${finalAttrs.src.rev}/ChangeLog";
+    maintainers = with maintainers; [ d3vil0p3r ];
+    platforms = with platforms; unix ++ windows;
+    license = with licenses; [
+      mit
+      cpl10
+      gpl3Only
+      lgpl21Only
+      lgpl3Only
+      licenses.openssl
+    ];
+  };
+})