summary refs log tree commit diff
path: root/pkgs/tools/security/hash-identifier
diff options
context:
space:
mode:
authorEthan Edwards <ethan@ethancedwards.com>2021-06-19 15:00:34 -0400
committerEthan Edwards <ethan@ethancedwards.com>2021-06-22 14:12:37 -0400
commit36f6ee3debea72336ea65a29a8084fc7b878457e (patch)
tree7cb6b1c5e65e1e76a29057c7da1f25ac155947ee /pkgs/tools/security/hash-identifier
parent683c3a86f3e13b0cd781c2b8d0d41c0ebe104ec2 (diff)
downloadnixpkgs-36f6ee3debea72336ea65a29a8084fc7b878457e.tar
nixpkgs-36f6ee3debea72336ea65a29a8084fc7b878457e.tar.gz
nixpkgs-36f6ee3debea72336ea65a29a8084fc7b878457e.tar.bz2
nixpkgs-36f6ee3debea72336ea65a29a8084fc7b878457e.tar.lz
nixpkgs-36f6ee3debea72336ea65a29a8084fc7b878457e.tar.xz
nixpkgs-36f6ee3debea72336ea65a29a8084fc7b878457e.tar.zst
nixpkgs-36f6ee3debea72336ea65a29a8084fc7b878457e.zip
hash-identifier: init at 1.2
Diffstat (limited to 'pkgs/tools/security/hash-identifier')
-rw-r--r--pkgs/tools/security/hash-identifier/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/security/hash-identifier/default.nix b/pkgs/tools/security/hash-identifier/default.nix
new file mode 100644
index 00000000000..5e9b49dd73d
--- /dev/null
+++ b/pkgs/tools/security/hash-identifier/default.nix
@@ -0,0 +1,27 @@
+{ lib, fetchFromGitLab, python3Packages }:
+
+python3Packages.buildPythonApplication rec {
+  pname = "hash-identifier";
+  version = "1.2";
+
+  src = fetchFromGitLab {
+    owner = "kalilinux";
+    repo = "packages/hash-identifier";
+    rev = "kali/${version}+git20180314-0kali1";
+    sha256 = "1amz48ijwjjkccg6gmdn3ffnyp2p52ksagy4m9gy8l2v5wj3j32h";
+  };
+
+  format = "other"; # no setup.py
+
+  installPhase = ''
+    install -Dm0775 hash-id.py $out/bin/hash-identifier
+  '';
+
+  meta = with lib; {
+    description = "Software to identify the different types of hashes used to encrypt data and especially passwords.";
+    homepage = "https://github.com/blackploit/hash-identifier";
+    license = licenses.gpl3Plus;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ ethancedwards8 ];
+  };
+}