2019-05-05 21:55:11 +01:00
|
|
|
{ stdenv, fetchurl, openssl, libssh2, gpgme }:
|
2016-11-22 16:33:12 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-05 21:55:11 +01:00
|
|
|
pname = "phrasendrescher";
|
|
|
|
version = "1.2.2c";
|
2016-11-22 16:33:12 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-05-05 21:55:11 +01:00
|
|
|
url = "http://leidecker.info/projects/${pname}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "18vg6h294219v14x5zqm8ddmq5amxlbz7pw81lcmpz8v678kwyph";
|
2016-11-22 16:33:12 +00:00
|
|
|
};
|
|
|
|
|
2019-05-05 21:55:11 +01:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace configure \
|
|
|
|
--replace 'SSL_LIB="ssl"' 'SSL_LIB="crypto"'
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ openssl libssh2 gpgme ];
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
configureFlags = [ "--with-plugins" ];
|
2016-11-22 16:33:12 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-05-05 21:55:11 +01:00
|
|
|
description = "A modular and multi processing pass phrase cracking tool";
|
|
|
|
homepage = "http://leidecker.info/projects/phrasendrescher/index.shtml";
|
2016-11-22 16:33:12 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|