3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/hashcat-utils/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
732 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2019-05-26 21:20:06 +01:00
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; {
2019-05-26 21:20:06 +01:00
description = "Small utilities that are useful in advanced password cracking";
homepage = "https://github.com/hashcat/hashcat-utils";
2019-05-26 21:20:06 +01:00
license = licenses.mit;
platforms = platforms.unix;
2019-05-26 21:20:06 +01:00
maintainers = with maintainers; [ fadenb ];
};
}