diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/hashcat-utils')
-rw-r--r-- | nixpkgs/pkgs/tools/security/hashcat-utils/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/hashcat-utils/default.nix b/nixpkgs/pkgs/tools/security/hashcat-utils/default.nix new file mode 100644 index 000000000000..ccd6230b06f2 --- /dev/null +++ b/nixpkgs/pkgs/tools/security/hashcat-utils/default.nix @@ -0,0 +1,30 @@ +{ lib, 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 lib; { + description = "Small utilities that are useful in advanced password cracking"; + homepage = "https://github.com/hashcat/hashcat-utils"; + license = licenses.mit; + platforms = platforms.unix; + maintainers = with maintainers; [ fadenb ]; + }; +} |