8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
30 lines
735 B
Nix
30 lines
735 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 ];
|
|
};
|
|
}
|