about summary refs log tree commit diff
path: root/pkgs/tools/security/hashcat-utils
diff options
context:
space:
mode:
authorTristan Helmich (omniIT) <tristan.helmich@omniit.de>2019-05-26 20:20:06 +0000
committerTristan Helmich (omniIT) <tristan.helmich@omniit.de>2019-05-27 11:02:56 +0000
commitc5be0e5f050dccf6db58ad9c9652c5d85edd1da7 (patch)
tree15901c3dae9273107c13244b9281d0b3e038a49f /pkgs/tools/security/hashcat-utils
parent6e46d0b72a5b6761b1d73563ef5986695c914db7 (diff)
hashcat-utils: init at 1.9
Diffstat (limited to 'pkgs/tools/security/hashcat-utils')
-rw-r--r--pkgs/tools/security/hashcat-utils/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/security/hashcat-utils/default.nix b/pkgs/tools/security/hashcat-utils/default.nix
new file mode 100644
index 0000000000000..50508cfc4941d
--- /dev/null
+++ b/pkgs/tools/security/hashcat-utils/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  pname = "hashcat-utils";
+  version = "1.9";
+
+  src = fetchFromGitHub {
+    owner = "hashcat";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0wgc6wv7i6cs95rgzzx3zqm14xxbjyajvcqylz8w97d8kk4x4wjr";
+  };
+
+  sourceRoot = "source/src";
+
+  installPhase = ''
+    runHook preInstall
+    install -Dm0555 *.bin -t $out/bin
+    install -Dm0555 *.pl -t $out/bin
+    runHook postInstall
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Small utilities that are useful in advanced password cracking";
+    homepage = https://github.com/hashcat/hashcat-utils;
+    license = licenses.mit;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ fadenb ];
+  };
+}