summary refs log tree commit diff
path: root/pkgs/tools/system/sleuthkit
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2011-08-02 20:06:09 +0000
committerMichael Raskin <7c6f434c@mail.ru>2011-08-02 20:06:09 +0000
commit451f7818a5d22e7142d6a73a4923f570d4a3b4a1 (patch)
tree0d8d032db897ca65372b8d06172033c31ae8eb31 /pkgs/tools/system/sleuthkit
parent87554657c1a6059967fd4b815ec5ca5b8deb9b47 (diff)
downloadnixlib-451f7818a5d22e7142d6a73a4923f570d4a3b4a1.tar
nixlib-451f7818a5d22e7142d6a73a4923f570d4a3b4a1.tar.gz
nixlib-451f7818a5d22e7142d6a73a4923f570d4a3b4a1.tar.bz2
nixlib-451f7818a5d22e7142d6a73a4923f570d4a3b4a1.tar.lz
nixlib-451f7818a5d22e7142d6a73a4923f570d4a3b4a1.tar.xz
nixlib-451f7818a5d22e7142d6a73a4923f570d4a3b4a1.tar.zst
nixlib-451f7818a5d22e7142d6a73a4923f570d4a3b4a1.zip
Adding The Sleuth Kit
svn path=/nixpkgs/trunk/; revision=28130
Diffstat (limited to 'pkgs/tools/system/sleuthkit')
-rw-r--r--pkgs/tools/system/sleuthkit/default.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/tools/system/sleuthkit/default.nix b/pkgs/tools/system/sleuthkit/default.nix
new file mode 100644
index 000000000000..86ec54ecb8fa
--- /dev/null
+++ b/pkgs/tools/system/sleuthkit/default.nix
@@ -0,0 +1,48 @@
+x@{builderDefsPackage
+  , libewf, afflib, openssl, zlib
+  , ...}:
+builderDefsPackage
+(a :  
+let 
+  helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 
+    [];
+
+  buildInputs = map (n: builtins.getAttr n x)
+    (builtins.attrNames (builtins.removeAttrs x helperArgNames));
+  sourceInfo = rec {
+    baseName="sleuthkit";
+    version="3.2.2";
+    name="${baseName}-${version}";
+    url="mirror://sourceforge/project/${baseName}/${baseName}/${version}/${name}.tar.gz";
+    hash="02hik5xvbgh1dpisvc3wlhhq1aprnlsk0spbw6h5khpbq9wqnmgj";
+  };
+in
+rec {
+  src = a.fetchurl {
+    url = sourceInfo.url;
+    sha256 = sourceInfo.hash;
+  };
+
+  inherit (sourceInfo) name version;
+  inherit buildInputs;
+
+  /* doConfigure should be removed if not needed */
+  phaseNames = ["doConfigure" "doMakeInstall"];
+      
+  meta = {
+    description = "A forensic/data recovery tool";
+    maintainers = with a.lib.maintainers;
+    [
+      raskin
+    ];
+    platforms = with a.lib.platforms;
+      linux;
+    license = "IBM Public License";
+  };
+  passthru = {
+    updateInfo = {
+      downloadPage = "http://sourceforge.net/projects/sleuthkit/files/sleuthkit";
+    };
+  };
+}) x
+