From c5be0e5f050dccf6db58ad9c9652c5d85edd1da7 Mon Sep 17 00:00:00 2001 From: "Tristan Helmich (omniIT)" Date: Sun, 26 May 2019 20:20:06 +0000 Subject: hashcat-utils: init at 1.9 --- pkgs/tools/security/hashcat-utils/default.nix | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/tools/security/hashcat-utils/default.nix (limited to 'pkgs/tools/security') diff --git a/pkgs/tools/security/hashcat-utils/default.nix b/pkgs/tools/security/hashcat-utils/default.nix new file mode 100644 index 000000000000..50508cfc4941 --- /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 ]; + }; +} -- cgit v1.2.3