1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/tools/security/hashcat-utils/default.nix
Tristan Helmich (omniIT) c5be0e5f05 hashcat-utils: init at 1.9
2019-05-27 11:02:56 +00:00

31 lines
733 B
Nix

{ 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 ];
};
}