Skip to content

Commit

Permalink
maskprocessor: init at 0.73
Browse files Browse the repository at this point in the history
  • Loading branch information
ethancedwards8 committed Jan 7, 2025
1 parent 8ab83a2 commit d6a927c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions pkgs/by-name/ma/maskprocessor/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
lib,
stdenv,
fetchFromGitHub,
}:

stdenv.mkDerivation rec {
pname = "maskprocessor";
version = "0.73";

src = fetchFromGitHub {
owner = "hashcat";
repo = pname;
tag = "v${version}";
hash = "sha256-LVtMz5y0PbKKuc92W5xW0C84avigR7vS1XL/aXkUYe8=";
};

buildPhase = ''
cd src/
make CC=cc
'';

checkPhase = ''
$out/bin/mp --help > /dev/null
'';

installPhase = ''
mkdir -p $out/bin
cp mp64.bin $out/bin/mp
'';

meta = with lib; {
homepage = "https://github.com/hashcat/maskprocessor";
description = "High-Performance word generator with a per-position configureable charset.";
license = licenses.mit;
platforms = platforms.unix;
changelog = "https://github.com/hashcat/maskprocessor/releases/tag/v${version}";
maintainers = with maintainers; [ ethancedwards8 ];
mainProgram = "mp";
};
}

0 comments on commit d6a927c

Please sign in to comment.