mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
31 lines
732 B
Nix
31 lines
732 B
Nix
{ 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 ];
|
|
};
|
|
}
|