ophcrack: fix build
This commit is contained in:
@@ -33,9 +33,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = [ pkg-config ] ++ lib.optional enableGui libsForQt5.wrapQtAppsHook;
|
||||
buildInputs = [
|
||||
openssl
|
||||
expat
|
||||
]
|
||||
++ (if enableGui then [ libsForQt5.qtcharts ] else [ expat ])
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin expat;
|
||||
++ lib.optional enableGui libsForQt5.qtcharts;
|
||||
|
||||
configureFlags = [
|
||||
"--with-libssl"
|
||||
@@ -50,11 +50,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
[ "--disable-gui" ]
|
||||
);
|
||||
|
||||
installPhase = lib.optional stdenv.hostPlatform.isDarwin ''
|
||||
mkdir -p $out/bin
|
||||
cp -R src/ophcrack $out/bin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Free Windows password cracker based on rainbow tables";
|
||||
homepage = "https://ophcrack.sourceforge.io";
|
||||
|
||||
Reference in New Issue
Block a user