2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl, libssh2, gpgme }:
|
2016-11-22 16:33:12 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-05 20:55:11 +00:00
|
|
|
pname = "phrasendrescher";
|
|
|
|
version = "1.2.2c";
|
2016-11-22 16:33:12 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-05-05 20:55:11 +00:00
|
|
|
url = "http://leidecker.info/projects/${pname}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "18vg6h294219v14x5zqm8ddmq5amxlbz7pw81lcmpz8v678kwyph";
|
2016-11-22 16:33:12 +00:00
|
|
|
};
|
|
|
|
|
2019-05-05 20:55:11 +00: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
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-05-05 20:55:11 +00:00
|
|
|
description = "A modular and multi processing pass phrase cracking tool";
|
2020-10-02 07:58:50 +00:00
|
|
|
homepage = "https://leidecker.info/projects/phrasendrescher/index.shtml";
|
2016-11-22 16:33:12 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "pd";
|
2016-11-22 16:33:12 +00:00
|
|
|
};
|
|
|
|
}
|