lol
1{ lib, fetchFromGitLab, python3Packages }:
2
3python3Packages.buildPythonApplication rec {
4 pname = "hash-identifier";
5 version = "1.2";
6
7 src = fetchFromGitLab {
8 owner = "kalilinux";
9 repo = "packages/hash-identifier";
10 rev = "kali/${version}+git20180314-0kali1";
11 sha256 = "1amz48ijwjjkccg6gmdn3ffnyp2p52ksagy4m9gy8l2v5wj3j32h";
12 };
13
14 format = "other"; # no setup.py
15
16 installPhase = ''
17 install -Dm0775 hash-id.py $out/bin/hash-identifier
18 '';
19
20 meta = with lib; {
21 description = "Software to identify the different types of hashes used to encrypt data and especially passwords.";
22 homepage = "https://github.com/blackploit/hash-identifier";
23 license = licenses.gpl3Plus;
24 platforms = platforms.unix;
25 maintainers = with maintainers; [ ethancedwards8 ];
26 };
27}